| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
|
| |
Historically, emails sent offline (alerts, questionnaires, etc) used a
different templating system from those sent by the website (e.g. login
emails), though the newer system was also being used for the site name
and signature of offline emails.
|
|
|
|
|
| |
We check for a session's existence before looking in it, as looking in
it first would auto create a session.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Have moved the generation of banner text from the template into
problem_as_hashref
See mysociety/FixMyStreet-Commercial#672
|
|
|
|
| |
Required by Zurich for mysociety/FixMyStreet-Commercial#675
|
|
|
|
|
|
|
| |
Newer versions of Email::Simple (2.104+) treat arrayrefs in headers by fetching
the first item only in scalar context. Our snapshot installs 2.102, so this
shouldn't be an issue, but we might as well bypass Email::Simple for those
headers.
|
|
|
|
| |
Add a site_name template parameter available to all templates.
|
|
|
|
| |
This might be used now by e.g. the contact form.
|
|
|
|
|
| |
Matches send_email, remove unneeded setting of sender in one call, and
add contact name to report sent email.
|
|
|
|
|
|
| |
If the specified parameter was missing from `$c->req->params`, a list
of form `(undef)` would be returned. This commit makes it return an
empty list if the parameter is missing.
|
|
|
|
|
|
|
| |
Use a central get_param and get_param_list functions dependent on
whether we're after a scalar or a list (almost always a scalar). This
prevents any possibility of confusion where param() could return a list,
or params->{} an arrayref.
|
|
|
|
|
|
| |
Rather than hardcoding domain names, add a SECURE_PROXY_SSL_HEADER
variable that provides a trusted HTTP header and value that can be used
to determine if we're behind a HTTPS proxy.
|
|
|
|
|
|
|
| |
This matches the email template behaviour, and makes it much easier to
override without requiring a cobrand package file.
Fixes #979.
|
|
|
|
|
| |
This means that e.g. SMTP authentication is used when set up by all
emails, not just non-cron ones. Fixes #988.
|
| |
|
|
|
|
|
| |
This text was being imported encoded, which led to double-encoding when
used in templates. Fixes #960 and #961.
|
| |
|
|\ |
|
| |
| |
| |
| | |
so we can include the name of the site non TT templated emails
|
|/ |
|
|
|
|
|
| |
This is very old, no-one seems to want/need it any more,
and more than one reuser does not want it. Fixes #715.
|
|
|
|
| |
Rather than hardcoded mysociety.org.
|
| |
|
| |
|
|
|
|
| |
wrong function).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
cache issues (fixes a3).
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
bin/open311-populate-service-list
bin/send-comments
bin/update-all-reports
conf/crontab.ugly
db/schema.sql
perllib/FixMyStreet/App/Controller/Admin.pm
perllib/FixMyStreet/App/Controller/Report/New.pm
perllib/FixMyStreet/App/Controller/Reports.pm
perllib/FixMyStreet/Cobrand/Default.pm
perllib/FixMyStreet/Cobrand/LichfieldDC.pm
perllib/FixMyStreet/DB/Result/Open311conf.pm
perllib/FixMyStreet/DB/Result/Problem.pm
perllib/FixMyStreet/DB/ResultSet/Problem.pm
perllib/FixMyStreet/SendReport.pm
perllib/FixMyStreet/SendReport/Email.pm
perllib/FixMyStreet/SendReport/Open311.pm
perllib/Open311/GetServiceRequestUpdates.pm
perllib/Open311/PopulateServiceList.pm
t/app/controller/report_new.t
t/app/controller/rss.t
templates/web/bromley/report/display.html
templates/web/default/admin/council_contacts.html
templates/web/default/common_header_tags.html
templates/web/default/dashboard/index.html
templates/web/default/front/stats.html
templates/web/default/report/_main.html
templates/web/default/report/update-form.html
templates/web/emptyhomes/index.html
templates/web/emptyhomes/report/display.html
templates/web/emptyhomes/report/new/councils_text_all.html
templates/web/emptyhomes/reports/body.html
templates/web/emptyhomes/reports/index.html
templates/web/fixmystreet/report/new/fill_in_details_form.html
templates/web/fixmystreet/report/update-form.html
web/cobrands/fixmystreet/fixmystreet.js
web/js/fixmystreet.js
|
| | |
|
| | |
|
| |
| |
| |
| | |
templates to suit.
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Due to old cobrands, this involves the subclasses implementing the
web templates dir to ignore what the default is doing.
A vaguely garish yet pleasing colour scheme has been chosen so that
the site is both usable and suggests you may want to change it.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
database. Fixes #9, basics for #209 (needs light box adding).
|
|
|
|
| |
results in a cobrand.
|
|
|
|
| |
otherwise it comes in automatically from the stash.
|