| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
|
| |
jhead 3.00 considers 0 an invalid value for EXIF orientation and will replace it
with 1 when run with the -autorot flag. This was causing a test failure as the
SHA hash of the sample image was being changed.
|
|
|
|
|
|
| |
If you had no session cookie, started reporting a problem, logged in
through that process, you would then get a CSRF error as the token
had been created before the session was.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
If we don't do this, the default quoted-printable encoding will make
sure the lines are physically wrapped anyway. format=flowed could be
an alternative, but I think "=" acting as a quasi-hyphen is somewhat
nicer than every line ending with "=20".
A better solution could be quoted-printable doing soft wrapping only
at word breaks, making each line be readable though end with a " =",
but that didn't seem worth the effort involved.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Fixes #1286.
|
|
|
|
|
| |
Even when we ask for a specific range of dates, we sometimes get given
more in the response.
|
|\ |
|
| | |
|
| |
| |
| |
| | |
And associated, e.g. nothing references fixmystreet-old-box.js any more.
|
| | |
|
| |
| |
| |
| | |
Pull in the same fix that was made in f598f56f for the Facebook tests.
|
|\ \
| |/
|/| |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Store image type along with hash in photo column, and use that when
outputting images / generating URLs. Make sure all public photo URL
generation goes through appropriate functions, and change temp URLs
so the filename can be output directly from the list.
|
| |/
| |
| |
| |
| | |
We check for a session's existence before looking in it, as looking in
it first would auto create a session.
|
|/
|
|
| |
Fixes #574.
|
|
|
|
|
|
|
|
|
|
| |
Test::PostgreSQL sets up a new database with initdb and empties the
generated postgresql.conf; PostgreSQL 9.2+ sets its locale/timezone
information at the initdb stage, not when it is run. It is possible
therefore for the tests to be in one timezone but the test database
to be in another (GMT) – causing a test failure when e.g. an update
is created manually. Make sure the first comment is well before the
others being tested, so there is no chance the order gets confused.
|
|\ |
|
| | |
|
| | |
|
| | |
|
|/
|
|
| |
Fixes #1266.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following modules had bugs that have been fixed for working in
recent perls:
* List::MoreUtils
* Guard
* PadWalker
* aliased
* URI
* Convert::NLS_DATE_FORMAT
The CGI module was removed from core in 5.20, so include it in the
snapshot (I don't think it's actually used, but is a dependency).
"{" needs to be escaped in regular expressions, and ~~ should not be
used.
Fix some tests that expect e.g. a certain hash ordering, to use sorted
output or better comparisons.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Includes a smiley, bright yellow homepage, and updated nav bar and
footer across the entire site; a few content changes; request for
gender information from users.
Fixes #1341.
|
|/ |
|
|
|
|
|
|
| |
This adds a new cobrand variable, report_form_extras, which contains a
list of extra fields that will be saved in the 'extra' metadata of the
report. Fields may optionally be marked as required.
|
|
|
|
|
| |
If a user is logged in, use their last report/update to set the default
anonymity state.
|
|
|
|
|
|
|
|
|
|
| |
Auto unsubscribe alert bounces, forward on report bounces and alert
replies to support, and send through to report creator non-bounce
replies to their report (for systems that ignore both the From and
Reply-To headers).
Also forward any totally unparsed bounce to support to possibly then
adjust this bounce handling.
|
|\ |
|
| | |
|
|/
|
|
|
|
| |
There might be the odd update alert we are interested in (those not
auto-signed up for as part of report or update creation), but they
will be rare.
|
|\ |
|
| |
| |
| |
| | |
Fixes #1315.
|
| | |
|
|/
|
|
| |
Thanks to @jonkri for spotting.
|
|\
| |
| |
| |
| |
| | |
Conflicts:
templates/web/base/report/new/fill_in_details_form.html
templates/web/base/report/update-form.html
|
| | |
|
| | |
|
|/
|
|
|
| |
Use design of auth/token in generic error, 404, and token server error
pages, and use the same error for too old/ token not found errors.
|
|
|
|
| |
Also adds admin ability to rotate update photos.
|
|
|
|
|
| |
Remove get_photo_params, which only looked at the first photo,
make explicit when we're doing that using `.first`.
|
| |
|
|
|
|
|
| |
92dfeac used an incorrect user column name in the new lookup,
and there was no test to catch the regression.
|
|
|
|
|
|
|
|
|
|
| |
Three file inputs, progressively enhanced with dropzone.
This moves the photo input higher up, so that photos can upload while
you're filling out the form. It standardises and improves photo error
handling.
[fixmystreet.com] Guidance for what photos should and shouldn’t include.
|