| Commit message (Collapse) | Author | Age | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Simplify markup required for the status banner.
* Simplify styles - the banner is now identical on all screen sizes.
* Move the banner from `report/display.html` into `report/_main.html`
so that it can appear after `.problem-back` in the source order.
* Use real pin icon instead of `pin-flat-white-small.png`.
* Set a default `$col_fixed_label` colour in `_base.scss`, so cobrands
don’t have to define it themselves if they’re happy with green.
* Introduce `$col_fixed_label_light`, with a sensible default for all
cobrands, even ones that have a custom `$col_fixed_label`.
* Remove `$col_fixed_label_dark` – no longer needed.
|
| |
|
|\ |
|
| |
| |
| |
| | |
Co-authored-by: Zarino Zappia <zarino@mysociety.org>
|
|/ |
|
|
|
|
| |
Fixes #1649.
|
| |
|
| |
|
|
|
|
| |
Fixes #2294
|
|
|
|
|
| |
This should reduce the incidence of the ‘Problem id X for Y has an
invalid time, not creating’ cron errors we’ve been seeing.
|
|
|
|
|
|
|
| |
If set then when the user creates a new body report it will prefill the
report title and description with some basic text.
For mysociety/freshdesk#23
|
|
|
|
|
|
|
| |
If a user has this permission then the report_as dropdown will
default to reporting as the body.
For mysociety/freshdesk#23
|
| |
|
| |
|
|
|
|
| |
(This might well have been done client-side by Dropzone.)
|
| |
|
|
|
|
|
|
|
|
| |
Allows user's to see the inspector panel to mark reports as Private, and
also to view those non-public reports. Useful for call centre staff who
want to record private reports but don't need to other permissions.
Fixes mysociety/fixmystreet-commercial#1213
|
| |
|
|
|
|
|
|
|
| |
- Group wasn’t being set correctly by open311-populate-service-list as cobrand attribute
not being updated for each body.
- Extra metadata was being persisted to the DB every time even if nothing had changed,
causing lots of duplicate entries in contacts_history.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that the "Report a problem" link in the nav bar links, more often
than not, to the reporting form rather than the homepage, it could be
challenging to actually start a new report in a location *other* than
the one currently on screen.
Rather than adding a link to the homepage, this change hopefully adds
a link right at the moment the user expects it – right on the "Report
a problem" form.
It also gave us an opportunity to reword the "Wrong location" message
and give it an icon more suitable for high-dpi displays.
Fixes #2238.
|
| |
|
|
|
|
| |
This reverts commit ee3c4e05daf3f4df01762ead3d07697a12f13a28.
|
| |
|
|
|
|
|
|
|
|
| |
This adds support in `script/setup` for generating a local `general.yml`
if it doesn't already exist and is run as the `vagrant` user. This is
called from the `Vagrantfile` when using the FixMyStreet Vagrant box.
[skip ci]
|
| |
|
|\ |
|
| |
| |
| |
| | |
If a cobrand provides those fields.
|
| |
| |
| |
| | |
Fixes mysociety/fixmystreet-freshdesk#24.
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
Anything using old names should still work as long as they included the
mixins file.
|
|/ |
|
|
|
|
| |
disable, enable and delete for user alerts on user_edit page
|
|
|
|
|
| |
Add abuse_reports_only cobrand method that prevents the contact form
being used unless it's an abuse report.
|
|
|
|
|
|
|
|
| |
The change in report_inspect.t from WODC to Oxford City was necessary
because moving reports to a location not in Mock::MapIt was resulting in
an empties bodies_str in the "test category/body changes" test.
Fixes #2181.
|
|
|
|
|
|
|
| |
Add a count of currently active alerts on new updates for a report to
the admin page.
Fixes #669
|
|
|
|
|
| |
call ZOOM_LEVELS and MIN_ZOOM_LEVELS using self so that we can override
them in a subclass.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
body.url could still be in use by old-school /reports table index pages
(though they were dropped in 2.1, so a cobrand would have to have
overridden it since then) and the update to speed up body lists in #2248
broke it. This puts it back in minimal form.
|
|/
|
|
|
| |
This allows a cobrand to e.g. as the test does, allow public access to
dashboard CSV export for a body, but not otherwise.
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If /report/new is opened directly then the fixmystreet.reporting_data is
not set, but the categories are already in place. These are then
replaced when update_pin is called. If this has been triggered by
clicking on a category with a subcategory this replaces the category
selects but did not correctly reset them. By saving any selected value
in the main category select we can correctly reset this and hence the
display of the subcategory select.
Fixes #2276
|
|/
|
|
| |
Add a cobrand hook to allow searching by reference to be overridden
|
|\ |
|
| | |
|
|/
|
|
|
| |
Upgrade a couple of modules, deal with '.' not present in @INC,
captures returning undef rather than '', and a test.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that the "Report a problem" link in the nav bar links, more often
than not, to the reporting form rather than the homepage, it could be
challenging to actually start a new report in a location *other* than
the one currently on screen.
Rather than adding a link to the homepage, this change hopefully adds
a link right at the moment the user expects it – right on the "Report
a problem" form.
It also gave us an opportunity to reword the "Wrong location" message
and give it an icon more suitable for high-dpi displays.
Fixes #2238.
|
| |
|