| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
|
|
|
| |
Use Island Roads in place of council in not responsible message.
Fixes mysociety/fixmystreet-freshdesk#93
|
| |
|
| |
|
|
|
|
| |
This can fail if the tests are being run in parallel.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It was possible for _hardcoded_states to be reached with no locale
selected (e.g. bin/update-all-reports), causing an error trying to
translate Open/Closed. But translating those there wasn't correct,
because that would then be cached and returned even if a different
language was being used. Caching was ignored in testing, which did
not help.
We no longer translate the state names in their objects, only upon
display at the point that we will know the locale. We can't simply
return the translation of Open/Closed because there may be entries
in the translation table as well.
|
|
|
|
|
|
|
|
|
|
|
| |
State display names are now got from the database wherever they are
displayed, including admin dropdowns, list filters, and update meta
statements. This also covers the open/closed/fixed 'groups'.
This also fixes a bug whereby if e.g. an update has problem_state
investigating, the next update has no problem_state, and the last
update has investigating again, it was previously showing a state
change to investigating on that third update.
|
|
We keep the internal states hardcoded, plus the core open (confirmed)
and closed ones, but the remainder are moved to the database.
|