aboutsummaryrefslogtreecommitdiffstats
path: root/t/app
Commit message (Collapse)AuthorAgeLines
* Show all questionnaire responses lacking updates.Matthew Somerville2018-12-20-1/+17
| | | | | | Since questionnaire responses were recorded on email link click, we should have been showing those that reopened or fixed reports, not just steady-state "Still open" ones.
* [Buckinghamshire] Get topic when reporting abuse.Matthew Somerville2018-12-19-74/+62
|
* Make who question more prominent.Matthew Somerville2018-12-19-3/+5
|
* Modernise report "status" bannerZarino Zappia2018-12-13-1/+6
| | | | | | | | | | | | | * Simplify markup required for the status banner. * Simplify styles - the banner is now identical on all screen sizes. * Move the banner from `report/display.html` into `report/_main.html` so that it can appear after `.problem-back` in the source order. * Use real pin icon instead of `pin-flat-white-small.png`. * Set a default `$col_fixed_label` colour in `_base.scss`, so cobrands don’t have to define it themselves if they’re happy with green. * Introduce `$col_fixed_label_light`, with a sensible default for all cobrands, even ones that have a custom `$col_fixed_label`. * Remove `$col_fixed_label_dark` – no longer needed.
* Merge branch '642-new-report-flow-changes'Matthew Somerville2018-12-05-56/+4
|\
| * Update sign in flow for new reports/updates.Matthew Somerville2018-12-05-1/+1
| | | | | | | | Co-authored-by: Zarino Zappia <zarino@mysociety.org>
| * Do not show second email form if SMS_AUTHENTICATION off.Matthew Somerville2018-12-04-23/+1
| |
| * Remove “Keep me signed in” box.Matthew Somerville2018-12-04-32/+2
| |
* | Fix moderation without JavaScript.Matthew Somerville2018-12-04-0/+12
|/
* Show moderation history in report/update admin.Matthew Somerville2018-11-26-0/+3
|
* Store all moderation change history in database.Matthew Somerville2018-11-26-0/+5
| | | | | Currently keeping the same front end functionality of only reverting to the original.
* Improve update display on admin report edit page.Matthew Somerville2018-11-26-1/+1
|
* [UK] server side cobrand specific validationStruan Donald2018-11-26-1/+136
| | | | | | `report_check_for_errors` now fetches the cobrand for the current report and, if present, runs `report_validation` method from cobrand over the report.
* add report_prefill user permissionStruan Donald2018-11-19-1/+25
| | | | | | | If set then when the user creates a new body report it will prefill the report title and description with some basic text. For mysociety/freshdesk#23
* add default_to_body permissionStruan Donald2018-11-19-0/+19
| | | | | | | If a user has this permission then the report_as dropdown will default to reporting as the body. For mysociety/freshdesk#23
* [UK] send reports on highways agency roads to highways agencyStruan Donald2018-11-19-0/+45
| | | | | | | Includes an option to send to the council instead for e.g. reports on underpasses or bridges. Fixes #736
* Mark moderation_original_data extra as RABXColumn.Matthew Somerville2018-11-19-3/+5
|
* Store more original stuff on moderation.Matthew Somerville2018-11-16-1/+14
|
* Add option to symlink full size photos.Matthew Somerville2018-11-14-6/+9
|
* add report_mark_private permissionStruan Donald2018-11-12-3/+166
| | | | | | | | Allows user's to see the inspector panel to mark reports as Private, and also to view those non-public reports. Useful for call centre staff who want to record private reports but don't need to other permissions. Fixes mysociety/fixmystreet-commercial#1213
* Simplify /auth sign in page.Matthew Somerville2018-11-09-32/+15
|
* Remove unnecessary logins in report_updates.tMatthew Somerville2018-11-09-9/+0
|
* Allow moderation to edit category.Matthew Somerville2018-11-07-0/+12
|
* Merge branch 'moderate-allow-extra-edits'Matthew Somerville2018-10-30-0/+40
|\
| * 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
|
* 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/+18
| | | | | | | | 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-56/+0
|/
* Add get_cobrand_logged to Comment.Matthew Somerville2018-10-09-1/+1
|
* Merge branch 'dashboard-update-csv-export'Matthew Somerville2018-10-05-2/+34
|\
| * Dashboard update CSV export.Matthew Somerville2018-10-03-1/+31
| |
| * Add two fields to dashboard CSV export.Matthew Somerville2018-10-03-1/+3
| |
* | Deal with a variety of low-level test warnings.Matthew Somerville2018-10-04-1/+3
|/ | | | | | | | | | * 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-7/+8
| | | | | Map ward names on their short names, so any processing applies equally to URL and names returned by MapIt.
* [Oxfordshire] remove open311 hardcodingStruan Donald2018-10-01-3/+0
| | | | | we no longer need some of the hardcoded oxfordshire Open311 overrides so remove them
* Add S3 photo storage backendDave Arter2018-09-28-0/+25
|
* Factor out photo storage into PhotoStorage::FileSystem backendDave Arter2018-09-28-3/+12
|