aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* Call confirm() during token confirmation.Matthew Somerville2019-01-14-2/+1
| | | | So state/confirmed setting in one place.
* Use pin_new_report_colour server-side too.Matthew Somerville2019-01-14-1/+1
|
* Merge branch 'lincolnshire-confirm-ref-in-updates'Matthew Somerville2019-01-14-85/+19
|\
| * [Lincolnshire] Include ref in alert updates.Matthew Somerville2019-01-14-0/+2
| |
| * Have separate alert-update council ref template.Matthew Somerville2019-01-14-4/+9
| | | | | | | | | | | | | | This is so a council could include the ref in other-* but not alert-update if not wanted. Update Bucks to use new template (not needed as it overrides for other reasons, but makes seeing those other reasons in a diff easier).
| * [UK Councils] Tidy up email templates.Matthew Somerville2019-01-14-81/+8
| | | | | | | | | | | | Try and include _council_reference always in other-reported, no need for BANES other-updated, and include HTML version of a Bucks template so that it is used.
* | Remove any use of `my $x if $foo`.Matthew Somerville2019-01-14-4/+8
|/ | | | | | | | As perlsyn says, "NOTE: The behaviour of a `my`, `state`, or `our` modified with a statement modifier conditional or loop construct (for example, `my $x if ...`) is undefined. The value of the `my` variable may be `undef`, any previously assigned value, or possibly anything else."
* [Demo] add start and end date fields to licensingStruan Donald2019-01-14-0/+4
|
* allow field type to be set on category extras fieldsStruan Donald2019-01-14-1/+1
| | | | | Checks for a fieldtype property and uses that for the input type to allow setting the type of the field for e.g. date fields.
* Switch .description_tips to use flexbox.Matthew Somerville2019-01-11-4/+2
|
* [Bromley] Lights code is now SLRS.Matthew Somerville2019-01-11-1/+1
|
* Delete cache photos upon photo moderation.Matthew Somerville2019-01-10-0/+2
|
* Check cached reports have photos before showing.Matthew Somerville2019-01-10-1/+3
|
* Only select body by default if user has a body.Matthew Somerville2019-01-10-2/+2
| | | | | Otherwise you can get an error trying to look up the body name on submission.
* Allow override search to /report/new => /around.Matthew Somerville2019-01-10-4/+15
| | | | | | This is so you can have a search box on an around page (wrapped in a form going to /report/new) to start a new search, ignoring the lat/lon that will also be submitted.
* Factor out update form wrapper.Matthew Somerville2019-01-09-12/+13
|
* Add wrapper to map filters.Matthew Somerville2019-01-09-0/+4
|
* Remove fuzzy from Swedish locale header.Matthew Somerville2019-01-09-1/+0
|
* Merge branch 'double-green-pin-asset'Matthew Somerville2019-01-07-27/+42
|\
| * Compare assets on their ID field, not JS object.Matthew Somerville2019-01-04-4/+14
| | | | | | | | | | | | | | | | | | | | As the selected feature is a clone (so it survives e.g. layer reloading from server after a pan), we need to compare the asset ID field instead to see if we already have a match, to prevent a double select(). This also fixes a bug where an auto-selected asset would, after picking a different asset, reshow the selected pin image onmouseout, due to the way OL was storing old hover state internally.
| * Put find_matching_feature on the layer object.Matthew Somerville2019-01-04-24/+29
| |
* | Merge remote-tracking branch 'origin/master'Matthew Somerville2019-01-07-0/+10
|\ \
| * | [Borsetshire] add extra categories to demo siteStruan Donald2019-01-07-0/+10
| |/ | | | | | | Dropped Kerbs and Skips in a Licensing group.
* | Update other translations from Transifex.Matthew Somerville2019-01-07-10930/+3289
| |
* | New Swedish translations for v2.5Joe Siltberg2019-01-07-521/+1085
|/
* add private only report filterStruan Donald2019-01-04-15/+115
|
* [Open311] run cobrand description filtering if availableStruan Donald2019-01-04-0/+55
| | | | | When fetching reports run them through the cobrands filter_report_description method if it exists.
* [Buckinghamshire] add report description filteringStruan Donald2019-01-04-0/+88
| | | | | | Add a method to do some basic filtering of emails and phone numbers from report descriptions. To be used on reports pulled in from Confirm as a first pass at removing personal information.
* [Open311] handle non_public field when fetching requestsStruan Donald2019-01-04-0/+68
| | | | | | | | | If there is <non_public>1</non_public> tag in an incoming service request then set the created report to non_public.
* [Docs] Updated with AMI for release v2.5Sam Pearson2018-12-21-3/+3
|
* 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.