aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Version 2.5.v2.5Matthew Somerville2018-12-21-16167/+19359
|
* Update translations from Transifex.Matthew Somerville2018-12-21-1660/+1265
|
* Merge branch '2357-show-more-questionnaire-updates'Matthew Somerville2018-12-21-8/+59
|\
| * Show all questionnaire responses lacking updates.Matthew Somerville2018-12-20-8/+59
| | | | | | | | | | | | Since questionnaire responses were recorded on email link click, we should have been showing those that reopened or fixed reports, not just steady-state "Still open" ones.
* | [Open311] warn on staging if fail to match updatesStruan Donald2018-12-20-0/+4
|/ | | | | If we fail to match an update to a problem on the staging server then print a warning so we can diagnose issues.
* [fixmystreet.com] Add donate banner.Matthew Somerville2018-12-19-0/+5
|
* Merge branch '1072-reason-for-reporting'Matthew Somerville2018-12-19-127/+221
|\
| * [Buckinghamshire] Get topic when reporting abuse.Matthew Somerville2018-12-19-74/+129
| |
| * [fixmystreet.com] Get topic when reporting abuse.Matthew Somerville2018-12-19-6/+15
| |
| * Make who question more prominent.Matthew Somerville2018-12-19-35/+64
| |
| * Improved report/update display on contact form.Matthew Somerville2018-12-18-12/+13
| |
* | [Buckinghamshire] add more asset layers layersStruan Donald2018-12-19-1/+101
| | | | | | | | | | | | | | | | | | Add layers for: * Road crossings * Belisha Beacons * Gullies * Street signs * Bollards
* | [Buckinghamshire] allow different feature code attributesStruan Donald2018-12-19-31/+46
| | | | | | | | | | | | | | Not all the layers use the same attribute for the feature code so add and use a config option to set this, and extract out the style map settings so we can change them to use the correct attribute for the label.
* | [Buckinghamshire] change sidebar label depending on asset typeStruan Donald2018-12-19-16/+38
|/ | | | | | | use the asset code to determine what sort of type the asset is for displaying the 'you have selected $type $code' message. Also, pull this out into a new set of defaults so we can apply it across multiple asset types.
* cobrand hook for extra processing upon report inspectionStruan Donald2018-12-17-0/+2
| | | | | Add a hook to enable the cobrand to do some extra processing when saving a report on the inspect report screen.
* add a cobrand hook to save extra user dataStruan Donald2018-12-17-0/+4
| | | | | Enable the cobrand to save extra data when creating/editing users in the admin.
* Make sure map state stored if filters used first.Matthew Somerville2018-12-14-2/+3
|
* Stop both Unknown/In progress banners appearing.Matthew Somerville2018-12-13-6/+3
| | | | Previously, CSS was absolutely positioning one on top of the other.
* Increase clickable area for "Back to all reports" linkZarino Zappia2018-12-13-2/+2
|
* Modernise report "status" bannerZarino Zappia2018-12-13-218/+87
| | | | | | | | | | | | | * Simplify markup required for the status banner. * Simplify styles - the banner is now identical on all screen sizes. * Move the banner from `report/display.html` into `report/_main.html` so that it can appear after `.problem-back` in the source order. * Use real pin icon instead of `pin-flat-white-small.png`. * Set a default `$col_fixed_label` colour in `_base.scss`, so cobrands don’t have to define it themselves if they’re happy with green. * Introduce `$col_fixed_label_light`, with a sensible default for all cobrands, even ones that have a custom `$col_fixed_label`. * Remove `$col_fixed_label_dark` – no longer needed.
* Merge branch '2346-unescape-titles'Matthew Somerville2018-12-13-7/+38
|\
| * Don’t escape entities in report titles via ajax.Matthew Somerville2018-12-12-1/+31
| |
| * Activate test_mode on JS testing.Matthew Somerville2018-12-12-6/+7
| | | | | | | | | | | | This is so front-end tests will not try and send email, or call Gaze. Various co-ordinates have to be updated because the default zoom level of the map has now changed.
* | Merge branch 'bucks-roads-message-tweak'Matthew Somerville2018-12-13-7/+46
|\ \ | |/ |/|
| * [Buckinghamshire] Nicer not-our-road messages.Matthew Somerville2018-12-11-7/+46
| |
* | [UK Councils] Fix undefined body_validation_rules.Matthew Somerville2018-12-11-25/+22
|/ | | | The core validation_rules.js is not included on e.g. the front page.
* [Zurich] Add 2019/2020 extra holidays.Matthew Somerville2018-12-11-0/+2
|
* [Buckinghamshire] New tracking code.Matthew Somerville2018-12-08-14/+26
|
* [Bromley] Tidy up some form templates.Matthew Somerville2018-12-08-83/+33
|
* Show email form after logging in as leaving updateMatthew Somerville2018-12-08-12/+12
| | | | | | | | | With the recent login changes, the user form was being hidden after logging in while leaving an update, meaning you had to click "Continue" to see the thing it was asking you to check. Refactor the update flow slightly in this area to be more like reporting, showing the relevant bit of the user form immediately (and thus also not having it within a hidden section).
* Specify type variable to both in and out templatesMatthew Somerville2018-12-08-3/+3
| | | | All templates call private_details.html, which uses this variable.
* Make sure locale path specified in JS controller.Matthew Somerville2018-12-08-1/+3
| | | | | This doesn't appear to cause any issues on Linux, but on Mac it fails to find the translation file without this. Matches the code in App.pm.
* [Open311] Prevent warning on bad error response.Matthew Somerville2018-12-08-2/+5
|
* [fixmystreet.com] More categories in fixture.Matthew Somerville2018-12-08-11/+71
|
* Fix issue with multiple button IDs on page.Matthew Somerville2018-12-05-15/+48
| | | | | | When a report is pulled in via ajax, it means there are then two sets of login flow buttons on the page, and the JS setup only attaches to the first of these.
* Make sure form_section_preview set up with ajax.Matthew Somerville2018-12-05-0/+1
|
* Merge branch '642-new-report-flow-changes'Matthew Somerville2018-12-05-668/+476
|\
| * Move email input nearer password input on forms.Zarino Zappia2018-12-05-31/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves the email input from `user_loggedout.html` closer to the password inputs in `user_loggedout_{by_email,password}.html`, because we want to emphasise the connection between your login email/username and your password, and, now that only one "Yes I have an account / No I do not have an account" fieldset is displayed at a time, there was no reason to ask for the email/username up front. This, however, now means the form includes two username inputs, so: * `Report/New.pm` and `Report/Update.pm` now pick the first non-empty username param and use that. * `user_loggedout_email.html` now expects a `name` parameter, so that we can give the two username inputs unique ids in the markup. Also: * The "optional" phone and email inputs in user_loggedout_by_email.html are printed *after* the main username input if SMS login is enabled (since one or other of them is unhidden by javascript, based on whether you entered a phone number or and email address into the "username" input, and it would look weird to have an input become unhidden *above* the input you’re currently editing).
| * Update sign in flow for new reports/updates.Matthew Somerville2018-12-05-164/+306
| | | | | | | | Co-authored-by: Zarino Zappia <zarino@mysociety.org>
| * Prevent horizontal space between sibling block-level buttonsZarino Zappia2018-12-05-0/+7
| |
| * Fix form_email/form_username typo in logged-in report formZarino Zappia2018-12-05-1/+1
| |
| * Form submit buttons no longer inline with inputs.Zarino Zappia2018-12-05-17/+16
| | | | | | | | | | | | This was a cute space-saving feature at the time, but the layout made it look like the button was specific to that input, rather than submitting the whole form. Make similar buttons full width, and improve spacing.
| * Simplify category required attribute.Matthew Somerville2018-12-05-10/+6
| |
| * Consolidate the report/update loggedout templates.Matthew Somerville2018-12-05-334/+93
| |
| * Tweak update templates to better match reporting.Matthew Somerville2018-12-04-43/+49
| | | | | | | | Remove update/form_name.html template.
| * Remove form-focus-trigger/hidden behaviour.Matthew Somerville2018-12-04-39/+22
| |
| * Do not show second email form if SMS_AUTHENTICATION off.Matthew Somerville2018-12-04-23/+3
| |
| * Remove “Keep me signed in” box.Matthew Somerville2018-12-04-83/+2
| |
| * [Oxfordshire] Fix test warning.Matthew Somerville2018-12-04-0/+1
| |
* | Fix moderation without JavaScript.Matthew Somerville2018-12-04-9/+59
|/