aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* [KiitC] Ignore cobrand files.Struan Donald2018-05-09-0/+1
|
* Add small test of category groups.Matthew Somerville2018-05-08-0/+16
|
* Add help text metadata facility to categories.Matthew Somerville2018-05-08-4/+8
| | | | This is shown when reporting and in map list filters.
* Remove needless category mappings.Matthew Somerville2018-05-08-23/+20
| | | | | Both filter categories and new report category lists went through mappings to different data structures, which doesn't seem to be needed.
* Only hide deleted rows in contacts table.Matthew Somerville2018-05-08-2/+2
| | | | | Only the contacts table gets a button added to toggle the display of deleted rows; elsewhere the rows need to continue to be shown.
* [fixmystreet.com] FAQ typography tweaks.Matthew Somerville2018-05-08-17/+17
|
* [fixmystreet.com] Update privacy policy.Struan Donald2018-05-08-87/+384
| | | | | | This updates the privacy policy with changes for the incoming GDPR. Fixes #1900
* Simplify .internal-link-fixed-header positioningZarino Zappia2018-05-08-8/+4
| | | | | | | | | | | | | | Since #map_sidebar no longer disappears behind #site_header, there is no need for .internal-link-fixed-header to compensate for the height of the header. Just an arbitrary 2em offset is enough to prevent it butting up against the top of the #map_sidebar scrollable element. Meanwhile, moving the .internal-link-fixed-header anchor element to the top of its parent list item means it no longer has to compensate for the height of the moderation form elements, because those elements (indeed, the entire list item <form>) now comes *after* the anchor. Fixes mysociety/fixmystreet-commercial#1027.
* [Open311] Make sure updates sent in order.Matthew Somerville2018-05-08-0/+1
| | | | | Some Open311 servers will refuse an update with a timestamp earlier than one it already received.
* [Open311] Always try and send updates if verbose.Matthew Somerville2018-05-03-3/+1
| | | | Otherwise we may not warn on otherwise skipped updates.
* Merge branch 'drop-ie7'Matthew Somerville2018-05-03-295/+58
|\
| * Fix front page critical CSS loading in IE.Matthew Somerville2018-05-02-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The easy thing first - IE appears to 'stack' :before entries, so if a stylesheet is loaded multiple times (e.g. due to critical CSS loading on the front page), a font-size of 2.5em gets multipled. Switching to rems fixes this. The preload polyfill in IE8/9 loads the base stylesheet as if it were after the layout stylesheet, which breaks the navigation display. The polyfill has a new version which is somewhat simplified, updating the existing <link> rather than creating a new one, so we upgrade to that plus a PR to prevent browser hanging. However, in IE8 this now incorrectly uses the print styles on screen, meaning the navigation and footer disappear. So use an IE conditional comment to just cut IE8 out entirely. This means we can also cut down the polyfill somewhat.
| * Some IE8/old JS workarounds.Matthew Somerville2018-05-02-3/+4
| |
| * Remove unneeded IE8 things.Matthew Somerville2018-05-02-52/+3
| |
| * Fix/tidy front-only hover behaviour.Matthew Somerville2018-05-02-15/+25
| |
| * Drop IE7 support.Matthew Somerville2018-05-02-209/+20
| |
| * Drop unused copy of function.Matthew Somerville2018-04-30-14/+0
| | | | | | | | This is already defined in fixmystreet.utils further up.
* | [BANES] Set admin_user_domain on cobrand to allow user editingDave Arter2018-05-03-0/+2
| |
* | Merge branch 'collideoscope-anew'Matthew Somerville2018-05-02-4/+24
|\ \
| * | Allow cobrands to give extra parameters for pins.Steven Day2018-05-02-4/+24
| | | | | | | | | | | | | | | | | | | | | So that you can build functionality to add extra limitations on to the map pins displayed. Useful for Collideoscope initially to filter out (or in) reports from the Department of Transport's Stats19 Data.
* | | [fixmystreet.com] ISO dates in summary CSV export.Matthew Somerville2018-05-02-2/+2
| | |
* | | Update fixmystreet.org link to https.Matthew Somerville2018-05-02-166/+166
| |/ |/|
* | Merge branch '2075-response-template-triggering-no-blank'Matthew Somerville2018-04-27-2/+8
|\ \
| * | [Open311] Hide fetched update if no data to show.Matthew Somerville2018-04-27-2/+8
| | | | | | | | | | | | If no text, photo, or state change, hide the update from display.
* | | [Buckinghamshire] Display problem category in lists & email subjectDave Arter2018-04-27-0/+168
| | | | | | | | | | | | Fixes mysociety/FixMyStreet-Commercial#1024.
* | | Don’t strip whitespace from user passwords during registrationDave Arter2018-04-27-3/+4
|/ / | | | | | | | | | | | | If a new user registers during the report/update process and their password starts or ends with whitespace or has consecutive whitespace chars then those would be stripped and the entered password wouldn’t work for subsequent logins.
* | [Buckinghamshire] Improve the site_code lookup to fetch nearest assetDave Arter2018-04-26-3/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous approach of requesting a small bounding box from the WFS server and using the first asset, if any, wasn’t sufficiently tolerant of reports that were made more than 5M away from a road, of which there were many. The problem with extending the bounding box used to fetch assets from the server is that the order of the returned assets didn’t have any bearing on their proximity to the centre of the bounding box (i.e., the location of the report). As an alternative approach this commit changes the method to instead fetch all assets within a much wider bounding box surrounding the report and iterates across the returned features in order to find the closest point and uses the site_code value from that feature.
* | display the contents of report's extra field in adminStruan Donald2018-04-26-1/+99
|/ | | | | | | | Instead of just a Yes/No display a formatted list of values in extra. Has special handling for known fields otherwise just prints them out dumbly. Fixes #1809
* [Open311] warn about send-comments errors if verbose flag setStruan Donald2018-04-26-1/+6
| | | | | | | | | Previously send-comments errors would only be printed the first time they occurred so there was no visibility of ongoing errors. This brings send-comments in line with send-reports by emitting errors if the script is called with --verbose. Fixes #2091
* Merge branch 'collideoscope-anew'Matthew Somerville2018-04-26-57/+115
|\
| * Add way of validating data in report_form_extras.Matthew Somerville2018-04-23-4/+40
| |
| * Add couple of new sub-templates and label default.Matthew Somerville2018-04-23-25/+28
| | | | | | | | This makes it easier to override them.
| * Add class specifically for the around error page.Matthew Somerville2018-04-23-1/+1
| |
| * Add new report hooks for cobrand report munging.Matthew Somerville2018-04-23-0/+4
| | | | | | | | | | One to alter the category after initially set, one to change any details of the report before saving to the database.
| * Have only one bodies_to_list variable.Matthew Somerville2018-04-23-10/+11
| |
| * Add hook to alter list of bodies on /reports page.Matthew Somerville2018-04-23-0/+1
| | | | | | | | | | This allows a cobrand to e.g. display a subset of bodies based on a query parameter.
| * Add a cobrand hook to table dashboard generation.Matthew Somerville2018-04-23-17/+29
| | | | | | | | This allows a cobrand to categorise the reports however it wishes.
| * [Collideoscope] Ignore symlinked in files.Matthew Somerville2018-04-20-0/+1
| |
* | Allow cobrand to provide extra label for report extra fieldsDave Arter2018-04-26-0/+1
| |
* | Sign up inspector, not creator, on inspection.Matthew Somerville2018-04-25-3/+3
| |
* | [Rutland] add dark platform logo and use in footerStruan Donald2018-04-25-0/+10
| |
* | [Rutland] add a Rutland specific FAQ.Struan Donald2018-04-25-0/+172
| |
* | better diagnostics for rejected Open311 problemsStruan Donald2018-04-25-1/+2
| | | | | | | | | | Add a more helpful error message when a problem fetched over Open311 is rejected for problems with the date.
* | [Rutland] cobrand config changesStruan Donald2018-04-25-0/+9
| |
* | [fixmystreet.com] Remove banner.Matthew Somerville2018-04-25-43/+0
| |
* | Use explicit ordering for test queryDave Arter2018-04-23-1/+1
| | | | | | | | This hopefully works around some odd test failures on Travis.
* | [Buckinghamshire] Move important para higher up.Matthew Somerville2018-04-23-8/+9
| | | | | | | | | | This also moves the 'this will be public' text next to the fields it applies to.
* | Don’t trigger response templates unless problem state changesDave Arter2018-04-23-15/+38
| | | | | | | | | | | | | | Response templates won't be triggered unless the problem state or external status code is changed. Fixes #2075
* | hide deleted contacts by defaultStruan Donald2018-04-23-1/+6
| | | | | | | | | | | | | | If JavaScript is enabled hide the deleted contacts from the list on the body page. Display as normal if no JavaScript. Fixes #1962
* | [Buckinghamshire] Increase fallback USRN lookup radius to 10MDave Arter2018-04-20-1/+1
| | | | | | | | | | It’s not quite a ‘radius’ as it’s a square box, but this does bring it closer in line with the cobrand JS behaviour.