aboutsummaryrefslogtreecommitdiffstats
path: root/web
Commit message (Collapse)AuthorAgeLines
...
| * [fixmystreet.com] Council pages only from council.Matthew Somerville2017-10-20-1/+1
| |
* | [Borsetshire] Update password-less login for new "username" fieldZarino Zappia2017-10-20-2/+2
| |
* | select all applicable filter states on report pageStruan Donald2017-10-18-6/+16
|/ | | | | | | | | | Make sure that all relevant options in the filter status drop down are checked to handle staff users who can see the full set of states and not just open, closed and fixed Also restore custom label for no states checked. Fixes mysociety/forcouncils#227
* Add expand map toggle to more mobile maps.Matthew Somerville2017-10-09-1/+1
| | | | | Any map bar the already-full-screen /around map could benefit from the expand map option, especially the list of your reports.
* Stop loading spinner covering map.Matthew Somerville2017-10-09-18/+25
| | | | | | A full modal made it hard to perform multiple zooms/pans, making the site slower to use than necessary. Tell the user the site is updating, but let them interact with the map at the same time.
* Allow verify/change/add email/phone in profile.Matthew Somerville2017-09-30-0/+2
| | | | | | This expands the 'change email' functionality to work with phone number also, allow addition of missing details, and verifying of unverified details.
* Add ability to confirm reports/updates via text.Matthew Somerville2017-09-30-3/+15
|
* Add ability to log in on /auth via text.Matthew Somerville2017-09-30-1/+7
| | | | A confirmation code is sent via Twilio to be entered on the site.
* characters left counter for detailed informationStruan Donald2017-09-27-0/+21
|
* Reduce filesize of sprite.pngZarino Zappia2017-09-26-0/+0
| | | | | web/cobrands/fixmystreet/images/sprite.png is loaded by most cobrands. Optimising it reduced the filesize from 97 KB to 36 KB.
* [Warwickshire] Update styling to match new council websiteZarino Zappia2017-09-26-631/+4592
| | | | Fixes mysociety/fixmystreet-commercial#920.
* [Zurich] Fix map offset bug.Matthew Somerville2017-09-20-13/+4
| | | | | | | | | The upgrade to OpenLayers in 31b8337e3 was not accompanied by fixing the tileOrigin manually tweaked as an old workaround. This moved the map c. 100m out of alignment. Bristol fixed this in a7f60abb by adding topLeftCorners, but this is better done by fixing origin_x/y.
* Make sure pin ID is an integer.Matthew Somerville2017-09-07-2/+3
| | | | | | | | | | The JavaScript assumes it is, but due to a string comparison in DBIx::Class [1] when a has_many prefetch is in use (as it is on a /reports page when a shortlist-using staff user is logged in) all IDs bar the first were being given an internal string value and JSON encoding was outputting them as a string. [1] https://github.com/dbsrgits/dbix-class/blob/v0.08209/lib/DBIx/Class/ResultSet.pm#L1331
* Merge branch '866-alerts-ux-simpler'Matthew Somerville2017-09-06-1/+35
|\
| * Simpler alerts signup page.Zarino Zappia2017-09-06-1/+35
| | | | | | | | | | | | Alert options on the /alert/list page are now in an order that is easier to parse, with a slightly clearer message for users in two-tier locations, and a more prominent email subscription CTA.
* | [Borsetshire] Redirect users variously on login.Matthew Somerville2017-09-06-1/+18
|/
* Fix redisplay of uploaded photo thumbnails.Matthew Somerville2017-08-23-2/+6
| | | | | Dropzone version 5 changed how createThumbnailFromUrl was called, so the upgrade in 30dd9d8 broke this.
* [Zurich] Upgrade OpenLayers to master, matching others.Matthew Somerville2017-08-18-1376/+621
|
* Make sure /around permalink/redirect have js paramMatthew Somerville2017-08-18-0/+5
| | | | | The change in 17e38922 would not deal with the URL construted by the map permalink code, or the redirect after inspection.
* Merge branch 'js-you-only-load-once'Matthew Somerville2017-08-17-13/+13
|\
| * Do not fetch pins server side if JS enabled.Matthew Somerville2017-08-17-0/+7
| | | | | | | | | | | | The page currently fetches the pins again client-side (as we don't know the extent of the map at the server point). I realise this isn't ideal, but should speed up the normal case quite a bit.
| * Fix replaced sidebar losing hover behaviour.Matthew Somerville2017-08-17-2/+2
| | | | | | | | | | If the list was replaced by JavaScript, the event handlers were being dropped. Switch the handlers to the parent that remains present.
| * Refactor /around list code to share with others.Matthew Somerville2017-08-17-11/+4
| | | | | | | | | | Both /reports and /my share an ID and a /reports/ajax function, use these also on /around (and share ajax/non-ajax code).
* | [fixmystreet.com] Donation link on success pagesZarino Zappia2017-08-17-0/+1
|/ | | | Part of #1384.
* Add site-wide extra fields for reports, and admin UI to manageDave Arter2017-08-17-1/+122
| | | | | | | - Also provides an editor for the extra Open311 fields on contacts. - Adds .btn--small class for small buttons Fixes #1743.
* enable body users to report problems anonymouslyStruan Donald2017-08-16-0/+13
| | | | | | uses the body user but flags the report as anonymous Fixes #fixmystreetforcouncils/207
* Fix CSS bug on inspect form duplicate loaderZarino Zappia2017-08-15-1/+1
|
* Clearer highlight for selected duplicate on inspect formZarino Zappia2017-08-15-0/+15
| | | | Fixes mysociety/fixmystreetforcouncils#211.
* [Zurich] Fix map on /reportsDave Arter2017-08-14-1/+4
| | | | | | | | | | | | | | | | | | A seemingly unrelated change in ef6ffbdb was causing JS errors on the /reports page which meant the map loading spinner was permanently present. This commit fixes that, and also fixes another bug which was uncovered where the ?ajax=1 param was being ignored by the Zürich /reports page, leading to HTML being returned and another JS error. The call to `new OpenLayers.Bounds` in OpenLayers.Strategy.FixMyStreet.getMapBounds was causing three of the 4 bounds params to be lost when run on OpenLayers 2.11, as this version doesn’t accept an array to the Bounds constructor. This in turn was using an invalid `bbox` parameter (only the west value was present) in the AJAX call to /reports which returned a 500 error. This then crashed the JS and caused the loading spinner to get stuck.
* [Borsetshire] Custom Google Map stylesZarino Zappia2017-08-09-0/+1
| | | | Fixes #1792.
* [Borsetshire] Demo behaviour and help.Matthew Somerville2017-08-08-0/+9
| | | | | The front page redirects to report area, ignoring whatever is entered, and the sign in page includes details of the demo accounts.
* Update map size if an extra column has appeared.Matthew Somerville2017-08-05-1/+1
| | | | | | Pulling in a report via JavaScript that has two columns (e.g. the inspect form) changes the size of the map, so updateSize needs to be called.
* Stop update form toggle causing report submission.Matthew Somerville2017-08-05-1/+2
| | | | | | If the report is loaded with JavaScript, the outer form (for a new report) is present and would otherwise take this click and start a broken new report submission.
* Set up action scheduled field when report loaded.Matthew Somerville2017-08-05-0/+1
| | | | | This meant if a report was loaded via JavaScript, the action scheduled buttons were not being shown at the appropriate point.
* [fixmystreet.com] More realistic asphalt tile imageZarino Zappia2017-08-04-4/+33
| | | | | | | | | | The black and yellow background image tiles now look more like asphalt and less like leather. Also, high-dpi screens now get a double resolution tile, which avoids noticeable jpeg artifacting on the yellow #front-main in particular. Fixes #1715.
* Use standard JS translation for show/hide pins.Matthew Somerville2017-08-03-35/+17
|
* [fixmystreet.com] Remove __MACOSX resources from schools & clubs zip archiveZarino Zappia2017-08-02-0/+0
|
* [fixmystreet.com] Update "How to embed" guide in Goodies packsZarino Zappia2017-08-01-0/+0
| | | | Fixes #1776.
* [fixmystreet.com] FMS Pro demo access request formZarino Zappia2017-07-28-2/+78
|
* Merge branch 'version-2.1'Matthew Somerville2017-07-18-9/+6
|\
| * Use CSS class for mobile map not overlapping form.Matthew Somerville2017-07-18-9/+6
| | | | | | | | This fixes an issue with the footer navigation display.
* | [East Herts] Update template design.Matthew Somerville2017-07-18-205/+224
|/
* New version of /reports main page.Matthew Somerville2017-07-14-3/+2
| | | | | | | | | | | This is a much broader summary page, plus a body name autocomplete. This was originally implemented for fixmystreet.com in 8a6a4ccb7. It also adds '(no longer exists)' in the autocomplete next to bodies not covering any areas. You can supply the `--table` argument to `update-all-reports` to generate the old-style data.
* [FixaMinGata] Consolidate with upstream.Jon Kristensen2017-07-07-2/+89
| | | | | Add hook for post-title field content in report form. Update translations.
* [fixmystreet.com] Improve Pro link on non-front.Matthew Somerville2017-07-07-12/+8
| | | | Give it the same sort of look as currently on the front page.
* Merge branch 'issues/forcouncils/195-overloaded-action-scheduled'Matthew Somerville2017-07-07-1/+13
|\
| * [Oxfordshire] Separate defect creation from state.Matthew Somerville2017-07-07-0/+12
| | | | | | | | | | | | | | Revert the behaviour from 36baff2d, so that everyone can use the 'action scheduled' state, and instead if someone with report_instruct permission has the state set to 'action scheduled', add an extra mandatory question asking whether they want to raise a defect or not.
| * Make sure segmented control input not offscreen.Matthew Somerville2017-07-07-1/+1
| | | | | | | | | | The input is used by e.g. Chrome/Safari to position the "required" error message, so needs to be on screen.
* | Merge branch 'issues/commercial/864-update-contact-form'Matthew Somerville2017-07-07-0/+18
|\ \
| * | Add an optional phone field to the contact form.Martin Wright2017-07-07-0/+15
| | |