| Commit message (Collapse) | Author | Age | Lines |
... | |
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Any map bar the already-full-screen /around map could benefit from
the expand map option, especially the list of your reports.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
This expands the 'change email' functionality to work with phone
number also, allow addition of missing details, and verifying of
unverified details.
|
| |
|
|
|
|
| |
A confirmation code is sent via Twilio to be entered on the site.
|
| |
|
|
|
|
|
| |
web/cobrands/fixmystreet/images/sprite.png is loaded by most cobrands.
Optimising it reduced the filesize from 97 KB to 36 KB.
|
|
|
|
| |
Fixes mysociety/fixmystreet-commercial#920.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| | |
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.
|
|/ |
|
|
|
|
|
| |
Dropzone version 5 changed how createThumbnailFromUrl was called,
so the upgrade in 30dd9d8 broke this.
|
| |
|
|
|
|
|
| |
The change in 17e38922 would not deal with the URL construted by the
map permalink code, or the redirect after inspection.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
If the list was replaced by JavaScript, the event handlers were being
dropped. Switch the handlers to the parent that remains present.
|
| |
| |
| |
| |
| | |
Both /reports and /my share an ID and a /reports/ajax function, use
these also on /around (and share ajax/non-ajax code).
|
|/
|
|
| |
Part of #1384.
|
|
|
|
|
|
|
| |
- Also provides an editor for the extra Open311 fields on contacts.
- Adds .btn--small class for small buttons
Fixes #1743.
|
|
|
|
|
|
| |
uses the body user but flags the report as anonymous
Fixes #fixmystreetforcouncils/207
|
| |
|
|
|
|
| |
Fixes mysociety/fixmystreetforcouncils#211.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Fixes #1792.
|
|
|
|
|
| |
The front page redirects to report area, ignoring whatever is entered,
and the sign in page includes details of the demo accounts.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This meant if a report was loaded via JavaScript, the action scheduled
buttons were not being shown at the appropriate point.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
Fixes #1776.
|
| |
|
|\ |
|
| |
| |
| |
| | |
This fixes an issue with the footer navigation display.
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Add hook for post-title field content in report form.
Update translations.
|
|
|
|
| |
Give it the same sort of look as currently on the front page.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
The input is used by e.g. Chrome/Safari to position the "required" error
message, so needs to be on screen.
|
|\ \ |
|
| | | |
|