aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Zoom in to asset if selected when changing asset.M Somerville2020-08-14-1/+7
| | | | | | If you click the change asset button on a report page that was loaded inline from a map list page, you want to see assets around the report and not the centre of the map.
* Merge branch 'inspector-change-asset'M Somerville2020-08-14-46/+150
|\
| * Better UX on mobile for inspector changing asset.M Somerville2020-08-13-1/+24
| | | | | | | | | | Scrolls to map and locks map full screen when change asset pressed; collapse map to finish; displays attribute fields in map overlay.
| * [UK] Add missing hover styles to assets.M Somerville2020-08-13-0/+6
| |
| * When inspector changing asset, prevent background map click.M Somerville2020-08-13-2/+7
| |
| * Only create one admin drag control.M Somerville2020-08-13-1/+4
| | | | | | | | | | | | It was previously creating one on each report you looked at. A side effect of which was upping the z-index of the layer by one each time, making adding asset layers bit trickier.
| * Do not set attribute fields on hidden layers.M Somerville2020-08-13-0/+3
| | | | | | | | | | | | | | | | This did not really matter before because you were either hiding an asset layer (and thus its fields), or selecting a new layer/asset (and so the last thing would be setting the attributes for the new asset. But it was unnecessary, and now we're updating an inspector form and the fields may apply to more than one layer.
| * Allow inspectors to change report asset.M Somerville2020-08-13-17/+78
| | | | | | | | | | This hopefully copes with assets displayed by category or by group, and updates the button to show/hide on category change.
| * Factor together BNG inspector pin field function.M Somerville2020-08-13-22/+20
| | | | | | | | Update all name= fields, that should be fine.
| * Add asset layers at load before visibility changesM Somerville2020-08-13-3/+8
| | | | | | | | | | This is so any SelectFeature layers appear at the end of the layers and the hover/click effects work on them.
* | [Docs] Remove mySociety header from FMS Pro manualZarino Zappia2020-08-14-39/+1
|/ | | | | Matches the corresponding change on the societyworks.org site: https://github.com/mysociety/orgsites/issues/1156
* forking and FastCGI do not play nicely together.M Somerville2020-08-11-20/+15
|
* Offline process for CSV generation.M Somerville2020-08-11-7/+308
| | | | | Include a status page, the option for access token requests to use this system, and a script for manual generation.
* Refactor out CSV generation to its own package.M Somerville2020-08-11-360/+421
|
* [UK] Add recaptcha template.M Somerville2020-08-11-0/+4
|
* [fixmystreet.org] Update "pro" layout to latest SocietyWorks contentZarino Zappia2020-08-11-70/+89
| | | | | | | | | | | | The Pro manual at `/pro-manual` uses a separate jekyll layout that mimics the output of the WordPress site at societyworks.org. Our copy had fallen out of date. This commit: * Updates the Google Fonts requested (was Rubik, now Lato and Lora). * Updates the header nav menu content to match the live site. * Replaces fixmystreet.com/pro URLs with societyworks.org URLs. * Updates the footer legal text to match the live site.
* [Oxfordshire] Switch to our own server for NSG.M Somerville2020-08-10-4/+2
|
* [Oxfordshire] prevent reports on non OCC assetsStruan Donald2020-08-10-1/+72
| | | | also improve contrast between assets and labels
* [Oxfordshire] Add NSG roads layer.Struan Donald2020-08-10-23/+99
| | | | | Prevent reports on areas not on a road for relevant categories, and do not allow reporting on private roads.
* [Oxfordshire] include asset id in open311 descriptionStruan Donald2020-08-10-4/+67
|
* [Oxfordshire] include asset id in council problem emailsStruan Donald2020-08-10-0/+129
|
* [Oxfordshire] add asset layersStruan Donald2020-08-10-10/+155
| | | | Trees, street lights, traffic lights, grit bins and gullies
* [Docs] Add instructions & example for including HTML in notice fieldsDave Arter2020-08-07-0/+44
| | | | For https://github.com/mysociety/fixmystreet-commercial/issues/1905
* [Docs] Remove jekyll-livereload, it’s now included in Jekyll itselfDave Arter2020-08-07-9/+1
|
* Remove use of $c from various functions.M Somerville2020-08-06-112/+114
| | | | This means these functions can more easily be used in a non-web context.
* Add database index for user full text search.M Somerville2020-08-06-20/+29
|
* Perform translate on full text search query too.M Somerville2020-08-06-2/+4
|
* Add extra ordering to search query to force full text index use.Matthew Somerville2020-08-06-1/+6
|
* [Open311] use staff categories when fetching reportsStruan Donald2020-08-06-1/+41
| | | | | | | At the moment if you fetch a report in a staff category it will still be created but will be in the Other category. Given that some staff categories are marked as private this can allow reports that should be private to be put in a public category.
* Handle multipart inspector form in service worker.Struan Donald2020-08-06-9/+76
| | | | | | This manually reconstructs the POST as there is no support for formData in safari, plus our storage mechanism does not handle formData as it's not a simple object.
* Add photo upload field to inspector formChris Mytton2020-08-06-11/+55
| | | | | This adds the code for photo uploads from the regular update form to the inspector form, and adds details to the documentation.
* Extract identical photo upload forms into a partialChris Mytton2020-08-06-48/+26
|
* Do not error in export if report has bad category.M Somerville2020-08-04-5/+8
| | | | | | If category groups are enabled, the CSV export includes a subcategory, but it was only fetching a valid groups value if the row's contact was found.
* [fixmystreet.org] Update legal wording in footerZarino Zappia2020-08-03-2/+4
|
* Lowercase contact email when looking for user.Matthew Somerville2020-08-03-2/+2
|
* Make sure disabled inputs greyed out.Matthew Somerville2020-07-31-0/+3
|
* [Zurich] SDM link internal reports to admin page.Matthew Somerville2020-07-31-0/+2
| | | | | The reports are not visible on the public site, so SDMs need a way to see them.
* [Zurich] SDM can do fewer with internal reports.Matthew Somerville2020-07-31-7/+10
|
* [Zurich] SDMs immediately close internal reports.Matthew Somerville2020-07-31-4/+20
|
* [Zurich] Add button to remove internal flag.Matthew Somerville2020-07-31-13/+48
|
* [Zurich] No admin emails on internal reports.Matthew Somerville2020-07-31-0/+20
|
* [Zurich] Show internal reports on their own page.Matthew Somerville2020-07-31-6/+32
| | | | | The new internal reports is displayed the same as the main summary, and all reports shows both internal/non-internal.
* [Zurich] Mark reports by flagged users non-public.Matthew Somerville2020-07-31-0/+20
|
* [Zurich] Add marking users as government-internal.Matthew Somerville2020-07-31-1/+17
|
* [Zurich] Remove a few test log out/ins.Matthew Somerville2020-07-31-6/+0
|
* [Zurich] Remove unused filter-row.Matthew Somerville2020-07-31-19/+0
|
* [Zurich] Factor out admin index ordering function.Matthew Somerville2020-07-31-13/+14
|
* [Zurich] Factor out admin index list table.Matthew Somerville2020-07-31-62/+28
|
* [Zurich] Factor out user edit form.Matthew Somerville2020-07-31-36/+75
|
* [Zurich] Fix admin search box on some admin pages.Matthew Somerville2020-07-31-1/+1
|