| Commit message (Collapse) | Author | Age | Lines |
... | |
| | | |
|
|/ / |
|
| |
| |
| |
| |
| | |
This solves the issue with duplicate ContactsHistory entries being created
when extra has no substantive changes.
|
|/ |
|
|
|
|
|
| |
This was causing an error in "Test ajax decimal points" in fixamingata.t
due to "importance" being encoded with a comma decimal separator.
|
|\ |
|
| |
| |
| |
| | |
Fixes mysociety/fixmystreet-commercial#925.
|
|\ \ |
|
| | |
| | |
| | |
| | | |
We want machine-readable dates in a data export.
|
| | |
| | |
| | |
| | |
| | | |
Only look at confirmed updates, and spot updates using mark_fixed and
not problem_state (e.g. questionnaire responses).
|
| |/
| |
| |
| |
| | |
Include actual times, not just human-readable ones, and
make sure state is translated correctly.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commit splits the category dropdown into two fields: a top-level
"category" field populated with the category groups, and a "subcategory"
field for the options in each <optgroup> in the original HTML.
It does some short-circuiting, e.g. for optgroups that only have a
single option the subcategory field won't be shown.
|
| | |
| | |
| | |
| | | |
Ensures ‘Other’ group is last in the list, if it exists.
|
|/ / |
|
|\ \ |
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| | |
If an Open311 service request update with an empty description field is
received and there is a matching ResponseTemplate for the problem's
category & state (and it's marked as auto-response) then the text from
that ResponseTemplate will be used for the created update.
|
|/ |
|
|\ |
|
| | |
|
| | |
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Adds a link from /my to a page for generating an access token which is
then stored in the user's extra field.
|
| |/
| |
| |
| | |
This allows access if you have a token associated with your user.
|
|/ |
|
|
|
|
| |
Fixes #1589.
|
|\
| |
| |
| | |
'origin/1920-back-once-again-for-the-renegade-master'
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The popstate event for a filter change assumed that the list was already
being displayed, but it was not if you were going back from a report.
The reports_list function to display the list page is idempotent (though
this commit makes it more so), so can happily be called whether the list
page is currently displayed or not.
|
|/
|
|
|
|
|
|
| |
Display a list of the email addresses used to contact the council on the
council dashboard. Does not display emails if the council has an
integration, rejects FMS reports or is currently turned off.
Fixes mysociety/fixmystreetforcouncils#941
|
|
|
|
|
|
|
|
|
|
|
| |
The intro header takes up a lot of vertical screen space, which on small
devices means that the suggestion links end up beneath the fold. This
can make it seem as though nothing has happened at all when you enter a
search term on the front page.
This commit removes the intro header if there are location suggestions,
and also shifts the second sentence of the help text to the bottom of
the list where it's more likely to be read.
|
|
|
|
| |
An experiment towards fixing #525.
|
|
|
|
|
|
| |
The location disambiguation page uses the frontpage JavaScript and has
lots of links pointing to /around, so the code should make sure those
links include the `js` parameter.
|
|
|
|
|
|
|
|
| |
When viewing /around without the `js=1` parameter in a Spanish locale
the incorrect decimal separator was being passed to the DB query,
causing a crash.
Fixes mysociety/fixmystreet-commercial#942
|
|
|
|
|
|
|
| |
Modern browsers disable geolocation on non-HTTPS pages, but
sadly still report it as available with the `navigator.geolocation`
object. This commit adds a check for HTTPS and hides the link
if it won’t work.
|
|
|
|
|
|
|
|
|
|
| |
The `fixmystreet.update_pin` function removes the 'body' option from the
'report as' dropdown, which was leaving the UI in an inconsistent state
if the 'body' option had previously been selected. This commit ensures
the change handler is called when the content of the dropdown is
modified.
Fixes #1913.
|
|
|
|
|
| |
This can optionally disable appcache for superusers which can be handy
in development.
|
|
|
|
|
|
|
| |
This adds a new send_moderation_notifications method which can be overridden
by cobrands to prevent “your report has been moderated” emails from being sent.
Fixes mysociety/fixmystreet-commercial#936
|
|
|
|
| |
And fix reference to it in the front page prefetch list.
|
|
|
|
|
| |
Only works on bodies with an associated area, and requires the
object to be passed in, not just its ID.
|
|
|
|
|
| |
The multi-select plugin is a separate project, and should be treated as
a vendor file.
|
|
|
|
|
|
|
| |
In particular, this lets us ensure only one multiselect can be open at
a time – for example in the "Show [X] reports about [Y]" list filters.
Fixes mysociety/fixmystreetforcouncils#247.
|
|
|
|
|
|
|
| |
On mobile, if you e.g. selected one report and then another, you'd get
another "Expand map" appearing. Check that one is needed before adding
it, and also make sure the handler is only attached once to prevent it
conflicting with itself (and so cancelling itself out).
|
|
|
|
|
| |
If someone selects 15-16th November, they want reports
from both those dates, not just the 15th.
|
|
|
|
|
| |
This prevents the form scroll going to the wrong place when the
form was being hidden later on.
|
|\
| |
| |
| | |
Updated geolocation.js with concurrent changes.
|
| |
| |
| |
| |
| |
| | |
By creating a small file with only what is needed (focus, js flagging),
we can drop loading jQuery and all the application JavaScript on the
front page, prefetching them instead.
|
| | |
|