| Commit message (Collapse) | Author | Age | Lines |
|\ |
|
| |
| |
| |
| |
| | |
Also move some UK-specific code in the same function.
The specific code is still tested in report_new.t.
|
| | |
|
|/ |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a special category email address used to show an unresponsive
message and page when trying to report in that category. Add a "Refused"
send method for setting a whole body to be unresponsive and show the
message immediately, not on category selection.
Factor out category template, and put at top where needed.
|
| |
| |
| |
| |
| | |
Because a body can cover more than one area, `area_ids` might contain
multiple values when updating or creating a body.
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The MakeMyIsland cobrand files now live in a separate repository:
mysociety/fixmystreet-international
The idea is that this repo will be checked out alongside the main fixmystreet
one and cobrand-specific files symlinked into place. To this end, the commit
also adds the MakeMyIsland symlinks to .gitignore.
|
| | |
|
| |
| |
| |
| |
| | |
This also adds a new grey pin which is used by the Oxfordshire
cobrand for reports that aren't the Council's responsibility.
|
| | |
|
| |
| |
| |
| |
| | |
This adds a new problem_response_days sub to the Oxfordshire cobrand that
provides an expected response time based on a problem's category.
|
| |
| |
| |
| | |
This is no longer used.
|
| | |
|
|/
|
|
|
| |
Problems for Greenwich reported via the fixmystreet cobrand weren't having the
external_id included in the Open311 request and were failing.
|
|
|
|
|
|
|
| |
Restrict email_sign_in token to one day, unused confirmation tokens to
one month. Used tokens will redirect to the created thing but not log
in; don't log in with alert links (unsubscribe link never expires, reply
link will still show "reopen" tickbox).
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This allows the /reports page to be filtered using the status/category
dropdowns.
This is implemented in a manner that means the t/c params will override
status/category.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
If present, the 'status' param can be set to 'open' or 'fixed' to display
ensure only open or fixed reports respectively are included in the response.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Removes the italics, and breaks the wording into two
separate paragraphs, at the top of the report page.
|
|
|
|
|
| |
Refactor the default ordering into a method on the Default cobrand
which can be overridden by subclasses.
|
|
|
|
| |
To allow visible/hidden states to be manipulated at runtime.
|
|
|
|
|
|
|
| |
The previous commit added some disambiguation, but it didn't actually
work - despite the string working when you search for it directly.
This commit improves that, so we just add a postcode to the road name,
which definitely works.
|
| |
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Original Report description
- Amended Report description (unsure what this is)
- Media URL (currently one picture, in the future 1-3 pictures)
- Interface used (see open311)
- Requested datetime (see open311) (seems to be same as
created)
- Agency sent datetime (see open311)
- Updated datetime (see open311)
- Council-Response
- title
as per https://github.com/mysociety/FixMyStreet-Commercial/issues/678
|
| |
| |
| |
| | |
for https://github.com/mysociety/FixMyStreet-Commercial/issues/678
|
|/ |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Harrogate asked for NYCC managed issues to be linked to that
council's website. We don't prevent the issue from being logged,
but do show a warning banner.
As this is at Harrogate's request, we only do this for the Harrogate
cobrand, not the whole site, using a new cobrand hook
`munge_category_list`
Unfortunately, categories are currently passed to the template as
plain text, e.g. not structured data. As a simple implementation,
we append "( NYCC)" to the appropriate category names.
JS could then strip the names back in future, if required (though
we're not doing this.) Instead we add a jQuery hook to show the
most appropriate link provided.
See https://github.com/mysociety/FixMyStreet-Commercial/issues/703
|