Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | | Do not assign bodyless reports to area IDs. | Matthew Somerville | 2019-02-28 | -13/+5 | |
|/ | |||||
* | Merge remote-tracking branch 'origin/issues/commercial/1229-duplicate-reporting' | Matthew Somerville | 2019-02-25 | -31/+57 | |
|\ | |||||
| * | [Borsetshire] Enable duplicate suggestion | Zarino Zappia | 2019-02-25 | -0/+2 | |
| | | |||||
| * | Internal JSON endpoint to get reports near a point | Matthew Somerville | 2019-02-25 | -4/+28 | |
| | | | | | | | | Unused right now, but will be soon, for the duplicate suggestion UI. | ||||
| * | Refactor nearby() to use named parameters not list | Matthew Somerville | 2019-02-25 | -30/+30 | |
| | | |||||
* | | [Buckinghamshire] Add contributed_by to CSV export | Matthew Somerville | 2019-02-25 | -0/+33 | |
| | | |||||
* | | Factor out test CSV content function. | Matthew Somerville | 2019-02-25 | -0/+11 | |
|/ | |||||
* | Merge branch 'bugfix/1957' | Matthew Somerville | 2019-02-25 | -8/+20 | |
|\ | |||||
| * | Filters out hidden reports from top 5 list. | Joe Siltberg | 2019-02-25 | -0/+1 | |
| | | |||||
| * | [FixaMinGata] Adds a cobrand hook (threshold for responsiveness top 5 list) | Joe Siltberg | 2019-02-25 | -8/+19 | |
| | | | | | | | | Fixes #1957 | ||||
* | | Refactor admin body/user functions to own files. | Matthew Somerville | 2019-02-22 | -1082/+1165 | |
|/ | |||||
* | [Bromley] Allow subcategory attachment to users. | Matthew Somerville | 2019-02-18 | -0/+56 | |
| | |||||
* | [Bromley] Store service_sub_code as subcategory. | Matthew Somerville | 2019-02-15 | -0/+9 | |
| | |||||
* | Merge branch 'issues/commercial/1270-user-areas' | Matthew Somerville | 2019-02-15 | -24/+42 | |
|\ | |||||
| * | Allow user to be associated with multiple areas. | Matthew Somerville | 2019-02-14 | -24/+42 | |
| | | | | | | | | | | | | 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 Somerville | 2019-02-15 | -0/+2 | |
|/ | |||||
* | Better working of /fakemapit/ under https. | Matthew Somerville | 2019-02-11 | -3/+3 | |
| | | | | | | 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 Somerville | 2019-02-11 | -20/+20 | |
| | | | | | | | 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 Somerville | 2019-02-08 | -2/+2 | |
| | |||||
* | Merge branch '2242-automatic-permalink' | Matthew Somerville | 2019-02-05 | -49/+3 | |
|\ | |||||
| * | Improve use of OL ArgParser/missing zoom in URL. | Matthew Somerville | 2019-02-04 | -49/+1 | |
| | | | | | | | | | | | | 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 Arter | 2019-02-04 | -0/+2 | |
| | | | | | | | | | | | | Fixes #2242. Co-authored-by: Matthew Somerville <matthew@mysociety.org> | ||||
* | | Merge branch 'fix-code-starting-underscore-display' | Matthew Somerville | 2019-02-05 | -3/+3 | |
|\ \ | |||||
| * | | Allow Open311 codes starting with ‘_’ to function. | Matthew Somerville | 2019-02-04 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | 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 Somerville | 2019-02-04 | -5/+10 | |
| |/ |/| | | | | | | | Add a configuration variable to use for the front page stats/ recent list, plus the max-age of `/reports`. | ||||
* | | No need to pass c to cobrand function. | Matthew Somerville | 2019-02-01 | -1/+2 | |
|/ | |||||
* | Merge branch 'bucks-topic-question-all' | Matthew Somerville | 2019-02-01 | -20/+20 | |
|\ | |||||
| * | [UK Councils] Get topic when reporting abuse. | Matthew Somerville | 2019-01-31 | -20/+20 | |
| | | |||||
* | | Add CSRF and time to contact form. | Matthew Somerville | 2019-02-01 | -12/+25 | |
|/ | |||||
* | Allow searching for <email> in admin. | Matthew Somerville | 2019-01-29 | -0/+9 | |
| | |||||
* | Spot moderation conflicts. | Matthew Somerville | 2019-01-25 | -2/+28 | |
| | | | | | If someone tries to moderate after someone else has, re-show the form and an error. | ||||
* | Stop redirecting on moderation error. | Matthew Somerville | 2019-01-25 | -30/+38 | |
| | | | | This will also be used by the moderation conflict code. | ||||
* | [Buckinghamshire] Stop road-placement being sent. | Matthew Somerville | 2019-01-25 | -0/+11 | |
| | | | | | The server doesn't need to know about it, it was only for us to pick the appropriate body. | ||||
* | [Buckinghamshire] Script to close old district flytipping reports. | Matthew Somerville | 2019-01-23 | -18/+26 | |
| | |||||
* | [Buckinghamshire] Question for on-road flytipping. | Matthew Somerville | 2019-01-23 | -0/+52 | |
| | | | | | | | | This adds a question to check whether a flytipping report concerns flytipping on a road or not. Client-side, it is asked when a road is selected and destination adjusted according to the answer; server side it uses the answer to direct any both-tier submissions (from e.g. non-JavaScript or phone app). | ||||
* | [Open311] Refactor cobrand specific code. | Matthew Somerville | 2019-01-23 | -0/+47 | |
| | |||||
* | Factor out two identical loops. | Matthew Somerville | 2019-01-21 | -19/+5 | |
| | |||||
* | Don’t show creation diffs with old history entries. | Matthew Somerville | 2019-01-17 | -0/+2 | |
| | | | | | Old moderation history entries will have blank category/co-ords, and we don’t want to say they’ve changed on appearance. | ||||
* | Merge branch 'allow-state-moderation' | Matthew Somerville | 2019-01-16 | -1/+36 | |
|\ | |||||
| * | Allow state editing via moderation. | Matthew Somerville | 2019-01-16 | -1/+36 | |
| | | | | | | | | | | If a state is passed in (on a cobrand), update problem state and add a comment to record this (as state changes are updates not moderations). | ||||
* | | Merge branch 'moderation-in-front-end-updates' | Matthew Somerville | 2019-01-16 | -1/+26 | |
|\ \ | |||||
| * | | Include moderation history in report updates. | Matthew Somerville | 2019-01-16 | -0/+25 | |
| | | | | | | | | | | | | | | | | | | If the user has moderating permission, or a cobrand allows the viewing of moderation history, show moderation history within the updates on a report page. | ||||
| * | | Only show extra items that diff in moderation. | Matthew Somerville | 2019-01-15 | -1/+1 | |
| |/ | |||||
* / | [Oxfordshire] length checking for names, emails and phone Nos | Struan Donald | 2019-01-16 | -0/+12 | |
|/ | | | | | | | Add in validation to check names, email and phone numbers don't exceed maximum lengths permitted by HIAMS. Fixes mysociety/fixmystreet-commercial#1244 | ||||
* | Call confirm() during token confirmation. | Matthew Somerville | 2019-01-14 | -2/+1 | |
| | | | | So state/confirmed setting in one place. | ||||
* | Use pin_new_report_colour server-side too. | Matthew Somerville | 2019-01-14 | -1/+1 | |
| | |||||
* | Remove any use of `my $x if $foo`. | Matthew Somerville | 2019-01-14 | -4/+7 | |
| | | | | | | | | 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." | ||||
* | Delete cache photos upon photo moderation. | Matthew Somerville | 2019-01-10 | -0/+1 | |
| | |||||
* | Check cached reports have photos before showing. | Matthew Somerville | 2019-01-10 | -1/+1 | |
| | |||||
* | Allow override search to /report/new => /around. | Matthew Somerville | 2019-01-10 | -1/+7 | |
| | | | | | | 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. |