aboutsummaryrefslogtreecommitdiffstats
path: root/t
Commit message (Collapse)AuthorAgeLines
...
* | [Buckinghamshire] Add contributed_by to CSV exportMatthew Somerville2019-02-25-0/+49
| |
* | Factor out test CSV content function.Matthew Somerville2019-02-25-37/+6
|/
* Refactor admin body/user functions to own files.Matthew Somerville2019-02-22-27/+27
|
* Don't ask for email on alert signup if logged in.Matthew Somerville2019-02-21-174/+21
| | | | | | | The “Get updates” flow on a report page, if logged in, was showing an input label but no input field (because one is not needed), but then on submission asking for your email address. Add missing name on submit button to fix this.
* [Bromley] Allow subcategory attachment to users.Matthew Somerville2019-02-18-1/+18
|
* Allow user to be associated with multiple areas.Matthew Somerville2019-02-14-10/+16
| | | | | | Update database to store an array of IDs rather than only one; consequential changes to the admin and the dashboard to allow selection.
* [fixmystreet.com] Improve two-tier unresponsive.Matthew Somerville2019-02-11-3/+3
| | | | | | | Similarly to 1f69e28c, we were previously only checking the first matching entry, which led to confusing behaviour in places. Include consequential amendments for e.g. one body being unresponsive, the other not.
* [Oxfordshire] Limit appears to be lower than 70.Matthew Somerville2019-02-08-1/+1
|
* Smoke test of FixMyStreet::Map::Google.Matthew Somerville2019-02-05-0/+21
|
* Improve use of OL ArgParser/missing zoom in URL.Matthew Somerville2019-02-04-33/+3
| | | | | | Remove the server-side zoom-in-url fix, instead use an ArgParser subclass to default to the provided data if nothing in URL. Then we can switch to using short lat/lon in geocoder URLs.
* Add CSRF and time to contact form.Matthew Somerville2019-02-01-0/+3
|
* Spot moderation conflicts.Matthew Somerville2019-01-25-0/+14
| | | | | If someone tries to moderate after someone else has, re-show the form and an error.
* [Buckinghamshire] Question for on-road flytipping.Matthew Somerville2019-01-23-30/+142
| | | | | | | | This adds a question to check whether a flytipping report concerns flytipping on a road or not. Client-side, it is asked when a road is selected and destination adjusted according to the answer; server side it uses the answer to direct any both-tier submissions (from e.g. non-JavaScript or phone app).
* [Open311] Refactor cobrand specific code.Matthew Somerville2019-01-23-1/+89
|
* Merge branch 'allow-state-moderation'Matthew Somerville2019-01-16-0/+24
|\
| * Allow state editing via moderation.Matthew Somerville2019-01-16-0/+25
| | | | | | | | | | If a state is passed in (on a cobrand), update problem state and add a comment to record this (as state changes are updates not moderations).
* | Merge branch 'moderation-in-front-end-updates'Matthew Somerville2019-01-16-2/+7
|\ \
| * | Include moderation history in report updates.Matthew Somerville2019-01-16-2/+7
| |/ | | | | | | | | | | If the user has moderating permission, or a cobrand allows the viewing of moderation history, show moderation history within the updates on a report page.
* / [Oxfordshire] length checking for names, emails and phone NosStruan Donald2019-01-16-0/+20
|/ | | | | | | Add in validation to check names, email and phone numbers don't exceed maximum lengths permitted by HIAMS. Fixes mysociety/fixmystreet-commercial#1244
* Include areas in mock MapIt postcode calls.Matthew Somerville2019-01-15-1/+9
|
* Allow override search to /report/new => /around.Matthew Somerville2019-01-10-3/+8
| | | | | | This is so you can have a search box on an around page (wrapped in a form going to /report/new) to start a new search, ignoring the lat/lon that will also be submitted.
* add private only report filterStruan Donald2019-01-04-4/+76
|
* [Open311] run cobrand description filtering if availableStruan Donald2019-01-04-0/+51
| | | | | When fetching reports run them through the cobrands filter_report_description method if it exists.
* [Buckinghamshire] add report description filteringStruan Donald2019-01-04-0/+71
| | | | | | Add a method to do some basic filtering of emails and phone numbers from report descriptions. To be used on reports pulled in from Confirm as a first pass at removing personal information.
* [Open311] handle non_public field when fetching requestsStruan Donald2019-01-04-0/+64
| | | | | | | | | If there is <non_public>1</non_public> tag in an incoming service request then set the created report to non_public.
* 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-2/+12
| | | | | | | | | | | | | * 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.
* Activate test_mode on JS testing.Matthew Somerville2018-12-12-1/+1
| | | | | | This is so front-end tests will not try and send email, or call Gaze. Various co-ordinates have to be updated because the default zoom level of the map has now changed.
* Merge branch '642-new-report-flow-changes'Matthew Somerville2018-12-05-56/+5
|\
| * 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
| |
| * [Oxfordshire] Fix test warning.Matthew Somerville2018-12-04-0/+1
| |
* | 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
|
* Fix getservicerequestupdates test failuresStruan Donald2018-11-26-4/+4
| | | | | | | | Some of these were occasional failures due to timing issues. One was due to a hard coded body id meaning the addition of bodies in other tests meant this was creating two bodies with the same id, which happened to be used in a test which depended on the bodies having different ids.
* [UK] server side cobrand specific validationStruan Donald2018-11-26-1/+139
| | | | | | `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
|