Commit Graph

130 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
6bab5bad28 feat: re-allow dashes in names
This PR allows dashes in service names, while still sanitizing them before they are used as database names. If the datastore is pre-existing, the datatabase name is assumed to be the same as the service name, and returned appropriately.
2019-05-30 17:03:48 -04:00
Jose Diaz-Gonzalez
7ddd0c9201 chore: run shfmt 2019-05-30 11:06:25 -04:00
Jose Diaz-Gonzalez
8c00ac34a3 feat: upgrade image version in use 2019-04-19 12:47:38 -04:00
Jose Diaz-Gonzalez
87c89f61af fix: correct issue where aliases were being generated incorrectly 2019-03-27 12:18:18 -04:00
Jose Diaz-Gonzalez
3742195ad1 chore: unify with other plugins 2019-03-19 15:00:55 -04:00
Jose Diaz-Gonzalez
77f2bc597f fix: skip hanging connect test in travis 2019-03-18 16:36:02 -04:00
Jose Diaz-Gonzalez
744e65760b feat: Real docker-based testing
This pull request switches testing to use an actual docker daemon, vs mocking everything out.

It may also catch actual breaking issues in our tests, which is great!
2019-03-18 14:44:28 -04:00
Jose Diaz-Gonzalez
0c89ee99f4 feat: increase minimum dokku version 2019-03-16 21:45:35 -04:00
Jose Diaz-Gonzalez
7ce772224a fix: correct the validation message 2019-03-09 16:39:35 -05:00
Jose Diaz-Gonzalez
35d5e9cab4 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:24 -05:00
Jose Diaz-Gonzalez
3fc6322b02 fix: correct issues in upgrade and fix tests 2018-10-11 14:16:47 -04:00
Jose Diaz-Gonzalez
894b17ec2a feat: upgrade to redis 4.0.11 2018-10-10 23:19:32 -04:00
Jose Diaz-Gonzalez
3573ec5ed7 fix: add tests for custom link aliases 2018-04-24 13:21:42 -04:00
Jose Diaz-Gonzalez
3616c93797 fix: correct test 2018-04-24 03:04:01 -04:00
Jose Diaz-Gonzalez
4e746fc624 feat: implement link querystring flags. Refs dokku/dokku-redis#64 2018-04-24 01:40:32 -04:00
Jose Diaz-Gonzalez
f17c11d765 fix: use assert_contains 2018-04-23 18:26:10 -04:00
dhose
8bd08fa2ff Upgrading Redis to version 4.0.8. 2018-02-07 20:31:18 +01:00
Jose Diaz-Gonzalez
6b80463820 fix: correct tests for 0.7.0 2018-01-12 12:45:25 -05:00
Jose Diaz-Gonzalez
90b464eef2 fix: set proper check_value for docker-options:report 2018-01-12 12:07:13 -05:00
Jose Diaz-Gonzalez
a4ce878846 fix: call options correctly 2018-01-12 10:42:05 -05:00
Jose Diaz-Gonzalez
99307312c9 fix: Properly handle updated config functions
Closes dokku/dokku-redis#90
2018-01-12 06:08:57 -05:00
Jose Diaz-Gonzalez
178d23617b fix: ensure we create the config directory 2017-09-11 07:14:01 -04:00
Jose Diaz-Gonzalez
9364bcbbec fix: call -rf in the proper order 2017-08-26 05:04:49 -04:00
Jose Diaz-Gonzalez
cff35dd8bf feat: upgrade plugn 2017-08-26 04:19:37 -04:00
fzerorubigd
a0a9326f39 pass password to redis-cli instance on connect sub-command 2017-04-22 22:33:12 +04:30
Mike Schroll
34d63fd2c6 Updated all instances of 3.2.5 to 3.2.8 2017-04-21 00:57:47 -04:00
Jose Diaz-Gonzalez
3822e9b293 feat: ensure permissions are set properly on cron files 2017-01-12 01:54:08 -07:00
Jakob Krigovsky
79c9542fb8 Update Redis to v3.2.5 2016-12-03 14:01:06 +01:00
Jose Diaz-Gonzalez
fdc927203c feat: add s3 backup support 2016-10-31 11:39:36 -06:00
Jose Diaz-Gonzalez
919832ba2a Implement AUTH. Closes #58
This change makes password authentication required
for redis usage, and removes anonymous access. Users
will need to change their underlying clients to enable
writing the auth token for authenticating, otherwise
requests will fail.

This is a non-optional change, and improves security
for users who wish to expose their redis installations
outside of their network.
2016-09-21 01:44:57 -06:00
Jose Diaz-Gonzalez
5406b4dc07 Add --service-root flag to info command 2016-08-29 05:53:54 -04:00
Jose Diaz-Gonzalez
b104279a51 Add --internal-ip flag to info command 2016-08-28 23:24:37 -04:00
Jose Diaz-Gonzalez
5d08332c69 Fix expose tests 2016-08-28 22:15:28 -04:00
Jose Diaz-Gonzalez
7eb2b47db7 Document exposed ports when an invalid number of arguments are specified 2016-08-28 21:25:10 -04:00
Jose Diaz-Gonzalez
eb0739350f Update docker binstub 2016-08-28 20:38:14 -04:00
Jose Diaz-Gonzalez
0acf54fd3d Add --id flag 2016-08-28 17:56:30 -04:00
Jose Diaz-Gonzalez
fb3ff0f5a5 Add support for flags on the service:info command 2016-08-28 05:33:28 -04:00
Jose Diaz-Gonzalez
a58af14c0d Make install hook quiet when there is nothing to do 2016-08-28 02:04:08 -04:00
Jose Diaz-Gonzalez
f2e8466ae3 Cleanup tests 2016-08-27 23:39:12 -04:00
Jose Diaz-Gonzalez
4427c31e3f Upgrade docker image 2016-08-27 21:44:20 -04:00
Jose Diaz-Gonzalez
5ff2445998 Downgrade redis 2016-08-27 21:20:45 -04:00
Jose Diaz-Gonzalez
36762e69af Update docker image 2016-08-27 16:31:20 -04:00
Jose Diaz-Gonzalez
bb7c6f05e6 Fix failing tests on master and test all .0 minor releases 2016-08-27 05:14:42 -04:00
Jose Diaz-Gonzalez
b02135e7f7 Update docker binstub 2016-08-27 03:13:14 -04:00
Jose Diaz-Gonzalez
58c198949f Fix test setup to create proper directory structure for plugin 2016-05-15 18:58:10 -04:00
Jose Diaz-Gonzalez
d30c101fe3 Merge pull request #49 from dokku/minor-changes
Minor changes
2016-05-08 03:49:00 -04:00
Jose Diaz-Gonzalez
ad84ddea31 Add a dummy lsb_release command to test binaries
This should allow us to run tests on os x using the current dokku binary
2016-05-08 01:35:11 -04:00
Jose Diaz-Gonzalez
fd112305d9 Download correct version of plugn when running tests under OS X 2016-05-08 01:34:40 -04:00
Marcio Marchini
423bf1a4ef fix for #50 - remove /0 , be heroku-compatible 2016-05-05 13:08:11 -03:00
Jose Diaz-Gonzalez
5bcaf4fec5 Read REDIS_DATABASE_SCHEME variable from app when setting REDIS_URL 2016-04-19 14:52:09 -04:00