aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
Commit message (Collapse)AuthorAgeLines
* Version 2.3.4.v2.3.4masterMatthew Somerville2018-06-07-0/+5
|
* Version 2.3.3.v2.3.3Matthew Somerville2018-06-06-0/+2
|
* Improve inspect form position and configurability.Matthew Somerville2018-06-06-0/+2
| | | | | | Dealing with the map UI changes earlier leads to a better display position, and we add a global variable check to allow cobrands to not use this behaviour. Fixes #1863.
* Fix display going back from report as inspector.Matthew Somerville2018-06-06-0/+1
| | | | | The scroll position wa being remmbered, meaning the full-page map was not being shown correctly.
* Merge branch '2130-jump-for-my-love'Matthew Somerville2018-06-06-2/+4
|\
| * Remove unneeded base in main navigation.Matthew Somerville2018-06-06-0/+1
| | | | | | | | | | | | This can cause issues with e.g. multi-language sites, and was only needed for cases where the admin was proxied, which we do not suggest any more.
| * Fix pointer event issue selecting pin on map.Matthew Somerville2018-06-06-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On a mobile device that implements pointer events, there are two events that can happen on an /around page – touching the map starts a new report (or goes back to the map if already on a report page); touching a pin pulls in that report’s page. The map touch, which uses an OpenLayers.Handler.Click, operates on click, whereas the pin touch, which uses an OpenLayers.Handler.Feature, operates on touchstart. Neither event cancels the other, which means you can end up either starting a new report, and then it tries to pull in an undefined pin ID report and errors, or the pin report loads and then you instantly go back to the map page. In order to work around this, we disable the map click control when the feature control event starts, and reactivate once the report data has been loaded.
* | error on bad update ids passed to contact formStruan Donald2018-06-05-0/+2
| | | | | | | | | | Return an error if an id for either a hidden update or one not associated with the problem id is passed to the contact form.
* | add reminder to include link to report on contact formStruan Donald2018-06-05-0/+2
|/ | | | | | We get quite a few emails to support that are about a specific problem but fail to include a link to that problem. This adds some text to the contact form to ask people to do so.
* Merge branch 'issues/commercial/1005-bromley-asset-layers'Matthew Somerville2018-06-04-0/+1
|\
| * Ignore non-interactive layers for asset message.Matthew Somerville2018-06-04-0/+1
| | | | | | | | | | Otherwise a non-interactive layer applying to the same category as an asset layer can cause an ‘undefined’ message to appear.
* | Version 2.3.2.v2.3.2Matthew Somerville2018-05-31-0/+2
| |
* | Tidy up changelog.Matthew Somerville2018-05-31-13/+12
|/
* Improve handling of loading spinner display.Matthew Somerville2018-05-31-0/+1
| | | | | | | | | Going back to /around from /report/new can trigger loadend (and the spinner hiding function) twice (if the strategy activation starts a read), with triggerRead aborting that read and triggering the event itself. This means the spinner is not displayed, as the count falls below 0. We could pin the count above 0, but instead let’s log each layer ID while ‘active’ and switch off when they’re all gone.
* Fix issues with RTL display/hardcoded directions.Matthew Somerville2018-05-29-0/+1
|
* Merge branch 'user-inactivity'Matthew Somerville2018-05-24-0/+4
|\
| * Add admin tickbox to close report to updates.Matthew Somerville2018-05-23-0/+1
| |
| * Add ability to close updates on reports.Matthew Somerville2018-05-23-1/+1
| | | | | | | | | | The inactive report script can mark matched reports as closed for updates. This removes the update form and signing up for updates from a report page.
| * Script to scrub old non-open reports.Matthew Somerville2018-05-23-1/+2
| |
| * Script to email/anonymize inactive users.Matthew Somerville2018-05-23-0/+1
| |
| * Update last_active on login/logout/session expiry.Matthew Somerville2018-05-23-0/+1
| |
* | Escape data attributes in template.Matthew Somerville2018-05-23-0/+1
| | | | | | | | | | | | This fixes a bug whereby a double quote in an item would not be JSON-escaped due to being HTML-escaped first, meaning it would not parse as JSON on the client.
* | Avoid empty space either side of "key tools" drawer when openZarino Zappia2018-05-21-0/+1
|/ | | | Fixes #2124.
* Use inspection states in response template admin.Matthew Somerville2018-05-15-0/+1
| | | | | This maps better to the states shown in the front end and prevents e.g. multiple fixed states appearing.
* Add UI for selecting multiple wards from /reports/ body pageDave Arter2018-05-14-0/+1
| | | | Fixes mysociety/fixmystreetforcouncils#231
* Stop double-escaping title in alert-update email.Matthew Somerville2018-05-11-0/+1
|
* Make OpenGraph description translatable.Matthew Somerville2018-05-09-0/+1
|
* Cobrand hook for showing all states in filter.Matthew Somerville2018-05-09-0/+1
|
* Add help text metadata facility to categories.Matthew Somerville2018-05-08-0/+1
| | | | This is shown when reporting and in map list filters.
* Simplify .internal-link-fixed-header positioningZarino Zappia2018-05-08-0/+1
| | | | | | | | | | | | | | 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.
* Some IE8/old JS workarounds.Matthew Somerville2018-05-02-1/+1
|
* Drop IE7 support.Matthew Somerville2018-05-02-0/+1
|
* Don’t strip whitespace from user passwords during registrationDave Arter2018-04-27-0/+1
| | | | | | | 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.
* display the contents of report's extra field in adminStruan Donald2018-04-26-0/+1
| | | | | | | | 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-0/+1
| | | | | | | | | 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-0/+1
|\
| * Add way of validating data in report_form_extras.Matthew Somerville2018-04-23-0/+1
| |
* | hide deleted contacts by defaultStruan Donald2018-04-23-0/+1
| | | | | | | | | | | | | | If JavaScript is enabled hide the deleted contacts from the list on the body page. Display as normal if no JavaScript. Fixes #1962
* | Update Vagrantfile to use Xenial.Matthew Somerville2018-04-18-0/+1
|/
* [Open311] Pretty print all request parameters.Matthew Somerville2018-04-13-0/+1
|
* Merge branch 'open311-update-problem-state'Matthew Somerville2018-04-11-0/+1
|\
| * [Open311] Generally store update state.Matthew Somerville2018-04-10-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, an update's problem_state was set via an Open311 update if: * the update timestamp was equal or greater to the report's last update; * the new state was visible, and not equal to the report's current state; * the update wouldn't change the report from a fixed state to another fixed state; * (Oxfordshire) the update wouldn't change the report from any open state to Open. It would also set the report's state to match if the report was currently visible. This mostly worked, but could lead to issues if e.g. the report started life in a non-confirmed state (e.g. we pulled it in already fixed from an external source), as then the update did not record its state and the update display got confused as to the state history. However it did mean there wasn't confusion if a later update than the Open311 update was made on the site itself. This new code will set an update's problem_state if: * the new state is visible; * the update wouldn't change the report from a fixed state to another fixed state; * (Oxfordshire) the update wouldn't change the report from any open state to Open. It will also set the report's state to match if the report is currently visible, changing state, and the update timestamp is equal or greater to the report's last update. So when the report state changes is unchanged, all the conditions still apply, but the update's problem_state is set more often (it will be set regardless of whether the timestamps align, or whether the state matches the report's current state). This could theoretically lead to issues elsewhere, e.g. if an update is left on a report on FixMyStreet and then an Open311 update is pulled in later (but with an earlier timestamp) that changes the state, the report state will not be updated due to the later update being made, though the Open311 update will list the state change, and then the later update might say it changed it back (if it recorded the current state in its problem_state), even though it technically did not. I think this issue is less worrying than the current situation, which can state that a random update has fixed a report when it was the previous update that did, and there will always be such issues with multiple sources of truth for a report status. An alternative would be to allow the Open311 update to override.
* | [Open311] fetch_all option for open311 problem fetchingStruan Donald2018-04-11-1/+1
| | | | | | | | | | | | | | | | | | If a body has a `fetch_all_reports` setting in the extra metadata then all reports are fetched over Open311 and processed regardless of age. This is useful for bodies where the API endpoint always returns all the reports as it suppresses the error messages you would otherwise get about reports with invalid dates.
* | Add link to edit current report in adminDave Arter2018-04-11-0/+1
|/ | | | | | | I find myself wanting to view the current report in the admin all the time - this commit adds a link to the top of the inspector column that goes right there. Only visible for superusers and staff users with permission to actually view the admin.
* Add layer attribution to attribution controlStruan Donald2018-04-10-0/+1
| | | | | If a layer has an attribution option then add it to the attribution control when the layer becomes visible.
* Merge branch 'issues/2005-ie-chart-fixes'Matthew Somerville2018-04-10-0/+1
|\
| * No longer horizontally align label with JS.Martin Wright2018-04-06-0/+1
| | | | | | | | | | Fixes positioning bugs in all versions of IE due to calculating the wrong horizontal position.
* | Check recent reports for any hidden since cached.Matthew Somerville2018-04-06-0/+1
|/ | | | | Also stop caching lat/lon specific alert photo lists, and improve Memcached code.
* Merge branch '2018-standardise-sub-map-links'Zarino Zappia2018-04-04-1/+1
|\
| * Standardise styling for #sub_map_links and #mob_sub_map_linksZarino Zappia2018-04-03-1/+1
| | | | | | | | | | | | | | | | Fixes #2018 by making the #sub_map_links bigger. But the greater win here is that we’re using fewer ID selectors in our CSS, and both #sub_map_links and #mob_sub_map_links now share the same styling – both of which are good for maintainability.