| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
| |
Couple of missed strings for translation, and prevent a couple of
warnings in tests.
|
|
|
|
|
| |
They're logged in, it's only showing them as a confirmatory check,
so it should not be editable.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Alert options on the /alert/list page are now in an order that is easier
to parse, with a slightly clearer message for users in two-tier
locations, and a more prominent email subscription CTA.
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
If set to 1, this restricts all pages on the site to logged-in users.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If debug is enabled, using the CATALYST_DEBUG/FIXMYSTREET_APP_DEBUG
environment variables, add a debug toolbar to the output, including
request/response details and a database query log.
This uses Plack middleware, so works by switching our dev server to
use Starman with plack directly, rather than via the script runner.
We remove the GZip compression as this interferes, and take a local
copy of the QueryLog::AdoptPlack trait as it needs a tweak to work.
Make sure the CSP header is not output in debug mode, as that would
prevent the toolbar JavaScript from running.
|
|\ \ \
| |/ /
|/| /
| |/ |
|
| |
| |
| |
| |
| | |
There were a couple of places where the three fixed states were all
displaying as "Fixed" in a dropdown.
|
|/
|
|
| |
For mysociety/fixmystreetforcouncils#204
|
|
|
|
|
| |
Dropzone version 5 changed how createThumbnailFromUrl was called,
so the upgrade in 30dd9d8 broke this.
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
If the list was replaced by JavaScript, the event handlers were being
dropped. Switch the handlers to the parent that remains present.
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Create a comment entry for all updates to reports regardless of whether
there is any text part. Also adds an entry to extra if a defect was
raised and includes that in the update status line.
Fixes mysociety/fixmystreetforcouncils#201
|
|/
|
|
|
|
| |
Not just New/Fixed/Closed but the Investigating etc
Fixes #1790
|
|
|
|
|
|
|
| |
- Also provides an editor for the extra Open311 fields on contacts.
- Adds .btn--small class for small buttons
Fixes #1743.
|
|
|
|
|
|
|
|
|
| |
In conjunction with the --watch flag, the new --script flag can be used to
run a given command after compilation caused by files changing.
E.g. you could reload your browser automatically upon hitting save in your
editor, with something like
https://gist.github.com/davea/07a7456da15eeb8c47f1fb66e4b96c54
|
|\ |
|
| |
| |
| |
| |
| |
| | |
This avoids the need to search the whole table to find a report's
duplicates. And is easier than constructing an index or upgrading
PostgreSQL.
|
|/
|
|
|
|
| |
uses the body user but flags the report as anonymous
Fixes #fixmystreetforcouncils/207
|
|
|
|
|
|
|
| |
Given a set of config files of the format `conf/general-{cobrand}.yml`
this script lets you easily create and recreate a symlink at
`conf/general.yml` that points to the cobrand config of your choice. The
test suite also then uses this naming convention.
|
| |
|
|\ |
|
| |
| |
| |
| | |
Even if no next/previous page, the number of items can be useful.
|
|\ \
| |/
|/| |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Pulling in a report via JavaScript that has two columns (e.g. the
inspect form) changes the size of the map, so updateSize needs to
be called.
|
| |
| |
| |
| |
| |
| | |
If the report is loaded with JavaScript, the outer form (for a new
report) is present and would otherwise take this click and start a
broken new report submission.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The outer form is using the JS validator, which means the validator is
called for any event on the inner form fields. If the inner form isn't
using the JS validator, it errors as it assumes the closest form has a
validator object on it.
Having the inner form use the JS validator shouldn't have any effect.
|
|/
|
|
|
| |
This meant if a report was loaded via JavaScript, the action scheduled
buttons were not being shown at the appropriate point.
|
| |
|
| |
|
| |
|
|
|