aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* 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.
| * [Bromley] Fix positioning of logged in message.Matthew Somerville2015-10-06-2/+1
| | | | | | | | Make sure the site's max-width is applied on map pages also.
| * [Bromley] Combine _item/_list-entry templates.Matthew Somerville2015-10-01-31/+2
| |
| * Remove unneeded report-list and list-a classes.Matthew Somerville2015-10-01-14/+8
| |
* | [Zurich] Fix map on /reportsDave Arter2015-10-06-0/+1
| |
* | Fix display of comment photosDave Arter2015-10-06-4/+24
| | | | | | | | | | These still use the old method of storing photos, not PhotoSet, and so don't have a get_photoset method.
* | Merge branch 'zurich-2015-dev-candidate'Dave Arter2015-10-06-1655/+4692
|\ \ | | | | | | | | | This is the work done in early 2015 to improve the Zürich admin interface, primarily.
| * | [Zurich] Use FMS::App->get_param() instead of req->paramDave Arter2015-10-06-18/+17
| | |
| * | [Zurich] Fix map positioning on report pagesSteven Day2015-10-06-1/+1
| | |
| * | [Zurich] Set report's public response before sending email to userDave Arter2015-10-06-7/+41
| | | | | | | | | | | | | | | | | | | | | | | | The 'public response' to a problem was being omitted from the email sent to the user when the problem is closed, because the email was sent before the report's 'extra' field was updated with the response body text. This commit sets the public response on the problem before sending the email.
| * | Base 64 decode uploaded images if requiredSteven Day2015-10-06-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new Zurich app has to base64 encode some images into a multipart request so that it can (ab)use Phonegap's FileTransfer plugin to send more than one image in a single request to /report/new/mobile. Catalyst's Request::Upload module doesn't look at the Content-Transfer-Encoding header inside multipart requests to do this automatically, so we perform the decoding manually when we process the images in the PhotoSet model.
| * | [Zurich] Update de_CH .po fileHakim Cassimally2015-10-06-615/+618
| | |
| * | Autofocus email field on login formDave Arter2015-10-06-2/+2
| | |
| * | [Zurich] Don't include external messages in a report's internal notices sectionDave Arter2015-10-06-4/+8
| | | | | | | | | | | | See mysociety/FixMyStreet-Commercial#674, mysociety/FixMyStreet-Commercial#673
| * | [Zurich] Display message sent to user when report is closedDave Arter2015-10-06-6/+17
| | | | | | | | | | | | | | | | | | On the report admin page, include the message the user received when the report was closed. See mysociety/FixMyStreet-Commercial#718
| * | [Zurich] Prevent 'success' message interfering with all input fieldsDave Arter2015-10-06-2/+7
| | | | | | | | | | | | See mysociety/FixMyStreet-Commercial#717
| * | [Zurich] Make a few template strings localizableDave Arter2015-10-06-4/+4
| | |
| * | [Zurich] Keep DM on report edit page after closing reportDave Arter2015-10-06-2/+2
| | | | | | | | | | | | See mysociety/FixMyStreet-Commercial#690
| * | [Zurich] Ask for confirmation when rotating photo if other fields have changed.Dave Arter2015-10-06-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | Because there is no easy way to do the photo rotation asynchronously, make sure the user is aware that any changes they've made to the other form fields will be lost when clicking the rotate photo buttons. See mysociety/FixMyStreet-Commercial#690
| * | [Zurich] Always display current year in footerDave Arter2015-10-06-1/+2
| | |
| * | [Zurich] Add JS validation for external body fieldDave Arter2015-10-06-1/+22
| | | | | | | | | | | | | | | | | | Ensures that an external body has been selected if the field is visible. See mysociety/FixMyStreet-Commercial#718
| * | [Zurich] Test that external message is visible for certain statesDave Arter2015-10-06-6/+6
| | |
| * | [Zurich] Improve display of external body message when presentDave Arter2015-10-06-34/+50
| | | | | | | | | | | | | | | | | | | | | Make external/competent body message read-only and displayed like public response when submitted. See mysociety/FixMyStreet-Commercial#718
| * | [Zurich] Make sure external/competent body message is savedDave Arter2015-10-06-1/+5
| | | | | | | | | | | | | | | | | | | | | - Only send external_message when the problem state has the correct value - But make sure the message is preserved for editing when problem state is 'planned' See mysociety/FixMyStreet-Commercial#718
| * | [Zurich] Add link to Street View on report edit page.Dave Arter2015-10-06-2/+6
| | | | | | | | | | | | See mysociety/FixMyStreet-Commercial#716
| * | [Zurich] Restore display of user links on admin stats pageDave Arter2015-10-06-1/+1
| | | | | | | | | | | | | | | The 'c' variable used in the category loop was clobbering an existing variable used in admin/footer.html to render the summary/logout links.
| * | [Zurich] Override MAP_TYPE in tests where appropriateDave Arter2015-10-06-0/+23
| | |