| Commit message (Collapse) | Author | Age | Lines |
| |
|
| |
|
|\ |
|
| |
| |
| |
| | |
If a cobrand provides those fields.
|
|/
|
|
| |
Fixes mysociety/fixmystreet-freshdesk#24.
|
|
|
|
|
|
| |
do not use details directly from user object because in the slim chance
that the user has phone and email verified and there is a failed email
login we display the phone number from the database.
|
| |
|
| |
|
|
|
|
| |
disable, enable and delete for user alerts on user_edit page
|
|
|
|
|
| |
Add abuse_reports_only cobrand method that prevents the contact form
being used unless it's an abuse report.
|
|
|
|
|
|
|
|
| |
The change in report_inspect.t from WODC to Oxford City was necessary
because moving reports to a location not in Mock::MapIt was resulting in
an empties bodies_str in the "test category/body changes" test.
Fixes #2181.
|
|
|
|
|
|
|
| |
Add a count of currently active alerts on new updates for a report to
the admin page.
Fixes #669
|
|
|
|
|
| |
call ZOOM_LEVELS and MIN_ZOOM_LEVELS using self so that we can override
them in a subclass.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
body.url could still be in use by old-school /reports table index pages
(though they were dropped in 2.1, so a cobrand would have to have
overridden it since then) and the update to speed up body lists in #2248
broke it. This puts it back in minimal form.
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
This allows a cobrand to e.g. as the test does, allow public access to
dashboard CSV export for a body, but not otherwise.
|
| |/ |
|
|/ |
|
| |
|
|\ |
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
* Stop red warning being output by S3 bucket creation failure test
* Make sure 'num_old_reports' is always a number on /around pages
* Stop 'category_extra' being generated when unnecessary
* Prevent warning printed in getservicerequestupdates.t
* Prevent info lines from being output in develop.t
* Remove line of #s in root.t
* And an ID diag in zurich.t
|
|
|
|
|
| |
Map ward names on their short names, so any processing
applies equally to URL and names returned by MapIt.
|
|
|
|
|
| |
we no longer need some of the hardcoded oxfordshire Open311 overrides so
remove them
|
| |
|
| |
|
|
|
|
|
| |
Adds a mocked Oxfordshire cobrand permissions method that adds
back in the permissions explicitly removed there.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Use a HashRefInflator wherever all_sorted is used, with consequential
changes to deal with it now not being an object (e.g. add some with_*
functions for manual fetching of extra data).
|
|/ |
|
|
|
|
|
| |
If an admin with the user_edit permission but not user_assign_body
edited a user with from_body set, the from_body field was lost.
|
|\ |
|
| | |
|
|/
|
|
|
| |
Provides a template override for cobrands to show if updates aren't
allowed on the problem.
|
|
|
|
|
|
|
|
| |
if a web parameter is passed to /import then display the email
confirmation sent page rather than a SUCCESS message. Enables this page
to be used for creating partial reports from a web page.
For mysociety/collideoscope#17
|
| |
|
|\ |
|
| | |
|
|\ \ |
|
| |/ |
|
| | |
|
|/
|
|
|
|
| |
Add by_category output to the /report/new/ajax call, containing all the data
that /report/new/category_extras returns for one category. Then alter the JS
to use that data immediately when needed.
|
| |
|
|
|
|
|
|
|
|
| |
add a do_not_send parameter to reports which allows the front end to specify a
comma separated list of bodies that reports should not be sent to even if
there is a valid contact match. This enables asset layers to override backend
body processing, e.g. if a body only accepts reports that are on a road this
allows the front end to specify that.
|
|
|
|
|
|
|
|
|
|
|
| |
Return a list of associated bodies on around/new pages and in category ajax
calls, and use that when deciding whether to show/hide layers. If the layer
has no body information, then we show it as before, maybe based on category
selected; if it does, it is only shown if the layer body matches the bodies
for the point.
As part of this create a new VectorAsset class to handle all the visibility
changes for asset layers as it makes it a bit tidier.
|
|
|
|
|
|
|
|
| |
Users who double click links were seeing an error when visiting the
questionnaire page. This change gives a grace period of two minutes
for revisiting the questionnaire page.
Fixes #2123.
|