aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* 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 '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
| | | | |
* | | | | Merge branch 'hotfix/0.18.0.9' into rails-3-developLouise Crow2014-07-29-1/+12
|\| | | |
| * | | | Don't use stylesheet_link_tags0.18.0.9hotfix/0.18.0.9Louise Crow2014-07-29-1/+12
| | | | | | | | | | | | | | | | | | | | There attachments will be cached, so we don't want timestamped references to stylesheets.
* | | | | Merge branch 'hotfix/0.18.0.8' into rails-3-developLouise Crow2014-07-29-1/+3
|\| | | |
| * | | | Add min-height for iframe0.18.0.8hotfix/0.18.0.8Louise Crow2014-07-29-1/+3
| |/ / /
* | | | Merge branch 'issues/1418-update-described-state-via-api' into rails-3-developlizconlan2014-07-28-392/+587
|\ \ \ \ | |_|_|/ |/| | |
| * | | whitespacelizconlan2014-07-28-467/+458
| | | | | | | | | | | | | | | | includes various code layout fixes
| * | | Sending an invalid state value to add_correspondence now aborts the entire ↵lizconlan2014-07-28-32/+52
| | | | | | | | | | | | | | | | operation
| * | | Refactor state update API, better error handlinglizconlan2014-07-28-61/+59
| | | | | | | | | | | | | | | | Filters; more 403s, fewer 500s; added logging; less duplication
| * | | Extend add_correspondence API method to optionally accept a state paramlizconlan2014-07-28-86/+157
| | | |
| * | | New API method for updating request statelizconlan2014-07-28-277/+392
|/ / /
* | | Merge branch 'rails-3-develop' of ↵Louise Crow2014-07-16-1/+1
|\ \ \ | | |/ | |/| | | | ssh://git.mysociety.org/data/git/public/alaveteli into rails-3-develop
| * | Merge branch 'issues/1585-responsive-styling-by-default' into rails-3-developGareth Rees2014-07-15-1/+1
| |\ \
| | * | Set fallback responsitve styling to trueGareth Rees2014-07-11-1/+1
| | | | | | | | | | | | | | | | | | | | 156481f set the default example to true but this ensures the fallback is true.
* | | | Merge branch 'remove-obsolete-fcgi-files' into rails-3-developLouise Crow2014-07-16-6/+0
|\ \ \ \ | |/ / / |/| | |
| * | | Remove obsolete files.Louise Crow2014-07-16-6/+0
|/ / /
* | | Merge branch 'rails-3-develop' of ↵Louise Crow2014-07-10-28/+25
|\| | | | | | | | | | | ssh://git.mysociety.org/data/git/public/alaveteli into rails-3-develop