| Commit message (Collapse) | Author | Age | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| | |
And FixMyStreet.com specific open questionnaire page.
|
| |
| |
| |
| |
| | |
this means we can use this in email templates and get the correct non
html text back even if AREA_LINKS_FROM_PROBLEM is true
|
| |
| |
| |
| | |
so we can include the name of the site non TT templated emails
|
| |
| |
| |
| |
| |
| | |
Otherwise, when MapIt Global is updated, the 'point' lookup, as it only
returns the current generation by default, might no longer return the
areas present in the whitelist.
|
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 87451200e32a57947bb7b9facc4efb4f6644973b.
Reports that were sent when the Barnet integration was in place
still have an external_id which should be displayed.
|
| | |
|
| |
| |
| |
| | |
Fixes mysociety/FixMyStreet-Commercial#501
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
subcategory_line is optional in seesomethingsaysomething, so we need to set
it to something (a blank line is what I've chosen) otherwise email sending
breaks when it tries to template up the email message
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Instead of counting the number of lines output by dashboard CSV export,
the content is parsed as CSV and the number of rows present is checked.
Also includes a problem report that's split across multiple lines, testing
the fix for mysociety/FixMyStreet-Commercial#494 introduced in
d75e161c151c4f1e6dced24eae3170e01f9b7ba6.
Closes #780.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
By default, Text::CSV doesn't allow binary characters such as newline,
carriage return etc., in cells. This causes issues when exporting data
that contains these characters, such as problem reports with more than
one line.
This commit also explicitly tells Text::CSV to append a newline to each
row instead of joining the rows together with this char at the end.
Fixes #494.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
include logos and change the header text
closes #751
|
| |/
|/| |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The test relies on a body for westminster council existing which is
crated in an earlier test if you run the whole test suite. However it's
not present if you run only this test against an empty database so add
it to the list of created bodies.
|
| | | |
|
|\ \ \ |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Remove problem confirmed times as well as states
Also problem -> clinic
|
| | | |
| | | |
| | | |
| | | | |
add files and change config in cobrand
|
| | | |
| | | |
| | | |
| | | | |
Closes #703
|
| | | |
| | | |
| | | |
| | | | |
awaiting the hindi translation so don't have a link to it
|
| | | |
| | | |
| | | |
| | | |
| | | | |
make links same height as on other pages
increase height of banner to be the same as other pages
|
| | | |
| | | |
| | | |
| | | | |
front page and faq
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Include date in alerts
Remove everything apart from the update text as we don't need it
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is useful for sites where the updates aren't published on the site
so you need a bit more context in the email alerts.
Add inlude_time_in_update_alerts to default cobrand, off as default
If this is set then the date is added after the name string in the
email, passing in 'alert' as the type to dt_prettify in order to allow
the cobrand to format it accordingly.
This does require pulling out the alert confirmed time from the database
in the send_alerts code where it wasn't before.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
uses select2 for the dropdown and a cobrand call to fetch the list of
report titles as the clinic names.
Relies on a redirect in httpd.conf to make the non JS version work.
Still leaves the postcode search in place as select2 won't accept custom
terms if you base it on a select box, which we want to do so it works if
JavaScript is disabled
Fixes #723
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Change to use sites terminology
update notes on what happens to information
remove some unused template tags
|
| | | |
| | | |
| | | |
| | | |
| | | | |
only really want the title and the details as all the rest is not
relevant
|
| | | |
| | | |
| | | |
| | | |
| | | | |
and display a message on the report page to indicate the update has been
sent as it's never displayed
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is to stop the main FixMyStreet .po file being filled up with
strings that only apply to a single Cobrand that are not relevant to
people running their own fairly vanilla version.
Restrict the list of templates that we pull strings out of by generating
a list of all the ones in currently translated cobrands for minimal
impact. Use that to create the FixMyStreet.po file in gettext-extract.
I've left the existing cobrands in but at some point we should split
these out.
Add a specific script for generating Cobrand .po files which extracts
strings from the Cobrand's templates. This is then translated and the
translated file place in the locale/$lang/LC_MESSAGES.
The the merge_cobrand_po script is run which will create an
autoCobrand.po file which has the Cobrand strings and the FixMyStreet
strings. This is then the domain used by the Cobrand.
Any cobrand specific strings from the Perl code are still in the
main FixMyStreet .po file but there should be relatively few of them so
it's less of an issue.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
remove photos etc
update step text
change background colour and remove crop shadow
|