aboutsummaryrefslogtreecommitdiffstats
path: root/conf
Commit message (Collapse)AuthorAgeLines
* Script to remove expired sessions.Matthew Somerville2018-02-09-0/+1
| | | | | This also can set up users so that the admin "Log user out" function works correctly.
* Allow ‘report as another user’ to only provide a phone numberDave Arter2018-02-07-1/+4
|
* Reinstate appcache_enabled staging flagDave Arter2017-11-24-0/+3
| | | | | This can optionally disable appcache for superusers which can be handy in development.
* Only include offline JavaScript if needed.Matthew Somerville2017-11-15-2/+0
|
* Add option to use a Twilio Messaging Service.Matthew Somerville2017-10-12-0/+1
|
* Add ability to log in on /auth via text.Matthew Somerville2017-09-30-0/+7
| | | | A confirmation code is sent via Twilio to be entered on the site.
* Add SIGNUPS_DISABLED config flagDave Arter2017-08-31-0/+4
|
* Add LOGIN_REQUIRED config keyDave Arter2017-08-31-0/+3
| | | | If set to 1, this restricts all pages on the site to logged-in users.
* Document fetch-comments-24hs in crontab example.Matthew Somerville2017-08-15-2/+4
| | | | In the absence of making any changes. Fixes #1739.
* Add switch-site script for easily switching configZarino Zappia2017-08-10-1/+1
| | | | | | | Given a set of config files of the format `conf/general-{cobrand}.yml` this script lets you easily create and recreate a symlink at `conf/general.yml` that points to the cobrand config of your choice. The test suite also then uses this naming convention.
* update mapit url to https in example webserver configsStruan Donald2017-07-27-3/+3
| | | | | | Now that MapIt is https only the proxy pass URLs need to be https otherwise we proxy back the 301 redirect and various bits of the JavaScript fail the pre-flight CORS check.
* Make sure required packages installed on stretch.Matthew Somerville2017-07-04-0/+4
| | | | | These two packages were previously installed as a dependency of postgresql-server-dev-all, but are no longer on stretch.
* Add MAPIT_API_KEY supportDave Arter2017-06-08-0/+4
|
* Upgrade to using Email::Sender.Matthew Somerville2017-03-28-1/+2
| | | | | | | | | | Email::Send is long deprecated and uses submodules that no longer work correctly (e.g. Net::SMTP::TLS breaks with recent IO::Socket::SSL). We create an Email::Sender subclass to perform the same functionality and this also simplifies the email code with simpler envelope handling. Bundle Email::Sender::Transport::SMTP to include fix from https://github.com/rjbs/Email-Sender/issues/46
* Allow staging sites to turn off appcache.Matthew Somerville2017-01-10-0/+2
|
* Move staging flags to their own config variable.Matthew Somerville2017-01-10-8/+10
|
* If running a dev site, skip some restrictions.Matthew Somerville2016-09-15-0/+3
| | | | This makes it easier to perform manual testing of cobrands.
* Make UPLOAD_DIR/GEO_CACHE relative to project rootMatthew Somerville2016-08-10-0/+1
| | | | | If they are absolute already, do nothing. Switch a couple of uses to Path::Tiny as well.
* Add config for Open311 request limit, default 1000.Matthew Somerville2016-08-10-1/+2
| | | | Fixes #1313.
* Generate unique config per test run.Matthew Somerville2016-08-09-1/+1
| | | | | | | | This allows multiple test suites to run simultaneously (beforehand, a second run would overwrite the same config file and lose its database connection). Clean up the created config file on exit.
* Use normal user authentication to control access to /adminMatthew Somerville2016-07-19-14/+0
| | | | | | | | | - Adds is_superuser flag to User - Logged-in user must be a superuser or have from_body set in order to access anything within /admin - has_permission_to on a superuser will always return true - Only superusers can create/grant superusers - New `createsuperuser` command for creating superusers
* Make sure map JS works through an admin proxy.Matthew Somerville2016-07-04-2/+2
| | | | | Tidy up use of absolute URLs when in the admin. Have the 404 handler spot static files in admin as a fallback.
* Consolidate packages files.Matthew Somerville2016-06-03-29/+1
| | | | | Have a generic package install file that works on Debian wheezy and jessie, and Ubuntu precise, trusty and xenial. Drop Debian squeeze.
* Improve CSS compilation.Matthew Somerville2016-05-31-4/+4
| | | | | | | | Move to using libsass via CSS::Sass, and stop using compass, supplying any used mixins directly. This removes the need for any ruby/gem based installation, and greatly increases the speed of compilation. make_css is also enhanced, bringing in the file monitoring previously done by a separate script and improving its dependency monitoring.
* Fallback if request to Gaze fails.Matthew Somerville2016-05-18-1/+1
| | | | Fixes #1286.
* Prerequisites (new modules, db, config).Matthew Somerville2016-01-22-0/+6
|
* Upgrade Google geocoder to version 3 of the API.Matthew Somerville2015-08-28-3/+1
|
* [fixmystreet.com] Remove special Report-It code.Matthew Somerville2015-03-13-8/+0
|
* Use config variable for setting proxy trust.Matthew Somerville2015-02-24-0/+4
| | | | | | Rather than hardcoding domain names, add a SECURE_PROXY_SSL_HEADER variable that provides a trusted HTTP header and value that can be used to determine if we're behind a HTTPS proxy.
* Add new "next steps" to bottom of success pages.Zarino Zappia2015-02-19-3/+0
| | | | Remove the old CrossSell code. Fixes #972.
* Remove need to have to specify en-gb in LANGUAGES.Matthew Somerville2015-02-13-1/+0
| | | | | | Instead, add it if not present at the negotiation stage. Even if not negotiated, we currently need it to be present for the in_gb_locale() calls to work.
* Add example nginx client_max_body_size.Matthew Somerville2015-01-20-0/+2
| | | | This will be used by the installation script. Fixes #995.
* Remove need for cron-wrapper with existing scriptsMatthew Somerville2015-01-19-13/+13
| | | | | Call the necessary boilerplate in each script so you can call them directly. Remove boilerplate from files that don't need it.
* Use same handling for cron and non-cron email.Matthew Somerville2015-01-13-1/+1
| | | | | This means that e.g. SMTP authentication is used when set up by all emails, not just non-cron ones. Fixes #988.
* Add a script to always test on a clean db/config.Hakim Cassimally2014-12-12-0/+1
| | | | Fixes #786.
* Provide guidance at top of example config file.Matthew Somerville2014-11-26-4/+11
|
* Update graph crontab lines to use wrapper.Matthew Somerville2014-11-12-2/+2
| | | | | After the changes in b3c664b, these two lines need to be called with the cron-wrapper.
* Remove liberror-perl and libsoap-lite-perl.Matthew Somerville2014-11-05-7/+0
| | | | | | Try and save other people the potential pain of installing SOAP::Lite; only UK FixMyStreet and Zurich geocoder use it, so set it as an optional feature in the cpanfile instead.
* Update to use bundler and work on Ubuntu Trusty.Matthew Somerville2014-11-05-7/+7
| | | | | | | | Switching to bundler saves confusion about gem paths when running sass/compass to compile the CSS. Trusty can use precisely the same packages as precise, with a few tweaks to generalise the contents.
* Move Vagrantfile to top level of repository.Matthew Somerville2014-07-18-82/+0
| | | | | | | This makes it easier to set up, as you can do: $ git clone --recursive https://github.com/mysociety/fixmystreet $ cd fixmystreet $ vagrant up --no-color
* Add support for SMTP authentication and TLS.Matthew Somerville2014-07-14-2/+6
| | | | | | Fixes #406. Include Perl modules necessary for Email::Send::SMTP to handle TLS/SSL, and upgrade Dir::Self due to https://rt.cpan.org/Public/Bug/Display.html?id=88393
* Update packages list to install correctly on wheezy.Matthew Somerville2014-07-14-18/+21
| | | | Make mySociety-internal file separate to keep its dual use.
* Update github link to current location.Matthew Somerville2014-07-09-1/+1
|
* Don't run some crons by default, rejig timings.Matthew Somerville2014-05-23-5/+7
|
* Add MAPIT_GENERATION variable, to pin whitelist.Matthew Somerville2014-05-16-1/+4
| | | | | | Otherwise, when MapIt Global is updated, the 'point' lookup, as it only returns the current generation by default, might no longer return the areas present in the whitelist.
* Ubuntu Apache vhost config exampleKindrat2014-04-07-2/+10
|
* Update code.fixmystreet.com references to fixmystreet.org.Matthew Somerville2014-03-19-3/+3
|
* Add postgres 8.4 dev package as it can be present instead of 9.1Ian Chard2014-03-04-1/+1
|
* Don't require postgres to be installed, as it might be on a different hostIan Chard2014-02-26-1/+0
|
* Use wheezy packages now that FMS's server has been upgradedIan Chard2014-02-26-1/+1
|