aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* | 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.
* | Allow cobrands to add sharing buttons to report pagesDave Arter2015-07-24-0/+1
| | | | | | | | | | Cobrands can optionally provide a `report/sharing.html` template to display extra content just above the updates on a report detail page.
* | [MakeMyIsland] Remove MakeMyIsland cobrandDave Arter2015-07-24-211/+8
| | | | | | | | | | | | | | | | | | 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.
* | Merge branch 'oxfordshire-cobrand-updates'Dave Arter2015-07-23-260/+706
|\ \
| * | [Oxfordshire] Override JavaScript no longer neededMatthew Somerville2015-07-23-40/+0
| | | | | | | | | | | | Fixes lack of "Permalink" string.
| * | [Oxfordshire] Display message when reports list is emptyDave Arter2015-07-23-9/+11
| | | | | | | | | | | | | | | | | | If filters for reports list are too restrictive, shows a message to the user indicating that no reports match the query, on /my and /reports
| * | [Oxfordshire] Refresh map as soon as filters are changed on empty /myDave Arter2015-07-23-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | By default the map JS doesn't get included on /my if the map is empty, so there's some slight duplication of the JS from the previous commit to make the filters submit the form as soon as they're changed. This should be included in the base template if/when the filters make their way there.
| * | [Oxfordshire] Make 'open' the default state for map filterDave Arter2015-07-23-0/+2
| | |
| * | [Oxfordshire] Add status/category filtering to map pagesDave Arter2015-07-23-21/+71
| | |
| * | [Oxfordshire] Move council info into own section of report pageZarino Zappia2015-07-23-23/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Oxfordshire reports have a council Reference Number, and an estimate of how long they'll take to be fixed. To make this information easier to parse, we've broken it out into its own section, between the problem description and updates. Conflicts: web/cobrands/oxfordshire/base.scss
| * | [Oxfordshire] Full screen map designZarino Zappia2015-07-23-201/+418
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Replace .big-green-banner with .click-the-map Design follows similar change in Collideoscope. #skip-this-step link is hidden for normal users, shown when tabbed to, or when javascript is disabled. - Move RSS link to bottom of sidebar - Combine 'on the map' and 'nearby' tabs into a single list
| * | [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/+50
|/ / | | | | | | | | 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.
* | [fixmystreet.com] Add deleted NI councils.Matthew Somerville2015-07-22-26/+47
| | | | | | | | Factor out template to correct cobrand.
* | 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.
* | Merge commit 'refs/pull/github/1147'Matthew Somerville2015-07-17-4/+5
|\ \ | |/ |/|
| * Update council.htmlMyfanwyNixon2015-07-17-4/+5
| | | | | | Small copy change to emphasise the cost benefits of FMSfC.
* | Version 1.5.5.v1.5.5Matthew Somerville2015-07-10-4184/+8386
| |
* | Default the Google map view to Satellite.Matthew Somerville2015-07-10-5/+5
| | | | | | | | | | Using Map by default doesn't work for an unknown reason, but is okay if you switch to it. Fixes #1133.
* | Alter token logging in and timeout behaviour.Matthew Somerville2015-07-10-41/+102
| | | | | | | | | | | | | | 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.
* | Include new version in cpanfile so it upgrades.Matthew Somerville2015-07-07-0/+1
| |
* | Update DBIx::Class::EncodedColumn.Matthew Somerville2015-07-07-4/+5
|/ | | | | This fixes a potential Unicode issue with the setting of encoded columns.
* Merge branch 'issues/commercial/709-greenwich-cobrand-rebased'Dave Arter2015-06-30-4/+842
|\
| * [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-3/+4
| |
| * [Greenwich] Use templates from Oxfordshire cobrand to get map pin filter ↵Dave Arter2015-06-30-0/+109
| | | | | | | | controls
| * [Greenwich] Royal Borough of Greenwich front endDave Arter2015-06-30-0/+728
| |
* | Merge branch 'report-filtering-on-map'Dave Arter2015-06-30-75/+522
|\| | | | | | | | | This branch allows the map pages to be filtered by report category and status with the 'filter_category' and 'status' GET parameters.
| * 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-32/+18
| |
| * Add SASS and images for report list filtersSteven Day2015-06-29-0/+155
| |
| * Add some tests for the category & status filtering on /ajaxSteven Day2015-06-29-0/+39
| |
| * Simplify default status filter for map pinsSteven Day2015-06-29-23/+14
| |
| * Populate categories filter dropdown on /reports pageDave Arter2015-06-29-0/+9
| |
| * Display message when reports list is emptySteven Day2015-06-29-18/+20
| | | | | | | | | | | | If filters for reports list are too restrictive, shows a message to the user indicating that no reports match the query, on /my and /reports
| * Refresh map as soon as filters are changed on /my and /reportsDave Arter2015-06-29-0/+6
| |
| * Allow filter by 'category' query param on /myDave Arter2015-06-29-0/+14
| |
| * Populate category filter with all available categoriesSteven Day2015-06-29-9/+23
| |
| * Preserve the 'status' value on /reportsDave Arter2015-06-29-0/+10
| |
| * Make load_and_group_problems respect status/category query paramsDave Arter2015-06-29-3/+16
| | | | | | | | | | | | | | This allows the /reports page to be filtered using the status/category dropdowns. This is implemented in a manner that means the t/c params will override status/category.
| * Use a consistent method of filtering by category on /around and /ajaxDave Arter2015-06-29-2/+17
| |
| * Combine all My Reports into a single list, allow filteringSteven Day2015-06-29-22/+53
| |
| * Allow cobrands to override the default 'state' filter for map pinsDave Arter2015-06-29-1/+11
| |
| * Refresh map pins when status dropdown changes, if presentSteven Day2015-06-29-4/+7
| |
| * Allow /ajax to be filtered by statusDave Arter2015-06-29-13/+31
| | | | | | | | | | If present, the 'status' param can be set to 'open' or 'fixed' to display ensure only open or fixed reports respectively are included in the response.
| * Ignore invalid categories in /around query stringDave Arter2015-06-29-4/+35
| |