Guo Xiang Tan [Mon, 16 May 2016 02:25:28 +0000 (10:25 +0800)]
Bump Ruby version to 2.3.1.
Guo Xiang Tan [Mon, 16 May 2016 04:13:54 +0000 (12:13 +0800)]
Update PostgreSQL to 9.5 in base image.
Jeff Atwood [Wed, 11 May 2016 23:34:50 +0000 (16:34 -0700)]
remove root warning on swapfile create, since we require root at start now
Jeff Atwood [Tue, 10 May 2016 22:20:39 +0000 (15:20 -0700)]
add root check since it's required
Jeff Atwood [Tue, 10 May 2016 09:10:06 +0000 (02:10 -0700)]
sudo command redundant on swapfile create
Régis Hanol [Fri, 6 May 2016 17:38:26 +0000 (19:38 +0200)]
Merge pull request #253 from mjtko/fix/cve-2016-3714-updates
Update ImageMagick security patch for CVE-2016–3714
Mark Titorenko [Fri, 6 May 2016 09:00:55 +0000 (10:00 +0100)]
Update ImageMagick security patch for CVE-2016–3714 to latest recommendation
Jeff Atwood [Wed, 4 May 2016 17:58:10 +0000 (10:58 -0700)]
bug: skip_prereqs vs skip_prereq
Sam [Tue, 3 May 2016 23:33:53 +0000 (09:33 +1000)]
add comment
Sam [Tue, 3 May 2016 23:30:43 +0000 (09:30 +1000)]
apply image magick security patch
Jeff Atwood [Tue, 3 May 2016 18:31:19 +0000 (11:31 -0700)]
make minimum Docker version 1.8
Sam [Tue, 3 May 2016 00:48:39 +0000 (10:48 +1000)]
Merge pull request #248 from mpalmer/stable-mac-address-take-2
Produce random-but-stable MAC addresses, take 2
Sam [Fri, 29 Apr 2016 06:11:08 +0000 (16:11 +1000)]
discourse has to own /home/discourse otherwise rubygem issues
Sam [Fri, 29 Apr 2016 05:57:19 +0000 (15:57 +1000)]
Add --debug for bootstrapping, when set image is maintained for diag
Jeff Atwood [Thu, 28 Apr 2016 23:04:18 +0000 (16:04 -0700)]
Kinder, gentler message for those who don't need SMTP authentication
Jeff Atwood [Thu, 28 Apr 2016 23:02:27 +0000 (16:02 -0700)]
don't start app if bootstrap failed
Jeff Atwood [Thu, 28 Apr 2016 23:01:44 +0000 (16:01 -0700)]
stray A
Jeff Atwood [Wed, 27 Apr 2016 23:20:10 +0000 (16:20 -0700)]
remove apt-get command that.. doesn't work
Jeff Atwood [Wed, 27 Apr 2016 23:14:29 +0000 (16:14 -0700)]
omit needless words
Jeff Atwood [Wed, 27 Apr 2016 22:59:22 +0000 (15:59 -0700)]
simplify resource checks
Jeff Atwood [Wed, 27 Apr 2016 22:47:46 +0000 (15:47 -0700)]
add auto swap creation
Jeff Atwood [Wed, 27 Apr 2016 21:06:41 +0000 (14:06 -0700)]
slightly better copy
Jeff Atwood [Wed, 27 Apr 2016 20:51:11 +0000 (13:51 -0700)]
slightly better copy
Jeff Atwood [Wed, 27 Apr 2016 19:51:22 +0000 (12:51 -0700)]
Merge pull request #249 from pfaffman/fix-discourse-setup
Fix: discourse-setup replacements more robust
Jay Pfaffman [Wed, 27 Apr 2016 18:41:35 +0000 (13:41 -0500)]
make replacements of settings more rubust
Guo Xiang Tan [Wed, 27 Apr 2016 16:10:39 +0000 (00:10 +0800)]
FIX: Ports are not being exposed.
Jay Pfaffman [Wed, 27 Apr 2016 14:35:27 +0000 (09:35 -0500)]
Fix permissions, letsencrypt replacement, and value of $changelog
Jeff Atwood [Wed, 27 Apr 2016 10:05:56 +0000 (03:05 -0700)]
split Discourse specific code into discourse-setup
Jeff Atwood [Wed, 27 Apr 2016 07:44:16 +0000 (00:44 -0700)]
use consistent fake email addresses
Sam [Wed, 27 Apr 2016 05:57:25 +0000 (15:57 +1000)]
we really wanted a global replace here...
Matt Palmer [Wed, 27 Apr 2016 05:38:40 +0000 (15:38 +1000)]
Produce random-but-stable MAC addresses, take 2
This version works properly on ye olde versions of Docker (v1.7 was reported
as not working with the previous version of this patch).
Guo Xiang Tan [Wed, 27 Apr 2016 01:51:49 +0000 (09:51 +0800)]
Don't raise usage warning when an invalid option is given.
Jeff Atwood [Wed, 27 Apr 2016 00:36:58 +0000 (17:36 -0700)]
better name for prereq check
Jeff Atwood [Tue, 26 Apr 2016 22:42:22 +0000 (15:42 -0700)]
Merge pull request #246 from pfaffman/no-more-nano
No more nano
Jay Pfaffman [Tue, 26 Apr 2016 22:08:09 +0000 (17:08 -0500)]
Moved set_config to a setup command. Optionally runs bootstrap.
Jay Pfaffman [Tue, 26 Apr 2016 19:37:26 +0000 (14:37 -0500)]
If config_file is unchanged, ask user for them interactively
```
If any defaults in config file have been changed, say so and skip config
while not approved
Ask user for hostname, smtp config, letsencrypt
Print values
ask user if approved
(Trust that if user approves, the values are OK)
Write changes to config_file
Ask user to "Enter or ^C"
```
Most users will be satisfied and press enter to continue normal
bootstrap. Advanced users can ^C, edit config_file and then `./launcher
bootstrap app` with their tweaks.
Jay Pfaffman [Tue, 26 Apr 2016 14:43:09 +0000 (09:43 -0500)]
remove port and tls config
Sam [Tue, 26 Apr 2016 10:20:56 +0000 (20:20 +1000)]
Merge pull request #245 from discourse/revert-233-mac-address
Revert "Assign a stable but unique MAC address to each container"
Sam [Tue, 26 Apr 2016 10:20:33 +0000 (20:20 +1000)]
Revert "Assign a stable but unique MAC address to each container"
Guo Xiang Tan [Tue, 26 Apr 2016 07:48:01 +0000 (15:48 +0800)]
FIX: Incorrect syntax.
Jeff Atwood [Mon, 25 Apr 2016 23:25:59 +0000 (16:25 -0700)]
Merge pull request #233 from mpalmer/mac-address
Assign a stable but unique MAC address to each container
Jeff Atwood [Mon, 25 Apr 2016 23:25:27 +0000 (16:25 -0700)]
Merge pull request #244 from tgxworld/allow_users_to_check_discourse_specific_prereqs
Allow users to check discourse specific prereqs
Guo Xiang Tan [Mon, 25 Apr 2016 10:28:35 +0000 (18:28 +0800)]
Allow users to skip Discourse specific prereqs.
Guo Xiang Tan [Mon, 25 Apr 2016 10:04:34 +0000 (18:04 +0800)]
FIX: config_file check was broken.
Arpit Jalan [Sat, 23 Apr 2016 13:31:38 +0000 (19:01 +0530)]
Merge pull request #243 from pfaffman/fix_git_check
remove debug code. Sorry.
Jay Pfaffman [Sat, 23 Apr 2016 13:21:36 +0000 (08:21 -0500)]
remove debug code. Sorry.
Jeff Atwood [Sat, 23 Apr 2016 10:56:14 +0000 (03:56 -0700)]
Merge pull request #242 from pfaffman/git_version_check
Add test for git version 1.8
Jay Pfaffman [Fri, 22 Apr 2016 15:00:17 +0000 (10:00 -0500)]
Add test for git version
Jeff Atwood [Fri, 22 Apr 2016 10:39:00 +0000 (03:39 -0700)]
cap max unicorns and max db mem, use phys core cnt
Jeff Atwood [Fri, 22 Apr 2016 00:12:25 +0000 (17:12 -0700)]
exit 0 after "container has already started"
Jeff Atwood [Fri, 22 Apr 2016 00:07:49 +0000 (17:07 -0700)]
incorrect GB calc
Jeff Atwood [Fri, 22 Apr 2016 00:04:38 +0000 (17:04 -0700)]
make missing config settings skippable
Jeff Atwood [Thu, 21 Apr 2016 23:01:29 +0000 (16:01 -0700)]
move email setting closer to SMTP settings
Jeff Atwood [Thu, 21 Apr 2016 19:51:15 +0000 (12:51 -0700)]
Merge pull request #240 from tgxworld/improve_message_in_disk_space_check
UX: Suggest commands to run in order to free up disk space.
Guo Xiang Tan [Thu, 21 Apr 2016 03:40:01 +0000 (11:40 +0800)]
UX: Suggest commands to run in order to free up disk space.
Guo Xiang Tan [Thu, 21 Apr 2016 02:47:33 +0000 (10:47 +0800)]
FIX: Work around le.sh killing "letsencrypt" script for containing the letters "nc".
Matt Palmer [Thu, 21 Apr 2016 01:22:57 +0000 (11:22 +1000)]
Run MAC address generation within a known environment
We're taking the Mulder approach, Trust No-one. ms5sum and sed may not be
as they seem...
Jeff Atwood [Wed, 20 Apr 2016 23:46:50 +0000 (16:46 -0700)]
add plugin info link
Jeff Atwood [Wed, 20 Apr 2016 22:56:03 +0000 (15:56 -0700)]
make bootstrap auto-set unicorn_workers and db memory
Jeff Atwood [Wed, 20 Apr 2016 22:51:35 +0000 (15:51 -0700)]
Update standalone.yml
Jeff Atwood [Wed, 20 Apr 2016 20:39:22 +0000 (13:39 -0700)]
Merge pull request #239 from pfaffman/add_memconfig
Add memconfig
Jeff Atwood [Wed, 20 Apr 2016 20:39:05 +0000 (13:39 -0700)]
make docker check more reliable
Jeff Atwood [Wed, 20 Apr 2016 19:50:30 +0000 (12:50 -0700)]
remove SSH command, improve valid check
Jeff Atwood [Wed, 20 Apr 2016 18:54:52 +0000 (11:54 -0700)]
more refinements
Jeff Atwood [Wed, 20 Apr 2016 18:47:16 +0000 (11:47 -0700)]
don't validate SMTP TLS or PORT
Jeff Atwood [Wed, 20 Apr 2016 18:42:29 +0000 (11:42 -0700)]
remove docker 1.2 references, we block on any version under 1.6 anyway
Jay Pfaffman [Wed, 20 Apr 2016 18:34:09 +0000 (13:34 -0500)]
Make change/unchange language clearer
Jay Pfaffman [Wed, 20 Apr 2016 18:24:40 +0000 (13:24 -0500)]
Remove dependency on standalone.template & fix replacement
Jay Pfaffman [Wed, 20 Apr 2016 18:21:14 +0000 (13:21 -0500)]
Change only commented-out values of UNICORN_WORKERS and db_shared_buffers
Jeff Atwood [Wed, 20 Apr 2016 18:15:26 +0000 (11:15 -0700)]
better layout
Jeff Atwood [Wed, 20 Apr 2016 18:10:48 +0000 (11:10 -0700)]
clean up template a lot
Jeff Atwood [Wed, 20 Apr 2016 17:55:54 +0000 (10:55 -0700)]
we don't need a TODO here
Jeff Atwood [Wed, 20 Apr 2016 17:29:06 +0000 (10:29 -0700)]
Merge pull request #238 from pfaffman/add_memconfig
Don't set db_work_mem
Jay Pfaffman [Wed, 20 Apr 2016 17:19:16 +0000 (12:19 -0500)]
Don't set db_work_mem
Jeff Atwood [Wed, 20 Apr 2016 17:14:06 +0000 (10:14 -0700)]
Merge pull request #236 from pfaffman/add_memconfig
Add memconfig to launcher: Configure defaults based on available RAM
Jeff Atwood [Wed, 20 Apr 2016 17:12:44 +0000 (10:12 -0700)]
we don't need a TODO here
Jeff Atwood [Wed, 20 Apr 2016 17:10:34 +0000 (10:10 -0700)]
Merge pull request #237 from pfaffman/bootstrap_sanity_checks
Add mail config sanity check
Jay Pfaffman [Wed, 20 Apr 2016 17:02:17 +0000 (12:02 -0500)]
Add mail config sanity check
Checks that all SMTP config variables are set. If not, a warning is
printed and user gets option to ^C to fix.
Jay Pfaffman [Wed, 20 Apr 2016 15:48:39 +0000 (10:48 -0500)]
Add memconfig to launcher: Configure defaults based on available RAM
Creates or modifies config of db_shared_buffers, db_work_mem, and
UNICORN_WORKERS based on available RAM. Parameters not set in config
file (i.e., commented out), are left unchanged and a warning is printed.
Uses samples/standalone_template.yml as basis, but if accepted, I
recommend uncommenting these defaults in standalone.yml and using it
instead.
Dan Dascalescu [Wed, 20 Apr 2016 04:11:09 +0000 (21:11 -0700)]
Improve LETSENCRYPT_ACCOUNT_EMAIL comment (#235)
* Improve LETSENCRYPT_ACCOUNT_EMAIL comment
Guo Xiang Tan [Wed, 20 Apr 2016 00:17:12 +0000 (08:17 +0800)]
Merge pull request #234 from dandv/patch-1
"Comment out" -> "Uncomment"
Dan Dascalescu [Wed, 20 Apr 2016 00:12:17 +0000 (17:12 -0700)]
"Comment out" -> "Uncomment"
Matt Palmer [Tue, 19 Apr 2016 20:05:43 +0000 (06:05 +1000)]
Assign a stable but unique MAC address to each container
This does Very Good Things for IPv6 addresses (at least on versions of
Docker that aren't [buggy](https://github.com/docker/docker/issues/17739)).
You get an IPv6 address which doesn't change on each reboot, and at the same
time you don't get different containers having the same IPv6 address at
different times. Wins all round!
Guo Xiang Tan [Fri, 15 Apr 2016 01:39:13 +0000 (09:39 +0800)]
Pin acme.sh client to 2.0.1.
Sam [Thu, 14 Apr 2016 06:21:47 +0000 (16:21 +1000)]
move normalization
Sam [Thu, 14 Apr 2016 06:19:23 +0000 (16:19 +1000)]
docker amended hostname rules, comply...
Sam [Thu, 14 Apr 2016 05:54:48 +0000 (15:54 +1000)]
use short hostname
Sam [Mon, 4 Apr 2016 21:48:00 +0000 (07:48 +1000)]
Merge pull request #231 from samnazarko/port_bind_check_fix
Inform the user that they can --skip-prereqs if they want to continue after port check fails
Sam Nazarko [Thu, 31 Mar 2016 00:16:42 +0000 (01:16 +0100)]
Inform the user that they can --skip-prereqs if they want to continue after port check fails
Signed-off-by: Sam Nazarko <email@samnazarko.co.uk>
Sam [Mon, 4 Apr 2016 04:52:42 +0000 (14:52 +1000)]
Merge pull request #202 from fbender/override-default-docker-hostname
Add switch to override the default Docker hostname (fixes #193)
Florian Bender [Fri, 16 Oct 2015 12:49:03 +0000 (14:49 +0200)]
Add switch to override the default Docker hostname (fixes #193)
A new (optional) ENV var was added to the templates that instructs the
`launcher` script to use the DISCOURSE_HOSTNAME as the Docker hostname
(via the -h/--hostname option) instead of the default value of
`$hostname-$config`.
Sam [Fri, 1 Apr 2016 00:55:10 +0000 (11:55 +1100)]
Merge pull request #226 from fantasticfears/enter
FEATURE: change login directory to discourse home when enter a container
Jeff Atwood [Thu, 31 Mar 2016 08:19:51 +0000 (01:19 -0700)]
Merge pull request #230 from djtye/master
Lets Encrypt Should Become Default
Sam [Wed, 30 Mar 2016 02:49:47 +0000 (13:49 +1100)]
Merge pull request #228 from RomeoPapaSK/master
Template for serving through an .onion address.
David Tye [Tue, 29 Mar 2016 22:15:41 +0000 (23:15 +0100)]
SSL ready
David Tye [Tue, 29 Mar 2016 22:15:10 +0000 (23:15 +0100)]
Make the installer aka root user aware that lets Encrypt can be installed
David Tye [Tue, 29 Mar 2016 22:03:53 +0000 (23:03 +0100)]
Lets Encrypt Should Become Default
Lets make Discourse have Lets Encrypt by default.
Romeo Papa [Thu, 24 Mar 2016 20:48:04 +0000 (21:48 +0100)]
Template for serving through an .onion address.
Erick Guan [Sat, 19 Mar 2016 09:10:02 +0000 (10:10 +0100)]
FEATURE: change login directory to discourse home when enter a container
Guo Xiang Tan [Sun, 13 Mar 2016 13:32:21 +0000 (21:32 +0800)]
Merge pull request #223 from fantasticfears/china
Moving to ruby-china rubygems mirror for china template