aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
Commit message (Collapse)AuthorAgeLines
...
* Fix crash on reports with empty bodies_strDave Arter2017-02-07-1/+4
|
* Add shortlist filterspezholio2017-02-07-5/+34
|
* [Greenwich] Add a badge to official status updatesrbg-joe2017-02-06-0/+2
| | | | | | | | | Adding an official badge to Greenwich updates so as to avoid exchanges in which public contributions are mistaken for official ones. As per the Bromley version e.g. https://fix.bromley.gov.uk/report/973784 - this helps to avoid situations where public contributions are mistaken for official ones.
* Merge branch 'version-2.0.2'v2.0.2Matthew Somerville2017-02-03-4/+2
|\
| * Show ‘unable to fix’ state as ‘no further action’.Dave Arter2017-02-02-4/+2
| | | | | | | | Bromley had this already in its update state change messages.
* | Merge branch 'open311-field-closest-address'Matthew Somerville2017-02-03-1/+3
|\ \
| * | Add a 'closest_address' hidden Open311 attribute.Matthew Somerville2017-02-03-1/+3
| |/ | | | | | | This joins easting, northing and an external ID field.
* | [Greenwich] Reduce on-map age further to 21 daysDave Arter2017-02-03-1/+1
| |
* | Call base_url_with_lang in base_url_for_report.Altin Ukshini2017-02-03-3/+3
|/ | | | | | This function is used e.g. in report lists, and if you were using the multiple language subdomain functionality, those links could take you to a different language.
* Return JSON if `ajax` in paramspezholio2017-01-31-0/+4
|
* Merge branch 'inspect-save-to-shortlist'Matthew Somerville2017-01-31-0/+6
|\
| * Redirect to shortlist if user has shortlist perms.Matthew Somerville2017-01-24-0/+6
| | | | | | | | | | Assume that if they inspect and save a report, they want to go back to their shortlist.
* | [Greenwich] Show reports up to 3 months old by defaultDave Arter2017-01-27-0/+4
| |
* | Lowercase email when signing in.Matthew Somerville2017-01-26-0/+1
|/
* No need to translate this string at present.Matthew Somerville2017-01-21-1/+1
|
* [Greenwich] Show 20 reports per page instead of 100Dave Arter2017-01-19-0/+2
|
* Redirect after user creation/editDave Arter2017-01-19-7/+9
| | | | | Solves a minor bug where it was difficult to create a new user and immediately assign permissions, as the page didn't show the appropriate permissions UI.
* Open311 warn only after a couple of failures.Matthew Somerville2017-01-19-4/+4
| | | | | There are a couple of servers we currently talk to that error not that infrequently but work in the end.
* Merge branch 'edge-around-offline-redirects'Matthew Somerville2017-01-19-0/+30
|\
| * In Edge 14, do all HTTP redirects in HTML instead.Matthew Somerville2017-01-17-0/+30
| | | | | | | | | | This is to work around https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8572187/
* | Merge remote-tracking branch ↵pezholio2017-01-17-4/+14
|\ \ | | | | | | | | | 'origin/issues/forcouncils/136-show-user-details-for-council-report'
| * | Show user details for users with correct permissionspezholio2017-01-17-4/+12
| | |
| * | Add permision to view contributor detailspezholio2017-01-17-0/+2
| | |
* | | Merge remote-tracking branch ↵pezholio2017-01-17-1/+87
|\ \ \ | |_|/ |/| | | | | 'origin/issues/forcouncils/142-allow-anonymous-council-updates'
| * | Allow users with permission to see update usernamepezholio2017-01-17-1/+5
| | |
| * | Refactor updates metadata output into modelpezholio2017-01-17-1/+83
| |/
* | Merge branch 'listshort'Matthew Somerville2017-01-12-11/+92
|\ \ | |/ |/|
| * Make sure csrf_time is deleted after use.Matthew Somerville2017-01-12-2/+3
| | | | | | | | | | | | If an out-of-date token was passed to check_csrf_token, then no new token would be output on the error page because csrf_time was still present.
| * Add shortlist buttons to report lists.Matthew Somerville2017-01-12-9/+89
| | | | | | | | | | | | | | This includes adding/removing reports from a user's shortlist, and manual reordering of a shortlist with up/down buttons. The backend code can cope with an item moving to any point in the list.
* | Allow staging sites to turn off appcache.Matthew Somerville2017-01-10-0/+9
| |
* | Move staging flags to their own config variable.Matthew Somerville2017-01-10-7/+21
| |
* | Update has_body_permission_to to allow superusers.Matthew Somerville2017-01-10-18/+19
|/
* Allow editing of ResponseTemplate state in adminDave Arter2017-01-10-0/+1
| | | | This includes a refactor of the state dropdown field into its own template for easy reuse.
* Add ‘state’ field to ResponseTemplate modelDave Arter2017-01-10-2/+4
|
* Merge branch 'issues/forcouncils/21-print-reports'Matthew Somerville2016-12-16-8/+16
|\
| * Only load user body permissions once per request.Matthew Somerville2016-12-16-8/+16
| | | | | | | | This should help if a template uses has_permission_to a lot.
* | Fix use of .auto.min.js files.Matthew Somerville2016-12-16-1/+1
| | | | | | | | | | fddf7f95 broke the use of minimized JS files, because it always used an unchanged $url in the output. Make sure it is updated if $file is.
* | Merge branch 'issues/forcouncils/20-offline-inspecting'Matthew Somerville2016-12-16-25/+88
|\ \ | |/ |/|
| * Add offline storing of inspect forms.Matthew Somerville2016-12-16-2/+7
| | | | | | | | | | | | | | | | | | | | This allows the inspect form to be submitted when offline, with the data saved in localStorage, the number of saved forms shown in the banner, and the forms to be uploaded when back online. It copes if you go back to a report after having submitted the form, and if the back-online submission fails due to CSRF failure, retrying once with a new token.
| * Add offline support of static files/fallback page.Matthew Somerville2016-12-16-2/+49
| | | | | | | | | | Use a list to store JavaScript files, so it can be shared between the HTML footer and the appcache manifest.
| * Return 400/500 for some client/server errors.Matthew Somerville2016-12-16-21/+32
| |
* | Merge branch 'issues/forcouncils/108-pick-up-a-priority'Matthew Somerville2016-12-15-15/+51
|\ \ | |/ |/|
| * Update priorities in inspect form on cat. change.Matthew Somerville2016-12-15-14/+50
| | | | | | | | | | Different categories may have a different list of priorities, so store them all and update as the category changes.
| * Fail in has_permission_to if given an empty arrayref.Matthew Somerville2016-12-13-1/+1
| |
* | Make it clearer that report is closed when marked as duplicateDave Arter2016-12-13-0/+7
| | | | | | | | | | | | - Record state change when leaving update and marking as duplicate - Change save button wording to match problem state when inspecting - Make it clearer that updates marking a report as duplicate actually close the report
* | Display nearby candidate reports when marking as duplicateDave Arter2016-12-13-9/+12
| | | | | | | | | | | | | | | | - Use Problem->pin_data for single report page - Promote markers_highlight to fixmystreet.maps API We want to highlight map pins on the duplicate report selection UI, so let's use what's already there instead of writing something new. - Make sure duplicate report pins aren’t draggable
* | If a problem has duplicates, display them on its detail pageDave Arter2016-12-13-0/+12
| |
* | Use nearby problems for duplicate suggestions instead of bounding box of mapDave Arter2016-12-13-0/+26
| |
* | Add test for correct display of duplicate reportDave Arter2016-12-13-2/+6
| |
* | Store and display selected duplicate reportDave Arter2016-12-13-1/+12
|/