Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | [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 | |
| | |||||
* | Merge branch 'docs-email-update' | Matthew Somerville | 2019-04-05 | -27/+4 | |
|\ | |||||
| * | Remove email address from docs. | abimysoc | 2019-04-05 | -27/+4 | |
| | | | | | | | | | | To (hopefully) encourage people to join, and interact on, the mailing list instead. | ||||
* | | Merge branch 'open311-better-get-error' | Matthew Somerville | 2019-04-05 | -62/+42 | |
|\ \ | |/ |/| | |||||
| * | [Open311] Factor GET/POST calls together. | Matthew Somerville | 2019-04-05 | -62/+42 | |
| | | | | | | | | This means GET errors will give better output. | ||||
* | | Merge branch '2435-admin-anonymous-report' | Matthew Somerville | 2019-04-05 | -16/+22 | |
|\ \ | |||||
| * | | Fix superusers creating anonymous reports. | Matthew Somerville | 2019-04-05 | -16/+22 | |
| |/ | |||||
* | | [UK] Deal with 2019 local government changes. | Matthew Somerville | 2019-04-04 | -4/+49 | |
| | | |||||
* | | Factor to common FixMyStreet::MapIt call. | Matthew Somerville | 2019-04-04 | -54/+50 | |
|/ | |||||
* | [fixmystreet.com] extra not responsible messages for NCC | Struan Donald | 2019-04-04 | -0/+13 | |
| | |||||
* | [Northamptonshire] prevent reports unless clicking on an asset | Struan Donald | 2019-04-04 | -0/+100 | |
| | | | | | 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 | |
| | |||||
* | [lincolnshire] do not allow fms.com email submit footer override | Struan Donald | 2019-04-02 | -0/+5 | |
| | |||||
* | [fixmystreet.com] override default email submit footer settings | Struan Donald | 2019-04-02 | -8/+5 | |
| | |||||
* | Add default settings for email submit template footer | Struan Donald | 2019-04-02 | -0/+4 | |
| | |||||
* | [Bristol] add branding to email templates | Struan Donald | 2019-04-02 | -0/+28 | |
| | |||||
* | [Lincolnshire] add branding to email templates | Struan Donald | 2019-04-02 | -0/+23 | |
| | |||||
* | [Buckinghamshire] add branding to email templates | Struan Donald | 2019-04-02 | -0/+34 | |
| | | | | Fixes mysociety/fixmystreet-commercial#1272 | ||||
* | allow customisation of email header image file | Struan Donald | 2019-04-02 | -2/+3 | |
| | | | | | Add a setting for the name of the image file used in the email header so cobrands can override it | ||||
* | Make sure MapIt generation always used if given. | Matthew Somerville | 2019-04-01 | -20/+25 | |
| | |||||
* | Merge branch 'issues/commercial/1304-duplicate-report-feedback' | Matthew Somerville | 2019-03-29 | -156/+132 | |
|\ | |||||
| * | 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 | -63/+56 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | -8/+13 | |
| | | |||||
| * | 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. | ||||
| * | Fix duplicate email alert signup. | Matthew Somerville | 2019-03-28 | -1/+1 | |
| | | |||||
| * | Avoid broken looking singleton images in expandable list items | Zarino Zappia | 2019-03-28 | -0/+1 | |
| | | | | | | | | | | | | | | | | When an expanded list item has a single image, it would previously float to the right of the list item action buttons, which looked messy. Now, the buttons clear below the floated image, just like the buttons in the individual report page `.problem-header`. | ||||
| * | Show detailed delivery info in expanded list items | Zarino Zappia | 2019-03-28 | -10/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Make the expandable list item’s expanded state look more like the regular `.problem-header`, to more strongly imply that you don’t need to visit the individual report page to read more. Since expandable list items now *always* contain more information in their expanded state, there’s no need for the `show_more` flag in the templates. Addresses part of the feedback in mysociety/fixmystreet-commercial#1304. | ||||
* | | [Northamptonshire] do not display district/borough reports | Struan Donald | 2019-03-28 | -0/+7 | |
|/ | |||||
* | Fix archive report script to not skip first row. | Matthew Somerville | 2019-03-28 | -7/+8 | |
| | | | | | | | ->first, as used in cd8a5702, uses the iterator, so ->next will then only return the second onward. Instead, do the needed thing in the first iteration of the loop. Also check the option is set as some scripts do not set it. | ||||
* | [Northamptonshire] Update report_sent_confirmation_email. | Matthew Somerville | 2019-03-27 | -1/+1 | |
| | |||||
* | Merge branch 'issues/commercial/1273-ref-number-com' | Matthew Somerville | 2019-03-27 | -29/+53 | |
|\ | |||||
| * | [UK] Council reference in .com confirm sent email. | Matthew Somerville | 2019-03-27 | -14/+37 | |
| | | |||||
| * | [UK] Fix two-tier message in confirm sent email. | Matthew Somerville | 2019-03-27 | -15/+16 | |
| | | |||||
* | | [Bucks,Oxon] Fix .com RoW message display. | Matthew Somerville | 2019-03-27 | -20/+25 | |
| | | | | | | | | The two functions were conflicting with one another. | ||||
* | | Merge branch 'category-js-tidy' | Matthew Somerville | 2019-03-27 | -34/+42 | |
|\ \ | |||||
| * | | Fix extra question display when only one category. | Matthew Somerville | 2019-03-27 | -1/+10 | |
| | | | | | | | | | | | | | | | If the site only has the one category, it was being preselected but the extra attribute questions were not being shown. | ||||
| * | | Stop category_change firing more than it should. | Matthew Somerville | 2019-03-27 | -13/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, when update_pin was called, category change events were fired: 1. if category wasn't blank, 2. if category groups were enabled, and 3. if category groups were enabled, a group was selected, and a category was not. Now we sort out everything inside the category_groups setup function, only triggering a change event once, at the end. | ||||
| * | | Allow things to reset if "Pick a category" picked. | Matthew Somerville | 2019-03-27 | -9/+5 | |
| | | | | | | | | | | | | | | | This is most noticeable with category groups, where changing the parent would leave visible any asset/attribute questions. | ||||
| * | | Stop filter category overriding chosen category. | Matthew Somerville | 2019-03-27 | -11/+11 | |
| |/ | | | | | | | | | | | If you had one filter category selected, clicked the map (category auto pre-selected), changed the category, and clicked the map again, it would re-select the filter category, not the changed category. | ||||
* | | make sure the archive report script sets up lang etc | Struan Donald | 2019-03-27 | -0/+8 | |
| | | | | | | | | | | | | Previously if no reports were closed with an email this meant that the lang setup never ran and you got an error when _ was called in close_problems. So, we call the lang setup in close_problems too. | ||||
* | | [Buckinghamshire] Message on Rights of Way category. | Matthew Somerville | 2019-03-27 | -0/+15 | |
|/ | |||||
* | [Oxfordshire] correctly display PRoW message | Struan Donald | 2019-03-27 | -2/+4 | |
| | | | | | | This makes sure that we re-enable the report form if you select a non OCC category after selecting PRoW, and also enables correct hiding and displaying of the message. | ||||
* | [Northamptonshire] only display NCC categories on cobrand | Struan Donald | 2019-03-26 | -0/+5 | |
| | |||||
* | [Northamptonshire] stray protocol in asset config | Struan Donald | 2019-03-26 | -1/+1 | |
| | |||||
* | [fixmystreet.com] remove Northamptonshire unresponsive text | Struan Donald | 2019-03-26 | -7/+1 | |
| |