aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
Commit message (Collapse)AuthorAgeLines
* Deal with possible multiple send_method_useds.Matthew Somerville2018-11-06-6/+19
|
* [BANES] Add roadworks.org layerStruan Donald2018-11-06-0/+2
| | | | Uses same parsing of roadworks messages as Lincs
* [FixaMinGata] Show staff user name as well as body name in updatesJoe Siltberg2018-11-05-0/+4
|
* 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
|
* Only set Open311 category group if cobrand has groups enabledDave Arter2018-11-02-10/+20
|
* allow comment fetching to be limited by body nameStruan Donald2018-11-02-0/+5
| | | | | 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-3/+43
|\
| * Allow moderation to edit extra fields/location.Matthew Somerville2018-10-26-3/+43
| | | | | | | | If a cobrand provides those fields.
* | Don’t send questionnaires for closed reports.Dave Arter2018-10-26-1/+3
|/ | | | Fixes mysociety/fixmystreet-freshdesk#24.
* 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-0/+10
| | | | | | 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-13/+28
|
* Use Chains in /report.Matthew Somerville2018-10-22-60/+38
|
* [Zurich] Fix call to admin_fetch_all_bodies.Matthew Somerville2018-10-22-4/+5
|
* add alert editing to user edit page in adminStruan Donald2018-10-19-4/+26
| | | | 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/+26
| | | | | Include a list of alerts the user is subscribed to at the bottom of the user_edit page in the admin.
* [Bromley] restrict contact form to abuse reportsStruan Donald2018-10-18-0/+2
| | | | | | | 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-0/+10
| | | | | 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-0/+3
| | | | | | | | 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/+13
| | | | | | | 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/+2
| | | | | call ZOOM_LEVELS and MIN_ZOOM_LEVELS using self so that we can override them in a subclass.
* Merge branch 'superusers-more-super'Matthew Somerville2018-10-11-1/+1
|\
| * Allow superusers access to update staff dropdowns.Matthew Somerville2018-10-11-1/+1
| |
* | 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-3/+18
|\
| * Have body.url work in hashref lookup.Matthew Somerville2018-10-10-3/+18
| | | | | | | | | | | | | | 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.
* | Merge branch 'dashboard-permission-hook'Matthew Somerville2018-10-10-1/+13
|\ \
| * | Add cobrand hook for dashboard viewing permission.Matthew Somerville2018-10-10-1/+13
| |/ | | | | | | | | This allows a cobrand to e.g. as the test does, allow public access to dashboard CSV export for a body, but not otherwise.
* / [Angus] Remove cobrand.Matthew Somerville2018-10-10-485/+0
|/
* [BANES] Show open reports only by default.Matthew Somerville2018-10-09-0/+2
|
* Merge branch 'send-reopen-comment-option'Matthew Somerville2018-10-09-22/+220
|\
| * [Open311] More testing of GetServiceRequestUpdatesMatthew Somerville2018-10-09-13/+11
| |
| * 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-54/+61
| |
| * Add get_cobrand_logged to Comment.Matthew Somerville2018-10-09-7/+26
| |
| * [Open311] Move send-comments code to package.Matthew Somerville2018-10-09-0/+174
| |
* | [FixMyStreet] add subcategories to fixture and enable for demoStruan Donald2018-10-09-0/+2
| | | | | | | | | | The fixture script now generates subcategories so we need to turn these on in the Borsetshire demo site so the categories make sense.
* | front end category testsStruan Donald2018-10-09-3/+5
| | | | | | | | Check selecting a category and selecting a sub category
* | [Oxfordshire] allow searching on ENQ customer_referenceStruan Donald2018-10-09-0/+16
| |
* | allow cobrands to override searching by refStruan Donald2018-10-09-4/+7
|/ | | | Add a cobrand hook to allow searching by reference to be overridden
* [Open311] Add ability to send reopen status.Matthew Somerville2018-10-08-0/+3
| | | | 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-63/+150
|\
| * Dashboard update CSV export.Matthew Somerville2018-10-03-18/+102
| |
| * 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
| |
| * Add two fields to dashboard CSV export.Matthew Somerville2018-10-03-8/+7
| |
* | Add perl 5.26/5.28 support.Matthew Somerville2018-10-04-0/+3
| | | | | | | | | | Upgrade a couple of modules, deal with '.' not present in @INC, captures returning undef rather than '', and a test.
* | Deal with a variety of low-level test warnings.Matthew Somerville2018-10-04-1/+2
|/ | | | | | | | | | * Stop red warning being output by S3 bucket creation failure test * Make sure 'num_old_reports' is always a number on /around pages * Stop 'category_extra' being generated when unnecessary * Prevent warning printed in getservicerequestupdates.t * Prevent info lines from being output in develop.t * Remove line of #s in root.t * And an ID diag in zurich.t