Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | | Fix bug specifying category in URL on /around. | Matthew Somerville | 2018-01-04 | -1/+1 | |
|/ | | | | The list of existing categories wasn't being checked correctly. | ||||
* | Ignore deleted/area-less bodies in dashboard list. | Matthew Somerville | 2018-01-03 | -1/+2 | |
| | |||||
* | Prefetch translations in /reports list of bodies. | Matthew Somerville | 2018-01-03 | -1/+1 | |
| | |||||
* | Add some new Body model helper methods. | Matthew Somerville | 2018-01-03 | -131/+177 | |
| | | | | And use the existing ones more. | ||||
* | Merge branch 'version-2.3'v2.3 | Matthew Somerville | 2017-12-18 | -1/+1 | |
|\ | |||||
| * | Fix spelling of administrator. | Matthew Somerville | 2017-12-15 | -1/+1 | |
| | | |||||
* | | Generate state_map later on, for use by bar chart. | Matthew Somerville | 2017-12-15 | -10/+3 | |
|/ | | | | | | The summary page calls generate_grouped_data, which requires state_map in order to sort the states appropriately, so generate it there rather than earlier. | ||||
* | Merge branch 'issues/forcouncils/939-new-chart-marketing-dashboard' | Matthew Somerville | 2017-12-15 | -106/+265 | |
|\ | |||||
| * | [fixmystreet.com] CSV download from marketing page | Struan Donald | 2017-12-15 | -63/+138 | |
| | | | | | | | | | | | | Limited to most recent 100 rows and not full data. Factor the two CSV generations together. | ||||
| * | [fixmystreet.com] Council average response time. | Struan Donald | 2017-12-15 | -24/+40 | |
| | | |||||
| * | [fixmystreet.com] Marketing page, filterable stats | Struan Donald | 2017-12-15 | -19/+87 | |
| | | | | | | | | | | Uses the dashboard stats code to display a rough table of stats which can be used as the basis for a chart later | ||||
* | | Merge branch 'yodenuncio' | Matthew Somerville | 2017-12-13 | -12/+37 | |
|\ \ | |/ |/| | |||||
| * | Include JSON of extra fields in category_extras. | Dave Arter | 2017-12-13 | -0/+21 | |
| | | |||||
| * | Bypass /around from postcode form if required. | Dave Arter | 2017-12-13 | -12/+16 | |
| | | | | | | | | | | | | | | | | | | | | Cobrands can provide a `skip_around_page` method which means the user will be taken from the front page form directly to /report/new with a pin in the map at the location entered. This also preserves the category parameter, if specified on the front page form. Fixes #1730. | ||||
* | | Merge branch 'issues/forcouncils/261-rdi-check' | Matthew Somerville | 2017-12-13 | -11/+19 | |
|\ \ | |||||
| * | | Fix issues with send method category change. | Matthew Somerville | 2017-12-13 | -8/+5 | |
| | | | | | | | | | | | | | | | | | | Use the send method recorded at the time of sending, not the current one (it may have changed since), and only resend if the new send methods are not a subset of the old. | ||||
| * | | Store all successful send methods. | Matthew Somerville | 2017-12-13 | -3/+14 | |
| | | | |||||
* | | | Merge branch 'jquery-needed-some-places-it-is-not' | Matthew Somerville | 2017-12-13 | -0/+2 | |
|\ \ \ | |||||
| * | | | [UK] Make sure jQuery is loaded where it is needed | Matthew Somerville | 2017-12-12 | -0/+2 | |
| | |/ | |/| | | | | | | | | | | | | | | | | Bromley uses jQuery for its A-Z on all pages; only load Bristol map JavaScript on map pages (same as Angus); drop Oxfordshire JS use of jQuery; fix Zurich load order; and improve jQuery checking in other JavaScript. | ||||
* / | | [fixmystreet.com] Improve fixture descriptions. | Matthew Somerville | 2017-12-07 | -1/+1 | |
|/ / | |||||
* / | Add opt-in cobrand hook for category groups | Dave Arter | 2017-12-06 | -9/+11 | |
|/ | |||||
* | Merge branch 'issues/forcouncils/264-stop-csv-human-dates' | Matthew Somerville | 2017-12-05 | -11/+18 | |
|\ | |||||
| * | Stop using 'readable' dates in CSV export. | Matthew Somerville | 2017-12-01 | -9/+9 | |
| | | | | | | | | We want machine-readable dates in a data export. | ||||
| * | Fix potential update issues with CSV export. | Matthew Somerville | 2017-11-30 | -1/+2 | |
| | | | | | | | | | | Only look at confirmed updates, and spot updates using mark_fixed and not problem_state (e.g. questionnaire responses). | ||||
| * | Fix issues with Problem->as_hashref. | Matthew Somerville | 2017-11-30 | -2/+8 | |
| | | | | | | | | | | Include actual times, not just human-readable ones, and make sure state is translated correctly. | ||||
* | | Group categories on new report form | Dave Arter | 2017-12-05 | -3/+15 | |
| | | | | | | | | Ensures ‘Other’ group is last in the list, if it exists. | ||||
* | | Only allow one auto-response template per category/state. | Dave Arter | 2017-12-04 | -6/+47 | |
|/ | |||||
* | Merge branch '1919-consolidate-statistics' | Matthew Somerville | 2017-11-29 | -564/+271 | |
|\ | |||||
| * | Consolidate summary statistics pages. | Matthew Somerville | 2017-11-29 | -496/+196 | |
| | | |||||
| * | Refactor stats pages to their own controller. | Matthew Somerville | 2017-11-29 | -150/+157 | |
| | | |||||
* | | allow dashboard CSV export access using token auth | Struan Donald | 2017-11-29 | -0/+4 | |
| | | |||||
* | | Staff user page for generating an access token. | Struan Donald | 2017-11-29 | -0/+22 | |
| | | | | | | | | | | Adds a link from /my to a page for generating an access token which is then stored in the user's extra field. | ||||
* | | Add an access token authentication credential. | Matthew Somerville | 2017-11-29 | -0/+15 | |
|/ | | | | This allows access if you have a token associated with your user. | ||||
* | display council contacts on council dashboard | Struan Donald | 2017-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 | ||||
* | Ensure calculated lat/lon are sent to DB in correct format | Dave Arter | 2017-11-24 | -6/+6 | |
| | | | | | | | | When viewing /around without the `js=1` parameter in a Spanish locale the incorrect decimal separator was being passed to the DB query, causing a crash. Fixes mysociety/fixmystreet-commercial#942 | ||||
* | Reinstate appcache_enabled staging flag | Dave Arter | 2017-11-24 | -1/+2 | |
| | | | | | This can optionally disable appcache for superusers which can be handy in development. | ||||
* | Allow cobrands to disable moderation emails | Dave Arter | 2017-11-22 | -1/+16 | |
| | | | | | | | 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 | ||||
* | Treat dashboard end date as that given, inclusive. | Matthew Somerville | 2017-11-16 | -2/+3 | |
| | | | | | If someone selects 15-16th November, they want reports from both those dates, not just the 15th. | ||||
* | Merge branch '1901-js-deferring' | Matthew Somerville | 2017-11-15 | -9/+94 | |
|\ | | | | | | | Updated geolocation.js with concurrent changes. | ||||
| * | Move map JS to code, to be used on all pages. | Matthew Somerville | 2017-11-15 | -6/+93 | |
| | | |||||
| * | Only include offline JavaScript if needed. | Matthew Somerville | 2017-11-15 | -3/+1 | |
| | | |||||
* | | Merge branch '1905-fix-broken-geocoder-results' | Matthew Somerville | 2017-11-15 | -2/+6 | |
|\ \ | |||||
| * | | Make sure returned geocoder data is UTF-8 decoded. | Matthew Somerville | 2017-11-15 | -1/+5 | |
| | | | | | | | | | | | | | | | | | | It turns out that HTTP::Message (as used by LWP::Simple::get) only decodes text/* and 'XML', not application/json, as used by all the geocoders. Work around this, hopefully in a future-proof way. | ||||
| * | | Sort geocoder query parameters in URL. | Matthew Somerville | 2017-11-15 | -1/+1 | |
| |/ | | | | | | | This means there should only be one cache entry per request. | ||||
* / | add date range options to council dashboard | Struan Donald | 2017-11-14 | -0/+21 | |
|/ | |||||
* | [fixmystreet.com] No social login on UK councils. | Dave Arter | 2017-11-08 | -0/+2 | |
| | |||||
* | Allow individual cobrands to disable Facebook/Twitter login | Dave Arter | 2017-11-08 | -1/+5 | |
| | | | | This means FB/Twitter login is disabled even if FACEBOOK_APP_ID/TWITTER_KEY are set. | ||||
* | allow admin to unban a user | Struan Donald | 2017-11-07 | -3/+27 | |
| | | | | | | | Add an unban button to the user edit page when a user is in the abuse table. Fixes #1881 | ||||
* | do not override template when displaying body contacts as text | Struan Donald | 2017-11-07 | -1/+4 | |
| | | | | | | | move setting the body template to before `fetch_contacts` so it doesn't override setting the text only email address template. Fixes #1895 | ||||
* | Fix issue editing user previously lacking a name. | Matthew Somerville | 2017-11-07 | -3/+4 | |
| | | | | | The check that a name was entered was testing the user's current name, not the name entered in the form. |