| Commit message (Collapse) | Author | Age | Lines |
... | |
| | | |
|
| | | |
|
| |\ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | | |
If an out-of-date token was passed to check_csrf_token, then no new
token would be output on the error page because csrf_time was still
present.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This includes adding/removing reports from a user's shortlist, and
manual reordering of a shortlist with up/down buttons.
The backend code can cope with an item moving to any point in the list.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Most noticeably, this fixes a long standing bug on the Oxfordshire
homepage where the "how to" and list of reports made the right-hand
edge of .content spill outside its parent.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
As we now have many permissions, highlighting those who have the
moderate permission is not very useful.
|
| | | |
|
| | | |
|
| |/ |
|
| |\ |
|
| | | |
|
| |\ \ |
|
| | |/ |
|
| |\ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If there’s a response template matching the problem’s new state,
it’s selected and the update field prefilled accordingly.
The exception to this is if the user has manually entered text
into the update field already.
|
| | |
| | |
| | |
| | | |
This includes a refactor of the state dropdown field into its own template for easy reuse.
|
| |/ |
|
| | |
|
| |
| |
| |
| | |
Make sure the tested date is in the same year as current.
|
| |
| |
| |
| | |
This reverts commit 03b715f6134e40fcce592e9c33b8a8f119dc814c.
|
| |\ |
|
| | |
| | |
| | |
| | | |
This should help if a template uses has_permission_to a lot.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The main map page elements are given `position:static` to ensure they
flow onto as many pages as required. The map image is floated to the
right, rather than wasting space at the top of the file.
We also, if the user has the inspect permission, include hidden
rrint-only metadata in the report lists.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
fddf7f95 broke the use of minimized JS files, because it always used an
unchanged $url in the output. Make sure it is updated if $file is.
|
| | | |
|
| |\ \
| | |/
| |/| |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This allows the inspect form to be submitted when offline, with the data
saved in localStorage, the number of saved forms shown in the banner,
and the forms to be uploaded when back online.
It copes if you go back to a report after having submitted the form, and
if the back-online submission fails due to CSRF failure, retrying once
with a new token.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This:
* On an online visit to /my/planned, caches all shortlisted reports,
their images and static maps in localStorage, with progress banner;
* When a report is added/removed from the shortlist, caches/de-caches
that report;
* When viewing a report page offline, shows that page from the cache
if present (replacing the dynamic map with the cached static map, and
replacing report images with their cached equivalents – it is a shame
to duplicate, but we cannot rely on the browser cache having these images);
* When viewing another page offline, shows an error message but also the
list of shortlisted reports that are cached (again, replacing their
thumbnail images with the cached versions).
|
| | |
| | |
| | |
| | |
| | | |
Use a list to store JavaScript files, so it can be shared
between the HTML footer and the appcache manifest.
|
| | | |
|
| | | |
|
| | | |
|
|\| | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
The styling applied to the nice front end multi-select dropdowns should
not be applied to the admin multi-select ones, until such time as they
are using the nice select interface too.
|
| | |
| | |
| | |
| | |
| | |
| | | |
f58ce6c4 changed the base contact template to include a link to a
fixmystreet.com specific page. Revert this back and make the change
in the correct cobrand only.
|
| |\ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | | |
Different categories may have a different list of priorities, so store
them all and update as the category changes.
|
| | | |
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Record state change when leaving update and marking as duplicate
- Change save button wording to match problem state when inspecting
- Make it clearer that updates marking a report as duplicate actually close the report
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Use Problem->pin_data for single report page
- Promote markers_highlight to fixmystreet.maps API
We want to highlight map pins on the duplicate report selection UI, so let's use
what's already there instead of writing something new.
- Make sure duplicate report pins aren’t draggable
|