aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* 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
* allow cobrands to restrict /contact to abuse reportsStruan Donald2018-10-18-1/+45
| | | | | Add abuse_reports_only cobrand method that prevents the contact form being used unless it's an abuse report.
* Update areas when moving report pinDave Arter2018-10-17-5/+23
| | | | | | | | The change in report_inspect.t from WODC to Oxford City was necessary because moving reports to a location not in Mock::MapIt was resulting in an empties bodies_str in the "test category/body changes" test. Fixes #2181.
* display alert count on admin report pageStruan Donald2018-10-17-0/+42
| | | | | | | Add a count of currently active alerts on new updates for a report to the admin page. Fixes #669
* allow map zoom constants to be overriddenStruan Donald2018-10-15-2/+34
| | | | | call ZOOM_LEVELS and MIN_ZOOM_LEVELS using self so that we can override them in a subclass.
* [Vagrant] Improve provisioning for mySociety base boxSam Pearson2018-10-11-18/+48
| | | | | | | | | | | | - When using the official box, just run `script/update` at startup as the latest release (0.0.3) has everything fully pre-installed; - Ensure `/home/vagrant/.cpanm` is owned by vagant user; - When using the official box, always run the provisioner that checks and bind mounts the local pre-built Perl modules when starting as these would previously have been missing after a `halt` and `up`; - When using any other box, just run the full install process. [skip ci]
* Merge branch 'superusers-more-super'Matthew Somerville2018-10-11-6/+6
|\
| * Allow superusers access to update staff dropdowns.Matthew Somerville2018-10-11-6/+6
| |
* | do not reuse original open311 object in fetch comments loopStruan Donald2018-10-11-2/+2
|/ | | | | The //= meant that once `$open311` was populated we reused it each time which mean we were passing the original config in to each body.
* Merge branch 'body-hashref-working-url'Matthew Somerville2018-10-10-10/+50
|\
| * Have body.url work in hashref lookup.Matthew Somerville2018-10-10-7/+34
| | | | | | | | | | | | | | body.url could still be in use by old-school /reports table index pages (though they were dropped in 2.1, so a cobrand would have to have overridden it since then) and the update to speed up body lists in #2248 broke it. This puts it back in minimal form.
| * Add a test for duration_string.Matthew Somerville2018-10-10-4/+17
| |
* | Merge branch 'dashboard-permission-hook'Matthew Somerville2018-10-10-10/+53
|\ \
| * | Add cobrand hook for dashboard viewing permission.Matthew Somerville2018-10-10-2/+48
| | | | | | | | | | | | | | | This allows a cobrand to e.g. as the test does, allow public access to dashboard CSV export for a body, but not otherwise.
| * | Tweak dashboard test for less output.Matthew Somerville2018-10-10-8/+5
| |/
* | [Angus] Remove cobrand.Matthew Somerville2018-10-10-2112/+1
| |