aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB/Result
Commit message (Collapse)AuthorAgeLines
* Rename DB::ReportExtraFields to ReportExtraField.Matthew Somerville2019-05-02-4/+8
| | | | It was not being caught by rerun_dbic_loader.pl otherwise.
* Use EncodedColumn subclass.Matthew Somerville2019-05-02-81/+81
|
* Refactor datetime inflation.Matthew Somerville2019-05-02-185/+247
|
* Merge branch '2435-admin-anonymous-report'Matthew Somerville2019-04-05-0/+5
|\
| * Fix superusers creating anonymous reports.Matthew Somerville2019-04-05-0/+5
| |
* | Factor to common FixMyStreet::MapIt call.Matthew Somerville2019-04-04-4/+4
|/
* Make sure MapIt generation always used if given.Matthew Somerville2019-04-01-3/+5
|
* Show all Open311 extra fields in edit admin.Matthew Somerville2019-03-07-3/+0
| | | | Otherwise any such fields are lost upon a manual edit.
* Filters out hidden reports from top 5 list.Joe Siltberg2019-02-25-0/+1
|
* [FixaMinGata] Adds a cobrand hook (threshold for responsiveness top 5 list)Joe Siltberg2019-02-25-6/+10
| | | | Fixes #1957
* Allow user to be associated with multiple areas.Matthew Somerville2019-02-14-12/+27
| | | | | | Update database to store an array of IDs rather than only one; consequential changes to the admin and the dashboard to allow selection.
* Don’t show creation diffs with old history entries.Matthew Somerville2019-01-17-0/+2
| | | | | Old moderation history entries will have blank category/co-ords, and we don’t want to say they’ve changed on appearance.
* Include moderation history in report updates.Matthew Somerville2019-01-16-0/+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.
* Only show extra items that diff in moderation.Matthew Somerville2019-01-15-1/+1
|
* Show all questionnaire responses lacking updates.Matthew Somerville2018-12-20-0/+7
| | | | | | 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.
* Associate moderation history with admin log.Matthew Somerville2018-11-27-36/+22
|
* Show moderation history in report/update admin.Matthew Somerville2018-11-26-0/+130
|
* Store all moderation change history in database.Matthew Somerville2018-11-26-18/+16
| | | | | Currently keeping the same front end functionality of only reverting to the original.
* Mark moderation_original_data extra as RABXColumn.Matthew Somerville2018-11-19-1/+6
|
* Store more original stuff on moderation.Matthew Somerville2018-11-16-2/+10
|
* Deal with possible multiple send_method_useds.Matthew Somerville2018-11-06-1/+7
|
* 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
* Have body.url work in hashref lookup.Matthew Somerville2018-10-10-3/+10
| | | | | | | 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.
* Remove hard-coded body name in Problem.Matthew Somerville2018-10-09-4/+4
| | | | We can now use the new open311_post_update_skip function.
* Add get_cobrand_logged to Comment.Matthew Somerville2018-10-09-1/+21
|
* Dashboard update CSV export.Matthew Somerville2018-10-03-0/+23
|
* Some minor function refactoring.Matthew Somerville2018-10-03-14/+12
|
* Add cobrand hook for disallowing title moderation.Matthew Somerville2018-09-13-0/+11
|
* Prevent scan of all problems on /_dev pages.Matthew Somerville2018-09-12-2/+2
|
* Fix reference issue in can_moderate.Matthew Somerville2018-09-06-2/+2
| | | | Arguments in TT functions are passed as a hashref.
* Allow cobrand to add extra ability to moderate.Matthew Somerville2018-08-29-2/+16
|
* Move moderation check to own function, tidy up.Matthew Somerville2018-08-28-2/+11
|
* [Lincolnshire] Show external ID on report pagesDave Arter2018-08-17-1/+1
|
* Fix inspector dragging of pins.Matthew Somerville2018-08-09-0/+1
|
* Use CSV escaping for categories in URLs.Matthew Somerville2018-06-21-0/+12
| | | | | Categories could contain commas, so splitting on comma is not good enough. Let’s escape the fields as if it’s a line in CSV. Fixes #2166.
* include automated field when editing contactsStruan Donald2018-06-11-3/+11
| | | | | | | | Display fields that are automatically filled in the contact editing form otherwise the data is lost. Also include the automated field in the form. Fixes #2136
* Update last_active on login/logout/session expiry.Matthew Somerville2018-05-23-0/+7
|
* Refactor out some session functions.Matthew Somerville2018-05-23-1/+20
|
* Factor anonymize function to User model.Matthew Somerville2018-05-23-0/+19
|
* Add created and last_active columns to user.Matthew Somerville2018-05-23-6/+20
|
* add extra column to body tableStruan Donald2018-04-11-3/+9
| | | | Adds and extra column for bodies and the associated Extra role.
* add convert_latlong option to body tableStruan Donald2018-03-29-2/+4
| | | | | For controlling if reports pulled in via Open311 should have the position converted from Easting/Northing to lat/long.
* Improve wording/grammar when report is sent to more than two bodiesDave Arter2018-03-29-10/+14
|
* Add ResponseTemplate.external_status_code fieldDave Arter2018-03-29-2/+4
|
* Store server_set automated, but ignore for input.Matthew Somerville2018-03-21-1/+5
| | | | | We do need to store them, so that the sending knows which fields are being requested, but we do not want them output to the client at all.
* [Zurich] Prefetch report users, cache body lookupsMatthew Somerville2018-03-19-1/+2
|
* Pass columns CSV needs into Problem->as_hashref.Matthew Somerville2018-03-19-12/+12
| | | | Then it can skip working out some things as they are not needed.
* permit blank updates to be fetched over Open311Struan Donald2018-03-15-2/+4
| | | | | Add a per body configuration option to allow Open311 updates to contain only a status change, rather than emitting a warning when this happens.
* fetch new problems over open311Struan Donald2018-03-15-2/+4
| | | | | | | | | | This enables the display of existing reports from the back end on FMS if the body is configured to do this. Reports will not be created if they are missing an id, a lat or a long, if the lat/long is outside the area covered by the body, if there is already a report with a matching id, or if we can't parse out the request time.
* [Zurich] Switch to more modern database states.Matthew Somerville2018-03-07-1/+13
| | | | | | | The Zurich code was written a long time ago, and used overriding so that e.g. the hard-coded 'investigating' state referred to Wunsch (wish). Now that states are stored in the database, we can create ones specially for Zurich and use them instead. Hooray!