aboutsummaryrefslogtreecommitdiffstats
path: root/t
Commit message (Collapse)AuthorAgeLines
...
| * Add a test for duration_string.Matthew Somerville2018-10-10-4/+17
| |
* | Merge branch 'dashboard-permission-hook'Matthew Somerville2018-10-10-8/+37
|\ \
| * | Add cobrand hook for dashboard viewing permission.Matthew Somerville2018-10-10-0/+32
| | | | | | | | | | | | | | | 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-57/+0
|/
* Merge branch 'send-reopen-comment-option'Matthew Somerville2018-10-09-11/+140
|\
| * [Open311] More testing of GetServiceRequestUpdatesMatthew Somerville2018-10-09-9/+13
| |
| * [Open311] Move send-comments cobrand specific codeMatthew Somerville2018-10-09-1/+6
| |
| * Add get_cobrand_logged to Comment.Matthew Somerville2018-10-09-1/+1
| |
| * [Open311] Move send-comments code to package.Matthew Somerville2018-10-09-1/+121
| |
* | front end category testsStruan Donald2018-10-09-0/+1
| | | | | | | | Check selecting a category and selecting a sub category
* | [Oxfordshire] allow searching on ENQ customer_referenceStruan Donald2018-10-09-0/+14
|/
* Merge branch 'dashboard-update-csv-export'Matthew Somerville2018-10-05-32/+85
|\
| * Dashboard update CSV export.Matthew Somerville2018-10-03-1/+50
| |
| * Add two fields to dashboard CSV export.Matthew Somerville2018-10-03-31/+35
| |
* | Add perl 5.26/5.28 support.Matthew Somerville2018-10-04-0/+1
| | | | | | | | | | 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-4/+11
|/ | | | | | | | | | * 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
* Upgrade Net::Facebook::Oauth2 to 0.11.Matthew Somerville2018-10-03-2/+2
| | | | | v2.8 of the FB API is due to turn off in April 2019, let's upgrade well in advance.
* [UK] Fix ward pages containing ampersands.Matthew Somerville2018-10-03-9/+10
| | | | | Map ward names on their short names, so any processing applies equally to URL and names returned by MapIt.
* Add some Cypress tests for the map list pages.Struan Donald2018-10-02-0/+5
| | | | | | | | Including testing the filters, viewing a report, and pushState. Plus a mock MapIt handler for returning a GeoJSON outline, to make the page load. The BASE_URL is also set to the same as the test server, as that is used in list link output.
* [Oxfordshire] remove open311 hardcodingStruan Donald2018-10-01-3/+0
| | | | | 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/+23
| | | | | 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/+189
|
* Factor out photo storage into PhotoStorage::FileSystem backendDave Arter2018-09-28-5/+28
|
* Fix failing inspector tool testsStruan Donald2018-09-28-0/+25
| | | | | Adds a mocked Oxfordshire cobrand permissions method that adds back in the permissions explicitly removed there.
* [Oxfordshire] remove access to inspector toolStruan Donald2018-09-28-0/+27
|
* Merge branch 'body-list-speedup'Matthew Somerville2018-09-25-0/+14
|\
| * Speed up fetching lists of bodies.Matthew Somerville2018-09-25-0/+14
| | | | | | | | | | | | 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).
* | Add Blackhole send methodDave Arter2018-09-24-0/+42
|/
* Don't lose from_body if edited by non-superuser.Matthew Somerville2018-09-20-0/+10
| | | | | 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.
* Merge branch 'questionnaire-hooking'Matthew Somerville2018-09-13-2/+37
|\
| * Add hook for per-row questionnaire override.Matthew Somerville2018-09-13-2/+37
| |
* | Add cobrand hook for disallowing updates.Dave Arter2018-09-13-0/+27
|/ | | | | 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-1/+16
| | | | | | | | 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-0/+25
|
* Merge branch 'issues/collideoscope/30-user-moderation'Matthew Somerville2018-08-29-10/+10
|\
| * Refactor together similar moderate functions.Matthew Somerville2018-08-28-10/+10
| |
* | Merge branch 'dev-confirmation-pages'Matthew Somerville2018-08-29-8/+37
|\ \
| * | Move all test endpoints under /_dev.Zarino Zappia2018-08-29-8/+37
| |/
* | Use site name in contact email subject line.Matthew Somerville2018-08-28-1/+1
| |
* | Remove need for category_extras ajax call.Matthew Somerville2018-08-28-20/+28
|/ | | | | | 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.
* Include user agent in contact form emails.Matthew Somerville2018-08-21-1/+1
|
* [Lincolnshire] Add assets to map & roadworks.org integrationDave Arter2018-08-17-0/+1
|
* Don’t crash when fetching Open311 requests with missing descriptionDave Arter2018-08-17-0/+21
|
* Merge branch 'issues/commercial/1118-confirm-flytipping'Matthew Somerville2018-08-07-9/+43
|\
| * [Buckinghamshire] Update flytipping handling.Matthew Somerville2018-08-07-9/+43
| | | | | | | | | | | | Allow flytipping reporting on cobrand and .com, with road reports going to Bucks Confirm and email, and non-road reports going to district and Bucks emails.
* | Merge branch 'issues/commercial/1123-fixed-state-thing'Matthew Somerville2018-08-06-0/+20
|\ \ | |/ |/|
| * [Open311] No update text on fixed state move.Matthew Somerville2018-08-06-0/+20
| | | | | | | | | | | | A move between fixed states (presumably from fixed-user to fixed-council) should not count as a state change for the purposes of generating comment text from templates.
* | allow front end to not send to specific bodyStruan Donald2018-08-06-0/+7
| | | | | | | | | | | | | | | | add a do_not_send parameter to reports which allows the front end to specify a comma separated list of bodies that reports should not be sent to even if there is a valid contact match. This enables asset layers to override backend body processing, e.g. if a body only accepts reports that are on a road this allows the front end to specify that.
* | [UK] Pull in cobrand asset files on national site.Struan Donald2018-08-03-4/+34
|/ | | | | | | Also add body name to layer defaults, so they are only used where appropriate. Switch mapit area javascript calls to GeoJSON, so we can drop KML support in OpenLayers.wfs.js which saves a small amount of bandwidth.