aboutsummaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeLines
* Version 2.5.v2.5Matthew Somerville2018-12-21-1/+1
|
* Activate test_mode on JS testing.Matthew Somerville2018-12-12-0/+1
| | | | | | 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.
* [fixmystreet.com] More categories in fixture.Matthew Somerville2018-12-08-7/+28
|
* Merge branch 'joe/2331-handlemail-cobrand'Matthew Somerville2018-12-03-9/+28
|\
| * Spot more autoreply headers, and set our own.Matthew Somerville2018-11-30-1/+10
| |
| * Read in autoresponse template as UTF-8.Matthew Somerville2018-11-27-4/+3
| |
| * Adds cobrand support for handlemail.Joe Siltberg2018-11-27-5/+16
| | | | | | | | Fixes #2331
* | Include missing package in handlemail-support.Matthew Somerville2018-11-29-0/+1
| |
* | Associate moderation history with admin log.Matthew Somerville2018-11-27-0/+1
| |
* | Store all moderation change history in database.Matthew Somerville2018-11-26-0/+7
|/ | | | | Currently keeping the same front end functionality of only reverting to the original.
* Use standard email sending for handlemail.Matthew Somerville2018-11-23-13/+15
| | | | | | 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.
* add report_prefill user permissionStruan Donald2018-11-19-0/+6
| | | | | | | 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
* [UK] Front end tests for Highways England layerStruan Donald2018-11-19-1/+1
|
* Store more original stuff on moderation.Matthew Somerville2018-11-16-0/+1
|
* Touch config file when symlink updated.Matthew Somerville2018-11-09-0/+1
| | | | This is so the dev server notices and restarts.
* Version 2.4.2.v2.4.2Matthew Somerville2018-11-06-1/+1
|
* script to backfill open311 commentsStruan Donald2018-11-02-0/+64
| | | | | 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
* Merge branch 'send-reopen-comment-option'Matthew Somerville2018-10-09-160/+5
|\
| * [Open311] Move send-comments cobrand specific codeMatthew Somerville2018-10-09-6/+0
| |
| * [Open311] Move send-comments code to package.Matthew Somerville2018-10-09-156/+7
| |
* | [FixMyStreet] add subcategories to fixture and enable for demoStruan Donald2018-10-09-9/+9
| | | | | | | | | | The fixture script now generates subcategories so we need to turn these on in the Borsetshire demo site so the categories make sense.
* | front end category testsStruan Donald2018-10-09-0/+12
|/ | | | Check selecting a category and selecting a sub category
* [Open311] Add ability to send reopen status.Matthew Somerville2018-10-08-0/+5
| | | | Switch on for Buckinghamshire.
* Add perl 5.26/5.28 support.Matthew Somerville2018-10-04-1/+5
| | | | | Upgrade a couple of modules, deal with '.' not present in @INC, captures returning undef rather than '', and a test.
* Merge branch 'version-2.4.1'v2.4.1Matthew Somerville2018-10-03-1/+1
|\
| * Version 2.4.1.Matthew Somerville2018-10-03-1/+1
| |
* | Add cobrand options to browser-test script.Struan Donald2018-10-03-9/+25
|/ | | | | | 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.
* Add some Cypress tests for the map list pages.Struan Donald2018-10-02-0/+1
| | | | | | | | 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.
* Adapt fixture script to be non-random on request.Struan Donald2018-10-02-13/+51
| | | | | The existing fixture script generates random results so is no use for front end testing.
* [Open311] turn on comment sending for OCCStruan Donald2018-10-01-3/+10
| | | | | but only send if the problem as a customer reference and use that as the external id reference
* Missing semicolon.Matthew Somerville2018-09-28-1/+1
|
* Factor out photo storage into PhotoStorage::FileSystem backendDave Arter2018-09-28-2/+2
|
* [Docker] Support for cobrandsMatthew Somerville2018-09-28-2/+21
| | | | | | | | | | | | 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.
* [Docker] Initial Dockerfile & docker-compose setupSam Pearson2018-09-28-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* [Docker] Support Docker builds in install scriptsSam Pearson2018-09-28-16/+33
| | | | | | | - 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
* Script for template cobrand checks when upgrading.Matthew Somerville2018-09-20-0/+165
|
* Version 2.4.v2.4Matthew Somerville2018-09-06-1/+1
|
* [UK] utility script to generate stats for DefraStruan Donald2018-08-30-0/+69
|
* Revert "[BANES] Send email when Open311 update submitted."Matthew Somerville2018-07-19-51/+0
| | | | This reverts commit 6bc39892d7075fac79c0f40b2740de095535329d.
* Version 2.3.4.v2.3.4masterMatthew Somerville2018-06-07-1/+1
|
* Version 2.3.3.v2.3.3Matthew Somerville2018-06-06-1/+1
|
* Version 2.3.2.v2.3.2Matthew Somerville2018-05-31-1/+1
|
* Add ability to close updates on reports.Matthew Somerville2018-05-23-3/+4
| | | | | 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.
* Script to scrub old non-open reports.Matthew Somerville2018-05-23-0/+40
|
* Script to email/anonymize inactive users.Matthew Somerville2018-05-23-0/+43
|
* Update last_active on active sessions too.Matthew Somerville2018-05-23-21/+17
|
* Update last_active on login/logout/session expiry.Matthew Somerville2018-05-23-2/+15
|
* Refactor out some session functions.Matthew Somerville2018-05-23-23/+4
|
* Add created and last_active columns to user.Matthew Somerville2018-05-23-0/+1
|
* [KiitC] Add cpanfile feature for optional modules.Matthew Somerville2018-05-09-1/+1
|