| Commit message (Collapse) | Author | Age | Lines |
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit makes the following parts of the site translatable:
- Social login buttons
- Moderation UI
- Offline glitch page & offline caching UI
- Dashboard
It also fixes a bug in the nget parser, stops some Oxfordshire bits
being translated for the moment, and brings the translation file up
to date.
|
|/ |
|
|
|
|
|
|
|
|
|
| |
Problems can have an associated defect type, that can be assigned during
an inspection. Include an admin interface for managing these types, that
can also be assigned on a per-category basis, currently available to the
Oxfordshire cobrand.
(Also include 'TM' in traffic management Exor RDI output.)
|
|
|
|
| |
Uses the same environment as gettext-extract.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Used internally to provide more details about when a priority is applicable.
|
|
|
|
|
|
| |
Links to view the reports on ZWN weren't being generated properly because
_email_report_list.txt was expecting 'data' to be in a particular format and
'cobrand' to be available.
|
| |
|
| |
|
|
|
|
|
|
|
| |
This moves the response priority values from a cobrand-specific method to a full
DB model, and includes management screens in the admin for administering them.
For mysociety/fixmystreetforcouncils#66
|
|
|
|
|
|
|
|
|
|
|
| |
This builds on the response templates in the Zürich cobrand:
- Allow response templates to be assigned to categories
- Also adds a auto_response flag, which will be used to automatically create
updates when reports are made.
- Include response templates select box on update form
For mysociety/fixmystreetforcouncils#31
|
| |
|
| |
|
|
|
|
|
|
| |
A user with the appropriate permission can add/remove reports from their
list of planned reports using a button on a report page. The list can be
viewed at /my/planned.
|
|
|
|
| |
We'll soon be adding more new permission types.
|
| |
|
|
|
|
|
|
|
|
|
| |
- Adds is_superuser flag to User
- Logged-in user must be a superuser or have from_body set in order to access
anything within /admin
- has_permission_to on a superuser will always return true
- Only superusers can create/grant superusers
- New `createsuperuser` command for creating superusers
|
| |
|
|
|
|
| |
Uses same watch notification as make_css.
|
|
|
|
|
| |
This is in case the cobrand directory is actually a symlink to
elsewhere, as it is with some deployments.
|
|
|
|
|
|
| |
It should now show a failure message on failure, rather than always show
the success message, and not show a confusing error about general.yml if
something went wrong before creating that file.
|
| |
|
|
|
|
| |
This applies in e.g. a Vagrant installation.
|
| |
|
|
|
|
|
| |
The move to libsass missed out one function call, that inline images as
data URIs, which wasn't spotted as it didn't error.
|
|
|
|
|
|
|
|
| |
Move to using libsass via CSS::Sass, and stop using compass, supplying
any used mixins directly. This removes the need for any ruby/gem based
installation, and greatly increases the speed of compilation. make_css
is also enhanced, bringing in the file monitoring previously done by a
separate script and improving its dependency monitoring.
|
|
|
|
|
|
|
| |
Historically, emails sent offline (alerts, questionnaires, etc) used a
different templating system from those sent by the website (e.g. login
emails), though the newer system was also being used for the site name
and signature of offline emails.
|
| |
|
|
|
|
| |
And associated, e.g. nothing references fixmystreet-old-box.js any more.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Add things missing from README, pull from Transifex, merge in new
translations, bump version number.
|
|
|
|
|
|
|
|
|
|
| |
Auto unsubscribe alert bounces, forward on report bounces and alert
replies to support, and send through to report creator non-bounce
replies to their report (for systems that ignore both the From and
Reply-To headers).
Also forward any totally unparsed bounce to support to possibly then
adjust this bounce handling.
|
| |
|
| |
|
| |
|