aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Add hook for per-row questionnaire override.Matthew Somerville2018-09-13-3/+42
|
* Merge branch 'customisable-dashboard-charts'Zarino Zappia2018-09-13-2/+4
|\
| * .js-make-bar-chart now accepts custom chart/bar dimensionsZarino Zappia2018-09-13-2/+4
| | | | | | | | | | | | We needed this for Collideoscope, where we’re displaying small bar charts on the Statistics page, and the default bar height of 30px was much too small when the chart was reduced in size.
* | allow web based use of report importStruan Donald2018-09-13-1/+25
| | | | | | | | | | | | | | | | if a web parameter is passed to /import then display the email confirmation sent page rather than a SUCCESS message. Enables this page to be used for creating partial reports from a web page. For mysociety/collideoscope#17
* | Add cobrand hook for disallowing title moderation.Matthew Somerville2018-09-13-4/+48
|/
* [Bromley] Use service_sub_code codes, not text.Matthew Somerville2018-09-12-5/+5
| | | | Couple of texts have newlines in them, and may change anyway.
* Merge branch 'asset-consolidation'Matthew Somerville2018-09-12-45/+62
|\
| * Move get_select_control/select_nearest_asset inside class.Matthew Somerville2018-09-12-32/+32
| |
| * [Bromley] Use service_sub_code for asset display.Matthew Somerville2018-09-12-1/+17
| |
| * Move check_layer_relevant to layer.relevant.Matthew Somerville2018-09-11-12/+13
| |
* | Prevent scan of all problems on /_dev pages.Matthew Somerville2018-09-12-5/+6
| |
* | pull out reports group_by code to methodStruan Donald2018-09-12-9/+16
| | | | | | | | So we can use this in collideoscope
* | add end argument to loop_periodStruan Donald2018-09-12-5/+6
| | | | | | | | | | So we can use it for collideoscope which does not use a fixed end period.
* | make fixed reports line on reports graph optionalStruan Donald2018-09-12-11/+16
| | | | | | | | | | Collideoscope doesn't have fixed reports so only add a line for fixed reports if there is data.
* | move body stats page code to own methodStruan Donald2018-09-12-8/+19
| | | | | | | | Enables this to be used in cobrand hooks for reports data
* | do not generate labels for empty dashboard graphsStruan Donald2018-09-12-0/+3
| | | | | | | | | | Avoid a JS error if a line graph has no points. This is mostly useful for collideoscope where we only want to show one line.
* | [Zurich] use report_page_data cobrand hookStruan Donald2018-09-12-23/+25
| | | | | | | | remove hard coded report page behaviour
* | hook to allow cobrand to generate reports page dataStruan Donald2018-09-12-0/+4
|/
* [Bromley] Update asset for category changes.Matthew Somerville2018-09-11-5/+29
|
* [Buckinghamshire] Do not report on non-Bucks roadsMatthew Somerville2018-09-10-3/+5
| | | | | | Sending to Bucks reports made on non-Bucks roads was only disabled if Bucks was the only body concerned; flytipping is a concern of both tiers, but reports on non-Bucks roads should still not be sent to Bucks.
* Change KML to GeoJSON in OpenLayers.fixmystreet.js.Matthew Somerville2018-09-07-400/+320
| | | | GeoJSON is used by the /reports page now, not KML.
* Version 2.4.v2.4Matthew Somerville2018-09-06-16399/+38400
|
* Fix reference issue in can_moderate.Matthew Somerville2018-09-06-2/+2
| | | | Arguments in TT functions are passed as a hashref.
* Update user object before attempting sign-in.Matthew Somerville2018-09-06-1/+5
| | | | | This prevents leaking of user account phone number on a failed login attempt.
* Check all contacts for metadata and non-public.Matthew Somerville2018-09-06-6/+13
| | | | | | Previously it would only check the first matching entry, which could miss out on information if two bodies had the same category and only the second one looked at had metadata, or was marked as non-public.
* Merge branch 'issues/collideoscope/44-home-clickable'Matthew Somerville2018-09-04-1/+2
|\
| * Make sure Home clickable with Try again overlay.Matthew Somerville2018-08-28-1/+2
| |
* | Do not try and moderate questionnaire responses.Matthew Somerville2018-08-31-1/+1
| |
* | Convert all single newlines, not only first.Matthew Somerville2018-08-31-1/+2
| |
* | [UK] utility script to generate stats for DefraStruan Donald2018-08-30-0/+69
| |
* | Check resolutions exist before zooming asset layerMatthew Somerville2018-08-30-1/+1
| | | | | | | | | | It is possible to get here on e.g. a /report/new page load where the asset is being shown but hasn't yet been added to the map.
* | Include report in _dev confirm_report_sent email.Matthew Somerville2018-08-30-0/+1
| |
* | [Bristol] Fix spot asset layer display.Matthew Somerville2018-08-29-2/+6
| | | | | | | | | | | | Confusion over client/server side filtering meant Bristol was filtering client-side on an attribute it was not asking to be returned by the server.
* | Do not delete other category extras on first matchMatthew Somerville2018-08-29-8/+2
| |
* | Merge branch 'issues/collideoscope/30-user-moderation'Matthew Somerville2018-08-29-165/+121
|\ \
| * | Allow cobrand to add extra ability to moderate.Matthew Somerville2018-08-29-21/+38
| | |
| * | Move moderation check to own function, tidy up.Matthew Somerville2018-08-28-6/+15
| | |
| * | Refactor together similar moderate functions.Matthew Somerville2018-08-28-141/+71
| | |
* | | Merge branch 'dev-confirmation-pages'Matthew Somerville2018-08-29-58/+200
|\ \ \
| * | | Move all test endpoints under /_dev.Zarino Zappia2018-08-29-58/+200
| |/ /
* | / Check we have by-category data/map before action.Matthew Somerville2018-08-29-1/+8
| |/ |/|
* | Use site name in contact email subject line.Matthew Somerville2018-08-28-2/+3
| |
* | Remove need for category_extras ajax call.Matthew Somerville2018-08-28-111/+154
|/ | | | | | Add by_category output to the /report/new/ajax call, containing all the data that /report/new/category_extras returns for one category. Then alter the JS to use that data immediately when needed.
* Update commonlib for MapIt base fix.Matthew Somerville2018-08-24-0/+0
|
* [Bromley] Include ID/PROW in title only if given.Matthew Somerville2018-08-24-0/+1
|
* [Lincolnshire] Link logo to Lincs homepageDave Arter2018-08-24-1/+1
|
* only try and set fields from layer attributes if existStruan Donald2018-08-23-4/+12
| | | | | If a layer doesn't have attributes the set_fields_from_attributes function dies because $.each doesn't like undefined things.
* Repeat of 0e497596.Matthew Somerville2018-08-23-1/+15
| | | | Include instructions to fork to prevent this happening again.
* Remove unused parts of OpenLayers.Matthew Somerville2018-08-23-69/+50
|
* [Zurich] Use HTTPS map tiles, update OpenLayers.Matthew Somerville2018-08-22-436/+443
|