| Commit message (Collapse) | Author | Age | Lines |
... | |
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Not just New/Fixed/Closed but the Investigating etc
Fixes #1790
|
|\ \ \
| |/ /
|/| | |
|
| | | |
|
|/ / |
|
|/
|
|
| |
Part of #1384.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
- 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.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
As we're only passing category names through we need to do the
translation in the controller and not the template
Fixes mysociety/fixmystreetforcouncils#218
|
| | |
|
|/
|
|
|
|
| |
uses the body user but flags the report as anonymous
Fixes #fixmystreetforcouncils/207
|
|
|
|
| |
In the absence of making any changes. Fixes #1739.
|
|
|
|
| |
This led to a wrong/bad request for nearby duplicates.
|
|
|
|
|
| |
I think we probably don't care about reports in
John o'Groats when we're in Oxford.
|
| |
|
|
|
|
| |
Fixes mysociety/fixmystreetforcouncils#211.
|
|
|
|
| |
Fixes #1778.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
We can't translate them in the template as we're just passing in the
category name and not the object.
Fixes mysociety/fixmystreetforcouncils#216
|
|
|
|
| |
Fixes mysociety/fixmystreetforcouncils#215
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A seemingly unrelated change in ef6ffbdb was causing JS errors
on the /reports page which meant the map loading spinner
was permanently present. This commit fixes that, and also fixes
another bug which was uncovered where the ?ajax=1 param was
being ignored by the Zürich /reports page, leading to HTML
being returned and another JS error.
The call to `new OpenLayers.Bounds` in
OpenLayers.Strategy.FixMyStreet.getMapBounds was causing
three of the 4 bounds params to be lost when run on OpenLayers
2.11, as this version doesn’t accept an array to the Bounds
constructor. This in turn was using an invalid `bbox` parameter
(only the west value was present) in the AJAX call to /reports
which returned a 500 error. This then crashed the JS and caused
the loading spinner to get stuck.
|
|
|
|
|
|
| |
Calling the function 'translate' causes gettext-extract to add the
string to the .po file. Also, we no longer need an admin 'updated'
message as the main form has its own success message.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
A reference to ->storage was missed as this script changed in a
different branch. The schema files contain transaction commands
themselves. A check for migration 52 was missing.
|
|/
|
|
| |
This makes the diff much easier to view.
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a `translation_for` method and an `add_transation` method to
Translatable to help hide the details when editing and listing
translations.
`translation_for` returns all translations if only passed a column or a
single translation if passed with a column and a language.
`add_translation` will add, or update, a translation if passed in the
column, language and string.
|
| |
| |
| |
| |
| |
| | |
As category is used both for display and as a link between Problem and
Contact tables, add `category_display` for use whenever a category is
displayed.
|
| | |
|
| |
| |
| |
| | |
Store a schema object on FixMyStreet::DB instead.
|
| | |
|
| | |
|
|\ \ |
|
| |/ |
|
| |
| |
| |
| | |
Fixes #1792.
|
| |
| |
| |
| |
| | |
The front page redirects to report area, ignoring whatever is entered,
and the sign in page includes details of the demo accounts.
|
|/
|
|
|
|
| |
If you submit the auth form (as opposed to clicking a link to something
that redirects to the auth form), we should assume you want to treat
that as a login.
|
|\ |
|