aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* | 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.
* [Northamptonshire] update layer idsStruan Donald2019-04-09-7/+7
|
* set maxlength attribute on inputs if present in validationStruan Donald2019-04-09-0/+5
| | | | | | If a field has a maximum length set in the javascript validation then add a maxlength attribute so the user doesn't have to wait till submission to find out about it.
* [Northamptonshire] restrict title to 120 charactersStruan Donald2019-04-09-2/+46
| | | | | | Prevent people from using very long titles. Fixes mysociety/fixmystreet-commercial#1344
* [Northamptonshire] use the correct layer environment for assetsStruan Donald2019-04-08-2/+12
| | | | | The tile URL includes a parameter for the client number which we were not using so configure this based on live or staging.
* [Northamptonshire] update footer privacy policy linkStruan Donald2019-04-08-1/+1
| | | | For mysociety/fixmystreet-commercial#1331