| Commit message (Collapse) | Author | Age | Lines |
... | |
|
|
|
| |
Fixes mysociety/fixmystreetforcouncils#166
|
|
|
|
|
|
|
|
|
|
| |
The timestamps returned from the database are in server-local time, not UTC.
Because FMS expects timestamps in Open311 responses to be UTC, the timestamps
of updates from OCC appear one hour ahead when DST is in effect.
This commit converts the timestamps to UTC before outputting them.
Fixes mysociety/FixMyStreet-Commercial#499
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The RDI file format encapsulates information about inspections that have taken
place, and can be uploaded into Exor to create defects in bulk.
This commit adds a page to the Oxfordshire cobrand's admin allowing RDI files
to be generated and downloaded from FMS.
For mysociety/fixmystreetforcouncils#127
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Rather than assigning +1 to a user's reputation every time a report is
inspected, this allows cobrands to specify which states should increment or
decrement the reputation value when a report is inspected.
The default behaviour is for reputation to never be changed, but the Oxfordshire
cobrand will increment the reputation when a report is marked as 'action
scheduled'.
For mysociety/fixmystreetforcouncils#119
|
| |
| |
| |
| |
| |
| | |
A report is now considered 'inspected' if its state was changed by an inspector.
Additionally, an AdminLog entry is created so the time of inspection and
inspector can be recorded.
|
| | |
|
|/ |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This script can be used for the bulk closure of old reports that haven't been
updated in a long time.
Reports that haven't been updated in a *really* long time (since 2014, by
default) are simply closed, and those that haven't been updated since 2015 (by
default) are closed and an email explaining the closure is sent to the report
creator.
This script can be used for other cobrands, but they'll need an
archive.{txt,html} template in order for the emails to be sent.
For mysociety/fixmystreetforcouncils#51
|
| |
| |
| |
| |
| | |
Tokens can include a 'p' field in their data to set query params for the
post-login redirect URL.
|
| |
| |
| |
| |
| |
| | |
This method creates a token that logs the reporting user in, optionally
with some parameters which are stored with the token for use when redirecting
after login.
|
| |
| |
| |
| | |
Users can reopen their own reports when leaving an update.
|
| | |
|
|/
|
|
|
| |
- Add year and month to $nearest options
- Allow prettify_duration to choose a sensible $nearest if omitted
|
|\ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
If the user has a from_body and at least one category set.
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Limits the state dropdown to those states which will be useful to OCC
inspectors, as well as removing a few from the base template on the inspect
form. Some slight template refactoring has made it easier for other cobrands to
override the list, as well as sharing the template with the admin report_edit
form to allow all states to be selected.
Fixes mysociety/fixmystreetforcouncils#129
|
|
|
|
| |
Fixes mysociety/fixmystreetforcouncils#159
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Adding an official badge to Greenwich updates so as to avoid exchanges in which
public contributions are mistaken for official ones.
As per the Bromley version e.g. https://fix.bromley.gov.uk/report/973784 - this
helps to avoid situations where public contributions are mistaken for official
ones.
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Bromley had this already in its update state change messages.
|
|\ \ |
|
| |/
| |
| |
| | |
This joins easting, northing and an external ID field.
|
| | |
|
|/
|
|
|
|
| |
This function is used e.g. in report lists, and if you were using the
multiple language subdomain functionality, those links could take you
to a different language.
|
|
|
|
|
|
|
|
|
|
|
| |
Using a div inside a p isn't valid, so the DOM was being restructured by the
browser causing the 'save with public update' toggle on the inspect form to not
work.
This fixes the issue by removing the wrapper <div> and selecting the appropriate
elements for toggling with the js- class on the <select>.
Fixes mysociety/fixmystreetforcouncils#153
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
Assume that if they inspect and save a report, they want
to go back to their shortlist.
|
| | |
|
| | |
|
|/
|
|
|
| |
It was also catching update lists, which have their own submit buttons
(e.g. for moderation).
|
|
|
|
| |
Fixes #1604.
|