aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * Read in autoresponse template as UTF-8.Matthew Somerville2018-11-27-4/+3
| |
| * Adds cobrand support for handlemail.Joe Siltberg2018-11-27-5/+16
| | | | | | | | Fixes #2331
* | Include missing package in handlemail-support.Matthew Somerville2018-11-29-0/+1
| |
* | Consistent behaviour of ‘problems nearby’ linkDave Arter2018-11-27-24/+33
| |
* | Restore zoom level when navigating back to /around from /reportDave Arter2018-11-27-2/+53
| | | | | | | | Fixes #1649.
* | Associate moderation history with admin log.Matthew Somerville2018-11-27-65/+115
| |
* | Show moderation history in report/update admin.Matthew Somerville2018-11-26-2/+177
| |
* | Store all moderation change history in database.Matthew Somerville2018-11-26-70/+74
| | | | | | | | | | Currently keeping the same front end functionality of only reverting to the original.
* | Improve update display on admin report edit page.Matthew Somerville2018-11-26-16/+20
| |
* | Assume no IM if testing, as it changes sample image.Matthew Somerville2018-11-26-0/+1
|/
* [UK] fix line break in translated stringStruan Donald2018-11-26-2/+1
| | | | To avoid adding a new, but identical translation
* [UK] council specific javascript validationStruan Donald2018-11-26-3/+91
| | | | | | | | | use the bodies array of reporting_data to check if there is council specific javascript validation and, if so, load that into the JS validation rules. This does mean we reset the validation rules each time you select a category.
* Fix getservicerequestupdates test failuresStruan Donald2018-11-26-4/+4
| | | | | | | | Some of these were occasional failures due to timing issues. One was due to a hard coded body id meaning the addition of bodies in other tests meant this was creating two bodies with the same id, which happened to be used in a test which depended on the bodies having different ids.
* [UK] server side cobrand specific validationStruan Donald2018-11-26-8/+230
| | | | | | `report_check_for_errors` now fetches the cobrand for the current report and, if present, runs `report_validation` method from cobrand over the report.
* Use standard email sending for handlemail.Matthew Somerville2018-11-23-13/+15
| | | | | | The EmailUtil library expects "\n" line endings, otherwise it gets confused. It also doesn't handle a different SMTP port, and so on. We also make sure the return path is chomped.
* Disable two-tap marker highlighting on touchscreensDave Arter2018-11-22-11/+18
| | | | Fixes #2294
* On moderating update, scroll to its top, not page.Matthew Somerville2018-11-21-2/+2
|
* [Open311] Improve handling of created/updated datetimes of fetched reportsDave Arter2018-11-20-37/+43
| | | | | This should reduce the incidence of the ‘Problem id X for Y has an invalid time, not creating’ cron errors we’ve been seeing.
* add report_prefill user permissionStruan Donald2018-11-19-5/+84
| | | | | | | If set then when the user creates a new body report it will prefill the report title and description with some basic text. For mysociety/freshdesk#23
* add default_to_body permissionStruan Donald2018-11-19-2/+30
| | | | | | | If a user has this permission then the report_as dropdown will default to reporting as the body. For mysociety/freshdesk#23
* [UK] Front end tests for Highways England layerStruan Donald2018-11-19-1/+57
|
* [Bristol] include highways england dataStruan Donald2018-11-19-3/+8
| | | | | | This changes the projection from EPSG:3857, which is not included in the bristol openlayers build, to the identical EPSG:900913 which is, so that the conversion happens.
* [Buckinghamshire] Allow reports on Highways England roadsStruan Donald2018-11-19-2/+29
| | | | | Do not hide the report form if you click on a non Bucks road that is managed by Highways England.
* [UK] send reports on highways agency roads to highways agencyStruan Donald2018-11-19-20/+227
| | | | | | | Includes an option to send to the council instead for e.g. reports on underpasses or bridges. Fixes #736
* Mark moderation_original_data extra as RABXColumn.Matthew Somerville2018-11-19-4/+11
|
* Sort user updates in reverse date order.Matthew Somerville2018-11-19-3/+4
|
* Store more original stuff on moderation.Matthew Somerville2018-11-16-13/+88
|
* Scroll to form top when going to/from moderation.Matthew Somerville2018-11-16-0/+2
|
* Enforce maximum photo size on upload.Matthew Somerville2018-11-14-0/+2
| | | | (This might well have been done client-side by Dropzone.)
* Factor out ImageMagick wrapper.Matthew Somerville2018-11-14-53/+74
|
* Add option to symlink full size photos.Matthew Somerville2018-11-14-13/+54
|
* add report_mark_private permissionStruan Donald2018-11-12-14/+219
| | | | | | | | Allows user's to see the inspector panel to mark reports as Private, and also to view those non-public reports. Useful for call centre staff who want to record private reports but don't need to other permissions. Fixes mysociety/fixmystreet-commercial#1213
* Simplify /auth sign in page.Matthew Somerville2018-11-09-102/+157
|
* Tidy up UK council cobrand button style overridesZarino Zappia2018-11-09-11/+23
| | | | | | | | | | | | | | | Given recent changes to the button mixins, now is a good opportunity to clear out some overcomplicated button styling from a few UK council cobrands: Greenwich, Hart, and Oxfordshire. All three referred to `button.green-btn` elements that don’t seem to exist any more, and I couldn’t find a reason for the extra specificity in the `input.green-btn` selectors either. Oxfordshire’s buttons are drastically restyled from the FMS defaults, so its button rules are a little complex. But I’ve tried to make the distinction clearer between buttons we’re having to build from scratch (.btn, .green-btn, etc) and buttons we’re simply re-colouring.
* Remove a few .btn related unnecessary things.Zarino Zappia2018-11-09-8/+0
| | | | .btn--social doesn't do anything, and neither do the text-transforms.
* Make .btn--block work on button and input elementsZarino Zappia2018-11-09-55/+88
| | | | | | | | | The intention of .btn--block is to make the element full width. Because of the weird way browsers handle sizing of form elements, just setting `display: block` on `<button>` and `<input type="submit">` elements wasn’t making them full width. Instead, .btn--block needed to explicitly set a 100% width, and then reset any margins or box-sizing issues that might cause it to overflow its parent.
* Remove unnecessary logins in report_updates.tMatthew Somerville2018-11-09-9/+0
|
* Touch config file when symlink updated.Matthew Somerville2018-11-09-0/+1
| | | | This is so the dev server notices and restarts.
* Update any lat/lon fields when changed.Matthew Somerville2018-11-09-2/+2
| | | | | Cobrands might include the fields elsewhere, e.g. in moderation. Also only use 6 decimal places.
* Fix Open311 category group bugsDave Arter2018-11-07-15/+32
| | | | | | | - Group wasn’t being set correctly by open311-populate-service-list as cobrand attribute not being updated for each body. - Extra metadata was being persisted to the DB every time even if nothing had changed, causing lots of duplicate entries in contacts_history.
* Allow moderation to edit category.Matthew Somerville2018-11-07-0/+32
|
* [Docs] Updated with AMI for release v2.4.2Sam Pearson2018-11-06-3/+3
|
* Clearer relocation options while reporting.Zarino Zappia2018-11-06-5/+41
| | | | | | | | | | | | | | | | Now that the "Report a problem" link in the nav bar links, more often than not, to the reporting form rather than the homepage, it could be challenging to actually start a new report in a location *other* than the one currently on screen. Rather than adding a link to the homepage, this change hopefully adds a link right at the moment the user expects it – right on the "Report a problem" form. It also gave us an opportunity to reword the "Wrong location" message and give it an icon more suitable for high-dpi displays. Fixes #2238.
* Version 2.4.2.v2.4.2Matthew Somerville2018-11-06-5425/+9152
|
* Revert "Clearer relocation options while reporting."Matthew Somerville2018-11-06-42/+5
| | | | This reverts commit ee3c4e05daf3f4df01762ead3d07697a12f13a28.
* [Travis] Update notification tokens.Matthew Somerville2018-11-06-2/+3
|
* Deal with possible multiple send_method_useds.Matthew Somerville2018-11-06-6/+20
|
* [BANES] filter roadworks messages on typeStruan Donald2018-11-06-2/+9
| | | | use symbol code to limit the types of roadworks that show.
* [BANES] limit roadworks.org message by categoryStruan Donald2018-11-06-0/+14
| | | | | use the filter option to only display roadworks message for road related categories
* allow cobrands to filter when roadworks message shownStruan Donald2018-11-06-1/+5
| | | | | add a `fixmystreet.roadworks.filter` option which cobrands can override to control when the message is displayed. e.g. limit by category.