aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | * | | | Comment out forced redirect to HTTPSGareth Rees2014-07-17-2/+5
| | | | | | | | | | | | | | | | | | Only need this if FORCE_SSL: true is set
| | * | | | fixup! 134d993 Use easier to set up log dirsGareth Rees2014-07-16-2/+2
| | | | | | | | | | | | | | | | | | Using alaveteli subdir means more setup; easier to just prefix the file name with alaveteli. Also use .log rather than _log to keep with original access.log and error.log convention.
| | * | | | fixup! 134d993 use apache2 rather than httpd for log dirGareth Rees2014-07-16-2/+2
| | | | | | | | | | | | | | | | | | For dumb Debian convention
| | * | | | Add link to Passenger performance tuning guideGareth Rees2014-07-16-0/+1
| | | | | |
| | * | | | fixup! 134d993 Remove PassengerMinInstancesGareth Rees2014-07-16-1/+0
| | | | | | | | | | | | | | | | | | Not available in Debian version of passenger
| | * | | | fixup! 134d993 Remove PassengerGroup/UserGareth Rees2014-07-16-2/+0
| | | | | | | | | | | | | | | | | | Not available in Debian version of passenger
| | * | | | fixup! 134d993 Use /srv/alaveteli instead of SITE_URLGareth Rees2014-07-16-8/+8
| | | | | |
| | * | | | Add example httpd vhost config fileGareth Rees2014-07-01-0/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | httpd.conf is only a partial configuration designed to be included in to an existing vhost directive. This provides a (nearly) drop-in vhost configuration for httpd.
| * | | | | Fix typo in config_files:convert_init_scriptGareth Rees2014-08-07-1/+1
| | | | | |
| * | | | | Merge branch 'sysvinit-example' into rails-3-developGareth Rees2014-08-07-67/+86
| |\ \ \ \ \
| | * | | | | Tidy config_files:convert_init_scriptGareth Rees2014-08-07-10/+11
| | | | | | |
| | * | | | | Generate sysvinit with rake taskGareth Rees2014-08-07-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Now uses ugly so convert it with the rake task
| | * | | | | Update thin sysvinit descriptionsGareth Rees2014-08-07-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace "web server" with the slightly more correct "app server"
| | * | | | | Let ugly generate the full path to the appGareth Rees2014-08-07-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Usage of the $vhost_dir and $vcspath is enough to get the full path to the app without making the assumption that the app is in a directory named ‘alaveteli’
| | * | | | | Convert sysvinit-example to uglyGareth Rees2014-08-07-6/+12
| | | | | | |
| | * | | | | Update sysvinit SITE_HOME, mute thin, etcGareth Rees2014-08-07-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use $NAME in $SITE_HOME for future daemon name change - Mute thin output - Return true from daemon commands
| | * | | | | Exit gracefully from sysVinit if thin not availableGareth Rees2014-08-07-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > These scripts should not fail obscurely when the configuration files > remain but the package has been removed, as configuration files remain > on the system after the package has been removed. Only when dpkg is > executed with the --purge option will configuration files be removed. > In particular, as the /etc/init.d/package script itself is usually a > conffile, it will remain on the system if the package is removed but > not purged. Therefore, you should include a test statement at the top > of the script, like this: > > test -f program-executed-later-in-script || exit 0 https://www.debian.org/doc/debian-policy/ch-opersys.html#s-writing-init
| | * | | | | Fix sysvinit case indentationGareth Rees2014-08-07-14/+14
| | | | | | |
| | * | | | | Use thin’s built in restart commandGareth Rees2014-08-07-3/+4
| | | | | | |
| | * | | | | Update how thin starts and stopsGareth Rees2014-08-07-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use long form options for clarity Use thin’s built in start and stop mechanisms Use thin’s built in process owner options Bind to localhost only
| | * | | | | Use default port for thinGareth Rees2014-08-07-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | No reason to use non-default
| | * | | | | Start alaveteli in production mode in sysvinitGareth Rees2014-08-07-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unlikely to want to use sysvinit in the current development setup, so default to starting in production mode for users who just copy this file on install.
| | * | | | | Use correct user for sysvinit exampleGareth Rees2014-08-07-1/+1
| |/ / / / /
| * | | | | Merge branch 'stats_export_body_name_quoting' into rails-3-developGareth Rees2014-08-05-2/+2
| |\ \ \ \ \
| | * | | | | Quote body name in stats csv exportGareth Rees2014-08-04-2/+2
| | | |_|/ / | | |/| | | | | | | | | | | | | | | Some Public Body names contain commas (or other characters) which lead to a malformed CSV where parts of the body name are in later columns.
* | | | | | Merge branch 'add-passenger-to-packages' into rails-3-developLouise Crow2014-08-08-0/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Adding apache/passenger as package dependency.Louise Crow2014-08-07-0/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | Required if you're using apache and passenger - not if you're using nginx and thin.
* | | | | Merge branch 'hotfix/0.18.0.11' into rails-3-developLouise Crow2014-08-05-1/+7
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Try a smaller min-height for smaller devices.0.18.0.11hotfix/0.18.0.11Louise Crow2014-08-05-0/+1
| | | | |
| * | | | Set height for IE7, don't use min-height for small devices.Louise Crow2014-08-05-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IE7 doesn't implement min-height, so force the iframe height. We don't want to set min-height for mobile as it's just a workaround for desktop browsers setting a too-small height.
* | | | | Merge branch 'rails-3-develop' of ↵Louise Crow2014-08-05-15/+41
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | ssh://git.mysociety.org/data/git/public/alaveteli into rails-3-develop
| * \ \ \ \ Merge branch 'alert-tracks-generator' into rails-3-developGareth Rees2014-08-04-15/+41
| |\ \ \ \ \
| | * | | | | Ensure the log and pid directories existGareth Rees2014-08-04-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If the directories do not exist the daemon cannot start.
| | * | | | | Use correct site name for purge-varnish log and pidGareth Rees2014-08-04-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows the log and pid file names to be set dynamically by the config_files:convert_init_script rake task. ENV[‘SITE’] can be specified to name the particular install – e.g. rather than 'alaveteli' you might name the site 'foi' – so now the log and pid files are created with the correct name rather than simply 'purge-varnish'
| | * | | | | Generate purge-varnish pid & log to default locationGareth Rees2014-07-25-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Deployment system should handle linking the original location to wherever necessary on the specific platform.
| | * | | | | Add tmp/pids to example SHARED_DIRECTORIES configGareth Rees2014-07-15-0/+3
| | | | | | |
| | * | | | | Create tmp/pids in capistrano shared directoryGareth Rees2014-07-15-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pids need to persist across deploys so that we can kill/restart running processes on deployment
| | * | | | | Ensure the log and pid directories existGareth Rees2014-07-15-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If the directories do not exist the daemon cannot start.
| | * | | | | Use correct site name for alert tracks log and pidGareth Rees2014-07-15-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ENV[‘SITE’] can be specified for the crontab (and elsewhere) so allow the option here too.
| | * | | | | Generate alert-tracks pid & log to default locationGareth Rees2014-07-15-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Deployment system should handle linking the original location to wherever necessary on the specific platform.
| | * | | | | Minor tidying of alert-tracks generationGareth Rees2014-07-15-7/+10
| | | | | | |
* | | | | | | Merge branch 'add-bundler-package-for-squeeze' into rails-3-developLouise Crow2014-08-05-104/+105
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Add bundler package for squeeze.Louise Crow2014-07-31-0/+1
| | | | | | |
| * | | | | | Alphabetise package lists.Louise Crow2014-07-31-104/+104
| | |_|_|_|/ | |/| | | |
* | | | | | Merge branch 'issues/1709-eager-load-for-api-speed' into rails-3-developLouise Crow2014-08-04-24/+11
|\ \ \ \ \ \
| * | | | | | Try some eager loading to speed up body_request_eventsLouise Crow2014-08-04-24/+11
| | |_|/ / / | |/| | | |
* | | | | | Merge branch 'issues/1709-api-controller-speed' into rails-3-developLouise Crow2014-08-04-0/+5
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Add an index for event_type on info_request_eventsSteven Day2014-08-01-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Selecting request events for a particular body is slow because we need to filter the events by event_type and don't currently have an index on that field. This should speed that up. Closes #1709
* | | | | | Merge branch 'hotfix/0.18.0.10' into rails-3-developLouise Crow2014-07-30-1/+1
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Add viewport to head when using responsive styles.0.18.0.10hotfix/0.8.0.10Louise Crow2014-07-29-1/+1
| | | | | |