| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
|
|
|
|
|
| |
Use the cross sell function to put an 'advert' for the survey on the
various confirmation pages
Create new alert email templates for fixmystreet co-brand so we can
include the survey link on those alone
All as one commit for ease of reverting when the survey is done.
|
|
|
|
| |
Fixes #653.
|
| |
|
|
|
|
| |
Following on from f117167 (and fixing comment from that commit).
|
| |
|
|
|
|
|
|
|
|
| |
"The length of 2000 characters is causing some issues in the underline
back office application."
Updated to include a comment making it (hopefully) clearer which council
this is for - thanks @davewhiteland!
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This value is now cached, but the template calls the function,
calculating it anew, so for old reports (closed within SLA) the
problem_row.html template showed these as overdue. Instead, we point
the template at a function which first checks the cached value.
(Attempting to roll this functionality into the .overdue() method itself
caused a fair amount of collateral test breakage, and it seems safest to
extract the caching function for now.)
Closes https://github.com/mysociety/FixMyStreet-Commercial/issues/462
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
See https://github.com/mysociety/FixMyStreet-Commercial/issues/461
Again, we just need to substitute the %params line (which elides
hidden reports) for the less restrictive %date_params.
This commit includes very basic tests for the previously untested
?export=1 functionality.
|
| |
| |
| |
| |
| | |
Test that the slash is added in correct place (the base URL should not
have its own trailing slash).
|
|/
|
|
|
|
| |
Remove from admin_base_url (which wraps config vars like
{ADMIN_,}BASE_URL) and add to places in code which aren't
expecting it.
|
| |
|
|
|
|
|
|
| |
As per comments after testing mysociety/FixMyStreet-Commercial#459, the
business logic of the actual state changes is fine, but the stats do
also then need to include hidden records.
|
|
|
|
|
| |
To allow us to infer additional stats changes requirements such
as in mysociety/FixMyStreet-Commercial#459 better in future.
|
|
|
|
|
|
|
| |
First test that this page is only available to superuser.
Then test that the moderated and fixed stats are doing something that
is (hopefully) the spec in mysociety/FixMyStreet-Commercial#459
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
see mysociety/FixMyStreet-Commercial#459 the new requirement is for
"Innerhalb von fübeitstagen abgeschlossen" - a report is dealt with
(abgeschlossen) as soon as the public state is Beantwortet (db: fixed -
council or closed) or Unsichtbar (en: Invisible, db: hidden).
Have added this as {closed_overdue} but have retained the logic for
{subdiv_overdue} logged in the %extra hash for now, in case it is
needed.
Note: as per Matthew "as with confirmed/in progress this should be 6 -
it's five days from moderation so is most simply just done as being six
since creation"
|
| |
|
|
|
|
|
|
|
| |
mysociety/FixMyStreet-Commercial#459 - we move "confirmed" to being
a moderated-but-not-complete state, and run the check for ->overdue
also on changing status from 'unconfirmed' (but only the first time,
so only if $extra->{moderated_overdue} isn't already set.
|
| |
|
|
|
|
|
| |
Use the internal hash URL of the photo so that it can still be seen in
the admin interface.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
When a body has been marked as deleted (currently only exposed in the
Zurich cobrand's admin) the categories for that body should not be
available on the report_new form.
Prior to this change there was an error running the
'zurich-overdue-alert' script, because it wasn't expecting the
'bodies_str' field to have any entries in the format 'x|y,z', this
prevents this problem from happening in the future (though it doesn't
fix any existing entries with this issue).
|
|
|
|
|
|
|
|
|
| |
If the ALLOWED_COBRANDS configuration variable only contains one entry
(and also work if it's a string rather than a list), always use that
cobrand, no matter what the hostname is.
The example Vagrantfile no longer needs the configuration changes at
all.
|
| |
|
| |
|
|
|
|
|
| |
The staging banner didn't fit, and .wrapper{position:relative} was breaking things :-(
Easier to keep it simple, drop the header and just set the title in the Cobrand module instead.
|
|\ |
|
| |
| |
| |
| |
| | |
splits emails on comma
WIP
|
|\ \
| |/
|/|
| | |
https://github.com/andylolz/fixmystreet into andylolz-389-report-search-ref
|
| |
| |
| |
| | |
Fixes #389
|
| |
| |
| |
| | |
This fixes #527.
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The phone number was made mandatory in #541. To make this change
compatible with older versions of the mobile app I've had to drop
server side validation of the phone number for requests that come in
from mobile apps.
To determine if it's a mobile request I'm checking the 'service'
parameter in the request, which is only set in requests from the mobile
apps [1].
The phone validation will still happen client side for the newer
versions of the app, and the web app will continue to work with the
server side validations.
[1] https://github.com/mysociety/zurich_mobile/blob/1fec2bc21dad9326819105cdbf5d47183e7503ba/www/js/models.js#L75
|
|\ |
|
| |
| |
| |
| | |
Closes mysociety/FixMyStreet-Commercial#426
|
| | |
|
| | |
|
| |
| |
| |
| | |
Fixes #586
|
| | |
|
| | |
|
|\| |
|
| | |
|
| |
| |
| |
| | |
Fixes #561.
|
|\| |
|
| |
| |
| |
| | |
You only need to pass in the values you wish to be different.
|
| |
| |
| |
| |
| |
| | |
In order to allow the iOS app to be tested in the app store we need to
allow the user to create a report but we don't want to send it. To allow
this hide reports with a specific title during send_reports
|
| |
| |
| |
| |
| | |
This is used in the Zurich admin to view a full size version of the
image before it has been made public.
|
| |\
| | |
| | |
| | |
| | | |
Conflicts:
t/cobrand/zurich.t
|