aboutsummaryrefslogtreecommitdiffstats
path: root/t
Commit message (Collapse)AuthorAgeLines
...
| * Allow moderation to edit extra fields/location.Matthew Somerville2018-10-26-0/+40
| | | | | | | | If a cobrand provides those fields.
* | Don’t send questionnaires for closed reports.Dave Arter2018-10-26-4/+25
|/ | | | Fixes mysociety/fixmystreet-freshdesk#24.
* use submitted phone number and email in login formStruan Donald2018-10-23-0/+7
| | | | | | 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-39/+27
|
* Use Chains in /report.Matthew Somerville2018-10-22-1/+1
|
* [Zurich] Fix call to admin_fetch_all_bodies.Matthew Somerville2018-10-22-0/+1
|
* add alert editing to user edit page in adminStruan Donald2018-10-19-0/+58
| | | | disable, enable and delete for user alerts on user_edit page
* allow cobrands to restrict /contact to abuse reportsStruan Donald2018-10-18-0/+28
| | | | | 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/+19
| | | | | | | | 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/+26
| | | | | | | 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-0/+31
| | | | | call ZOOM_LEVELS and MIN_ZOOM_LEVELS using self so that we can override them in a subclass.
* Merge branch 'body-hashref-working-url'Matthew Somerville2018-10-10-6/+30
|\
| * Have body.url work in hashref lookup.Matthew Somerville2018-10-10-3/+14
| | | | | | | | | | | | | | 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-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
| |