| Commit message (Collapse) | Author | Age | Lines |
|
|
|
| |
check if no permission.
|
|\ |
|
| | |
|
| | |
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
Update the map/list if the map is zoomed/panned, and make sure the
updated HTML list is returned.
|
|/ |
|
|
|
|
|
| |
The change in 17e38922 would not deal with the URL construted by the
map permalink code, or the redirect after inspection.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
The page currently fetches the pins again client-side (as we don't know
the extent of the map at the server point). I realise this isn't ideal,
but should speed up the normal case quite a bit.
|
| |
| |
| |
| |
| | |
Both /reports and /my share an ID and a /reports/ajax function, use
these also on /around (and share ajax/non-ajax code).
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
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
|
|
|
|
|
| |
I think we probably don't care about reports in
John o'Groats when we're in Oxford.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
|/
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Fixes #1765
|
|
|
|
|
|
|
|
| |
If a `success_url` parameter is provided along with the contact form
fields, the user will be redirected to that URL upon successful form
submission.
We use it for the first time on the (UK) FixMyStreet Pro marketing page.
|
|
|
|
|
|
|
|
| |
Replacing deleted text with [...] when moderating reports and comments
leads to very odd looking reports when correcting minor typos so just
leave the text as deleted.
Fixes #1774
|
|
|
|
|
|
|
| |
After a report has been inspected, the user is redirected to /around
at the newly-inspected report’s location.
Fixes mysociety/fixmystreetforcouncils#204
|
|
|
|
|
|
|
| |
If a report’s category is changed to one with a different send_method to the
original category, the report needs to be resent.
Fixes mysociety/fixmystreetforcouncils#209
|
|
|
|
| |
Fixes mysociety/fixmystreetforcouncils#203
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
Inactive ones can still be used for e.g. list filtering,
but not when making a new report.
|
| |
| |
| |
| |
| | |
A new 'state' column replaces confirmed and deleted, allowing
categories to be unconfirmed, confirmed, deleted or inactive.
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a much broader summary page, plus a body name autocomplete.
This was originally implemented for fixmystreet.com in 8a6a4ccb7.
It also adds '(no longer exists)' in the autocomplete next to
bodies not covering any areas.
You can supply the `--table` argument to `update-all-reports` to
generate the old-style data.
|
|/
|
|
|
|
| |
If an /about/homepage.html template exists in your cobrand, it
will be used as the front page, and the normal front page will
be available at /report.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Revert the behaviour from 36baff2d, so that everyone can use the 'action
scheduled' state, and instead if someone with report_instruct permission
has the state set to 'action scheduled', add an extra mandatory question
asking whether they want to raise a defect or not.
|
|/
|
|
|
|
|
|
|
|
|
| |
This is a much broader summary page, plus a body name autocomplete.
This uses a cut down version of chart.js. [1]
[1] The full version was 149Kb (41Kb gzipped) plus you needed moment
(50Kb/17Kb), for a total of 199Kb/58Kb. By stripping out unused graphs
and code and config options, and switching to category axis rather than
time, it is now a total of 39Kb/13Kb.
|
|
|
|
|
| |
Both uses can be covered by existing modules.
This means we can drop FCGI also.
|