aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* 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.
* | Don’t send questionnaires for closed reports.Dave Arter2018-10-26-5/+29
| | | | | | | | Fixes mysociety/fixmystreet-freshdesk#24.
* | Merge branch '2080-nav-fg-rename'Matthew Somerville2018-10-25-80/+91
|\ \ | |/ |/|
| * Rename nav SCSS variable names.Matthew Somerville2018-10-22-80/+91
| | | | | | | | | | Anything using old names should still work as long as they included the mixins file.
* | Don't generate local coords in CSV if unasked for.Matthew Somerville2018-10-23-1/+1
| |
* | use submitted phone number and email in login formStruan Donald2018-10-23-4/+21
| | | | | | | | | | | | do not use details directly from user object because in the slim chance that the user has phone and email verified and there is a failed email login we display the phone number from the database.
* | Allow moderation to potentially change photos.Matthew Somerville2018-10-22-53/+57
| |
* | Allow multiple JS dropzones on a single page.Matthew Somerville2018-10-22-4/+10
| | | | | | | | | | As well as the original form using #form_photo, add Dropzone to any form with a .js-photo-label in it.
* | Try and avoid transient test failure.Matthew Somerville2018-10-22-1/+2
| |
* | Use Chains in /report.Matthew Somerville2018-10-22-64/+42
| |
* | [Zurich] Fix call to admin_fetch_all_bodies.Matthew Somerville2018-10-22-4/+6
|/
* add alert editing to user edit page in adminStruan Donald2018-10-19-4/+96
| | | | disable, enable and delete for user alerts on user_edit page
* list user's alerts on user edit page in adminStruan Donald2018-10-19-0/+77
| | | | | Include a list of alerts the user is subscribed to at the bottom of the user_edit page in the admin.
* [Bromley] update footer links to httpsStruan Donald2018-10-18-11/+10
| | | | Also, remove top of page link that was hardcoded to a now missing page.
* [Bromley] restrict contact form to abuse reportsStruan Donald2018-10-18-1/+3
| | | | | | | Change contact links to main Bromley site contact and limit the contact form to only accept abuse reports. Fixes mysociety/fixmystreet-commercial#1198