| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
| |
Limited to most recent 100 rows and not full data.
Factor the two CSV generations together.
|
| |
|
|
|
|
|
| |
Uses the dashboard stats code to display a rough table of stats which
can be used as the basis for a chart later
|
|
|
|
| |
This will also be used by /reports/[body]/summary in a bit.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Use the send method recorded at the time of sending, not the current one
(it may have changed since), and only resend if the new send methods are
not a subset of the old.
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bromley uses jQuery for its A-Z on all pages; only load Bristol map
JavaScript on map pages (same as Angus); drop Oxfordshire JS use of
jQuery; fix Zurich load order; and improve jQuery checking in other
JavaScript.
|
| | |
| | |
| | |
| | |
| | | |
This allows us to e.g. more easily make sure jQuery is loaded where
needed, even if it has already been loaded previously.
|
| | | |
|
| | | |
|
|/ / |
|
| |
| |
| |
| |
| | |
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.
|