Commit Graph

321 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
bc6a5422d6 fix: correct the validation message 2019-03-09 16:39:34 -05:00
Jose Diaz-Gonzalez
cd5b3a14b8 fix: Strictly validate service names
We previously allowed a wide range of service names. As the service name is sometimes used to name databases, the name was actually more restricted than any character, resulting in services that wouldn't start. Going forward, only alphanumeric and underscore characters are allowed.

This only impacts service creation. Any services with invalid names should be migrated to a new service, with the data exported and imported as normal.

Closes dokku/dokku-redis#99
Closes dokku/dokku-mysql#47
Closes dokku/dokku-mongo#86
Closes dokku/dokku-redis#81
2019-03-09 15:54:21 -05:00
Jose Diaz-Gonzalez
682110c06e chore: minor consolidation in functions files 2019-03-09 15:54:21 -05:00
Jose Diaz-Gonzalez
1733c7a6c8 fix: correct ID check
It may be true in tests because we mock docker itself...
2019-03-09 15:24:20 -05:00
Jose Diaz-Gonzalez
42ded61b2b fix: correct check to see if service is running
This sometimes bizarrely returned a value of 'true' when it wasn't....
2019-03-09 15:09:14 -05:00
Jose Diaz-Gonzalez
62902e7d9c refactor: call service_container_rm from subcommands/destroy 2019-03-08 23:27:55 -05:00
Jose Diaz-Gonzalez
9e2f6fcab0 Release 1.4.10 1.4.10 2018-12-02 16:17:48 -05:00
Jose Diaz-Gonzalez
1ce8d1747b fix: correct issues where docker ps is truncated
This should actually be refactored to avoid the grep call completely, but the current fix will correct the issue for now.

Refs dokku/dokku-postgres#131
2018-12-02 14:29:24 -05:00
Jose Diaz-Gonzalez
ea33fded40 fix: correct issues where docker ps is truncated
This should actually be refactored to avoid the grep call completely, but the current fix will correct the issue for now.

Refs dokku/dokku-postgres#131
2018-12-02 05:21:10 -05:00
Jose Diaz-Gonzalez
1687a1264c fix: ensure any backup cron files are deleted when the service is destroyed
Closes dokku/dokku-redis#118
2018-12-02 05:10:06 -05:00
Jose Diaz-Gonzalez
0619249d2c fix: clean up backup containers after use
Closes dokku/dokku#104
2018-12-02 04:46:52 -05:00
Jose Diaz-Gonzalez
8c578d0331 fix: correct documentation around the passphrase parameter
Closes dokku/dokku-mysql#101
2018-12-02 04:33:58 -05:00
Jose Diaz-Gonzalez
30fe489574 Release 1.4.9 1.4.9 2018-10-11 14:53:06 -04:00
Jose Diaz-Gonzalez
5e1431ce0f fix: correct issue where help output isnt colorized by default 2018-10-11 14:20:03 -04:00
Jose Diaz-Gonzalez
2f6c493fdd fix: correct issues in upgrade and fix tests 2018-10-11 14:16:47 -04:00
Jose Diaz-Gonzalez
db8ff16192 Release 1.4.8 1.4.8 2018-10-11 00:05:20 -04:00
Jose Diaz-Gonzalez
44c3c64c9b feat: skip upgrade if service is already up to date 2018-10-11 00:04:52 -04:00
Jose Diaz-Gonzalez
d95726dbed Release 1.4.7 1.4.7 2018-10-10 23:54:34 -04:00
Jose Diaz-Gonzalez
2d52ae2fb4 feat: allow removal of header from :list subcommand 2018-10-10 23:54:08 -04:00
Jose Diaz-Gonzalez
762d6318a2 Release 1.4.6 1.4.6 2018-10-10 23:48:40 -04:00
Jose Diaz-Gonzalez
f8c8adafb6 fix: respect various ways of not wanting 'fancy' output.
Closes dokku/dokku-daemon#19
Closes dokku/dokku-daemon#22
2018-10-10 23:47:46 -04:00
Jose Diaz-Gonzalez
eb5511c685 Release 1.4.5 1.4.5 2018-10-10 23:32:21 -04:00
Jose Diaz-Gonzalez
4f136c8dad fix: ensure flags are properly represented in help output 2018-10-10 23:31:52 -04:00
Jose Diaz-Gonzalez
056bdfae16 Release 1.4.4 1.4.4 2018-10-10 23:27:23 -04:00
Jose Diaz-Gonzalez
bf8e9fd01d fix: correct issue where temp help output files were being placed in incorrect directory 2018-10-10 23:23:10 -04:00
Jose Diaz-Gonzalez
6e9b49ff71 Release 1.4.3 1.4.3 2018-10-10 23:18:28 -04:00
Jose Diaz-Gonzalez
b030fe9cce feat: add support for restarting containers to ensure links continue to work properly when the application has resolved dns of the link 2018-10-10 23:14:45 -04:00
Jose Diaz-Gonzalez
87b27db240 fix: handle case where container being removed does not exist 2018-10-10 22:03:44 -04:00
Jose Diaz-Gonzalez
29e4e4fc25 Release 1.4.2 1.4.2 2018-10-10 03:03:28 -04:00
Jose Diaz-Gonzalez
c5004b5ef4 fix: correct short-flag for image-version and custom-env 2018-10-10 03:02:56 -04:00
Jose Diaz-Gonzalez
e0102abc80 Release 1.4.1 1.4.1 2018-10-10 03:01:01 -04:00
Jose Diaz-Gonzalez
07020df933 fix: correct name for upgrade flags in help output 2018-10-10 03:00:22 -04:00
Jose Diaz-Gonzalez
06b72bf7ec Release 1.4.0 1.4.0 2018-10-10 02:59:12 -04:00
Jose Diaz-Gonzalez
b66e047cfa chore: correct verbiage around upgrades 2018-10-10 02:54:34 -04:00
Jose Diaz-Gonzalez
ab4091bfec fix: pass correct variable for upgrade command 2018-10-10 02:49:30 -04:00
Jose Diaz-Gonzalez
82ec62b3bc fix: correct check for existing image 2018-10-10 02:42:43 -04:00
Jose Diaz-Gonzalez
0a19ef2ae1 fix: do not force-set plugin image and version to existing image and version 2018-10-10 02:39:10 -04:00
Jose Diaz-Gonzalez
af99bed9ca chore: remove unnecessary call 2018-10-10 02:32:59 -04:00
Jose Diaz-Gonzalez
0c7a141856 Merge pull request #109 from dokku/upgrade-service-image-version
feat: add ability to upgrade service image and image-version
2018-10-10 01:59:46 -04:00
Jose Diaz-Gonzalez
4ae25c179c feat: add ability to upgrade service image and image-version 2018-10-10 00:13:56 -04:00
Jose Diaz-Gonzalez
051c6bebba Release 1.3.0 1.3.0 2018-07-21 16:34:10 -04:00
Jose Diaz-Gonzalez
ba2774ae83 feat: add command to list linked services for a given app 2018-07-21 16:31:53 -04:00
Jose Diaz-Gonzalez
0fb9216c79 Merge pull request #106 from sdsanders/master
fix: correct file type in import/export examples
2018-06-26 11:36:58 -04:00
Steve Sanders
519a26a0e1 fix: correct file type in import/export examples 2018-06-25 19:11:47 -05:00
Jose Diaz-Gonzalez
7867e9baee fix: properly set SERVICE_ALIAS 2018-04-24 15:05:47 -04:00
Jose Diaz-Gonzalez
b50c082f87 fix: add tests for custom link aliases 2018-04-24 13:21:24 -04:00
Jose Diaz-Gonzalez
e25e2bfc11 feat: properly handle custom aliases and error states for alias usage when calling link subcommand. Refs dokku/dokku-redis#64 2018-04-24 03:21:52 -04:00
Jose Diaz-Gonzalez
04464001fc fix: correct test 2018-04-24 03:03:44 -04:00
Jose Diaz-Gonzalez
6380a5db56 refactor: make variable as dns hostname more clear 2018-04-24 02:54:42 -04:00
Jose Diaz-Gonzalez
e297e08ad9 fix: remove an infinite loop. Refs dokku/dokku-redis#64 2018-04-24 02:18:23 -04:00