Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | allow web based use of report import | Struan Donald | 2018-09-13 | -0/+6 |
| | | | | | | | | if a web parameter is passed to /import then display the email confirmation sent page rather than a SUCCESS message. Enables this page to be used for creating partial reports from a web page. For mysociety/collideoscope#17 | |||
* | Add cobrand hook for disallowing title moderation. | Matthew Somerville | 2018-09-13 | -1/+3 |
| | ||||
* | Prevent scan of all problems on /_dev pages. | Matthew Somerville | 2018-09-12 | -3/+3 |
| | ||||
* | move body stats page code to own method | Struan Donald | 2018-09-12 | -8/+19 |
| | | | | Enables this to be used in cobrand hooks for reports data | |||
* | [Zurich] use report_page_data cobrand hook | Struan Donald | 2018-09-12 | -23/+0 |
| | | | | remove hard coded report page behaviour | |||
* | hook to allow cobrand to generate reports page data | Struan Donald | 2018-09-12 | -0/+4 |
| | ||||
* | Update user object before attempting sign-in. | Matthew Somerville | 2018-09-06 | -1/+2 |
| | | | | | This prevents leaking of user account phone number on a failed login attempt. | |||
* | Check all contacts for metadata and non-public. | Matthew Somerville | 2018-09-06 | -6/+13 |
| | | | | | | Previously it would only check the first matching entry, which could miss out on information if two bodies had the same category and only the second one looked at had metadata, or was marked as non-public. | |||
* | Include report in _dev confirm_report_sent email. | Matthew Somerville | 2018-08-30 | -0/+1 |
| | ||||
* | Do not delete other category extras on first match | Matthew Somerville | 2018-08-29 | -8/+2 |
| | ||||
* | Merge branch 'issues/collideoscope/30-user-moderation' | Matthew Somerville | 2018-08-29 | -137/+66 |
|\ | ||||
| * | Allow cobrand to add extra ability to moderate. | Matthew Somerville | 2018-08-29 | -9/+8 |
| | | ||||
| * | Move moderation check to own function, tidy up. | Matthew Somerville | 2018-08-28 | -2/+2 |
| | | ||||
| * | Refactor together similar moderate functions. | Matthew Somerville | 2018-08-28 | -127/+57 |
| | | ||||
* | | Merge branch 'dev-confirmation-pages' | Matthew Somerville | 2018-08-29 | -50/+121 |
|\ \ | ||||
| * | | Move all test endpoints under /_dev. | Zarino Zappia | 2018-08-29 | -50/+121 |
| |/ | ||||
* / | Remove need for category_extras ajax call. | Matthew Somerville | 2018-08-28 | -48/+55 |
|/ | | | | | | Add by_category output to the /report/new/ajax call, containing all the data that /report/new/category_extras returns for one category. Then alter the JS to use that data immediately when needed. | |||
* | Include user agent in contact form emails. | Matthew Somerville | 2018-08-21 | -0/+1 |
| | ||||
* | Fix inspector dragging of pins. | Matthew Somerville | 2018-08-09 | -2/+5 |
| | ||||
* | allow front end to not send to specific body | Struan Donald | 2018-08-06 | -2/+13 |
| | | | | | | | | add a do_not_send parameter to reports which allows the front end to specify a comma separated list of bodies that reports should not be sent to even if there is a valid contact match. This enables asset layers to override backend body processing, e.g. if a body only accepts reports that are on a road this allows the front end to specify that. | |||
* | [Buckinghamshire] Fix hard-coded category lookup. | Matthew Somerville | 2018-08-03 | -1/+1 |
| | ||||
* | Allow asset layer display to be body dependent. | Struan Donald | 2018-08-03 | -1/+18 |
| | | | | | | | | | | | Return a list of associated bodies on around/new pages and in category ajax calls, and use that when deciding whether to show/hide layers. If the layer has no body information, then we show it as before, maybe based on category selected; if it does, it is only shown if the layer body matches the bodies for the point. As part of this create a new VectorAsset class to handle all the visibility changes for asset layers as it makes it a bit tidier. | |||
* | Trim spaces from user/report search input. | Matthew Somerville | 2018-07-31 | -0/+2 |
| | ||||
* | Allow questionnaire pages to be revisited within 2 minutes | Dave Arter | 2018-07-11 | -1/+2 |
| | | | | | | | | Users who double click links were seeing an error when visiting the questionnaire page. This change gives a grace period of two minutes for revisiting the questionnaire page. Fixes #2123. | |||
* | Always show all reports by default on /my. | Matthew Somerville | 2018-07-09 | -4/+6 |
| | ||||
* | Do not fetch problem extra on /my. | Matthew Somerville | 2018-07-09 | -1/+1 |
| | | | | The code thought it was fetching the category extra, which it is not. | |||
* | Add cobrand hook for custom searching on disambiguation page | Dave Arter | 2018-07-04 | -0/+3 |
| | ||||
* | Merge branch 'issues/2098-repaginating-splines' | Matthew Somerville | 2018-07-03 | -0/+4 |
|\ | ||||
| * | Only display reports from last 6 months on around. | Struan Donald | 2018-07-03 | -0/+4 |
| | | | | | | | | | | | | | | Add a checkbox to show older reports, plus if we get to the end of the new reports then instead of a Next button show a "show older" button that will reload the current page but with older reports also loaded. Wire it all up into the pushState code as well. | |||
* | | Allow any user who sees private checkbox to use it | Matthew Somerville | 2018-07-03 | -2/+2 |
|/ | ||||
* | Enable editing of category group in admin | Dave Arter | 2018-06-26 | -0/+6 |
| | | | | Fixes mysociety/fixmystreetforcouncils#275 | |||
* | add a send login email button to user edit page | Struan Donald | 2018-06-25 | -7/+39 |
| | | | | | | | | | Add a button to the user edit page that sends a login token email to the user. Helpful for user support situations where someone is having trouble logging in. Also for situations where you have added a user and want to get them logged in. Fixes #2041 | |||
* | Defect type changes must be after category change. | Matthew Somerville | 2018-06-22 | -7/+10 |
| | | | | | As with priorities, they depend upon the category and so must be looked up after that has been updated. | |||
* | Allow inspector to unset priority. | Matthew Somerville | 2018-06-22 | -2/+6 |
| | ||||
* | Use CSV escaping for categories in URLs. | Matthew Somerville | 2018-06-21 | -3/+7 |
| | | | | | Categories could contain commas, so splitting on comma is not good enough. Let’s escape the fields as if it’s a line in CSV. Fixes #2166. | |||
* | send unresponsive details back with category extras | Struan Donald | 2018-06-20 | -0/+4 |
| | | | | | | | This allows the mobile app to explicitly detect when a body is unresponsive and display the category_extra text. For mysociety/fixmystreet-mobile#266 | |||
* | cobrand hook to deny access to pages | Struan Donald | 2018-06-19 | -0/+1 |
| | | | | | | | Add a check in the root controller `auto` to a cobrand hook that denies access if it returns true. This goes here so that cobrands and users are set up, which is not the case for `check_login_required`. Used to do things like deny site access unless the user is a superuser. | |||
* | Merge branch 'issues/commercial/1038-bromley-tfl-direct' | Matthew Somerville | 2018-06-14 | -12/+13 |
|\ | ||||
| * | If single_body_only set, skip contact body check. | Matthew Somerville | 2018-06-14 | -12/+13 |
| | | | | | | | | This assumes the SendReport code will deal with the issue. | |||
* | | Catch errors whilst quote_char is set. | Matthew Somerville | 2018-06-13 | -27/+32 |
|/ | | | | That way we can make sure we always reset quote_char even if something breaks. | |||
* | include automated field when editing contacts | Struan Donald | 2018-06-11 | -0/+2 |
| | | | | | | | | Display fields that are automatically filled in the contact editing form otherwise the data is lost. Also include the automated field in the form. Fixes #2136 | |||
* | Fix issue displaying anonymous account email. | Matthew Somerville | 2018-06-07 | -5/+10 |
| | ||||
* | error on bad update ids passed to contact form | Struan Donald | 2018-06-05 | -3/+11 |
| | | | | | Return an error if an id for either a hidden update or one not associated with the problem id is passed to the contact form. | |||
* | For duplicate, make sure update will be included. | Matthew Somerville | 2018-06-04 | -1/+1 |
| | | | | | It was checking update text was present, but not whether the update would be included. | |||
* | Fallback to ID ordering on dashboard export. | Matthew Somerville | 2018-05-31 | -1/+1 |
| | ||||
* | Call cobrand hook to add extra CSV columns on dashboard export | Dave Arter | 2018-05-30 | -0/+1 |
| | ||||
* | Add admin tickbox to close report to updates. | Matthew Somerville | 2018-05-23 | -0/+6 |
| | ||||
* | Add ability to close updates on reports. | Matthew Somerville | 2018-05-23 | -0/+1 |
| | | | | | The inactive report script can mark matched reports as closed for updates. This removes the update form and signing up for updates from a report page. | |||
* | Factor anonymize function to User model. | Matthew Somerville | 2018-05-23 | -14/+1 |
| | ||||
* | Move default problem state to cobrand function. | Matthew Somerville | 2018-05-15 | -2/+1 |
| |