| Commit message (Collapse) | Author | Age | Lines |
... | |
| |
| |
| |
| | |
This is already defined in fixmystreet.utils further up.
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
So that you can build functionality to add extra limitations on
to the map pins displayed. Useful for Collideoscope initially
to filter out (or in) reports from the Department of Transport's
Stats19 Data.
|
| | | |
|
| |/
|/| |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
If no text, photo, or state change, hide the update from display.
|
| | |
| | |
| | |
| | | |
Fixes mysociety/FixMyStreet-Commercial#1024.
|
|/ /
| |
| |
| |
| |
| |
| | |
If a new user registers during the report/update process
and their password starts or ends with whitespace or has
consecutive whitespace chars then those would be stripped
and the entered password wouldn’t work for subsequent logins.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The previous approach of requesting a small bounding box from the
WFS server and using the first asset, if any, wasn’t sufficiently
tolerant of reports that were made more than 5M away from a road,
of which there were many. The problem with extending the bounding
box used to fetch assets from the server is that the order of the
returned assets didn’t have any bearing on their proximity to the
centre of the bounding box (i.e., the location of the report). As
an alternative approach this commit changes the method to instead
fetch all assets within a much wider bounding box surrounding the
report and iterates across the returned features in order to find
the closest point and uses the site_code value from that feature.
|
|/
|
|
|
|
|
|
| |
Instead of just a Yes/No display a formatted list of values in extra.
Has special handling for known fields otherwise just prints them out
dumbly.
Fixes #1809
|
|
|
|
|
|
|
|
|
| |
Previously send-comments errors would only be printed the first time
they occurred so there was no visibility of ongoing errors. This brings
send-comments in line with send-reports by emitting errors if the script
is called with --verbose.
Fixes #2091
|
|\ |
|
| | |
|
| |
| |
| |
| | |
This makes it easier to override them.
|
| | |
|
| |
| |
| |
| |
| | |
One to alter the category after initially set, one to change
any details of the report before saving to the database.
|
| | |
|
| |
| |
| |
| |
| | |
This allows a cobrand to e.g. display a subset
of bodies based on a query parameter.
|
| |
| |
| |
| | |
This allows a cobrand to categorise the reports however it wishes.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Add a more helpful error message when a problem fetched over Open311 is
rejected for problems with the date.
|
| | |
|
| | |
|
| |
| |
| |
| | |
This hopefully works around some odd test failures on Travis.
|
| |
| |
| |
| |
| | |
This also moves the 'this will be public'
text next to the fields it applies to.
|
| |
| |
| |
| |
| |
| |
| | |
Response templates won't be triggered unless the problem state or
external status code is changed.
Fixes #2075
|
| |
| |
| |
| |
| |
| |
| | |
If JavaScript is enabled hide the deleted contacts from the list on the
body page. Display as normal if no JavaScript.
Fixes #1962
|
| |
| |
| |
| |
| | |
It’s not quite a ‘radius’ as it’s a square box, but this does
bring it closer in line with the cobrand JS behaviour.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the user visits /report/new directly and doesn't change the pin
location, then the assets:selected/maps:update_pin events are never
fired and fixmystreet.usrn.select is never called. This results in a
report whose location was never looked up against the USRN layer,
which can cause issues for Open311 endpoints that require a USRN
value.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
If there was an undefined parameter passed to `_post` then generating
the debug string would generate a warning about an undefined value in a
concatenation. So, check for undefined params and substitute empty
string to avoid.
|
|\ \ |
|
| |/ |
|
|/
|
|
|
|
| |
If a name only had a single word we were failing to split it and not
setting `first_name`. Also refactor splitting out to a function so the
regex is only in one place.
|
|
|
|
|
|
| |
The namespace was only being set in the web loop, so cron scripts
were accessing different memcached keys. In particular, the state
list would be shared between instances on the same host.
|
|
|
|
|
| |
07906f40 changed the HTML date input form, but did
not update the server parsing of the format.
|
| |
|
|\ |
|
| | |
|
|\ \ |
|
| | |
| | |
| | | |
Since https://github.com/mysociety/fixmystreet/pull/1554 it has been possible for a user to hide their name on their reports and updates, rather than having to contact support. This PR updates the FAQ to mention that.
|
| | | |
|
| |/
|/| |
|
|\ \
| |/
|/| |
|