| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
|
|
|
| |
Historically, the extra field has been used in two different ways by
different cobrands, both as a list (e.g. Open311 category fields) and a
hash (e.g. the Zurich cobrand).
This commit consolidates usage, adding an API to make use of the field
easier and always returning a hash for the code to use. Fixes #1018.
|
|
|
|
|
| |
This is now handled by normal bodies in the admin. In order to remove
references in send_reports, tidy up (unused) EmptyHomes code a bit.
|
| |
|
|
|
|
|
| |
This is more friendly for e.g. copy and pasting by someone using the
Dynamics CRM software. Fixes #997.
|
|
|
|
|
|
| |
Cache a DateTime::TimeZone::Local object, so that in an environment
where /etc/localtime is a copy of a timezone file, we don't repeatedly
walk all the timezone files to find the matching one.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This matches the email template behaviour, and makes it much easier to
override without requiring a cobrand package file.
Fixes #979.
|
|/
|
|
|
| |
Remove some unneeded scripts, move others to cobrand-specific
directories.
|
|
|
|
|
| |
This means that e.g. SMTP authentication is used when set up by all
emails, not just non-cron ones. Fixes #988.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Requires previous (generic) commit to prevent information only
categories (e.g. Dead animals message) from displaying a spurious
textbox.
Also support for sending these custom fields by email:
Requires a hook in RS::Problem method, as by default, only a restricted
number of hard-coded fields are send in the email.
(And the template language is pseudo-PHP so we can't simply pass in the
whole data-structure.)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- redaction marked with [...]
- of report and comments
- stores original data
- uses a single form, on the report/_main view
- requires additional permissions (user_body_permissions)
- Hide report functionality
- Moderation notification/contact form
- Moderation writes to admin_log
|
|
|
|
|
|
|
|
| |
Add a type parameter to the /reports/body page to restrict list by
problem category.
Only link to report categories that have entries.
Fixes #798
|
|\ |
|
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 87451200e32a57947bb7b9facc4efb4f6644973b.
Reports that were sent when the Barnet integration was in place
still have an external_id which should be displayed.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Add some comments to the top of the open311 bin scripts.
|
| |
| |
| |
| |
| | |
This is very old, no-one seems to want/need it any more,
and more than one reuser does not want it. Fixes #715.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
bin/update-schema
locale/sv_SE.UTF-8/LC_MESSAGES/FixMyStreet.po
perllib/FixMyStreet/DB/Result/Body.pm
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
The call to set_lang_and_domain needs to happen before
the first string is translated (the report state).
|
| | | |
|
| | |
| | |
| | |
| | | |
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!
|
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
Fixes #586
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Conflicts:
t/cobrand/zurich.t
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
as expected
|
| |/ / |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Version 0.07027 of DBIx::Class::Schema::Loader introduced some changes
to the way it generates schemas.
> PostgreSQL WARNING: the default for on_delete/on_update attributes for
> belongs_to relationships is now 'NO ACTION' not 'CASCADE! The default
> for is_deferrable is now 0 not 1.
|
| |
| |
| |
| |
| | |
As doing interpolation from a database state field is not great for
translation. Fixes #391.
|
| |
| |
| |
| | |
instead.
|
| | |
|
| | |
|