aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
Commit message (Collapse)AuthorAgeLines
...
* | If a sign-in button explicitly clicked, use it.Matthew Somerville2015-09-21-3/+5
|/ | | | Fixes #1091.
* [UK Councils] Add contact_email addresses to cobrandsSteven Day2015-09-17-5/+25
| | | | | | | | | This sets the contact email for: - East Sussex - Greenwich - Oxfordshire - Stevenage
* Add way to see "Please check your email" pages.Matthew Somerville2015-09-17-0/+11
| | | | This makes testing easier.
* Merge branch '1202-improve-gettext-extract-and-more'Matthew Somerville2015-09-07-3119/+2
|\
| * [fixmystreet.com] Remove unused Barnet code.Matthew Somerville2015-09-03-3119/+2
| |
* | Merge branch 'fix-cobrand-restriction-warning'Matthew Somerville2015-09-04-18/+14
|\ \ | |/ |/|
| * Use base URL in cobrand alert for no-body report.Matthew Somerville2015-09-03-18/+14
| | | | | | | | | | | | If a cobrand has a body restriction, then a report without any body won't be shown on it, so we need to make sure links to the report (in email alerts and RSS) are to the base URL, not the cobrand.
* | Allow through reply-to header in send_email.Matthew Somerville2015-09-01-1/+1
| | | | | | | | This might be used now by e.g. the contact form.
* | Upgrade Google geocoder to version 3 of the API.Matthew Somerville2015-08-28-15/+13
|/
* [Bromley] Switch from Bing to OSM geocoder for BromleyDave Arter2015-08-25-30/+6
| | | | | Bing's geocoder is generating increasing numbers of erroneous results, so let's see how OSM fares instead.
* Cope better with DNS responses in DMARC lookup.Matthew Somerville2015-08-20-1/+16
|
* Merge branch '1070-dmarc-workaround'Matthew Somerville2015-08-19-16/+63
|\
| * Test for DMARC when sending report email.Matthew Somerville2015-08-19-3/+53
| |
| * Add default sender to send_email_cron.Matthew Somerville2015-08-19-13/+10
| | | | | | | | | | Matches send_email, remove unneeded setting of sender in one call, and add contact name to report sent email.
* | Merge branch 'bodies_str-factoring'Matthew Somerville2015-08-19-158/+127
|\ \ | |/ |/|
| * Fix issue with ambiguous 'deleted' column lookup.Matthew Somerville2015-08-19-1/+3
| |
| * Simplify/consolidate body restriction db code.Matthew Somerville2015-08-19-125/+77
| | | | | | | | | | | | | | Make dashboard work properly in two-tier councils, showing reports sent to both. Create an index on the array of the bodies_str column to speed up performance, and use that throughout the code replacing all LIKE scans. This also enables a simplifying tidy of the restriction code.
| * Use ResultSet/cobrand->problems where appropriate.Matthew Somerville2015-08-19-4/+4
| | | | | | | | Fixes #893.
| * Move "missing" handling to separate column.Matthew Somerville2015-08-19-16/+23
| |
| * Updates to schema from DBIx::Class loader.Matthew Somerville2015-08-19-14/+22
| |
* | [Bromley] Add more disambiguation rules for geocoderDave Arter2015-08-13-2/+14
|/ | | | | | Also tidies up some repeated regexes Fixes #1176
* Fix display of warning message in report sending.Matthew Somerville2015-08-13-1/+1
|
* Speed up new_updates query execution.Matthew Somerville2015-08-13-5/+6
| | | | | | | This makes no actual change to the query (the joins are all on the same value, after all), but along with the removal of ms_current_timestamp in the previous commit massively speeds it up as the query planner realises it can do a hash join rather than a nested merge join.
* Remove ms_current_timestamp() override function.Matthew Somerville2015-08-13-61/+60
| | | | | This override is not used anywhere, it dates from a very old long-gone test script, and causes issues with database query planning.
* Improve stored procedure performance.Matthew Somerville2015-08-10-12/+0
| | | | | Add an index on the radian values, make the function stable, and switch to a full bounding box rather than a slower angle check.
* Merge branch 'issues/#805-name-check-cobrand'Matthew Somerville2015-07-31-21/+34
|\
| * Move Latin-char-specific name check to cobrand.Matthew Somerville2015-07-31-21/+34
| | | | | | | | | | Also move some UK-specific code in the same function. The specific code is still tested in report_new.t.
* | Add mark as sent button to admin.Matthew Somerville2015-07-30-0/+7
| |
* | Allow body external URL to be edited in admin.Matthew Somerville2015-07-30-2/+2
|/
* Merge branch 'issues/968-refusing-councils'Matthew Somerville2015-07-28-12/+58
|\
| * [fixmystreet.com] Unresponsive bodies page/warningMatthew Somerville2015-07-28-12/+58
| | | | | | | | | | | | | | | | | | Add a special category email address used to show an unresponsive message and page when trying to report in that category. Add a "Refused" send method for setting a whole body to be unresponsive and show the message immediately, not on category selection. Factor out category template, and put at top where needed.
* | Use get_param_list instead of get_param for body areasDave Arter2015-07-27-13/+7
| | | | | | | | | | Because a body can cover more than one area, `area_ids` might contain multiple values when updating or creating a body.
* | Make sure get_param_list returns empty list if param is missingDave Arter2015-07-27-1/+2
| | | | | | | | | | | | If the specified parameter was missing from `$c->req->params`, a list of form `(undef)` would be returned. This commit makes it return an empty list if the parameter is missing.
* | [MakeMyIsland] Remove MakeMyIsland cobrandDave Arter2015-07-24-12/+0
| | | | | | | | | | | | | | | | | | The MakeMyIsland cobrand files now live in a separate repository: mysociety/fixmystreet-international The idea is that this repo will be checked out alongside the main fixmystreet one and cobrand-specific files symlinked into place. To this end, the commit also adds the MakeMyIsland symlinks to .gitignore.
* | [Oxfordshire] Make 'open' the default state for map filterDave Arter2015-07-23-0/+2
| |
* | [Oxfordshire] Vary pin colours by report statusDave Arter2015-07-22-0/+8
| | | | | | | | | | This also adds a new grey pin which is used by the Oxfordshire cobrand for reports that aren't the Council's responsibility.
* | [Oxfordshire] Order 'all reports' page by confirmation dateDave Arter2015-07-22-0/+4
| |
* | [Oxfordshire] Add expected response time to report pageDave Arter2015-07-22-2/+42
| | | | | | | | | | This adds a new problem_response_days sub to the Oxfordshire cobrand that provides an expected response time based on a problem's category.
* | [fixmystreet.com] Remove Essex/Oxfordshire code.Matthew Somerville2015-07-22-27/+0
| | | | | | | | This is no longer used.
* | update east hampshire end pointStruan Donald2015-07-20-1/+1
| |
* | Set external_id for Greenwich Open311 based on bodies_str, not cobrandDave Arter2015-07-20-1/+2
|/ | | | | Problems for Greenwich reported via the fixmystreet cobrand weren't having the external_id included in the Open311 request and were failing.
* Alter token logging in and timeout behaviour.Matthew Somerville2015-07-10-34/+93
| | | | | | | Restrict email_sign_in token to one day, unused confirmation tokens to one month. Used tokens will redirect to the created thing but not log in; don't log in with alert links (unsubscribe link never expires, reply link will still show "reopen" tickbox).
* Factor out all uses of param()/params.Matthew Somerville2015-07-07-347/+393
| | | | | | | Use a central get_param and get_param_list functions dependent on whether we're after a scalar or a list (almost always a scalar). This prevents any possibility of confusion where param() could return a list, or params->{} an arrayref.
* [Greenwich] Include external_id when submitting Open311 reportsDave Arter2015-06-30-2/+2
|
* [Greenwich] Add links to Greenwich FMS to pages on fixmystreet.comDave Arter2015-06-30-1/+1
|
* [Greenwich] Royal Borough of Greenwich front endDave Arter2015-06-30-0/+47
|
* Refactor duplicated filter_status code into a single functionSteven Day2015-06-29-61/+29
|
* Rename map filtering GET param, remove unnecessary querySteven Day2015-06-29-16/+9
|
* Simplify default status filter for map pinsSteven Day2015-06-29-23/+14
|
* Populate categories filter dropdown on /reports pageDave Arter2015-06-29-0/+9
|