Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | Make sure existing attribute answers set up. | Matthew Somerville | 2019-08-09 | -3/+28 | |
| | | | | | | | If you come to /report/new with a part-filled report (say you've gone via an OAuth flow), then the stash needs to get the category from the report, not a query parameter, and report_meta needs initializing, as that is what the template uses to fill in existing attribute answers. | ||||
* | Merge branch 'westminster-report-dupe-bugs' | Matthew Somerville | 2019-08-08 | -4/+4 | |
|\ | |||||
| * | Set default mock area to default browser test area | Matthew Somerville | 2019-08-07 | -4/+4 | |
| | | | | | | | | | | | | This should make it easier to add browser tests as you won't have to get the click precisely on the right pixel in order to have it match the correct area. | ||||
* | | Redirect correctly after editing user to remove them from cobrand | Dave Arter | 2019-08-07 | -0/+43 | |
|/ | |||||
* | prevent including email address in report title | Struan Donald | 2019-08-02 | -0/+23 | |
| | | | | | | | | If autofill on Chrome is turned on and has saved the user's login it can autofill the user's email address in the report title, so add validation to make sure the title does not look like an email. Fixes #2570 | ||||
* | [open311] unset the external_status_code if blank | Struan Donald | 2019-07-31 | -0/+30 | |
| | | | | | | If an update with a blank external_status_code is fetched then unset it otherwise we will always a detect a change in the external_status_code which might mean phantom updates. | ||||
* | Merge branch 'open311-receive-update' | Matthew Somerville | 2019-07-16 | -31/+176 | |
|\ | |||||
| * | [Open311] Receive update from external request. | Matthew Somerville | 2019-07-15 | -0/+99 | |
| | | |||||
| * | [Open311] Refactor GetServiceRequestUpdates a bit. | Matthew Somerville | 2019-07-15 | -26/+72 | |
| | | |||||
| * | [Open311] Improve JSON output of controller. | Matthew Somerville | 2019-07-15 | -5/+5 | |
| | | |||||
* | | [UK] Allow multiple admin user domains. | Matthew Somerville | 2019-07-16 | -1/+13 | |
|/ | |||||
* | Merge branch '1456-do-not-store-display-only-attributes' | Matthew Somerville | 2019-07-15 | -0/+1 | |
|\ | |||||
| * | Do not store display-only extra fields on reports. | Matthew Somerville | 2019-07-12 | -0/+1 | |
| | | |||||
* | | [Bexley] Include subcategory in dashboard export. | Matthew Somerville | 2019-07-12 | -1/+9 | |
|/ | |||||
* | [UK] Make sure all asset JS in footer_extra. | Matthew Somerville | 2019-07-10 | -4/+4 | |
| | | | | | This provides consistent ordering of loading, and makes it easier to change map type and maintain assets. | ||||
* | Update UI text when selecting a private category | Dave Arter | 2019-07-09 | -0/+2 | |
| | | | | | | | This makes it clearer that all details for a report made in a private category will not be shown publicly. Fixes mysociety/fixmystreet-commercial#1405 | ||||
* | Indicate in report new AJAX if a category is private | Dave Arter | 2019-07-09 | -0/+15 | |
| | |||||
* | Allow cobrands to disable admin resending. | Matthew Somerville | 2019-07-09 | -2/+11 | |
| | |||||
* | Merge branch '1084-quote-names' | Matthew Somerville | 2019-07-02 | -3/+5 | |
|\ | |||||
| * | Fix Swedish number test in Ubuntu 18.04. | Matthew Somerville | 2019-06-26 | -2/+4 | |
| | | |||||
| * | Turn on quote_names. | Matthew Somerville | 2019-06-26 | -1/+1 | |
| | | |||||
* | | [Open311] Remove update problem matching warning. | Matthew Somerville | 2019-06-26 | -5/+1 | |
|/ | | | | Lots of false positives from other bodies too. | ||||
* | [UK] Improve server-side nearest road lookup. | Matthew Somerville | 2019-06-21 | -1/+19 | |
| | |||||
*-. | Merge branches 'email-template-with-vars' and 'better-error-if-no-category' | Matthew Somerville | 2019-06-21 | -1/+56 | |
|\ \ | |||||
| | * | better error if category for report does not exist | Struan Donald | 2019-06-20 | -0/+24 | |
| |/ |/| | | | | | | | | | It is possible that the category of a report no longer exists and in that case the Open311 send process was falling over. This checks that we've found a contact and if not sets the error and skips the report. | ||||
| * | [Open311] Allow description in email template. | Matthew Somerville | 2019-06-20 | -1/+32 | |
|/ | | | | | By specifying a placeholder in an email template, it can be replaced by the description returned from the Open311 server. | ||||
* | admin interface for adding multiple groups to a category | Struan Donald | 2019-06-17 | -1/+31 | |
| | |||||
* | allow multiple groups in open311 services group tag | Struan Donald | 2019-06-17 | -0/+142 | |
| | | | | | | | Only parses as multiple groups if cobrand is configured to handle them to stop issues with existing groups with commas in them. Groups are parsed as CSV so as to allow commas in group names. | ||||
* | display category under multiple groups | Struan Donald | 2019-06-17 | -1/+2 | |
| | | | | | | | The group metadata of a contact can now be a comma separated list of groups under which to display the category For #2475 | ||||
* | configure category_groups via COBRAND_FEATURES | Struan Donald | 2019-06-17 | -25/+14 | |
| | | | | | Rather than have a method in the Cobrand module use the COBRAND_FEATURES section of the config file. | ||||
* | Merge branch 'issues/commercial/1417-better-private-message' | Matthew Somerville | 2019-06-14 | -2/+2 | |
|\ | |||||
| * | Improve 403/private report error messages. | Matthew Somerville | 2019-06-14 | -2/+2 | |
| | | |||||
* | | [Bexley] P1 email on dangerous reports. | Matthew Somerville | 2019-06-14 | -33/+58 | |
|/ | |||||
* | Merge branch 'open311-encode-for-uploads' | Matthew Somerville | 2019-06-14 | -18/+59 | |
|\ | |||||
| * | [Open311] Make sure Open311 parameters are encoded | Matthew Somerville | 2019-06-12 | -18/+59 | |
| | | | | | | | | | | This was previously done automatically, but isn’t when you do file uploads. | ||||
* | | [Bexley] Also send email for lighting reports. | Matthew Somerville | 2019-06-12 | -0/+18 | |
| | | |||||
* | | [Hounslow] Fix restriction lookup on around pages. | Matthew Somerville | 2019-06-12 | -0/+18 | |
|/ | |||||
* | Merge branch 'move-some-forms' | Matthew Somerville | 2019-06-12 | -28/+15 | |
|\ | |||||
| * | Move ResponsePriority admin to HTML::FormHandler. | Matthew Somerville | 2019-06-07 | -28/+15 | |
| | | |||||
* | | Merge branch 'uk-to-features' | Matthew Somerville | 2019-06-12 | -4/+12 | |
|\ \ | |||||
| * | | [UK] Switch a few config options to feature. | Matthew Somerville | 2019-06-11 | -4/+12 | |
| | | | | | | | | | | | | | | | | | | | | | You don't want base_url specified apart from on live sites, so this means all the non-live site code can be removed. Contact name/email you probably want to be clear when not the live site, and it should be easier to change example_places. | ||||
* | | | [Hounslow] Show external ID on /report to staff. | Matthew Somerville | 2019-06-11 | -1/+16 | |
|/ / | |||||
* / | [Hounslow] Hide TfL Traffic Lights category. | M Somerville | 2019-06-07 | -0/+22 | |
|/ | | | | It is handled by an existing category. | ||||
*-. | Merge branches 'move-up-bodies-set' and 'more-frontend-tests' | Matthew Somerville | 2019-06-06 | -3/+6 | |
|\ \ | |||||
| | * | [Buckinghamshire] Add flytipping front end test. | Matthew Somerville | 2019-06-05 | -0/+2 | |
| | | | |||||
| | * | [Buckinghamshire] Move non-map JS to template. | Matthew Somerville | 2019-06-05 | -1/+1 | |
| | | | |||||
| * | | Set fixmystreet.bodies sooner. | Matthew Somerville | 2019-06-04 | -2/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a small bug where if you go to a two-tier location, pick a category that is sent to one of the two ("These will be sent to" text updates to only show that one), then click elsewhere on the map, the "These will be sent to" text resets to show both bodies. This happens because fixmystreet.bodies is reset after the text has been correctly set by the category change() setup (called on pin move also). | ||||
* | | | [Hounslow] Hide all reports made before go-live entirely | Dave Arter | 2019-06-06 | -0/+44 | |
| | | | |||||
* | | | [Hounslow] Add general enquiries functionality | Dave Arter | 2019-06-06 | -0/+257 | |
| |/ |/| | | | | | | | | | | | | | | | | | | | | | This functionality allows a cobrand to replace the /contact form with a form that creates hidden reports which are sent via Open311. The form also allows file uploads in addition to photos. This functionality is currently enabled for the Hounslow cobrand and others cobrands can enable it by defining setup_general_enquiries_stash which primarily sets up the appropriate categories and default values for the report. | ||||
* | | make sure council_name exists before trying to call it | Struan Donald | 2019-06-05 | -0/+15 | |
|/ | | | | Not all cobrands have a council_name method. |