aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand
Commit message (Collapse)AuthorAgeLines
* [Bristol] Always include an email address for Open311 reportsDave Arter2018-02-19-0/+6
|
* [Oxfordshire] Remove response days, add home page message.Matthew Somerville2018-02-15-1/+5
|
* [Bristol] Switch back to own map tiles/assetsDave Arter2018-02-13-1/+1
| | | | This reverts commit 549d1cc66e591cf2da6b5243fbd28c7f40e75f14.
* [Bristol] Switch map to OSM temporarilyDave Arter2018-02-08-1/+1
| | | | maps.bristol.gov.uk is currently offline, so the Bristol map tiles aren’t loading.
* Merge branch 'password-tests'Matthew Somerville2018-02-06-0/+10
|\
| * Add length/common password checking.Matthew Somerville2018-02-06-0/+10
| |
* | [Oxfordshire] Switch mapping style to OS.Matthew Somerville2018-02-01-2/+0
|/
* [Zurich] Allow publishing of individual photos.Matthew Somerville2018-01-18-24/+57
| | | | | When more than one photo has been uploaded, allow each one to be published/not independently.
* [Zurich] Update list of public holidays.Matthew Somerville2018-01-16-6/+21
|
* Add some new Body model helper methods.Matthew Somerville2018-01-03-86/+93
| | | | And use the existing ones more.
* [fixmystreet.com] Marketing page, filterable statsStruan Donald2017-12-15-3/+2
| | | | | Uses the dashboard stats code to display a rough table of stats which can be used as the basis for a chart later
* Consolidate summary statistics pages.Matthew Somerville2017-11-29-1/+0
|
* display council contacts on council dashboardStruan Donald2017-11-28-0/+3
| | | | | | | | Display a list of the email addresses used to contact the council on the council dashboard. Does not display emails if the council has an integration, rejects FMS reports or is currently turned off. Fixes mysociety/fixmystreetforcouncils#941
* Allow cobrands to disable moderation emailsDave Arter2017-11-22-0/+15
| | | | | | | This adds a new send_moderation_notifications method which can be overridden by cobrands to prevent “your report has been moderated” emails from being sent. Fixes mysociety/fixmystreet-commercial#936
* Move map JS to code, to be used on all pages.Matthew Somerville2017-11-15-0/+2
|
* [fixmystreet.com] No social login on UK councils.Dave Arter2017-11-08-0/+2
|
* Allow individual cobrands to disable Facebook/Twitter loginDave Arter2017-11-08-1/+5
| | | | This means FB/Twitter login is disabled even if FACEBOOK_APP_ID/TWITTER_KEY are set.
* cobrand option to control prefilling of report fields for inspectorsStruan Donald2017-11-06-0/+4
| | | | | | | | | | Add a `prefill_report_fields_for_inspectors` config to cobrands, defaulted to 0, to control the automatic pre-population of report fields. Also add default of 1 for UKCouncil cobrand. Fixed #1854
* Fix warning in contact test.Matthew Somerville2017-11-06-4/+3
|
* Remove Show all pins link and on_map_list_limit.Matthew Somerville2017-11-06-24/+0
| | | | | /around will now show all reports all the time, but we are about to introduce pagination to stop that.
* Merge branch 'reports-dashboard-councils'Matthew Somerville2017-10-20-1/+97
|\
| * [fixmystreet.com] Council pages only from council.Matthew Somerville2017-10-20-1/+97
| |
* | Remove hidden from default staff state dropdown.Matthew Somerville2017-10-18-1/+0
| |
* | [Oxfordshire] Add initials/traffic to RDI desc.Matthew Somerville2017-10-18-1/+1
|/
* Upgrade commonlib to read in config as Unicode.Matthew Somerville2017-10-10-5/+2
| | | | This means variables do not need decoding in a few places.
* set maximum length of report detailed_information in cobrandStruan Donald2017-09-27-0/+4
|
* [Warwickshire] Don’t send questionnairesDave Arter2017-09-26-0/+2
|
* area stats page for staff usersStruan Donald2017-09-20-0/+1
| | | | | | | | | Admin page to show some simple summary stats for an area. If the user has been assigned to an area then they will see the stats for that area. Superusers can pick which area they want to view. For mysociety/fixmystreetforcouncils#2
* Version 2.2.Matthew Somerville2017-09-13-1/+1
| | | | | Couple of missed strings for translation, and prevent a couple of warnings in tests.
* Merge branch '866-alerts-ux-simpler'Matthew Somerville2017-09-06-8/+8
|\
| * Simpler alerts signup page.Zarino Zappia2017-09-06-8/+8
| | | | | | | | | | | | Alert options on the /alert/list page are now in an order that is easier to parse, with a slightly clearer message for users in two-tier locations, and a more prominent email subscription CTA.
* | [Borsetshire] Use Oxfordshire pin images.Matthew Somerville2017-09-06-4/+8
|/
* Merge branch 'move-report-states-to-database'Matthew Somerville2017-08-31-6/+36
|\
| * Admin interface for editing report states.Matthew Somerville2017-08-31-0/+1
| |
| * Remove hardcoded states from templates.Matthew Somerville2017-08-31-6/+35
| | | | | | | | | | | | | | | | | | | | | | State display names are now got from the database wherever they are displayed, including admin dropdowns, list filters, and update meta statements. This also covers the open/closed/fixed 'groups'. This also fixes a bug whereby if e.g. an update has problem_state investigating, the next update has no problem_state, and the last update has investigating again, it was previously showing a state change to investigating on that third update.
* | Merge branch 'some-dev-improvements'Matthew Somerville2017-08-29-0/+2
|\ \ | |/ |/|
| * Add debug toolbar middleware.Matthew Somerville2017-08-29-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If debug is enabled, using the CATALYST_DEBUG/FIXMYSTREET_APP_DEBUG environment variables, add a debug toolbar to the output, including request/response details and a database query log. This uses Plack middleware, so works by switching our dev server to use Starman with plack directly, rather than via the script runner. We remove the GZip compression as this interferes, and take a local copy of the QueryLog::AdoptPlack trait as it needs a tweak to work. Make sure the CSP header is not output in debug mode, as that would prevent the toolbar JavaScript from running.
* | [Zurich] Move Zurich specific setup to its cobrand.Matthew Somerville2017-08-25-0/+5
|/
* [Bristol] Fix 500 error on /report/newDave Arter2017-08-21-1/+1
|
* Add site-wide extra fields for reports, and admin UI to manageDave Arter2017-08-17-0/+15
| | | | | | | - Also provides an editor for the extra Open311 fields on contacts. - Adds .btn--small class for small buttons Fixes #1743.
* enable body users to report problems anonymouslyStruan Donald2017-08-16-0/+1
| | | | | | uses the body user but flags the report as anonymous Fixes #fixmystreetforcouncils/207
* Set up translatable category columns.Matthew Somerville2017-08-10-2/+2
| | | | | | As category is used both for display and as a link between Problem and Contact tables, add `category_display` for use whenever a category is displayed.
* Set up translatable body name.Matthew Somerville2017-08-09-0/+2
|
* Stop using mySociety::Web and mySociety::Sundries.Matthew Somerville2017-07-06-1/+1
| | | | | Both uses can be covered by existing modules. This means we can drop FCGI also.
* [UK Councils] Show all pins only on two-tiersDave Arter2017-06-26-0/+7
| | | | Fixes mysociety/fixmystreet-commercial#859
* [UK] Remove requirement for fixed body IDs.Matthew Somerville2017-06-20-31/+37
| | | | | | | | | | | | Historically in UK cobrands, bodies have had IDs the same as the MapIt area ID they cover. This can be confusing (if you are setting up a dev environment, say) and should not be necessary. This commit removes the requirement entirely, by switching any ID checks to either the name of the body, or the actual area it covers. One note: the body name in the test has to match so that we do not get two bodies both covering 2237 created. This will not be necessary when the tests are compartmentalized in the next commit.
* [Borsetshire] New cobrand for fictional councilZarino Zappia2017-06-15-0/+28
|
* [Oxfordshire] Show problem state in marker tooltipZarino Zappia2017-06-10-0/+8
| | | | Add hook so that cobrands can change pin hover title.
* [Oxfordshire] Custom pin images with iconsZarino Zappia2017-06-09-3/+11
| | | | | | | Oxfordshire map pins now have icons on, and some use different colours, to better communicate the status of reports. Fixes mysociety/fixmystreetforcouncils#170
* Allow cobrands to define pin colour for new reportsZarino Zappia2017-06-09-0/+9
| | | | | | Previously, a green marker would be used for reports as they were being created. Now, cobrands can override `pin_new_report_colour` to show a different pin image when users are creating a new report.