Jose Diaz-Gonzalez
1551ec61e7
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
1b797f8024
chore: minor consolidation in functions files
2019-03-09 15:54:21 -05:00
Jose Diaz-Gonzalez
5ca27fbeff
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
3c40976298
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
5ba6723389
refactor: call service_container_rm from subcommands/destroy
2019-03-08 23:27:55 -05:00
Jose Diaz-Gonzalez
f3ba0d51f6
Release 1.4.10
1.4.10
2018-12-02 16:17:52 -05:00
Jose Diaz-Gonzalez
39a7864022
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
8061f0c50a
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
aa1a23d5a1
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
5e5ad6d472
fix: clean up backup containers after use
...
Closes dokku/dokku#104
2018-12-02 04:46:52 -05:00
Jose Diaz-Gonzalez
733e14ee73
fix: correct documentation around the passphrase parameter
...
Closes dokku/dokku-mysql#101
2018-12-02 04:33:58 -05:00
Jose Diaz-Gonzalez
fc018c65f1
Release 1.4.9
1.4.9
2018-10-11 14:53:12 -04:00
Jose Diaz-Gonzalez
598ea1f526
fix: correct issue where help output isnt colorized by default
2018-10-11 14:20:03 -04:00
Jose Diaz-Gonzalez
b7724b826c
fix: correct issues in upgrade and fix tests
2018-10-11 14:16:47 -04:00
Jose Diaz-Gonzalez
0cee8bd31a
Release 1.4.8
1.4.8
2018-10-11 00:05:24 -04:00
Jose Diaz-Gonzalez
765f44dcfe
feat: skip upgrade if service is already up to date
2018-10-11 00:04:52 -04:00
Jose Diaz-Gonzalez
c9ea129035
Release 1.4.7
1.4.7
2018-10-10 23:54:38 -04:00
Jose Diaz-Gonzalez
00b290346e
feat: allow removal of header from :list subcommand
2018-10-10 23:54:08 -04:00
Jose Diaz-Gonzalez
d40e5bbb35
Release 1.4.6
1.4.6
2018-10-10 23:48:44 -04:00
Jose Diaz-Gonzalez
4689d223b6
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
0a7f86a21b
Release 1.4.5
1.4.5
2018-10-10 23:32:25 -04:00
Jose Diaz-Gonzalez
c96d25706b
fix: ensure flags are properly represented in help output
2018-10-10 23:31:52 -04:00
Jose Diaz-Gonzalez
4624d5a790
Release 1.4.4
1.4.4
2018-10-10 23:27:27 -04:00
Jose Diaz-Gonzalez
5887a018d0
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
bbe8fee561
Release 1.4.3
1.4.3
2018-10-10 23:18:32 -04:00
Jose Diaz-Gonzalez
5f2e184d68
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
8a8857374c
fix: handle case where container being removed does not exist
2018-10-10 22:03:44 -04:00
Jose Diaz-Gonzalez
2176ab836e
Release 1.4.2
1.4.2
2018-10-10 03:03:32 -04:00
Jose Diaz-Gonzalez
1c35653e7e
fix: correct short-flag for image-version and custom-env
2018-10-10 03:02:56 -04:00
Jose Diaz-Gonzalez
7c17773fb2
Release 1.4.1
1.4.1
2018-10-10 03:01:09 -04:00
Jose Diaz-Gonzalez
980e7d1650
fix: correct name for upgrade flags in help output
2018-10-10 03:00:22 -04:00
Jose Diaz-Gonzalez
64394619b5
Release 1.4.0
1.4.0
2018-10-10 02:59:16 -04:00
Jose Diaz-Gonzalez
a39ade3161
chore: correct verbiage around upgrades
2018-10-10 02:54:34 -04:00
Jose Diaz-Gonzalez
20dd893a77
fix: pass correct variable for upgrade command
2018-10-10 02:49:30 -04:00
Jose Diaz-Gonzalez
e089d0d03d
fix: correct check for existing image
2018-10-10 02:42:43 -04:00
Jose Diaz-Gonzalez
ab9da6349e
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
c2ed798db0
chore: remove unnecessary call
2018-10-10 02:32:59 -04:00
Jose Diaz-Gonzalez
63fc31807c
Merge pull request #100 from dokku/upgrade-service-image-version
...
feat: add ability to upgrade service image and image-version
2018-10-10 02:10:39 -04:00
Jose Diaz-Gonzalez
284ffa3177
feat: add ability to upgrade service image and image-version
2018-10-10 00:13:59 -04:00
Jose Diaz-Gonzalez
265410e5e5
Release 1.3.0
1.3.0
2018-07-21 16:34:13 -04:00
Jose Diaz-Gonzalez
e07b387d86
feat: add command to list linked services for a given app
2018-07-21 16:31:55 -04:00
Jose Diaz-Gonzalez
a5d5b4a22d
fix: properly set SERVICE_ALIAS
2018-04-24 15:05:50 -04:00
Jose Diaz-Gonzalez
e10ab542af
fix: add tests for custom link aliases
2018-04-24 13:21:30 -04:00
Jose Diaz-Gonzalez
57956e0dad
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:55 -04:00
Jose Diaz-Gonzalez
0b44cd050b
fix: correct test
2018-04-24 03:03:48 -04:00
Jose Diaz-Gonzalez
c83e0a56d2
refactor: make variable as dns hostname more clear
2018-04-24 02:54:46 -04:00
Jose Diaz-Gonzalez
0bcd62459d
fix: remove an infinite loop. Refs dokku/dokku-redis#64
2018-04-24 02:18:26 -04:00
Jose Diaz-Gonzalez
4b8b0c4bd5
feat: implement link querystring flags. Refs dokku/dokku-redis#64
2018-04-24 01:40:21 -04:00
Jose Diaz-Gonzalez
7ec808d9f6
feat: implement clone flags. Closes dokku/dokku-redis#105
2018-04-24 00:57:16 -04:00
Jose Diaz-Gonzalez
02b0c1c7f9
refactor: move unimplemented command detection into config file
2018-04-24 00:27:17 -04:00