aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * Avoid nesting of #category_meta in report formZarino Zappia2016-09-20-1/+1
| | | | | | | | | | Switching between categories with / without extra questions no longer results in nested `#category_meta` elements.
| * Category selector at top of reporting formZarino Zappia2016-09-20-16/+2
| | | | | | | | | | | | | | Previously only Bristol, Angus, and FMS.com had the category select box at the top of the form. In our experience, this has worked well, and hasn’t affected the usability of the form, so let’s standardize and put it at the top of the form for all cobrands.
| * Include stash in render_fragment calls.Matthew Somerville2016-09-20-2/+1
| |
* | Merge remote-tracking branch ↵Matthew Somerville2016-09-20-77/+135
|\ \ | | | | | | | | | 'origin/issues/forcouncils/89-tidy-report-admin-actions'
| * | Organize report admin actions into single control.Zarino Zappia2016-09-20-76/+134
| | | | | | | | | | | | | | | | | | | | | | | | 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-14/+153
|\ \ \
| * | | Some tests for the Util modules.Matthew Somerville2016-09-20-14/+73
| | | |
| * | | [fixmystreet.com] Noddy fixture script.Matthew Somerville2016-09-20-0/+39
| | | |
| * | | [Zurich] Stop non-WMTS maps erroring.Matthew Somerville2016-09-15-0/+30
| | | | | | | | | | | | | | | | The Zurich noscript map assumes a WMTS map data setup.
| * | | If running a dev site, skip some restrictions.Matthew Somerville2016-09-15-0/+11
| | | | | | | | | | | | | | | | This makes it easier to perform manual testing of cobrands.
* | | | Merge remote-tracking branch 'origin/issues/forcouncils/closeup-wideshot'Matthew Somerville2016-09-20-2/+1
|\ \ \ \
| * | | | Clearer wording for photo adviceZarino Zappia2016-09-20-2/+1
| | |/ / | |/| |
* | | | Merge branch 'issues/forcouncils/57-trusted-users'Dave Arter2016-09-20-29/+127
|\ \ \ \
| * | | | Add ‘trusted’ flag allowing users to make reports directlyDave Arter2016-09-20-6/+106
| | | | | | | | | | | | | | | | | | | | | | | | | When a trusted user makes a report in a category that requires inspection, it'll be sent immediately (i.e. without being inspected first).
| * | | | Remove from_body requirement from User::has_permission_toDave Arter2016-09-20-23/+21
|/ / / /
* / / / Don't reject email when editing Open311 contactsDave Arter2016-09-20-2/+6
|/ / / | | | | | | | | | Fixes (the first part of) #1138.
* | | Fix admin user search for non-superusersDave Arter2016-09-16-9/+11
| | |
* | | [Zurich] Restore admin user edit functionalityDave Arter2016-09-16-4/+4
| | | | | | | | | | | | | | | | | | - Zurich users don't need permission to access user_edit page - from_body can be set to any body by Zurich admin users, not just their own - Don't show the area field on user_edit form
* | | Hide response templates UI if there are no templatesDave Arter2016-09-16-0/+2
|/ /
* | Allow contact form recipient override.Matthew Somerville2016-09-15-0/+5
| |
* | Update contact success message text.Matthew Somerville2016-09-14-3/+3
|/
* [fixmystreet.com] New councils page.Martin Wright2016-09-13-105/+1032
|
* Allow contact form to include extra fields.Matthew Somerville2016-09-13-0/+7
|
* Include any paragraphs in HTML contact submission.Matthew Somerville2016-09-13-1/+1
|
* Merge branch 'issues/forcouncils/64-inspector-automatic-update'Dave Arter2016-09-12-8/+63
|\
| * Require inspector to provide update when instructing reportDave Arter2016-09-12-8/+63
|/ | | | | | | This adds an update field to the bottom of the inspect form, requiring the inspector to provide an update to be added to the report as it's sent. See mysociety/fixmystreetforcouncils#64
* Give select a name to quieten test function.Matthew Somerville2016-09-09-1/+1
|
* Add new category_edit restriction for viewing body admin.Matthew Somerville2016-09-09-127/+43
|
* Admin restrict report/user sections appropriately.Matthew Somerville2016-09-09-6/+10
|
* Admin flagged page for superusers only.Matthew Somerville2016-09-09-13/+12
| | | | Adapt code so that it could be opened up more in future.
* Fix display of timeline times.Matthew Somerville2016-09-09-1/+1
|
* Better generic 403/404 pages.Matthew Somerville2016-09-09-11/+11
| | | | Stop IDs being shown on 404 pages, provide a nicer message on 403 pages.
* Improve look of permissions options in user admin.Matthew Somerville2016-09-09-4/+6
|
* Merge branch 'issues/forcouncils/72-show-extra-data'Matthew Somerville2016-09-09-38/+48
|\
| * Improve display of category extra data in admin.Matthew Somerville2016-09-09-38/+48
| | | | | | | | Allow get_extra_metadata to return all the data with no argument.
* | Add manage screen for editing priority/category.Matthew Somerville2016-09-09-52/+196
|/ | | | | | | This is a cut-down version of the full inspect screen. We truncate the co-ordinates just in case (they should be anyway but e.g. the test report isn't).
* Merge branch 'issues/forcouncils/66-priority-management'Dave Arter2016-09-09-88/+525
|\
| * Refactor problem response priority into its own modelDave Arter2016-09-09-88/+525
|/ | | | | | | 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
* Merge branch 'issues/forcouncils/50-instruct-report'Dave Arter2016-09-09-13/+111
|\
| * Add ‘Inspection required’ field to categoriesDave Arter2016-09-09-13/+111
|/ | | | | | | | | | | 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
* Merge branch 'issues/forcouncils/6-oxfordshire-photo-guidance'Matthew Somerville2016-09-09-22/+40
|\
| * Pluralize "Photos" form label after Dropzone loadsZarino Zappia2016-09-09-12/+30
| | | | | | | | | | A very subtle nudge that you can/should upload multiple photos. With a fallback to singular if Dropzone fails to load for some reason.
| * Show photo guidance for all cobrands.Zarino Zappia2016-09-09-10/+10
| |
* | Merge remote-tracking branch 'github/issues/forcouncils/41-location-guidance'Matthew Somerville2016-09-09-4/+4
|\ \
| * | Improve "Summary" and "Description" form guidanceZarino Zappia2016-09-08-4/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Form labels now describe what the user should do, and placeholders give a supporting example of what their input should look like. Placeholder text in the "Summary" box now suggests that people include a location in their summary. Likewise with a timescale in the "Description" box. Placeholders use potholes as an example, since potholes are the most common complaint on FMS. Maybe eventually we might want to change the placeholder text based on the category the user selects…
* | Add confirm step to Remove from site button.Matthew Somerville2016-09-09-2/+2
| |
* | Remove inline onclick handlers.Matthew Somerville2016-09-09-57/+10
| |
* | Fix form validation issue with multiple IDs.Matthew Somerville2016-09-09-40/+34
| | | | | | | | | | | | Firefox would, on a page that pulled in a report via ajax, only return the reporting form's name field with #form_name. Switch to using a class on the relevant fields.
* | Add validName validation to update form.Matthew Somerville2016-09-09-6/+2
| |
* | Fix scrolling error into view.Matthew Somerville2016-09-09-1/+3
| | | | | | | | Firefox still only scrolls precisely to the focus.