aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Switch template plugin for nice numbers.Matthew Somerville2015-12-09-17/+40
| | | | | Template::Plugin::Number::Format works internationally, whilst Template::Plugin::Comma does not.
* Update cpanfile.snapshot, remove unneeded entries.Matthew Somerville2015-12-09-274/+12
| | | | | It looks like some packages only brought in as part of testing are now spotted and no longer included.
* Remove unused SOAP::WSDL package.Matthew Somerville2015-12-09-346/+0
|
* Default the Google map view to hybrid (again).Matthew Somerville2015-12-05-7/+7
| | | | | | | | | | | | | | A repeat of cc6a278; Google have now dropped version 3.20 of their Maps API, which we were using. Version 3.21 is the oldest available version, and only appears to work if you start off in hybrid view. According to https://developers.google.com/maps/documentation/javascript/versions, in three months 3.21 will be dropped; 3.22 does not currently work with our OpenLayers code at all. Looking at http://dev.openlayers.org/releases/OpenLayers-2.13.1/examples/google-v3.html the maps do still appear if you first switch to the Satellite layer. So investigation will be needed to find out why that happens and if it can be worked around.
* Also store all reports summary data by cobrand.joeyisking2015-12-04-2/+6
| | | | This adds the ability to e.g. limit the all reports page by cobrand.
* 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-1329/+1387
|\
| * Move main bin scripts to separate packages.Matthew Somerville2015-12-02-700/+745
| | | | | | | | Maintain old location wrappers.
| * Remove many uses of mySociety::Config.Matthew Somerville2015-12-02-90/+64
| |
| * Only initialize TimeZones if used.Matthew Somerville2015-12-02-3/+6
| |
| * Move from Moose to Moo in non-App code.Matthew Somerville2015-12-02-73/+67
| | | | | | | | And create default cobrand class without all of Moose.
| * Reduce use of FixMyStreet::App.Matthew Somerville2015-12-02-292/+284
| | | | | | | | 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-183/+228
| |
* | [Zurich] Allow status page to fetch summary stats.Matthew Somerville2015-12-01-0/+3
| |
* | Merge branch 'issues/commercial/753-add-csv-columns'Dave Arter2015-11-23-843/+880
|\ \ | |/ |/|
| * [Zurich] Remove unnecessary template overridesDave Arter2015-11-23-36/+0
| |
| * [Zurich] Latest translationsDave Arter2015-11-23-805/+835
| |
| * [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
|/
* [fixmystreet.com] Update council list.Matthew Somerville2015-11-13-3/+3
|
* Changed from 'Highways Agency' to 'Highways England'Gemmamysoc2015-11-10-1/+1
|
* Add generic static route handler.Matthew Somerville2015-10-29-42/+85
| | | | | This puts all static pages under /about, and lets you add new static pages by placing new HTML in your about template directory.
* Optimise mobile menu icon SVGsZarino Zappia2015-10-27-30/+2
|
* Add padding inside chevron SVGsZarino Zappia2015-10-27-12/+4
| | | | | Fixes #1256 by removing the temptation for web browsers to stretch the SVG to fill the CSS background-size box.
* Version 1.7.v1.7Matthew Somerville2015-10-23-19818/+31696
| | | | Include new contributing document.
* Merge branch '1251-json-status-page'Matthew Somerville2015-10-23-29/+130
|\
| * Add status page.Matthew Somerville2015-10-23-0/+89
| |
| * Speed up admin front page.Matthew Somerville2015-10-23-29/+41
| | | | | | | | | | | | | | | | * 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;
* | Add error checking to graph gnuplot running.Matthew Somerville2015-10-23-2/+2
| |
* | Don't use chdir in graph generation scripts.Matthew Somerville2015-10-23-8/+8
| | | | | | | | | | | | | | Running the graph scripts from their directory does not work with perl 5.16+, as the chdir interferes with FindBin's operation. Fixes #1262.
* | Add link to volunteer tasksTerence Eden2015-10-19-4/+6
| | | | | | | | Fixes #1259
* | Merge branch '1141-list-css-part-4'Matthew Somerville2015-10-09-222/+193
|\ \ | |/ |/|
| * Improve item list CSS.Matthew Somerville2015-10-09-222/+193
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge remote-tracking branch 'origin/pluggable-warning-fix'Matthew Somerville2015-10-09-0/+12
|\ \
| * | Add Module::Pluggable to cpanfile snapshot.Matthew Somerville2015-10-08-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Module::Pluggable is marked as deprecated in Perl 5.18, to be removed from core in a later version. cpanminus, which is called from carton, ignores core modules that have been deprecated - running a deployment install under 5.18 therefore caused a warning to be shown saying that it could not find Module::Pluggable as no version was included in the snapshot.
* | | Merge remote-tracking branch 'origin/cdpath-fix'Matthew Somerville2015-10-09-4/+4
|\ \ \
| * | | Fix non-working scripts when CDPATH is set.Matthew Somerville2015-10-07-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If the CDPATH environment variable is set (so cd can look in multiple places), cd prints out the resulting directory when used. This confuses a command sequence used in a couple of places doing (cd && pwd) to get a directory path. Make sure we ignore any output from cd.
* | | | Merge remote-tracking branch 'origin/404-error-logging'Matthew Somerville2015-10-09-1/+1077
|\ \ \ \
| * | | | 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.
* | | | | [Hart] Fix missing menu class, tidy remaining.Matthew Somerville2015-10-09-63/+16
| |_|/ / |/| | | | | | | | | | | | | | | The changes in 99610f1 missed out adding a class to the footer menu, and a few subsequent changes to the CSS.
* | | | Look for gone body template, not hard-code cobrandMatthew Somerville2015-10-08-2/+2
| |_|/ |/| | | | | | | | This means other cobrands could use the same mechanism.
* | | [Bromley/Greenwich/Oxfordshire] Tidy overrides.Matthew Somerville2015-10-08-106/+18
|/ / | | | | | | | | | | | | | | | | | | Have the around, my, and reports pages use the same low level template for individual list items, which can then be overridden for these cobrands, meaning they no longer need to override higher level templates. The logic in 2b9178d was incorrect; fix this so that the correct information is included in those templates.
* | Add state/category filters to base cobrand.Matthew Somerville2015-10-07-391/+216
| | | | | | | | | | | | | | 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.
* | Fix lint issues in moderate.js.Matthew Somerville2015-10-07-6/+6
| |
* | Merge branch '1141-list-css'Matthew Somerville2015-10-07-326/+150
|\ \ | |/ |/|
| * Combine some base/fixmystreet templates.Matthew Somerville2015-10-07-271/+129
| | | | | | | | | | | | | | | | 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.
| * Include last update in around/my pages.Matthew Somerville2015-10-07-9/+11
| | | | | | | | | | Keep sent information still only on all reports pages. Also fix possible space before comma in _item.html.