aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* | 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
| |
* | [Docs] Add S3 photo migration blog postDave Arter2018-10-09-0/+184
|/ | | | | | Fixes #2280. [ci skip]
* [BANES] Show open reports only by default.Matthew Somerville2018-10-09-0/+2
|
* Merge branch 'send-reopen-comment-option'Matthew Somerville2018-10-09-193/+367
|\
| * [Open311] More testing of GetServiceRequestUpdatesMatthew Somerville2018-10-09-22/+24
| |
| * Remove hard-coded body name in Problem.Matthew Somerville2018-10-09-4/+4
| | | | | | | | We can now use the new open311_post_update_skip function.
| * [Open311] Move send-comments cobrand specific codeMatthew Somerville2018-10-09-61/+67
| |
| * Add get_cobrand_logged to Comment.Matthew Somerville2018-10-09-8/+27
| |
| * [Open311] Move send-comments code to package.Matthew Somerville2018-10-09-157/+304
| |
* | [FixMyStreet] add subcategories to fixture and enable for demoStruan Donald2018-10-09-9/+11
| | | | | | | | | | The fixture script now generates subcategories so we need to turn these on in the Borsetshire demo site so the categories make sense.
* | reselect subcategory selects on /report/newStruan Donald2018-10-09-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | If /report/new is opened directly then the fixmystreet.reporting_data is not set, but the categories are already in place. These are then replaced when update_pin is called. If this has been triggered by clicking on a category with a subcategory this replaces the category selects but did not correctly reset them. By saving any selected value in the main category select we can correctly reset this and hence the display of the subcategory select. Fixes #2276
* | front end category testsStruan Donald2018-10-09-3/+59
| | | | | | | | Check selecting a category and selecting a sub category
* | [Oxfordshire] allow searching on ENQ customer_referenceStruan Donald2018-10-09-0/+30
| |
* | allow cobrands to override searching by refStruan Donald2018-10-09-4/+8
| | | | | | | | Add a cobrand hook to allow searching by reference to be overridden
* | [BANES] Branding for HTML emailsZarino Zappia2018-10-08-0/+124
|/
* [Open311] Add ability to send reopen status.Matthew Somerville2018-10-08-0/+8
| | | | Switch on for Buckinghamshire.
* Speed up dashboard CSV export.Matthew Somerville2018-10-08-5/+31
| | | | | | | Without fetching bodies_str, the update export was doing a query per update to fetch the corresponding problem. [BANES] Speed up extra columns by prefetching the relevant users.
* Merge branch 'dashboard-update-csv-export'Matthew Somerville2018-10-05-97/+258
|\
| * Dashboard update CSV export.Matthew Somerville2018-10-03-20/+160
| |
| * More efficient horizontal spacing in dashboard-options-tabsZarino Zappia2018-10-03-1/+16
| |
| * Rename problems_rs to objects_rs.Matthew Somerville2018-10-03-17/+20
| | | | | | | | No functional change.
| * Some minor function refactoring.Matthew Somerville2018-10-03-28/+29
| |