aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
Commit message (Collapse)AuthorAgeLines
* 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
|
* 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-1/+25
|
* Allow cobrands to override the default 'state' filter for map pinsDave Arter2015-06-29-1/+11
|
* 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
|
* Stash category from query params for templates to useSteven Day2015-06-29-0/+1
|
* Filter initial pins by category on /aroundDave Arter2015-06-29-1/+4
|
* Add category filtering support to /ajax via 'category' GET paramDave Arter2015-06-29-11/+14
|
* Simpler report meta information displayZarino Zappia2015-06-29-4/+5
| | | | | Removes the italics, and breaks the wording into two separate paragraphs, at the top of the report page.
* Allow cobrands to specify ordering on all reports pageDave Arter2015-06-29-1/+11
| | | | | Refactor the default ordering into a method on the Default cobrand which can be overridden by subclasses.
* Add hidden_states and updating functions.Hakim Cassimally2015-06-16-32/+64
| | | | To allow visible/hidden states to be manipulated at runtime.
* [Bromley] Improve disambiguation for Mottingham LaneSteven Day2015-06-12-3/+2
| | | | | | | The previous commit added some disambiguation, but it didn't actually work - despite the string working when you search for it directly. This commit improves that, so we just add a postcode to the road name, which definitely works.
* [Bromley] Add more disambiguation for Bromley - Mottingham LaneSteven Day2015-06-12-3/+8
|
* Update Bing Maps parameter ID.Matthew Somerville2015-05-05-3/+4
|
* Merge branch 'issues/commercial/678-open311-and-csv'Hakim Cassimally2015-03-31-9/+60
|\
| * [Zurich] change jurisdiction_id in Open311 exampleHakim Cassimally2015-03-31-0/+12
| |
| * [Zurich] add columns to stats exportHakim Cassimally2015-03-31-10/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Original Report description - Amended Report description (unsure what this is) - Media URL (currently one picture, in the future 1-3 pictures) - Interface used (see open311) - Requested datetime (see open311) (seems to be same as created) - Agency sent datetime (see open311) - Updated datetime (see open311) - Council-Response - title as per https://github.com/mysociety/FixMyStreet-Commercial/issues/678
| * [Zurich] add service_notice based on public_responseHakim Cassimally2015-03-31-0/+6
| | | | | | | | for https://github.com/mysociety/FixMyStreet-Commercial/issues/678
* | [ArreglaMiBarrio] Initial CSS/logo/FAQ.Matthew Somerville2015-03-24-0/+10
|/
* Add Extra role to ease use of {extra} field.Hakim Cassimally2015-03-20-65/+264
| | | | | | | | | Historically, the extra field has been used in two different ways by different cobrands, both as a list (e.g. Open311 category fields) and a hash (e.g. the Zurich cobrand). This commit consolidates usage, adding an API to make use of the field easier and always returning a hash for the code to use. Fixes #1018.
* [Harrogate] show warning banner for NYCC categoriesHakim Cassimally2015-03-20-0/+39
| | | | | | | | | | | | | | | | | | | | Harrogate asked for NYCC managed issues to be linked to that council's website. We don't prevent the issue from being logged, but do show a warning banner. As this is at Harrogate's request, we only do this for the Harrogate cobrand, not the whole site, using a new cobrand hook `munge_category_list` Unfortunately, categories are currently passed to the template as plain text, e.g. not structured data. As a simple implementation, we append "( NYCC)" to the appropriate category names. JS could then strip the names back in future, if required (though we're not doing this.) Instead we add a jQuery hook to show the most appropriate link provided. See https://github.com/mysociety/FixMyStreet-Commercial/issues/703
* [fixmystreet.com] Remove special NI code.Matthew Somerville2015-03-16-128/+76
| | | | | This is now handled by normal bodies in the admin. In order to remove references in send_reports, tidy up (unused) EmptyHomes code a bit.
* [fixmystreet.com] Remove special Report-It code.Matthew Somerville2015-03-13-168/+0
|
* Factor out test contact creation to function.Matthew Somerville2015-03-13-11/+24
|
* Use config variable for setting proxy trust.Matthew Somerville2015-02-24-5/+5
| | | | | | Rather than hardcoding domain names, add a SECURE_PROXY_SSL_HEADER variable that provides a trusted HTTP header and value that can be used to determine if we're behind a HTTPS proxy.
* Support Stamen toner-lite and Bing Maps tiles.Matthew Somerville2015-02-23-47/+81
|
* Tidy up front page and map copyright templates.Matthew Somerville2015-02-23-1/+6
|
* [UK] Output NI grid references to NI councils.Matthew Somerville2015-02-20-12/+17
|
* Use List::MoreUtils, old List::Util lacks none().Matthew Somerville2015-02-20-1/+1
|
* Merge branch '972-completion-adverts'Matthew Somerville2015-02-20-341/+48
|\
| * Add URLs for easy looking at confirmation pages.Matthew Somerville2015-02-19-2/+39
| |
| * Always show confirmation page for reports/updates.Matthew Somerville2015-02-19-27/+8
| | | | | | | | | | Rather than redirecting to the report if they're already logged in. Fixes #1003.
| * Add new "next steps" to bottom of success pages.Zarino Zappia2015-02-19-312/+1
| | | | | | | | Remove the old CrossSell code. Fixes #972.
* | Merge branch 'jonkri-master'Matthew Somerville2015-02-20-113/+7
|\ \ | |/ |/|
| * [FixaMinGata] Remove two unneeded cobrand methodsJon Kristensen2015-02-16-115/+0
| |
| * [FixaMinGata] Differ pin colours based on stateJon Kristensen2015-02-16-0/+9
| |
* | Merge branch 'remove-need-for-en-gb-in-config'Matthew Somerville2015-02-18-10/+10
|\ \