Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | Factor in common call to $.extend. | Matthew Somerville | 2019-05-28 | -103/+105 | |
| | |||||
* | Have duplicate and asset messages work together. | Matthew Somerville | 2019-05-28 | -5/+16 | |
| | |||||
* | Do not focus on title on duplicate list removal. | Matthew Somerville | 2019-05-28 | -14/+3 | |
| | | | | | Sometimes this can be a long way down, if e.g. extra Open311 questions above. | ||||
* | refactor getNearestFeature and getFeaturesWithinDistance into one | Struan Donald | 2019-05-28 | -40/+10 | |
| | | | | | | | | | getFeaturesWithinDistance now returns an array of features sorted by their distance from the pin. This also replaces calls to getNearestFeature with calls to getFeaturesWithinDistance and updates the code to use the first entry in the array for the nearest object. | ||||
* | [Northamptonshire] remove unneeded attribute | Struan Donald | 2019-05-28 | -1/+0 | |
| | |||||
* | [Alloy] remove _ from a couple of methods | Struan Donald | 2019-05-28 | -5/+5 | |
| | |||||
* | [Alloy] only remove bounds if everything fails | Struan Donald | 2019-05-28 | -1/+5 | |
| | |||||
* | [Alloy] abort existing tile fetches on new request | Struan Donald | 2019-05-28 | -10/+14 | |
| | | | | | | Rather than trying to work out if the response is part of the current set, track existing responses and abort them if a new request is started. | ||||
* | Fix bug going between report/new pages client side | Matthew Somerville | 2019-05-20 | -0/+5 | |
| | | | | | | A few bits weren't being correctly hidden, as the code didn't account for someone going directly from a report page to a reporting page via the Report another problem here button. | ||||
* | [Buckinghamshire] Add road asset type so no spot. | Matthew Somerville | 2019-05-20 | -0/+1 | |
| | |||||
* | [Northamptonshire] update pedestrian guardrail layer | Struan Donald | 2019-05-17 | -2/+2 | |
| | |||||
* | [Buckinghamshire] fix zoom level issues | Struan Donald | 2019-05-16 | -2/+5 | |
| | | | | | Allows assets to display when zoomed in. Remove very zoomed out views as not useful. | ||||
* | [Buckinghamshire] use buckinghamshire map tiles | Struan Donald | 2019-05-16 | -2/+150 | |
| | | | | | Add a WMTS config to use Buckinghamshire's own map tiles to display house numbers. | ||||
* | show open311 failure details in admin report edit page | Struan Donald | 2019-05-13 | -0/+10 | |
| | | | | | | Rather than having to go into the database to see any error details display it in the admin. The error only shows the first few lines by default and expands on hover. | ||||
* | [Buckinghamshire] Add road types 98 and 99. | Matthew Somerville | 2019-05-09 | -0/+2 | |
| | |||||
* | Merge branch 'message-controller' | Matthew Somerville | 2019-05-09 | -259/+246 | |
|\ | |||||
| * | [UK] Factor out more found/not-found handling. | Matthew Somerville | 2019-05-07 | -175/+144 | |
| | | |||||
| * | [UK] Factor similar category-message code together | Matthew Somerville | 2019-05-07 | -91/+97 | |
| | | |||||
| * | [Northamptonshire] Share not-an-asset/road templates. | Matthew Somerville | 2019-05-07 | -6/+11 | |
| | | |||||
| * | [Northamptonshire] Fix issue disabling form. | Matthew Somerville | 2019-05-07 | -4/+11 | |
| | | | | | | | | | | | | | | If you switch from an asset category to a district category, `asset_not_found()` is called, and would disable the form, with nothing re-enabling it. This change also pleasingly gives it the same structure as the road not found call. | ||||
* | | [UK] Include general roadworks class for styling. | Matthew Somerville | 2019-05-07 | -1/+1 | |
| | | |||||
* | | [Lincolnshire] Show roadworks.org responsible party | Dave Arter | 2019-05-07 | -1/+19 | |
|/ | | | | | | Also displays the structures asset layer for the correct categories. Fixes mysociety/fixmystreet-commercial#1327 | ||||
* | Custom layout for admin user permission checkboxes | Zarino Zappia | 2019-05-02 | -0/+23 | |
| | |||||
* | Fieldsets/legends for admin checkbox lists | Zarino Zappia | 2019-05-01 | -1/+2 | |
| | |||||
* | Tidy up "Categories:" checkbox lists on admin pages | Zarino Zappia | 2019-05-01 | -0/+3 | |
| | | | | No need for bullets here, nor margins above/below each label. | ||||
* | [Northamptonshire] only clear current layer on reload | Struan Donald | 2019-04-23 | -3/+2 | |
| | | | | | | | Call newRequest directly rather than with an event to avoid resetting all the layers that have been used and hence removing all the features. Fixes mysociety/fixmystreet-commercial#1354 | ||||
* | [Northamptonshire] update vegetation subcategory layers | Struan Donald | 2019-04-23 | -2/+2 | |
| | | | | | Use carriageway layers for these instead of Tree layer as Tree layer was not always appropriate. | ||||
* | [Northamptonshire] set layer ids based on live/not live | Struan Donald | 2019-04-23 | -10/+11 | |
| | | | | | The live ans staging sites use different layers to set the correct ones depending on whether is_live is true | ||||
* | fire asset not found if asset layer is not visible | Struan Donald | 2019-04-23 | -0/+2 | |
| | | | | | this is required so that any hiding of messages etc occurs when the layer is hidden. | ||||
* | [Northamptonshire] add streetlight category message | Struan Donald | 2019-04-23 | -1/+23 | |
| | | | | Fixes mysociety/fixmystreet-commercial#1343 | ||||
* | [Northamptonshire] update layer ids | Struan Donald | 2019-04-09 | -7/+7 | |
| | |||||
* | set maxlength attribute on inputs if present in validation | Struan Donald | 2019-04-09 | -0/+5 | |
| | | | | | | If a field has a maximum length set in the javascript validation then add a maxlength attribute so the user doesn't have to wait till submission to find out about it. | ||||
* | [Northamptonshire] restrict title to 120 characters | Struan Donald | 2019-04-09 | -0/+6 | |
| | | | | | | Prevent people from using very long titles. Fixes mysociety/fixmystreet-commercial#1344 | ||||
* | [Northamptonshire] use the correct layer environment for assets | Struan Donald | 2019-04-08 | -2/+12 | |
| | | | | | The tile URL includes a parameter for the client number which we were not using so configure this based on live or staging. | ||||
* | ignore always_visible layers in layer visibility change | Struan Donald | 2019-04-05 | -1/+1 | |
| | | | | | Layers that are always visible mean that we can end up with a count of 1 which means we don't re-display the pin | ||||
* | [Northamptonshire] make no asset and emergency code cooperate | Struan Donald | 2019-04-05 | -9/+37 | |
| | | | | | | | | The code to stop submission of an emergency category and the code to stop submission of reports with no assets were conflicting. This makes the emergency code take precedence over the asset code as there is no point in telling the user they have not selected an asset and then telling them to phone the council. | ||||
* | [Northamptonshire] do not show emergency message for HE roads | Struan Donald | 2019-04-05 | -1/+1 | |
| | |||||
* | [Northamptonshire] prevent reports unless clicking on an asset | Struan Donald | 2019-04-04 | -0/+81 | |
| | | | | | Prevent the user from making a report unless they have clicked on an asset. | ||||
* | [Northamptonshire] No form on emergency categories | Matthew Somerville | 2019-04-04 | -0/+26 | |
| | |||||
* | [Northamptonshire] Factor out shared variables. | Matthew Somerville | 2019-04-04 | -59/+26 | |
| | |||||
* | [Bristol] add branding to email templates | Struan Donald | 2019-04-02 | -0/+0 | |
| | |||||
* | [Lincolnshire] add branding to email templates | Struan Donald | 2019-04-02 | -0/+0 | |
| | |||||
* | [Buckinghamshire] add branding to email templates | Struan Donald | 2019-04-02 | -0/+0 | |
| | | | | Fixes mysociety/fixmystreet-commercial#1272 | ||||
* | Merge branch 'issues/commercial/1304-duplicate-report-feedback' | Matthew Somerville | 2019-03-29 | -142/+115 | |
|\ | |||||
| * | If no category selected, default to main bodies. | Matthew Somerville | 2019-03-28 | -1/+5 | |
| | | | | | | | | | | | | Otherwise, e.g. going straight to /report/new when category groups enabled may cause always visible layers to disappear because bodies gets emptied. | ||||
| * | [UK] Make roadworks layer a standard road layer. | Matthew Somerville | 2019-03-28 | -37/+17 | |
| | | | | | | | | This gives us the "set up on load" functionality. | ||||
| * | Matching vertical margins for new `js-post-category-messages` | Zarino Zappia | 2019-03-28 | -62/+55 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Shared margin rules for `.box-warning` and `.extra-category-questions` in `_base.scss` and `_layout.scss` (where the margin can potentially change based on the `$mappage-sidebar-padding` variable). * Move the Sass rules for `.box-warning` further up `_base.scss` to be next to `.extra-category-questions` since they’re both so similar. * No need for `.full-width` on the `.extra-category-questions` div since we were overriding the margin-top anyway. * Remove the little triangle between the category select box and the grey `.extra-category-questions` div, since the category questions isn’t always presented immediately after the category select box. | ||||
| * | Move added messages to the same place. | Matthew Somerville | 2019-03-28 | -5/+5 | |
| | | |||||
| * | Fetch reporting data if needed, even if no map. | Matthew Somerville | 2019-03-28 | -9/+12 | |
| | | |||||
| * | Tidy up duplicate fetching code. | Matthew Somerville | 2019-03-28 | -26/+8 | |
| | | | | | | | | | | | | Run immediately, not onready, so the category change listener is in place; listen to a better event, removing need for a debouncer; don't look up if empty category. |