aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * Local copy of Plack::Middleware::Debug::LWP.Matthew Somerville2019-05-05-0/+122
| | | | | | | | | | Tweaked to give initial 0s to $time and $requests to prevent lots of undefined warnings in console output.
| * Set different mirror for Geography::NationalGrid.Matthew Somerville2019-05-05-1/+2
| |
| * Update carton.Matthew Somerville2019-05-05-31132/+23618
| |
* | show open311 failure details in admin report edit pageStruan Donald2019-05-13-0/+15
| | | | | | | | | | | | Rather than having to go into the database to see any error details display it in the admin. The error only shows the first few lines by default and expands on hover.
* | [Buckinghamshire] Add road types 98 and 99.Matthew Somerville2019-05-09-0/+2
| |
* | Merge branch 'message-controller'Matthew Somerville2019-05-09-285/+252
|\ \
| * | [UK] Factor out more found/not-found handling.Matthew Somerville2019-05-07-175/+144
| | |
| * | [UK] Factor similar category-message code togetherMatthew Somerville2019-05-07-91/+97
| | |
| * | [Northamptonshire] Share not-an-asset/road templates.Matthew Somerville2019-05-07-32/+17
| | |
| * | [Northamptonshire] Fix issue disabling form.Matthew Somerville2019-05-07-4/+11
| |/ | | | | | | | | | | | | If you switch from an asset category to a district category, `asset_not_found()` is called, and would disable the form, with nothing re-enabling it. This change also pleasingly gives it the same structure as the road not found call.
* | Merge branch 'template-same-name-spot'Matthew Somerville2019-05-09-1/+41
|\ \
| * | Prevent creation of two templates with same title.Matthew Somerville2019-05-07-1/+41
| | |
* | | Merge branch 'photo-caching'Matthew Somerville2019-05-09-37/+193
|\ \ \
| * | | If report hidden, also purge update photos cache.Matthew Somerville2019-05-07-6/+11
| | | |
| * | | Improve non_public photo handling.Matthew Somerville2019-05-07-9/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Clear the photo cache if the non_public flag is switched on, do not cache non_public or LOGIN_REQUIRED photos, remove non_public photos from memcached recent lists, pass through any cookies on non_public reports/updates, and check the non_public flag on photo lookup.
| * | | No access to update photos on hidden reports.Matthew Somerville2019-05-07-4/+5
| | | |
| * | | Prevent previous commit issue ever happening again.Matthew Somerville2019-05-07-18/+77
| | | |
| * | | Fix typo in is_superuser call.Matthew Somerville2019-05-07-1/+1
| | |/ | |/|
* | | [UK] Include general roadworks class for styling.Matthew Somerville2019-05-07-1/+1
| | |
* | | [Lincolnshire] Show roadworks.org responsible partyDave Arter2019-05-07-1/+19
| |/ |/| | | | | | | | | Also displays the structures asset layer for the correct categories. Fixes mysociety/fixmystreet-commercial#1327
* | [Docs] Updated with AMI for release v2.6Sam Pearson2019-05-03-3/+3
|/
* Version 2.6.v2.6Matthew Somerville2019-05-03-23422/+25755
| | | | | Include the usual generate new .pot file, gettext-merge, push to Transifex, pull from Transifex step.
* Update translations from Transifex.Matthew Somerville2019-05-03-202/+203
|
* Do not use SET with html filter.Matthew Somerville2019-05-03-6/+6
|
* Merge branch 'moderation-dst-time'Matthew Somerville2019-05-03-698/+405
|\
| * Rename DB::ReportExtraFields to ReportExtraField.Matthew Somerville2019-05-02-13/+19
| | | | | | | | It was not being caught by rerun_dbic_loader.pl otherwise.
| * Use EncodedColumn subclass.Matthew Somerville2019-05-02-344/+130
| |
| * Refactor datetime inflation.Matthew Somerville2019-05-02-406/+316
| |
| * Fix some incorrect timezone code.Matthew Somerville2019-05-02-17/+20
| | | | | | | | | | | | | | | | | | Times in the database should be stored in the application server's local timezone, by e.g. using `current_timestamp`, or by setting that timezone explicitly before storage (the database columns are all without timezone so any timezone info is silently ignored). Reports & updates fetched via Open311 and offline updates were being put into the TIME_ZONE setting if present, meaning they were stored incorrectly for future usage.
| * Stop warning in contact test.Matthew Somerville2019-05-02-0/+2
| |
* | Custom layout for admin user permission checkboxesZarino Zappia2019-05-02-1/+25
| |
* | Fieldsets/legends for admin checkbox listsZarino Zappia2019-05-01-50/+53
| |
* | Tidy up "Categories:" checkbox lists on admin pagesZarino Zappia2019-05-01-4/+7
| | | | | | | | No need for bullets here, nor margins above/below each label.
* | [UK] Deal with setup where county may be missing.Matthew Somerville2019-04-29-2/+5
|/ | | | | | | Currently, Dorset Council and BCP Council are bodies linked with the relevant areas of the now-gone district councils; this means there is no body linked with the area of the old county council, which causes an error.
* Merge branch 'tidy_up' of https://github.com/tomhukins/fixmystreetMatthew Somerville2019-04-24-8/+5
|\
| * Remove an unused module from the dependency listTom Hukins2019-04-12-1/+0
| | | | | | | | | | As discussed at https://github.com/mysociety/fixmystreet/pull/2460 the cpanfile no longer needs to list File::Slurp as a dependency.
| * Explicitly pass one argument to encode_json()Tom Hukins2019-04-09-3/+3
| | | | | | | | | | | | | | | | Previously, it was unclear how many arguments the function took. When running tests I saw the error: Too many arguments for Cpanel::JSON::XS::encode_json at perllib/FixMyStreet/Map/WMTSBase.pm line 217, near "}"
| * Avoid string evalTom Hukins2019-04-09-3/+2
| | | | | | | | Instead, load the required module directly.
| * Stop loading an unused moduleTom Hukins2019-04-09-1/+0
| | | | | | | | The only use of File::Slurp was removed in 1c5c614af7a0265bd.
* | Use REQUEST_URI, not PATH_INFO, to infer path.Matthew Somerville2019-04-24-0/+6
| | | | | | | | | | This fixes an issue with slashes in category names in admin (as PATH_INFO can't tell the difference between / and %2F).
* | Escape body name in admin title.Matthew Somerville2019-04-24-2/+5
| |
* | [BANES] Turn on new duplicate suggesting.Matthew Somerville2019-04-23-0/+2
| |
* | [Northamptonshire] only clear current layer on reloadStruan Donald2019-04-23-3/+2
| | | | | | | | | | | | | | Call newRequest directly rather than with an event to avoid resetting all the layers that have been used and hence removing all the features. Fixes mysociety/fixmystreet-commercial#1354
* | [Northamptonshire] update vegetation subcategory layersStruan Donald2019-04-23-2/+2
| | | | | | | | | | Use carriageway layers for these instead of Tree layer as Tree layer was not always appropriate.
* | [Northamptonshire] set layer ids based on live/not liveStruan Donald2019-04-23-10/+11
| | | | | | | | | | The live ans staging sites use different layers to set the correct ones depending on whether is_live is true
* | fire asset not found if asset layer is not visibleStruan Donald2019-04-23-0/+2
| | | | | | | | | | this is required so that any hiding of messages etc occurs when the layer is hidden.
* | [Northamptonshire] add streetlight category messageStruan Donald2019-04-23-1/+23
| | | | | | | | Fixes mysociety/fixmystreet-commercial#1343
* | [Open311] Ensures non_public/hidden reports aren’t visible at /open311Dave Arter2019-04-23-2/+45
| |
* | [Northamptonshire] include google tracking code in headerStruan Donald2019-04-12-0/+1
|/
* [Open311] handle bad FixMyStreet id in updatesStruan Donald2019-04-09-0/+40
| | | | | If an update has a fixmystreet id in it check that it looks like an integer and if not issue a warning and skip the update.