aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
Commit message (Collapse)AuthorAgeLines
* 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.
* | User import admin pageDave Arter2018-04-03-0/+1
|/ | | | | | This is intended to be an internal tool for quickly creating staff users in bulk. As such, it's hidden at /admin/user_import and is only available to superusers.
* optionally convert from EPSG:27700 to WGS84 on report importStruan Donald2018-03-29-0/+1
| | | | | | | When pulling reports in over Open311 it's sometimes useful to be able to accept reports with Easting/Northing rather than latitude/longitude. This adds an option to GetServiceRequests to convert them as they come in.
* Make it easier to identify Open311 categories in category checkbox listDave Arter2018-03-29-0/+1
| | | | | | Displays the category’s email address (service code, for Open311) as a tooltip. This makes it easier to identify the right category when editing response templates, for example.
* Allow cobrands to hide phone number field when making reportsDave Arter2018-03-29-0/+1
|
* Fix invalid SQL on cobrand admin update edit pagesDave Arter2018-03-29-0/+1
|
* change asset layer to category display map to an arrayStruan Donald2018-03-29-0/+1
| | | | | Rather than associating an asset layer with a single category use an array so we can use a layer with multiple sub-categories
* Allow cobrands to add extra MapIt areas & typesDave Arter2018-03-29-0/+1
|
* Trigger response templates based on external_status_codeDave Arter2018-03-29-0/+1
|
* Fetch and store external_status_code in GetServiceRequestUpdatesDave Arter2018-03-28-0/+1
| | | | | | | If the Open311 endpoint provides the external_status_code field in servicerequestupdates.xml output, it’s stored in each comment’s extra field as well as the problem’s extra field. This will make it possible to trigger response templates based on this value.
* Set database session timezone on connection.Matthew Somerville2018-03-27-0/+1
| | | | | | | | | | fixmystreet.com went down early Sunday morning because the database server had been upgraded in the past year and was now set to UTC and not local time. This confused the codebase when it encountered timestamps that could not exist, all between 1-2am UTC. Ideally, timestamps in the database should be 'with time zone' or be stored in UTC, but for now let us set the time zone to the local one upon connection.
* Merge branch 'upgrade-test-postgresql'Matthew Somerville2018-03-27-0/+1
|\