| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
|
| |
This is so the dev server notices and restarts.
|
|
|
|
|
| |
Cobrands might include the fields elsewhere, e.g. in moderation.
Also only use 6 decimal places.
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
| |
|
|
|
|
| |
use symbol code to limit the types of roadworks that show.
|
|
|
|
|
| |
use the filter option to only display roadworks message for road related
categories
|
|
|
|
|
| |
add a `fixmystreet.roadworks.filter` option which cobrands can override
to control when the message is displayed. e.g. limit by category.
|
|
|
|
| |
Uses same parsing of roadworks messages as Lincs
|
|
|
|
|
|
|
|
|
| |
The addition of `:3000` to `BASE_URL` is now only made when not using
the FixMyStreet box as this will be supplied in by the `setup` script in
that case. This should also only be applied when not already present to
prevent it being added repeatedly.
[skip ci]
|
|
|
|
|
|
|
|
| |
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]
|
| |
|
| |
|
|
|
|
|
|
|
| |
This adds a cobrand configuration option for always showing the
body user's name in updates.
Fixes #1860
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Previously if there was a mix of groups and top-level categories
they weren’t sorted together.
|
|
|
|
|
| |
Utility script that takes a time window and an option body name and then
fetches all the comments over that period in 24 hour blocks
|
|
|
|
|
| |
Allows creating scripts that fetch comments for a single body, e.g for
batch updating or because they require special setup.
|
|\ |
|
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| |
| | |
do not use details directly from user object because in the slim chance
that the user has phone and email verified and there is a failed email
login we display the phone number from the database.
|
| | |
|
| |
| |
| |
| |
| | |
As well as the original form using #form_photo, add
Dropzone to any form with a .js-photo-label in it.
|
| | |
|
| | |
|
|/ |
|
|
|
|
| |
disable, enable and delete for user alerts on user_edit page
|
|
|
|
|
| |
Include a list of alerts the user is subscribed to at the bottom of the
user_edit page in the admin.
|
|
|
|
| |
Also, remove top of page link that was hardcoded to a now missing page.
|
|
|
|
|
|
|
| |
Change contact links to main Bromley site contact and limit the contact
form to only accept abuse reports.
Fixes mysociety/fixmystreet-commercial#1198
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- When using the official box, just run `script/update` at startup as
the latest release (0.0.3) has everything fully pre-installed;
- Ensure `/home/vagrant/.cpanm` is owned by vagant user;
- When using the official box, always run the provisioner that checks
and bind mounts the local pre-built Perl modules when starting as
these would previously have been missing after a `halt` and `up`;
- When using any other box, just run the full install process.
[skip ci]
|
|\ |
|
| | |
|
|/
|
|
|
| |
The //= meant that once `$open311` was populated we reused it each time
which mean we were passing the original config in to each body.
|