| Commit message (Collapse) | Author | Age | Lines |
|\ |
|
| |
| |
| |
| |
| | |
Upgrade a couple of modules, deal with '.' not present in @INC,
captures returning undef rather than '', and a test.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Stop red warning being output by S3 bucket creation failure test
* Make sure 'num_old_reports' is always a number on /around pages
* Stop 'category_extra' being generated when unnecessary
* Prevent warning printed in getservicerequestupdates.t
* Prevent info lines from being output in develop.t
* Remove line of #s in root.t
* And an ID diag in zurich.t
|
|/ |
|
|
|
|
|
|
|
|
|
| |
This changes a handful of example commands that restart the fixmystreet
application server to use the `service` command rather than the script
in `/etc/init.d`. This should be compatible with systems using either of
`systemd` or `sysvinit`.
[skip ci]
|
|
|
|
|
|
|
|
|
|
| |
This expands the documentation on using our official AMI to cover in
more detail options for customising installations using our Packer
builds.
It also updates the current official AMI ID with the latest relase.
[skip ci]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
v2.8 of the FB API is due to turn off in April 2019, let's upgrade well
in advance.
|
| | |
|
| | |
|
| |
| |
| |
| | |
So version 2.4.1 has no translation changes, putting back straight after.
|
| |
| |
| |
| |
| |
| | |
Add options to set the cobrand plus related options for co-ordinates,
name and area id to the browser test command. Set BASE_URL to same as
test server, as that is used in e.g. list link output.
|
| |
| |
| |
| |
| | |
rather than hardcoding a postcode pull it from ENV to make testing a bit
more flexible for use in cobrand testing
|
|/
|
|
|
| |
Adds some div wrappers round the non category bit of the form so we can
then hide easily.
|
| |
|
| |
|
|
|
|
|
| |
Map ward names on their short names, so any processing
applies equally to URL and names returned by MapIt.
|
|
|
|
|
|
|
|
| |
This adds a systemd service unit file for managing the FixMyStreet
Catalyst process manager.
This also updates the commonlib submodule with matching changes to
our install scripts.
|
|
|
|
|
|
|
| |
This led to an odd issue whereby a deleted category started being
used for a category change, but only when the other category with
the same name was edited (so thus changed the database's internal
ordering).
|
|\ |
|
| |
| |
| |
| |
| |
| | |
replace_query_parameter() was stringifying select multiples, meaning
they were incorrectly recorded by the pushState and thus breaking on
navigation.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Including testing the filters, viewing a report, and pushState.
Plus a mock MapIt handler for returning a GeoJSON outline, to make the
page load. The BASE_URL is also set to the same as the test server, as
that is used in list link output.
|
| |
| |
| |
| |
| | |
The existing fixture script generates random results so is no use for
front end testing.
|
| |
| |
| |
| |
| |
| |
| |
| | |
When using the mySociety Vagrant box, ensure that the `local/` directory
is present before attempting to bind mount the pre-built Perl modules.
Without this directory present the bind mount will fail and the Perl
modules will all be built again unnecessarily.
|
| |
| |
| |
| |
| |
| | |
The install script calls a service restart at build, this failed
if the stop action in the init script doesn't check for the
existence of the PIDFILE first, so check.
|
| |
| |
| |
| | |
Fixes #2263.
|
|/
|
|
| |
checks what is shown/hidden at various screen sizes
|
|
|
|
| |
The new lookup would only work if it was present.
|
|
|
|
|
|
| |
Rather than pulling across the preinit file from master, use the
version in the copy of FixMyStreet on the image - this will then
match the release actually being built.
|
|
|
|
| |
Fixes mysociety/fixmystreet-commercial#1131
|
|
|
|
|
| |
The change to web/js/front.js was required because Oxfordshire has no
`.report-a-problem-btn`, so the front.js shouldn’t assume it’s there.
|
|
|
|
|
|
|
|
|
|
|
| |
The large negative text-indent can sometimes cause horizontal scrollbars
in Right-to-Left languages, and, in some browsers, can also result in a
huge :focus outline being drawn around the button and off to the right
of the window.
Setting a zero height, padding top, and overflow:hidden is a simpler
way to achieve the same thing, and works regardless of text direction,
text length, or focus state.
|
|
|
|
| |
There is no need for #front_stats to always be nested inside of #front-howto.
|
| |
|
|
|
|
|
|
|
|
| |
The reference number is a) the FMS report id which is irrelevant and b)
we don't get an OCC reference number back immediately so could not show
it anyway.
Related to mysociety/fixmystreet-commercial#1193
|
|
|
|
|
| |
but only send if the problem as a customer reference and use that as the
external id reference
|
|
|
|
|
| |
we no longer need some of the hardcoded oxfordshire Open311 overrides so
remove them
|
|
|
|
|
| |
OCC uses the customer reference from extra to store the enquiry
reference so use that on the report page rather than external_id.
|
|
|
|
|
| |
If an Open311 update has a customer_reference property then add that to
the metadata for the problem.
|
|
|
|
|
| |
This is required to build some of the Perl modules pulled in by the
addition of `Net::Amazon::S3`.
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|