aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
Commit message (Collapse)AuthorAgeLines
* [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
|\
| * Speed up fetching lists of bodies.Matthew Somerville2018-09-25-20/+102
| | | | | | | | | | | | Use a HashRefInflator wherever all_sorted is used, with consequential changes to deal with it now not being an object (e.g. add some with_* functions for manual fetching of extra data).
* | [BANES] Include Blackhole send method categories in cobrandDave Arter2018-09-25-0/+1
| |
* | Add Blackhole send methodDave Arter2018-09-24-0/+20
|/
* Add configuration option for memcached hostSam Pearson2018-09-20-1/+2
| | | | | | | Previously we assumed that any memcache instance would be running on the local loopback interface. This commit makes this configurable with a `MEMCACHED_HOST` option. If left unset, this will default to `127.0.0.1`.
* Don't lose from_body if edited by non-superuser.Matthew Somerville2018-09-20-5/+6
| | | | | If an admin with the user_edit permission but not user_assign_body edited a user with from_body set, the from_body field was lost.
* [Open311] No questionnaires on fetched reports.Matthew Somerville2018-09-18-0/+1
|
* Merge branch 'questionnaire-hooking'Matthew Somerville2018-09-13-1/+4
|\
| * Add hook for per-row questionnaire override.Matthew Somerville2018-09-13-1/+4
| |
* | Add cobrand hook for disallowing updates.Dave Arter2018-09-13-0/+1
|/ | | | | Provides a template override for cobrands to show if updates aren't allowed on the problem.
* allow web based use of report importStruan Donald2018-09-13-0/+6
| | | | | | | | if a web parameter is passed to /import then display the email confirmation sent page rather than a SUCCESS message. Enables this page to be used for creating partial reports from a web page. For mysociety/collideoscope#17
* Add cobrand hook for disallowing title moderation.Matthew Somerville2018-09-13-1/+14
|
* Prevent scan of all problems on /_dev pages.Matthew Somerville2018-09-12-5/+5
|
* pull out reports group_by code to methodStruan Donald2018-09-12-9/+16
| | | | So we can use this in collideoscope
* add end argument to loop_periodStruan Donald2018-09-12-5/+6
| | | | | So we can use it for collideoscope which does not use a fixed end period.
* move body stats page code to own methodStruan Donald2018-09-12-8/+19
| | | | Enables this to be used in cobrand hooks for reports data
* [Zurich] use report_page_data cobrand hookStruan Donald2018-09-12-23/+25
| | | | remove hard coded report page behaviour
* hook to allow cobrand to generate reports page dataStruan Donald2018-09-12-0/+4
|
* Version 2.4.v2.4Matthew Somerville2018-09-06-4/+4
|
* Fix reference issue in can_moderate.Matthew Somerville2018-09-06-2/+2
| | | | Arguments in TT functions are passed as a hashref.
* Update user object before attempting sign-in.Matthew Somerville2018-09-06-1/+2
| | | | | This prevents leaking of user account phone number on a failed login attempt.
* Check all contacts for metadata and non-public.Matthew Somerville2018-09-06-6/+13
| | | | | | Previously it would only check the first matching entry, which could miss out on information if two bodies had the same category and only the second one looked at had metadata, or was marked as non-public.
* Convert all single newlines, not only first.Matthew Somerville2018-08-31-1/+1
|
* Include report in _dev confirm_report_sent email.Matthew Somerville2018-08-30-0/+1
|
* Do not delete other category extras on first matchMatthew Somerville2018-08-29-8/+2
|
* Merge branch 'issues/collideoscope/30-user-moderation'Matthew Somerville2018-08-29-139/+91
|\
| * Allow cobrand to add extra ability to moderate.Matthew Somerville2018-08-29-11/+24
| |
| * Move moderation check to own function, tidy up.Matthew Somerville2018-08-28-4/+13
| |
| * Refactor together similar moderate functions.Matthew Somerville2018-08-28-127/+57
| |
* | Merge branch 'dev-confirmation-pages'Matthew Somerville2018-08-29-50/+121
|\ \
| * | Move all test endpoints under /_dev.Zarino Zappia2018-08-29-50/+121
| |/
* / Remove need for category_extras ajax call.Matthew Somerville2018-08-28-48/+55
|/ | | | | | Add by_category output to the /report/new/ajax call, containing all the data that /report/new/category_extras returns for one category. Then alter the JS to use that data immediately when needed.
* [Bromley] Include ID/PROW in title only if given.Matthew Somerville2018-08-24-0/+1
|
* [Zurich] Use HTTPS map tiles, update OpenLayers.Matthew Somerville2018-08-22-2/+2
|
* Include user agent in contact form emails.Matthew Somerville2018-08-21-0/+1
|
* [Lincolnshire] Update front page wordingDave Arter2018-08-20-0/+6
| | | | Lincolnshire uses ‘division’ instead of ‘ward’ as well as Oxfordshire.
* [Lincolnshire] Add contact email addressDave Arter2018-08-17-1/+7
|
* [Lincolnshire] Add admin_user_domain and base_url configDave Arter2018-08-17-0/+8
|