aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* | [Oxfordshire] Limit appears to be lower than 30.Matthew Somerville2019-02-28-4/+4
| |
* | [Bromley] Initial heatmap page.Matthew Somerville2019-02-28-11/+623
| |
* | [Bromley] Fix colour contrast on active segmented controlZarino Zappia2019-02-28-2/+6
| |
* | Do not assign bodyless reports to area IDs.Matthew Somerville2019-02-28-13/+5
| |
* | [UK] Add mapzoom to roadworks parameters.Matthew Somerville2019-02-26-0/+1
|/
* Merge remote-tracking branch 'origin/issues/commercial/1229-duplicate-reporting'Matthew Somerville2019-02-25-179/+605
|\
| * [Borsetshire] Enable duplicate suggestionZarino Zappia2019-02-25-0/+2
| |
| * Duplicate suggestion UI when reporting problems.Zarino Zappia2019-02-25-94/+338
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previously staff-only fixmystreet.set_up.manage_duplicates() has been promoted from staff.js to its own file so that we can use it to display the duplicate suggestions on the `/report/new` form. render_duplicate_list (the old refresh_duplicate_list) no longer filters or slices the reports_list returned by the ajax call, since it turns out the server handles all of that (`sub _nearby_json` in `Report.pm` and `sub nearby` in `Nearby.pm`). Since the expandable list items include the "fancybox" image previews, the fancybox CSS now has to be included in the `/report/new` page head, hence the addition of "photo-js.html" in `fill_in_details.html`. The “Get updates” flow reuses the same JavaScript that handles the submission of the "Get updates" drawer at the bottom of around pages.
| * Internal JSON endpoint to get reports near a pointMatthew Somerville2019-02-25-4/+34
| | | | | | | | Unused right now, but will be soon, for the duplicate suggestion UI.
| * Refactor nearby() to use named parameters not listMatthew Somerville2019-02-25-34/+32
| |
| * Remove --reports from .item-list--reports__item classes in Inspector UIZarino Zappia2019-02-25-9/+6
| | | | | | | | | | There’s no need for this `--reports` to be there, so let’s start phasing it out.
| * Expandable list item componentZarino Zappia2019-02-25-35/+186
| | | | | | | | | | | | | | | | | | | | `_item_expandable.html` is an alternative to regular list items, where you can display extra information on the first click on the item, and then also, optionally, offer a further action, as a separate button. Right now the expandable list items aren’t used anywhere, but we’ll soon be using them in the duplicate report suggestion UI for council staff and the public.
| * Add space below "map page" contents on narrow screensZarino Zappia2019-02-25-13/+17
| | | | | | | | | | Moving the 4em padding from _layout.scss to _base.scss helps separate the content on /report/<id> and /report/new pages from the nav below.
* | [Buckinghamshire] Tidy up asset attributes.Matthew Somerville2019-02-25-24/+1
| |
* | [Buckinghamshire] Add contributed_by to CSV exportMatthew Somerville2019-02-25-0/+82
| |
* | Factor out test CSV content function.Matthew Somerville2019-02-25-37/+17
|/
* Merge branch 'bugfix/1957'Matthew Somerville2019-02-25-8/+20
|\
| * Filters out hidden reports from top 5 list.Joe Siltberg2019-02-25-0/+1
| |
| * [FixaMinGata] Adds a cobrand hook (threshold for responsiveness top 5 list)Joe Siltberg2019-02-25-8/+19
| | | | | | | | Fixes #1957
* | Refactor admin body/user functions to own files.Matthew Somerville2019-02-22-1143/+1226
| |
* | Merge branch 'logged-in-user-report-alert-signup'Matthew Somerville2019-02-22-181/+31
|\ \
| * | Don't ask for email on alert signup if logged in.Matthew Somerville2019-02-21-181/+31
| | | | | | | | | | | | | | | | | | | | | The “Get updates” flow on a report page, if logged in, was showing an input label but no input field (because one is not needed), but then on submission asking for your email address. Add missing name on submit button to fix this.
* | | Merge branch 'FixaMinGata-cobrand-delivery-feb-2019' of ↵Matthew Somerville2019-02-21-11/+177
|\ \ \ | | | | | | | | | | | | git://github.com/Sambruk/fixmystreet
| * | | Swedish translations (minor corrections)Joe Siltberg2019-02-21-7/+9
| | | |
| * | | [FixaMinGata] Changes to a site logo in svg.Joe Siltberg2019-02-21-4/+125
| | | | | | | | | | | | | | | | Makes sure the logo looks nice on devices with high resolution.
| * | | [FixaMinGata] Adds email templates for inactive accounts.Joe Siltberg2019-02-21-0/+43
| | |/ | |/|
* / | Reword maximum number of images error message.Matthew Somerville2019-02-21-1/+1
|/ /
* | Fix server-side WFS property filteringDave Arter2019-02-19-5/+9
| | | | | | | | | | | | | | | | The previous approach of filtering features that match one of many values worked client side for e.g. GeoJSON format WFS layers, but crashed when attemping to build the XML request for server-side feature filtering (e.g. Bristol). This code instead builds a proper Logical filter which OpenLayers can use in both situations.
* | [Bristol] Use new WFS server for street lights.Dave Arter2019-02-19-13/+77
|/
* Merge branch 'issues/commercial/1271-bromley-subcategory'Matthew Somerville2019-02-18-1/+101
|\
| * [Bromley] Allow subcategory attachment to users.Matthew Somerville2019-02-18-1/+92
| |
| * [Bromley] Store service_sub_code as subcategory.Matthew Somerville2019-02-15-0/+9
| |
* | Merge branch '2397-show-old-url-fix'Matthew Somerville2019-02-18-2/+2
|\ \ | |/ |/|
| * Add parameter to URL when “Show older” clicked.Matthew Somerville2019-02-14-2/+2
| | | | | | | | | | The behaviour should be the same whether “Show older” or “Show older reports” is clicked, but only the latter was updating the URL.
* | Merge branch 'issues/commercial/1270-user-areas'Matthew Somerville2019-02-15-46/+89
|\ \
| * | Allow user to be associated with multiple areas.Matthew Somerville2019-02-14-46/+89
| | | | | | | | | | | | | | | | | | Update database to store an array of IDs rather than only one; consequential changes to the admin and the dashboard to allow selection.
* | | [Buckinghamshire] Ignore updates in extra process.Matthew Somerville2019-02-15-0/+2
| | |
* | | [UK Councils] Include unresponsive template.Matthew Somerville2019-02-15-0/+20
| |/ |/| | | | | It is needed in e.g. South Kesteven; link to .com help page.
* | Fix typo in d4c2211cf.Matthew Somerville2019-02-13-1/+1
|/
* Better working of /fakemapit/ under https.Matthew Somerville2019-02-11-3/+4
| | | | | | If no MAPIT_URL is provided, MapIt lookups default to /fakemapit/ at the same host. But that host might already be set up for HTTPS, so port might be 443.
* [fixmystreet.com] Improve two-tier unresponsive.Matthew Somerville2019-02-11-27/+30
| | | | | | | Similarly to 1f69e28c, we were previously only checking the first matching entry, which led to confusing behaviour in places. Include consequential amendments for e.g. one body being unresponsive, the other not.
* [Oxfordshire] Limit appears to be lower than 70.Matthew Somerville2019-02-08-4/+4
|
* Merge branch '2242-automatic-permalink'Matthew Somerville2019-02-05-119/+109
|\
| * Smoke test of FixMyStreet::Map::Google.Matthew Somerville2019-02-05-0/+21
| |
| * Improve use of OL ArgParser/missing zoom in URL.Matthew Somerville2019-02-04-99/+29
| | | | | | | | | | | | Remove the server-side zoom-in-url fix, instead use an ArgParser subclass to default to the provided data if nothing in URL. Then we can switch to using short lat/lon in geocoder URLs.
| * Update URL whenever map moves, using replaceState.Dave Arter2019-02-04-20/+59
| | | | | | | | | | | | Fixes #2242. Co-authored-by: Matthew Somerville <matthew@mysociety.org>
* | Merge branch 'fix-code-starting-underscore-display'Matthew Somerville2019-02-05-8/+10
|\ \
| * | Allow Open311 codes starting with ‘_’ to function.Matthew Somerville2019-02-04-8/+10
| | | | | | | | | | | | | | | | | | Template Toolkit treats keys starting with ‘_’ as private and does not expose them. It is possible for an Open311 server to return fields starting with an underscore, and we want to use those in the template.
* | | Make front page cache time configurable.Matthew Somerville2019-02-04-6/+30
| |/ |/| | | | | | | Add a configuration variable to use for the front page stats/ recent list, plus the max-age of `/reports`.
* | Merge branch '2369-admin-list-field-bug'Matthew Somerville2019-02-04-5/+7
|\ \