Jose Diaz-Gonzalez
fd162f8895
feat: add verify_app_name calls to all shell subcommands
...
Without this, folks could potentially run commands against invalid applications.
2020-12-27 15:14:11 -05:00
Jose Diaz-Gonzalez
61a306664f
refactor: move domain manipulation into triggers
...
This allows other plugins to avoid understanding the underlying details of how domains might be integrated with.
2020-05-06 00:16:51 -04:00
Jose Diaz-Gonzalez
e67b96780d
refactor: unify command declaration across codebase
2020-02-10 01:40:30 -05:00
Jose Diaz-Gonzalez
1cb586b2e7
refactor: standardize command naming
...
This standardization makes it somewhat easier to read stacktraces as the command names are all uniform, so it will be slightly easier to scan trace output.
2020-02-09 22:41:39 -05:00
Jose Diaz-Gonzalez
3ca6245b00
fix: use 6 X to support running under busybox
...
mktemp from busybox requires that all templates end with XXXXXX.
2019-08-12 18:16:16 -04:00
Jose Diaz-Gonzalez
925c6c4c28
feat: inject the dokku PID into temporary files/directories
...
This will allow background processes to cleanup these files if they were unable to be cleaned up during a run of the dokku binary, as is the case for files copied by the docker binary when running in docker.
2019-08-12 17:56:17 -04:00
Jose Diaz-Gonzalez
1b92f4a97e
chore: standardize how temporary files are named
2019-05-20 18:01:17 -07:00
Jose Diaz-Gonzalez
da4361583b
fix: reverse quotes for variable expansion
...
Without reversing quotes, the variables are sometimes improperly expanded, resulting in files not being removed.
2019-05-20 17:56:50 -07:00
Jose Diaz-Gonzalez
67ae374e60
lint: remove whitespaces before redirect
2019-02-02 13:49:24 -05:00
Jose Diaz-Gonzalez
86795ddacc
tests: run mvdan/shfmt on test runs
...
While I do not agree with _every_ style change, this will force Dokku to have consistent formatting across all shell scripts, which is arguably a Good Thing™.
The command used to reprocess everything is:
```shell
shfmt -l -bn -ci -i 2 -w .
```
2019-01-07 01:25:55 -05:00
Kazuhiro NISHIYAMA
f476a12226
Remove unused password
2018-03-08 22:42:13 +09:00
Jose Diaz-Gonzalez
6d91a32f3d
fix: use a longer password for self-signed certificates
...
Closes #3084
2018-03-03 14:58:33 -05:00
Jose Diaz-Gonzalez
bcfa60ae98
feat: save the ssl certificate to the APP_SSL_PATH
...
This allows later retrieval of the csr in cases where the developer forgot to save it locally.
2017-01-08 19:36:17 -07:00
Jose Diaz-Gonzalez
82c11a2b2c
fix: call post-certs-update on the application before updating domains
...
This ensures that we set the proper ssl ports.
Closes #2480
Closes #2528
2017-01-08 19:35:49 -07:00
Michael Hobbs
ff18e0d6be
cleanup external references to nginx-vhosts plugin
2016-06-16 16:04:44 -07:00
Michael Hobbs
9ce7470b87
remove deprecated mktemp args and name vars more clearly
2016-03-29 19:46:46 -07:00
Michael Hobbs
987c5cfb9c
use declare for description variable
2016-03-08 15:30:34 -05:00
Michael S. Hobbs
89f289b433
subcommand restructure and bashstyle refactor. closes #1579
2016-03-03 22:11:35 -08:00