aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand
Commit message (Collapse)AuthorAgeLines
* [FiksGataMi] Fix viewing countiesMarius Halden2017-05-30-1/+1
|
* Merge tag 'v2.0.4' into fiksgatami-devMarius Halden2017-05-28-475/+235
|\
| * Don't error when devolved body, blank send methodsMatthew Somerville2017-04-12-7/+5
| | | | | | | | | | | | | | The check assumed that if a body was devolved, either the contact or the body would have a send method. Instead, use a contact send method if devolved and it exists, a body send method if it exists or the fallback if neither. Fixes #1374.
| * [SeeSomething] Remove cobrand.Matthew Somerville2017-03-31-135/+0
| |
| * Merge branch 'dominican-republic-improvements'Matthew Somerville2017-03-31-2/+2
| |\
| | * Improve translatability of various pages.Dave Arter2017-03-30-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit makes the following parts of the site translatable: - Social login buttons - Moderation UI - Offline glitch page & offline caching UI - Dashboard It also fixes a bug in the nget parser, stops some Oxfordshire bits being translated for the moment, and brings the translation file up to date.
| * | Use OSM geocoder for Bristolpezholio2017-03-30-0/+4
| |/
| * Add customisable defect types.Dave Arter2017-03-23-1/+21
| | | | | | | | | | | | | | | | | | Problems can have an associated defect type, that can be assigned during an inspection. Include an admin interface for managing these types, that can also be assigned on a per-category basis, currently available to the Oxfordshire cobrand. (Also include 'TM' in traffic management Exor RDI output.)
| * [fixmystreet.com] Fix WestBerkshire cobrand.Matthew Somerville2017-03-17-1/+1
| |
| * [fixmystreet.com] Remove friendly A/B test.Matthew Somerville2017-03-16-21/+0
| | | | | | | | This has been running for a year, added in e17eb20.
| * Refactor SendReport::Open311 to use cobrand hooks.Matthew Somerville2017-03-09-7/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid doing cobrand-specific logic within SendReport::Open311. The hooks defined are: open311_config: set extra fields open311_pre_send: set endpoints and munge data These are tested in the new t/app/sendreport/open311.t, which does not send any actual reports, but just checks that all the data is munged into the expected format. (tests under t/open311* should already test the actual sending) Remove unused Open311 special cases.
| * [Oxfordshire] Use 'days ago' format on problem listspezholio2017-02-27-0/+13
| | | | | | | | Fixes mysociety/fixmystreetforcouncils#98
| * [Oxfordshire] Add Exor RDI file download featureDave Arter2017-02-15-2/+26
| | | | | | | | | | | | | | | | | | | | The RDI file format encapsulates information about inspections that have taken place, and can be uploaded into Exor to create defects in bulk. This commit adds a page to the Oxfordshire cobrand's admin allowing RDI files to be generated and downloaded from FMS. For mysociety/fixmystreetforcouncils#127
| * [Oxfordshire] Add initials field to admin user edit formDave Arter2017-02-15-0/+10
| |
| * Allow cobrands to control which states affect reputationDave Arter2017-02-15-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | Rather than assigning +1 to a user's reputation every time a report is inspected, this allows cobrands to specify which states should increment or decrement the reputation value when a report is inspected. The default behaviour is for reputation to never be changed, but the Oxfordshire cobrand will increment the reputation when a report is marked as 'action scheduled'. For mysociety/fixmystreetforcouncils#119
| * Add cobrand call_hook fn, calls a fn if defined.Matthew Somerville2017-02-15-0/+12
| |
| * [Harrogate] Remove unused cobrandDave Arter2017-02-09-290/+0
| |
| * [Oxfordshire] Allow cobrand-specific traffic management optionsDave Arter2017-02-08-0/+16
| | | | | | | | Fixes mysociety/fixmystreetforcouncils#159
| * [Greenwich] Reduce on-map age further to 21 daysDave Arter2017-02-03-1/+1
| |
| * Call base_url_with_lang in base_url_for_report.Altin Ukshini2017-02-03-3/+3
| | | | | | | | | | | | This function is used e.g. in report lists, and if you were using the multiple language subdomain functionality, those links could take you to a different language.
| * [Greenwich] Show reports up to 3 months old by defaultDave Arter2017-01-27-0/+4
| |
| * [Greenwich] Show 20 reports per page instead of 100Dave Arter2017-01-19-0/+2
| |
| * Add permision to view contributor detailspezholio2017-01-17-0/+2
| |
| * Move staging flags to their own config variable.Matthew Somerville2017-01-10-5/+5
| |
| * Update has_body_permission_to to allow superusers.Matthew Somerville2017-01-10-5/+5
| |
| * Add offline support of static files/fallback page.Matthew Somerville2016-12-16-0/+14
| | | | | | | | | | Use a list to store JavaScript files, so it can be shared between the HTML footer and the appcache manifest.
* | Merge tag 'v2.0.1' into fiksgatami-dev-v2Marius Halden2016-12-16-4/+14
|\|
| * [UK] Include specific domain in user search.Matthew Somerville2016-11-25-4/+13
| | | | | | | | | | This deals with a bootstrapping issue of adding new admin users that haven't yet interacted with the system.
| * [Zurich] Fix accidentally hidden category extra fieldsDave Arter2016-11-24-0/+1
| |
* | Fiks "/reports/Oslo" og "/reports/By,Fylke"Marius Halden2016-12-15-16/+23
| |
* | Add colours to map markersMarius Halden2016-12-15-0/+7
|/
* [UK] Hide usrn/asset_id Open311 fields.Matthew Somerville2016-11-11-0/+14
|
* Add sort order options to list pages.Matthew Somerville2016-11-04-2/+2
| | | | | | | | Includes newest, oldest, least/most recently updated, and most comments. The default remains the same, which is last updated on /reports, and newest on /my and /around (the latter plus not-in-view sorted-by-distance ones).
* Hide confirmed column if all categories confirmed.Matthew Somerville2016-10-24-1/+2
|
* Use default link zoom for all map types.Matthew Somerville2016-10-21-30/+17
| | | | [Bristol] Use more zoomed-in default link zoom.
* Merge remote-tracking branch ↵Matthew Somerville2016-09-20-1/+1
|\ | | | | | | 'origin/issues/forcouncils/89-tidy-report-admin-actions'
| * Organize report admin actions into single control.Zarino Zappia2016-09-20-1/+1
| | | | | | | | | | | | | | | | As part of this, rename "planned reports" to "shortlist". The `.segmented-control` component now supports basic usage (as in the admin report actions menu bar) and usage with hidden radio inputs and labels (as on the report questionnaire page).
* | Merge branch '1529-cobrand-testing'Matthew Somerville2016-09-20-0/+8
|\ \
| * | If running a dev site, skip some restrictions.Matthew Somerville2016-09-15-0/+8
| |/ | | | | | | This makes it easier to perform manual testing of cobrands.
* / Add ‘trusted’ flag allowing users to make reports directlyDave Arter2016-09-20-0/+6
|/ | | | | When a trusted user makes a report in a category that requires inspection, it'll be sent immediately (i.e. without being inspected first).
* Add new category_edit restriction for viewing body admin.Matthew Somerville2016-09-09-2/+5
|
* Admin restrict report/user sections appropriately.Matthew Somerville2016-09-09-6/+10
|
* Admin flagged page for superusers only.Matthew Somerville2016-09-09-5/+5
| | | | Adapt code so that it could be opened up more in future.
* Refactor problem response priority into its own modelDave Arter2016-09-09-16/+12
| | | | | | | This moves the response priority values from a cobrand-specific method to a full DB model, and includes management screens in the admin for administering them. For mysociety/fixmystreetforcouncils#66
* Add ‘Inspection required’ field to categoriesDave Arter2016-09-09-9/+9
| | | | | | | | | | | Categories can now require reports to be marked as 'inspected' via the frontend before they're sent by send-reports. A side-effect here is that send-reports will perform an extra n queries for each report, where n is the number of bodies that report is being sent to, but hopefully in practice this won't matter as it's an offline cronjob. See mysociety/fixmystreetforcouncils#50
* [Oxfordshire] Display confirmed reports as received by the CouncilDave Arter2016-09-08-0/+5
| | | | | | | | This introduces a new `is_council_with_case_management` flag for Cobrands, that, when active, considers any report that's been confirmed as having been received by the Council in question. See mysociety/fixmystreetforcouncils#65
* Extend response templates to work across all cobrandsDave Arter2016-09-08-1/+10
| | | | | | | | | | | This builds on the response templates in the Zürich cobrand: - Allow response templates to be assigned to categories - Also adds a auto_response flag, which will be used to automatically create updates when reports are made. - Include response templates select box on update form For mysociety/fixmystreetforcouncils#31
* Merge branch 'issues/forcouncils/60-mapping-layer'Matthew Somerville2016-09-06-0/+2
|\
| * [Oxfordshire] Set map type to OSM.Matthew Somerville2016-09-06-0/+2
| |
* | Add inspector report detail viewDave Arter2016-09-06-0/+9
|/ | | | | | | | | | | | | Users with the `report_inspect` permission can click a new 'inspect' button on a report page to input more detailed problem information into a new form that appears in a column alongside the report detail. - Inspector data is stored in problem's 'extra' field - Report category/state can be edited - Location can be changed by dragging the pin or HTML5 geolocation (Factored out Zurich admin pin drag into own function) For mysociety/fixmystreetforcouncils#22