| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
|
|
|
| |
This is so front-end tests will not try and send email, or
call Gaze. Various co-ordinates have to be updated because
the default zoom level of the map has now changed.
|
| |
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Fixes #2331
|
| | |
|
| | |
|
|/
|
|
|
| |
Currently keeping the same front end functionality of only reverting to
the original.
|
|
|
|
|
|
| |
The EmailUtil library expects "\n" line endings, otherwise it gets
confused. It also doesn't handle a different SMTP port, and so on.
We also make sure the return path is chomped.
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
This is so the dev server notices and restarts.
|
| |
|
|
|
|
|
| |
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
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
The fixture script now generates subcategories so we need to turn these
on in the Borsetshire demo site so the categories make sense.
|
|/
|
|
| |
Check selecting a category and selecting a sub category
|
|
|
|
| |
Switch on for Buckinghamshire.
|
|
|
|
|
| |
Upgrade a couple of modules, deal with '.' not present in @INC,
captures returning undef rather than '', and a test.
|
|\ |
|
| | |
|
|/
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
but only send if the problem as a customer reference and use that as the
external id reference
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a script for loading cobrands into an instance of the
FixMyStreet Docker container.
A directory containing the necessary module, templates, css, etc
should be mapped into the container at `/var/www/fixmystreet/cobrand`
and activated by adding the cobrand to `ALLOWED_COBRANDS` as usual.
See the documentation at https://fixmystreet.org/install/docker
for more details.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes four containers: app, memcached, nginx, and postgres.
The preinit script is used at container startup to ensure the database
is initialised. Includes a volume for the Postgres database to permit
persistence. Also sets the `PGDATA` variable to a subdirectory to
support optional use of a filesystem mount.
The repo/branch can be specified at build time.
If `SUPERUSER_EMAIL` and `SUPERUSER_PASSWORD` are set when the FMS
container starts the preinit script will pass these to
`bin/createsuperuser` when it starts up. These have been set to test
values in the supplied Docker Compose configuration.
Reverse proxy issue
===================
If nginx and fms were on the same machine, ReverseProxy would
automatically be in use, but via docker containers they are not. Do we
need to force it to be switched on? Let's see. There are four possible
options, with their outcome:
* port not in Host, ReverseProxy not in use
Anything using the automatically-generated base instead of BASE_URL uses
port 9000, meaning those links don't work.
* port not in Host, ReverseProxy in use
Anything using the automatically-generated base instead of BASE_URL uses
port 80, meaning those links don't work (they would if you had
docker-compose listen on port 80, being then a similar situation to e.g.
the AMI image).
* port in Host, ReverseProxy not in use
This works *unless* the port is 80, just to be contrary to the above; in
that case it is stripped and :9000 is put back on, meaning those links
again don't work. I realise we use 8000, but would be confusing if
someone tried it out.
* port in Host, ReverseProxy in use
This works in all scenarios, and thus is what we go with.
|
|
|
|
|
|
|
| |
- Adds support for additional variables intended to control when to
install postfix and postgres.
- Skips nginx setup and integration when performing a docker build.
- Don't print usage during docker build
|
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit 6bc39892d7075fac79c0f40b2740de095535329d.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The inactive report script can mark matched reports as closed for updates.
This removes the update form and signing up for updates from a report page.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|