Jose Diaz-Gonzalez
aa74315389
Release 0.6.4
2016-06-29 01:27:16 -04:00
Stefan Seemayer
f0000a18ba
Prefer file import in certs:add if files given
...
Fixes dokku/dokku-letsencrypt#67
Change the certs:add command to use a file import without trying to
detect a piped-in tarball if server.crt and server.key files were passed
in as arguments and those files exist.
Fixes hangs on certificate imports by filename when the check for a
STDIN pipe fails e.g. when running dokku remotely using a SSH command.
2016-06-27 16:09:05 +02:00
Jose Diaz-Gonzalez
2b019aef2f
Release 0.6.3
2016-06-25 00:16:36 -04:00
Jose Diaz-Gonzalez
bdd2b4bfe5
Release 0.6.2
2016-06-20 21:16:21 -04:00
Jose Diaz-Gonzalez
ed06b8961e
Release 0.6.1
2016-06-18 23:54:00 -04:00
Jose Diaz-Gonzalez
833db67f25
Release 0.6.0
2016-06-18 01:53:48 -04:00
Michael Hobbs
ff18e0d6be
cleanup external references to nginx-vhosts plugin
2016-06-16 16:04:44 -07:00
Michael Hobbs
6c1d6225f9
initial pass at implementing DOKKU_PROXY_PORT_MAP. closes #2239 .
2016-06-16 16:04:44 -07:00
Jose Diaz-Gonzalez
b71c5b668f
Release 0.5.8
2016-06-10 22:40:57 -04:00
Jose Diaz-Gonzalez
2da58ff351
Release 0.5.7
2016-05-17 03:15:27 -04:00
Jose Diaz-Gonzalez
e9447a26d9
Release 0.5.6
2016-04-29 16:07:58 -04:00
Justin Clark
8a14b34446
Add apex help_content for certs,nginx,storage,tar plugins
...
Also corrects some punctuation in associated help_content.
2016-04-18 11:37:23 -07:00
Jose Diaz-Gonzalez
a13a0df35e
Release 0.5.5
2016-04-13 13:32:04 -04:00
Jose Diaz-Gonzalez
f328a9940b
Release 0.5.4
2016-04-05 03:09:29 -04:00
Jose Diaz-Gonzalez
9dfe14fe33
Release 0.5.3
2016-03-30 01:24:14 -04:00
Michael Hobbs
9ce7470b87
remove deprecated mktemp args and name vars more clearly
2016-03-29 19:46:46 -07:00
Jose Diaz-Gonzalez
12ca7adcd1
Release 0.5.2
2016-03-27 17:09:36 -04:00
Jose Diaz-Gonzalez
668dc0e7a5
Release 0.5.1
2016-03-26 19:54:25 -04:00
Michael Hobbs
de9b1f6273
[ci skip] make help desc local consistent
2016-03-22 13:33:35 -07:00
Justin Clark
14a1d06c03
Collapse help into expandable command topics
2016-03-22 10:50:20 -07:00
Michael Hobbs
987c5cfb9c
use declare for description variable
2016-03-08 15:30:34 -05:00
Michael Hobbs
aa2415eeb8
more style/function tweaks
2016-03-03 22:11:35 -08:00
Michael S. Hobbs
89f289b433
subcommand restructure and bashstyle refactor. closes #1579
2016-03-03 22:11:35 -08:00
Michael Hobbs
d1b87bd7b7
cleanup shellcheck SC2086
2016-02-23 07:50:06 -08:00
Michael Hobbs
9842d7498b
nginx-vhosts rewrite
2016-02-18 18:38:54 -08:00
Justin Clark
c62e384b47
Fix <command>:help hangs for certs, enter, tags, tar
2016-01-26 18:44:24 -08:00
Jeroen van Baarsen
9767b90826
Make sure we ignore hidden files in the SSL cert check
...
OSX creates hidden files: `./._server.key` and `./._server.crt`. The Dokku cert
plugin is choking on those files. We should probably just ignore them, and go on
with our lives
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com >
2016-01-06 14:36:07 +01:00
Michael Hobbs
a86119ddb6
do not chown file that doesn't exist. closes #1729
2015-12-01 09:01:59 -08:00
Michael Hobbs
091c1acf15
ensure permissions are locked down on tls folder and contents. fixes #1705
2015-11-19 11:03:21 -05:00
Justin Clark
8a1f7fb900
Cause certs:remove to return non zero on error
...
This was caught when writing the certs.bats. This patch will return
non zero on error instead of zero which can casue false negatives
in testing.
2015-11-11 18:18:06 -08:00
Justin Clark
b7fbd9aea0
Fix dokku certs:add file input bug
...
- fixes issue #1658
- add better output for argument files missing
- don't delete (move) the certs passed in
2015-11-06 16:47:19 -08:00
Michael Hobbs
fd44635e74
Merge remote-tracking branch 'origin/reduce-trace-output' into 1123_mh-nginx-novhost
2015-09-18 17:34:32 -07:00
Jose Diaz-Gonzalez
70511c340d
Check if command is implemented in a plugin before executing plugin code
...
Because of how plugin commands are implemented, their output can be incredibly verbose. Rather than executing even the `set -eo pipefail` parts of a plugin, we immediately check if the command is implemented by a plugin. If it is not, then we continue on as normal.
One side-effect of this change is that plugin commands need to be duplicated again:
- once in the command array
- once for the actual body of the command
- once in the help output
This is also quite hackish, and probably not the best way to decrease trace output. Note that we drop approximately 2k lines worth of logs with this change.
2015-09-18 16:09:59 -04:00
Michael Hobbs
4dd4d7c567
initial pass at nginx proxy without VHOST. closes #1123
2015-09-17 19:09:38 -07:00
Jose Diaz-Gonzalez
c929edfbe5
Source plugins from $PLUGIN_AVAILABLE_PATH when not using common plugin
...
This will allow us to override any core plugin
2015-09-15 02:22:08 -07:00
Michael Hobbs
8095df79f6
implement core plugin mgmt using plugn. add tests.
2015-09-15 02:17:28 -07:00
Jose Diaz-Gonzalez
ad72a137e1
Fix sourcing of functions
2015-09-15 02:16:40 -07:00
Michael Hobbs
7a545759f2
initial pass at switching to plugn
2015-09-15 02:16:40 -07:00
Michael Hobbs
515afa8d62
lintballs
2015-09-03 21:44:19 -07:00
Jose Diaz-Gonzalez
95161a2a9f
Use dokku_log_fail in all cases where there is an exit 1
2015-09-04 00:17:45 -04:00
Jose Diaz-Gonzalez
76cf4d2969
Add support for certificate setting via files on disk (when on server)
...
This can be used as an alternative to importing via stdin, which may be preferred when working directly on a server, or via scripted installation/deployments.
2015-09-04 00:13:48 -04:00
Jose Diaz-Gonzalez
71ebf1e476
Add certs:update alias for certs:add
2015-09-04 00:00:07 -04:00
Jose Diaz-Gonzalez
db4e847e8d
Update documentation on ssl management
...
Also move into subdirectory
[ci skip]
2015-09-03 23:35:18 -04:00
Jose Diaz-Gonzalez
d37e64d3d6
Move nginx:import-ssl to certs:add
2015-09-03 23:04:05 -04:00
Michael Hobbs
5cb62b168f
lintball. also run nginx:build-config if domains:add fails
2015-09-03 22:35:38 -04:00
Michael Hobbs
983e0910b1
implement certs:remove. spit out csr on certs:generate
2015-09-03 22:35:00 -04:00
Michael Hobbs
aec138ef32
heroku-like certs:info output
2015-09-03 22:35:00 -04:00
Michael Hobbs
f9da2d5c25
initial pass at cert plugin functionality
2015-09-03 22:35:00 -04:00
Michael Hobbs
a983456030
remove magic additions to VHOST based on SSL cert. fixes #1368
2015-09-03 22:35:00 -04:00