aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* 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.
* [BANES] Add roadworks.org layerStruan Donald2018-11-06-0/+68
| | | | Uses same parsing of roadworks messages as Lincs
* [Vagrant] Only add development port to BASE_URL when requiredSam Pearson2018-11-05-5/+5
| | | | | | | | | The addition of `:3000` to `BASE_URL` is now only made when not using the FixMyStreet box as this will be supplied in by the `setup` script in that case. This should also only be applied when not already present to prevent it being added repeatedly. [skip ci]
* [Vagrant] Check and generate config file if necessarySam Pearson2018-11-05-6/+23
| | | | | | | | This adds support in `script/setup` for generating a local `general.yml` if it doesn't already exist and is run as the `vagrant` user. This is called from the `Vagrantfile` when using the FixMyStreet Vagrant box. [skip ci]
* [FixaMinGata] Don't scroll report on loadJoe Siltberg2018-11-05-0/+4
|
* [FixaMinGata] Show staff user name as well as body name in updatesJoe Siltberg2018-11-05-0/+16
|
* Add configuration option to show staff user name as well as body nameJoe Siltberg2018-11-05-1/+3
| | | | | | | This adds a cobrand configuration option for always showing the body user's name in updates. Fixes #1860
* [FixMyStreet.com] Enable category groupsDave Arter2018-11-02-0/+2
|
* Add tests for per-cobrand category group handlingDave Arter2018-11-02-21/+47
|
* Only set Open311 category group if cobrand has groups enabledDave Arter2018-11-02-10/+23
|
* Sort category groups correctlyDave Arter2018-11-02-2/+13
| | | | | Previously if there was a mix of groups and top-level categories they weren’t sorted together.
* script to backfill open311 commentsStruan Donald2018-11-02-0/+64
| | | | | Utility script that takes a time window and an option body name and then fetches all the comments over that period in 24 hour blocks
* allow comment fetching to be limited by body nameStruan Donald2018-11-02-0/+47
| | | | | Allows creating scripts that fetch comments for a single body, e.g for batch updating or because they require special setup.
* Merge branch 'moderate-allow-extra-edits'Matthew Somerville2018-10-30-4/+84
|\
| * Allow moderation to edit extra fields/location.Matthew Somerville2018-10-26-4/+84
| | | | | | | | If a cobrand provides those fields.