| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
|
| |
Ignore case of config variable.
|
|\ |
|
| |
| |
| |
| |
| | |
Inactive ones can still be used for e.g. list filtering,
but not when making a new report.
|
| |
| |
| |
| |
| | |
A new 'state' column replaces confirmed and deleted, allowing
categories to be unconfirmed, confirmed, deleted or inactive.
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a much broader summary page, plus a body name autocomplete.
This was originally implemented for fixmystreet.com in 8a6a4ccb7.
It also adds '(no longer exists)' in the autocomplete next to
bodies not covering any areas.
You can supply the `--table` argument to `update-all-reports` to
generate the old-style data.
|
|/
|
|
|
|
| |
If an /about/homepage.html template exists in your cobrand, it
will be used as the front page, and the normal front page will
be available at /report.
|
|
|
|
|
| |
Add hook for post-title field content in report form.
Update translations.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Revert the behaviour from 36baff2d, so that everyone can use the 'action
scheduled' state, and instead if someone with report_instruct permission
has the state set to 'action scheduled', add an extra mandatory question
asking whether they want to raise a defect or not.
|
|\ \ |
|
| |/ |
|
|/ |
|
|
|
|
|
| |
This now lets the response priority and defect type handling share the
same code.
|
| |
|
|
|
|
| |
This means that the tests can be run in parallel.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Historically in UK cobrands, bodies have had IDs the same as the MapIt
area ID they cover. This can be confusing (if you are setting up a dev
environment, say) and should not be necessary. This commit removes the
requirement entirely, by switching any ID checks to either the name of
the body, or the actual area it covers.
One note: the body name in the test has to match so that we do not get
two bodies both covering 2237 created. This will not be necessary when
the tests are compartmentalized in the next commit.
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
It is possible the report's state isn't one that the user can access,
but in that case we should still show it to avoid confusion.
|
| |
| |
| |
| |
| | |
Without the report_instruct permission, the 'action scheduled'
state is not an option in the dropdown.
|
| |
| |
| |
| | |
This lets it look the same as admin/inspect uses, with optgroups.
|
| | |
|
|/
|
|
|
| |
Switch it to use our mock MapIt. Also remove other unused
overrides to external services.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
If the longitude was very close to 0, it was being sent as e.g. 1e-6
in the request to MapIt. Mock out the Bing query so that this can be
tested (the closest.t tests were previously always being skipped).
|
|/ |
|
| |
|
|
|
|
|
|
| |
If the creation of this test report and the loading of the dashboard
took place within the same second, the test report would appear in a
different column than the test expected.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Allow find_closest to be called multiple times with only one lookup,
and to return just its data, not a compiled string.
|
|
|
|
|
|
|
| |
The report-sending code has allowed multiple emails for a long time, but the
admin wouldn't allow you to enter multiple emails for each contact.
Fixes mysociety/FixMyStreet-Commercial#835
|
|
|
|
|
|
|
|
|
|
| |
0.09 was communicating with v2.2 of the Facebook API which was switched off
on 25th March 2017, so Facebook logins were no longer working.
Mock::Facebook was updated to correctly return JSON from /oauth/access_token,
to match the behaviour expected since v2.3 of the FB API.
Fixes #1681
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Email::Send is long deprecated and uses submodules that no longer work
correctly (e.g. Net::SMTP::TLS breaks with recent IO::Socket::SSL). We
create an Email::Sender subclass to perform the same functionality and
this also simplifies the email code with simpler envelope handling.
Bundle Email::Sender::Transport::SMTP to include fix from
https://github.com/rjbs/Email-Sender/issues/46
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
The code was adding two days and seven/eight hours to a floating
DateTime, which from 5-7pm on 23rd March 2017 created a DateTime
between 1-2am on 26th March which does not exist in e.g. the UK.
|
| | | |
|
| |/ |
|
|/
|
|
|
|
|
|
|
| |
Problems can have an associated defect type, that can be assigned during
an inspection. Include an admin interface for managing these types, that
can also be assigned on a per-category basis, currently available to the
Oxfordshire cobrand.
(Also include 'TM' in traffic management Exor RDI output.)
|
|
|
|
| |
This has been running for a year, added in e17eb20.
|
|\ |
|
| |
| |
| |
| | |
This works better if e.g. a user stops being associated with a body.
|
|/
|
|
|
|
| |
To deal with a recipient mail server not allowing inbound email
using the same domain as an internal domain, e.g.
https://community.mimecast.com/docs/DOC-1419
|