| Commit message (Collapse) | Author | Age | Lines |
... | |
| |
|
|
|
|
|
|
|
|
| |
RDI files have a 180 character limit for the description so limit the
description to 172 to allow for the ID which is also included in this
field.
Fixes mysociety/fixmystreetforcouncils#228
|
|
|
|
|
| |
web/cobrands/fixmystreet/images/sprite.png is loaded by most cobrands.
Optimising it reduced the filesize from 97 KB to 36 KB.
|
|
|
|
|
|
| |
avoids odd problems caused when using pushstate
Fixes mysociety/fixmystreetforcouncils#233
|
| |
|
| |
|
|
|
|
| |
Fixes mysociety/fixmystreet-commercial#920.
|
|
|
|
|
| |
body_str is encoded with the provided charset/encoding, body is used
as-is (and so will die in email sending if it contains wide characters).
|
|
|
|
|
|
|
|
|
| |
Admin page to show some simple summary stats for an area.
If the user has been assigned to an area then they will see the stats
for that area. Superusers can pick which area they want to view.
For mysociety/fixmystreetforcouncils#2
|
|\ |
|
| |
| |
| |
| | |
This can fail if the tests are being run in parallel.
|
|/
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It was possible for _hardcoded_states to be reached with no locale
selected (e.g. bin/update-all-reports), causing an error trying to
translate Open/Closed. But translating those there wasn't correct,
because that would then be cached and returned even if a different
language was being used. Caching was ignored in testing, which did
not help.
We no longer translate the state names in their objects, only upon
display at the point that we will know the locale. We can't simply
return the translation of Open/Closed because there may be entries
in the translation table as well.
|
|
|
|
| |
This was missed in 0998aef4.
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
Couple of missed strings for translation, and prevent a couple of
warnings in tests.
|
|/ |
|
|
|
|
|
| |
They're logged in, it's only showing them as a confirmatory check,
so it should not be editable.
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Simplify chaining of body/category admin URLs so that all
categories are treated the same, with `/` or without, and
the template will then always have its CSRF token.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If the first page looked at after server launch was an admin one, the
User object was getting a different schema attached than the one used
by everything else (so e.g. the cobrand was not then available to it,
causing a crash on a body page). Using auto instead of begin prevents
this from happening, as the setup_request auto always runs first.
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
The timestamp of when a problem was included in an RDI is shown on the
problem’s inspector form. Also check back and include any inspected
reports that for some reason haven't been instructed yet.
Fixes mysociety/fixmystreetforcouncils#223.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
add a _email_sent_extra template that includes a message about problem
reponse times to be displayed on the email sent page.
|
|/ |
|
| |
|
|
|
|
|
| |
And update the tests to avoid a random failure caused by inconsistent
ordering.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| |
| |
| |
| | |
Add some reports to the inspector's shortlist.
|
|/ |
|
|
|
|
|
|
| |
This test assumed /reports would load, which it wouldn't if run in
parallel and the data hadn't been generated by reports.t. Test a
different page instead.
|
|\ |
|
| |
| |
| |
| | |
Fixes mysociety/fixmystreetforcouncils#221
|
| |
| |
| |
| |
| |
| |
| | |
Adds a Ward column to the council dashboard CSV export with the name of
the ward.
Fixes mysociety/fixmystreetforcouncils#220
|
|\ \ |
|