aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
Commit message (Collapse)AuthorAgeLines
...
* Fix co-ordinate bug in Google geocoder.Matthew Somerville2016-01-29-1/+1
| | | | a4b6ed0f put the latitude in $longitude and vice-versa.
* Merge branch '1315-open311-update-media_url'Matthew Somerville2016-01-29-0/+14
|\
| * Spot media_url in Open311 GetServiceRequestUpdate.Matthew Somerville2016-01-29-0/+14
| | | | | | | | Fixes #1315.
* | If app user logged in, perform alert signup.Matthew Somerville2016-01-27-0/+1
|/ | | | Thanks to @jonkri for spotting.
* Merge branch '1146-social-login'Matthew Somerville2016-01-27-134/+371
|\ | | | | | | | | | | Conflicts: templates/web/base/report/new/fill_in_details_form.html templates/web/base/report/update-form.html
| * Add login by Facebook on generic auth screen.Matthew Somerville2016-01-22-12/+16
| |
| * Add login by Facebook when updating.Matthew Somerville2016-01-22-38/+129
| | | | | | | | Makes the flow more like new reporting.
| * Add login by Facebook when reporting.Matthew Somerville2016-01-22-45/+189
| |
| * Switch to JSON::MaybeXS, remove JSON::XS.Matthew Somerville2016-01-22-35/+29
| | | | | | | | | | | | Travis has Cpanel::JSON::XS preinstalled, which means that the build would fail there, as JSON::MaybeXS would try and upgrade JSON::XS to version 3 which the snapshot did not contain.
| * Prerequisites (new modules, db, config).Matthew Somerville2016-01-22-2/+8
| |
| * Remove unnecessary shebang lines.Matthew Somerville2016-01-22-2/+0
| |
* | Improve some error pages.Matthew Somerville2016-01-26-5/+1
|/ | | | | Use design of auth/token in generic error, 404, and token server error pages, and use the same error for too old/ token not found errors.
* Add ability to have multiple update photos.Matthew Somerville2016-01-12-10/+15
| | | | Also adds admin ability to rotate update photos.
* Factor multiple photo details into nicer function.Matthew Somerville2016-01-12-137/+65
| | | | | Remove get_photo_params, which only looked at the first photo, make explicit when we're doing that using `.first`.
* Remove most passing of Catalyst to PhotoSet.Matthew Somerville2016-01-12-14/+10
|
* Fix cache busting in photo URL on multiple photos.Matthew Somerville2016-01-08-3/+8
|
* Handle multiple photo rotation/removal in admin.Matthew Somerville2016-01-08-3/+53
|
* [fixmystreet.com] Don't show app step if used app.Matthew Somerville2016-01-06-1/+3
| | | | Fixes #1305.
* Remove unnecessary code, as ID is always a number.Matthew Somerville2016-01-06-6/+0
|
* Fix bug showing reports on Your Reports.Matthew Somerville2015-12-17-2/+2
| | | | | 92dfeac used an incorrect user column name in the new lookup, and there was no test to catch the regression.
* Add multiple photo upload support.Zarino Zappia2015-12-16-12/+35
| | | | | | | | | | Three file inputs, progressively enhanced with dropzone. This moves the photo input higher up, so that photos can upload while you're filling out the form. It standardises and improves photo error handling. [fixmystreet.com] Guidance for what photos should and shouldn’t include.
* Remove risk of infinite loop in PhotoSet.Matthew Somerville2015-12-16-9/+13
| | | | | | Use a separate attribute for data direct from a database row when creating a PhotoSet, so that data will always contain one or more photo IDs.
* Fix cobrand restriction of My/Nearby.Matthew Somerville2015-12-15-44/+58
| | | | | | | | | | | | 5c79337 simplified a bit too far, as after then a particular cobrand could in Nearby and My only filter reports to a particular body, not any other criteria. To fix this, introduce more generic functions in the default cobrand to allow more flexibility. Make sure a few tests delete their bodies fully so that new tests pass when run as part of the suite. Fixes #1289.
* Merge remote-tracking branch 'origin/admin-blank-email-name' into ↵Matthew Somerville2015-12-15-8/+14
|\ | | | | | | admin-blank-email-name
| * Make sure email and name are given in admin form.Matthew Somerville2015-12-09-8/+14
| |
* | Remove unused SOAP::WSDL package.Matthew Somerville2015-12-09-148/+0
|/
* Pass in EmailSend arguments as a hashref.Matthew Somerville2015-12-02-3/+4
| | | | | A fix to bb1e797; when started via a Catalyst model, e.g. send_email in FixMyStreet::App, an empty hashref is passed in.
* Merge branch 'reduce-fixmystreet-app'Matthew Somerville2015-12-02-1055/+1122
|\
| * Move main bin scripts to separate packages.Matthew Somerville2015-12-02-688/+738
| | | | | | | | Maintain old location wrappers.
| * Remove many uses of mySociety::Config.Matthew Somerville2015-12-02-36/+21
| |
| * Only initialize TimeZones if used.Matthew Somerville2015-12-02-3/+6
| |
| * Move from Moose to Moo in non-App code.Matthew Somerville2015-12-02-70/+55
| | | | | | | | And create default cobrand class without all of Moose.
| * Reduce use of FixMyStreet::App.Matthew Somerville2015-12-02-81/+77
| | | | | | | | Command line scripts don't need a full blown app, just database.
| * Move get_photo_params to Utils::Photo.Matthew Somerville2015-12-02-40/+45
| |
| * Move EmailSend out of Catalyst for use elsewhere.Matthew Somerville2015-12-02-182/+225
| |
* | [Zurich] Allow status page to fetch summary stats.Matthew Somerville2015-12-01-0/+3
| |
* | [Zurich] Include problem extra fields in CSV downloadDave Arter2015-11-18-1/+14
| | | | | | | | | | Some categories ask the user for extra information such as street or house number; these are output in the CSV if the report includes them.
* | [Zurich] Generate the CSV header the same way as normal rowsDave Arter2015-11-18-1/+29
| |
* | [Zurich] Add 'closure status' to admin report CSVDave Arter2015-11-18-2/+4
|/
* Add generic static route handler.Matthew Somerville2015-10-29-42/+76
| | | | | This puts all static pages under /about, and lets you add new static pages by placing new HTML in your about template directory.
* Merge branch '1251-json-status-page'Matthew Somerville2015-10-23-24/+104
|\
| * Add status page.Matthew Somerville2015-10-23-0/+70
| |
| * Speed up admin front page.Matthew Somerville2015-10-23-24/+34
| | | | | | | | | | | | | | | | * Don't show a categories summary unless asked via a link * Don't needlessly join in questionnaire/update summaries * Switch count(distinct()) to a subselect as it turns out select count(*) from (select distinct(user_id) from problem) temp; is a lot quicker than select count(distinct(user_id)) from problem;
* | Merge branch '1141-list-css-part-4'Matthew Somerville2015-10-09-2/+2
|\ \ | |/ |/|
| * Improve item list CSS.Matthew Somerville2015-10-09-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Generally, a rewrite of issue-list-a to item-list--reports or item-list--wards (two different uses) and issue-list to item-list--updates, with subsequent renames/changes to children. For those cobrands using a different list showing a pin icon, use item-list__item--with-pin to stop needing to override existing classes. Fix a variety of niggling issues e.e ward list display, or overloading of the .text class.
* | Prevent template errors from being logged twice.Matthew Somerville2015-10-09-1/+10
| | | | | | | | | | | | Catalyst::View::TT calls both c->log->error and c->error; the former logs immediately, while the latter stashes the error, and then calls c->log->error with it during finalize.
* | Fix lack of error logging in certain scenarios.Matthew Somerville2015-10-08-0/+1067
|/ | | | | | Upgrade Catalyst::Engine and Catalyst::Log to 5.90030 so that errors are logged via psgi.errors rather than printed to the (perhaps nulled) stderr. Fixes #404.
* Add state/category filters to base cobrand.Matthew Somerville2015-10-07-9/+5
| | | | | | | This removes the on map/nearby tabs, replacing them with one combined list. The styling is moved to the base, so that it is used on mobile too. A closed option is added to the existing dropdown, and the base/fixmystreet my templates are also combined. Fixes #1141.
* Merge branch '1141-list-css'Matthew Somerville2015-10-07-1/+1
|\
| * Combine some base/fixmystreet templates.Matthew Somerville2015-10-07-1/+1
| | | | | | | | | | | | | | | | The aim is to combine base and fixmystreet as much as possible, providing enough template/styling hooks for any cobrand. This commit removes the need for separate base/fixmystreet templates for the front page, almost all of the /around templates, the open graph headers, and the low level item list templates.