aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
Commit message (Collapse)AuthorAgeLines
* Merge branch '2357-show-more-questionnaire-updates'Matthew Somerville2018-12-21-6/+33
|\
| * Show all questionnaire responses lacking updates.Matthew Somerville2018-12-20-6/+33
| | | | | | | | | | | | 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.
* | [Open311] warn on staging if fail to match updatesStruan Donald2018-12-20-0/+4
|/ | | | | If we fail to match an update to a problem on the staging server then print a warning so we can diagnose issues.
* [Buckinghamshire] Get topic when reporting abuse.Matthew Somerville2018-12-19-0/+19
|
* [fixmystreet.com] Get topic when reporting abuse.Matthew Somerville2018-12-19-3/+0
|
* cobrand hook for extra processing upon report inspectionStruan Donald2018-12-17-0/+2
| | | | | Add a hook to enable the cobrand to do some extra processing when saving a report on the inspect report screen.
* add a cobrand hook to save extra user dataStruan Donald2018-12-17-0/+4
| | | | | Enable the cobrand to save extra data when creating/editing users in the admin.
* Modernise report "status" bannerZarino Zappia2018-12-13-3/+3
| | | | | | | | | | | | | * 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.
* [Zurich] Add 2019/2020 extra holidays.Matthew Somerville2018-12-11-0/+2
|
* Make sure locale path specified in JS controller.Matthew Somerville2018-12-08-1/+3
| | | | | This doesn't appear to cause any issues on Linux, but on Mac it fails to find the translation file without this. Matches the code in App.pm.
* [Open311] Prevent warning on bad error response.Matthew Somerville2018-12-08-2/+5
|
* [fixmystreet.com] More categories in fixture.Matthew Somerville2018-12-08-2/+18
|
* Merge branch '642-new-report-flow-changes'Matthew Somerville2018-12-05-27/+10
|\
| * Move email input nearer password input on forms.Zarino Zappia2018-12-05-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves the email input from `user_loggedout.html` closer to the password inputs in `user_loggedout_{by_email,password}.html`, because we want to emphasise the connection between your login email/username and your password, and, now that only one "Yes I have an account / No I do not have an account" fieldset is displayed at a time, there was no reason to ask for the email/username up front. This, however, now means the form includes two username inputs, so: * `Report/New.pm` and `Report/Update.pm` now pick the first non-empty username param and use that. * `user_loggedout_email.html` now expects a `name` parameter, so that we can give the two username inputs unique ids in the markup. Also: * The "optional" phone and email inputs in user_loggedout_by_email.html are printed *after* the main username input if SMS login is enabled (since one or other of them is unhidden by javascript, based on whether you entered a phone number or and email address into the "username" input, and it would look weird to have an input become unhidden *above* the input you’re currently editing).
| * Remove “Keep me signed in” box.Matthew Somerville2018-12-04-25/+0
| |
* | Fix moderation without JavaScript.Matthew Somerville2018-12-04-0/+23
|/
* Associate moderation history with admin log.Matthew Somerville2018-11-27-63/+80
|
* Show moderation history in report/update admin.Matthew Somerville2018-11-26-2/+132
|
* Store all moderation change history in database.Matthew Somerville2018-11-26-65/+41
| | | | | 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
|
* Assume no IM if testing, as it changes sample image.Matthew Somerville2018-11-26-0/+1
|
* [UK] fix line break in translated stringStruan Donald2018-11-26-2/+1
| | | | To avoid adding a new, but identical translation
* [UK] server side cobrand specific validationStruan Donald2018-11-26-7/+82
| | | | | | `report_check_for_errors` now fetches the cobrand for the current report and, if present, runs `report_validation` method from cobrand over the report.
* [Open311] Improve handling of created/updated datetimes of fetched reportsDave Arter2018-11-20-37/+42
| | | | | This should reduce the incidence of the ‘Problem id X for Y has an invalid time, not creating’ cron errors we’ve been seeing.
* add report_prefill user permissionStruan Donald2018-11-19-0/+1
| | | | | | | 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/+2
| | | | | | | 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-17/+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-1/+6
|
* Sort user updates in reverse date order.Matthew Somerville2018-11-19-1/+1
|
* Store more original stuff on moderation.Matthew Somerville2018-11-16-11/+49
|
* Enforce maximum photo size on upload.Matthew Somerville2018-11-14-0/+1
| | | | (This might well have been done client-side by Dropzone.)
* Factor out ImageMagick wrapper.Matthew Somerville2018-11-14-53/+74
|
* Add option to symlink full size photos.Matthew Somerville2018-11-14-7/+27
|
* add report_mark_private permissionStruan Donald2018-11-12-10/+28
| | | | | | | | 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-6/+14
|
* Fix Open311 category group bugsDave Arter2018-11-07-11/+24
| | | | | | | - Group wasn’t being set correctly by open311-populate-service-list as cobrand attribute not being updated for each body. - Extra metadata was being persisted to the DB every time even if nothing had changed, causing lots of duplicate entries in contacts_history.
* Allow moderation to edit category.Matthew Somerville2018-11-07-0/+18
|
* Deal with possible multiple send_method_useds.Matthew Somerville2018-11-06-6/+19
|
* [BANES] Add roadworks.org layerStruan Donald2018-11-06-0/+2
| | | | Uses same parsing of roadworks messages as Lincs
* [FixaMinGata] Show staff user name as well as body name in updatesJoe Siltberg2018-11-05-0/+4
|
* Add configuration option to show staff user name as well as body nameJoe Siltberg2018-11-05-1/+3
| | | | | | | This adds a cobrand configuration option for always showing the body user's name in updates. Fixes #1860
* [FixMyStreet.com] Enable category groupsDave Arter2018-11-02-0/+2
|
* Only set Open311 category group if cobrand has groups enabledDave Arter2018-11-02-10/+20
|
* allow comment fetching to be limited by body nameStruan Donald2018-11-02-0/+5
| | | | | Allows creating scripts that fetch comments for a single body, e.g for batch updating or because they require special setup.
* Merge branch 'moderate-allow-extra-edits'Matthew Somerville2018-10-30-3/+43
|\
| * Allow moderation to edit extra fields/location.Matthew Somerville2018-10-26-3/+43
| | | | | | | | If a cobrand provides those fields.
* | Don’t send questionnaires for closed reports.Dave Arter2018-10-26-1/+3
|/ | | | Fixes mysociety/fixmystreet-freshdesk#24.
* Don't generate local coords in CSV if unasked for.Matthew Somerville2018-10-23-1/+1
|
* use submitted phone number and email in login formStruan Donald2018-10-23-0/+10
| | | | | | 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-13/+28
|