| Commit message (Collapse) | Author | Age | Lines |
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In order to try and cut down on people mistakingly using this form to
try and contact their council all some 'who are you trying to contact'
options to the form that display appropriate messaged unless the 'FMS
team option is selected.
Add the validation code for this in the cobrand module.
Fixes #41
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In order to allow us to do funnel analysis in google analytics we need
to send a differnt page url when a user completes a report. To do this
we add a report_created=1 to the query string on either the report page
or the report confirmation page for logged in and confirm by email users
respectively.
There's a bit of complication as we don't want to set a session cookie
everywhere as that will break caching so we set a stash variable,
although if the user is logged in this is controlled by a variable in
the flash as there is already a session cookie at this point.
also, removes the code that sends an event upon report completion as
this was no use for funnel analysis.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This makes it a bit easier to override the message in templates which
makes it a bit easier for cobrands.
Leaves the default error message in location_error stash key which
should prevent any existing logic breaking.
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Add never_confirm_updates setting to cobrand that, when set to 0 means
that comments are confirmed with no confirmation step. Essentially
behaves as it would if the user was logged in.
Also add a flag to the flash that indicates the comment was accepted to
you can display a message on the report page if required
|
|/
|
|
|
|
|
|
| |
At the moment it's hard to use google analytics to track when someone
has completed a report due to the various redirects which can occur too
quickly for the analytics javascript to fire. So now we fire an event if
we've set a flash value. This also allows us to track how they created
the report.
|
|
|
|
|
| |
Otherwise oddities arise due to summer time differences
putting a BST now-6d23h time behind a UTC now+1s-1w.
|
|
|
|
|
|
|
|
|
| |
New cobrand function of pin_path that sets the path to where the image
files for pins are located. Defaults to /i
This still means they need to use the same file names but they can at
least put those in a cobrand directory rather than having to overwrite
the files in /i or fudge it with pin_colour
|
|
|
|
|
| |
Include a one-off script that sets send_questionnaire to 0 for
all available cobrands that have send_questionnaires set to 0.
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
bin/update-schema
locale/sv_SE.UTF-8/LC_MESSAGES/FixMyStreet.po
perllib/FixMyStreet/DB/Result/Body.pm
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Provide a button to download the details and text of reports
at the second "Look up" button on /dashboard.
Provides acknowledged, fixed, closed dates by parsing updates.
Fixes #692 (and mysociety/FixMyStreet-Commercial#399)
Email is not shown, and name honours anonymous flag: as /dashboard
is accessible to people who are from_body (who still do not see
anon-users name and email in the FMS web app.)
A basic test is provided as per Zurich's similar report.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This deals with the issue of hiding a two_tier category for the
Hart cobrand, without removing it for the whole of Hampshire,
e.g. see https://github.com/mysociety/FixMyStreet-Commercial/issues/477
but is written as a generic extension to setup_categories_and_bodies
as it may be generally useful.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Usually you won't get to "Your Reports" page without any
content (reports or updates) but it's possible to do so,
as we just discovered in a client meeting, logging into
that page, and arriving on a screen of blank content with
no guidance. This patch shows some text and a link to
create a new report, if there aren't any problems/updates.
Fixes #671
|
| |
| |
| |
| |
| |
| | |
Remove from admin_base_url (which wraps config vars like
{ADMIN_,}BASE_URL) and add to places in code which aren't
expecting it.
|
| |
| |
| |
| |
| | |
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).
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | | |
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 #561.
|
| |
| |
| |
| |
| | |
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
|
| | | |
|
|\ \ \
| |/ /
|/| | |
|
| |\| |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
now shows which flagged users are in abuse table, which seems important
(separate issue #523 to make managing and indeed viewing abuse table)
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
admin hints are displayed *like it or not*
(actually, could hide for a given cobrand with CSS setting display:none)
|
| |/
|/| |
|
|/
|
|
| |
running test suite
|
| |
|
| |
|
|
|
|
|
| |
This is so that the mobile app can use the list to build the appropriate
UI as fixing the HTML that is sent for the site is too awful.
|
| |
|
| |
|