aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
Commit message (Collapse)AuthorAgeLines
...
* 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
* [UK] Fix ward pages containing ampersands.Matthew Somerville2018-10-03-2/+3
| | | | | Map ward names on their short names, so any processing applies equally to URL and names returned by MapIt.
* [Zurich] Ignore deleted categories on change.Matthew Somerville2018-10-02-1/+1
| | | | | | | This led to an odd issue whereby a deleted category started being used for a category change, but only when the other category with the same name was edited (so thus changed the database's internal ordering).
* Adapt fixture script to be non-random on request.Struan Donald2018-10-02-2/+2
| | | | | The existing fixture script generates random results so is no use for front end testing.
* Do not die if old UPLOAD_DIR config given.Matthew Somerville2018-10-01-2/+2
| | | | The new lookup would only work if it was present.
* [Open311] turn on comment sending for OCCStruan Donald2018-10-01-1/+6
| | | | | but only send if the problem as a customer reference and use that as the external id reference
* [Oxfordshire] remove open311 hardcodingStruan Donald2018-10-01-12/+1
| | | | | we no longer need some of the hardcoded oxfordshire Open311 overrides so remove them
* [Open311] add customer reference from update to problemStruan Donald2018-10-01-0/+7
| | | | | If an Open311 update has a customer_reference property then add that to the metadata for the problem.
* Add S3 photo storage backendDave Arter2018-09-28-0/+124
|
* Factor out photo storage backend init checksDave Arter2018-09-28-18/+35
|
* Handle failure of photo upload more gracefullyDave Arter2018-09-28-2/+8
|
* Factor out photo storage into PhotoStorage::FileSystem backendDave Arter2018-09-28-49/+157
|
* [Oxfordshire] remove access to inspector toolStruan Donald2018-09-28-0/+7
|
* Merge branch 'body-list-speedup'Matthew Somerville2018-09-25-20/+102
|\