aboutsummaryrefslogtreecommitdiffstats
path: root/conf
Commit message (Collapse)AuthorAgeLines
* 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
|
* .gitignore for conf/crontabHakim Cassimally2013-12-17-0/+2
| | | | | | This is required after changes in 59eb44959e9cb8ccd21e9be813e4d1c8baaa1dcc for mySociety internal deployment toolchain.
* Rename crontab-exampleHakim Cassimally2013-12-10-0/+0
| | | | (for mysoc internal processing of .ugly file)
* Remove crontab.uglyHakim Cassimally2013-12-10-83/+0
| | | | | This is a mySociety internal deployment detail, and should be handled elsewhere.
* If only one cobrand given, always use it.Matthew Somerville2013-11-07-14/+18
| | | | | | | | | If the ALLOWED_COBRANDS configuration variable only contains one entry (and also work if it's a string rather than a list), always use that cobrand, no matter what the hostname is. The example Vagrantfile no longer needs the configuration changes at all.
* Piping the install script to 'sudo sh -s' is deprecatedMark Longair2013-10-29-2/+2
|
* Example Vagrantfile and notes.Matthew Somerville2013-09-13-0/+90
| | | | | Based on previous work on vagrant branches, adjusted to use the new --dev argument of the install script.
* Make changes needed to run Zurich tests on travisEdmund von der Burg2013-09-10-0/+1
|
* remove SHOW_ADMIN_HINTS configDave Whiteland2013-09-05-4/+0
| | | | | admin hints are displayed *like it or not* (actually, could hide for a given cobrand with CSS setting display:none)
* add SHOW_ADMIN_HINTS to conf optionsDave Whiteland2013-09-05-0/+5
|
* Wheezy packages file (same as squeeze, with updated postgresql version number).Matthew Somerville2013-07-26-0/+16
|
* Add MAPIT_ID_WHITELIST configuration option.Matthew Somerville2013-05-02-0/+6
| | | | | | | This allows someone to restrict FixMyStreet's usage to specific MapIt IDs rather than a whole MapIt type. This is currently most useful with Global MapIt as you probably don't want e.g. all the O04s in the world for your installation.