1
0
mirror of https://git.cloudron.io/cloudron/minio-app synced 2025-09-13 08:19:12 +00:00

Compare commits

..

189 Commits

Author SHA1 Message Date
Girish Ramakrishnan
058673d882 Version 2.5.1 2022-05-20 09:01:45 -07:00
Girish Ramakrishnan
8c3ea72c86 Update minio to 2022-05-19T18-20-59Z 2022-05-20 08:55:01 -07:00
Girish Ramakrishnan
74eea35e18 Version 2.5.0 2022-05-09 09:32:24 -07:00
Girish Ramakrishnan
eafdc900b3 Update minio to 2022-05-08T23-50-31Z 2022-05-09 09:18:17 -07:00
Girish Ramakrishnan
0ec3052ad8 Version 2.4.14 2022-05-04 09:18:40 -07:00
Girish Ramakrishnan
c10b3888f0 Update mc again 2022-05-04 09:08:58 -07:00
Girish Ramakrishnan
8d2b9d84ce Update minio to 2022-05-04T07-45-27Z 2022-05-04 09:05:00 -07:00
Girish Ramakrishnan
13a4de046d Version 2.4.13 2022-05-03 15:42:40 -07:00
Girish Ramakrishnan
d030ce00cc Update minio to 2022-05-03T20-36-08Z 2022-05-03 15:32:54 -07:00
Girish Ramakrishnan
a2ea852bd4 can only change password with env vars now
https://docs.min.io/docs/minio-server-configuration-guide.html#credentials
2022-04-30 15:45:21 -07:00
Girish Ramakrishnan
aeeb7473b9 Version 2.4.12 2022-04-29 10:57:03 -07:00
Girish Ramakrishnan
a988358a84 Update minio to 2022-04-29T01-27-09Z 2022-04-29 10:49:15 -07:00
Girish Ramakrishnan
76e75b2421 Version 2.4.11 2022-04-25 22:46:17 -07:00
Girish Ramakrishnan
51bd508a5e Update minio to 2022-04-26T01-20-24Z 2022-04-25 22:31:06 -07:00
Girish Ramakrishnan
4e042bb62f Version 2.4.10 2022-04-17 11:35:02 -05:00
Girish Ramakrishnan
00fc4851bc Update minio to 2022-04-16T04-26-02Z 2022-04-17 11:23:56 -05:00
Girish Ramakrishnan
fb0dae799d Version 2.4.9 2022-04-13 09:18:58 -05:00
Girish Ramakrishnan
a68bdeeade Update minio to 2022-04-12T06-55-35Z 2022-04-13 09:08:05 -05:00
Girish Ramakrishnan
c1dbd2139f Version 2.4.8 2022-04-10 06:57:22 -07:00
Girish Ramakrishnan
fe88ff7d1c Update minio to 2022-04-09T15-09-52Z 2022-04-10 06:52:12 -07:00
Girish Ramakrishnan
fecebfd7e1 Version 2.4.7 2022-04-04 09:21:42 -07:00
Girish Ramakrishnan
0d171ddb5a Update minio to 2022-04-01T03-41-39Z 2022-04-04 09:06:44 -07:00
Girish Ramakrishnan
a5736bba2b Version 2.4.6 2022-03-29 11:27:46 -07:00
Girish Ramakrishnan
f1181e9383 Update minio to 2022-03-26T06-49-28Z 2022-03-29 11:19:33 -07:00
Girish Ramakrishnan
6346e564f9 Version 2.4.5 2022-03-24 09:29:36 -07:00
Girish Ramakrishnan
4843a8345a Update minio to 2022-03-24T00-43-44Z 2022-03-24 09:22:04 -07:00
Girish Ramakrishnan
fd7c75da9f Version 2.4.4 2022-03-22 09:21:29 -07:00
Girish Ramakrishnan
327ede57c3 Update minio to 2022-03-22T02-05-10Z 2022-03-22 09:06:33 -07:00
Girish Ramakrishnan
179628163f Version 2.4.3 2022-03-17 09:39:55 -07:00
Girish Ramakrishnan
dfcab10abe Update minio to 2022-03-17T06-34-49Z 2022-03-17 09:15:47 -07:00
Girish Ramakrishnan
642f1860d2 Version 2.4.2 2022-03-15 09:45:31 -07:00
Girish Ramakrishnan
bc6656111f Update client also 2022-03-15 09:37:51 -07:00
Girish Ramakrishnan
53371d5428 Update minio to 2022-03-14T18-25-24Z 2022-03-15 09:34:11 -07:00
Girish Ramakrishnan
444d1972e2 Version 2.4.1 2022-03-13 10:41:40 -07:00
Girish Ramakrishnan
1f51564fc7 Update minio to 2022-03-11T23-57-45Z 2022-03-13 10:35:38 -07:00
Girish Ramakrishnan
f49c69d566 Version 2.4.0 2022-03-11 11:11:33 -08:00
Girish Ramakrishnan
80802dc892 Update test packages 2022-03-11 11:00:27 -08:00
Girish Ramakrishnan
c23815b757 Update minio to 2022-03-11T11-08-23Z 2022-03-11 10:58:33 -08:00
Johannes Zellner
b195eb7e21 Bump version for 2022-03-08T22-28-51Z 2022-03-10 09:31:48 +01:00
Johannes Zellner
2386aa1325 Update test deps 2022-03-07 16:11:54 +01:00
Johannes Zellner
b64685aeee Bump version for 2022-03-05T06-32-39Z 2022-03-07 16:11:37 +01:00
Girish Ramakrishnan
6f845a87c5 Version 2.3.2 2022-02-26 09:51:57 -08:00
Girish Ramakrishnan
0a772c4f23 Update minio to 2022-02-26T02-54-46Z 2022-02-26 09:36:34 -08:00
Girish Ramakrishnan
69bf7496e7 Version 2.3.1 2022-02-24 19:25:46 -08:00
Girish Ramakrishnan
8925843f34 Update minio to 2022-02-24T22-12-01Z 2022-02-24 19:16:28 -08:00
Girish Ramakrishnan
1ef2baf396 Version 2.3.0 2022-02-18 12:34:30 -08:00
Girish Ramakrishnan
20706ccaf4 Update mc also 2022-02-18 12:27:04 -08:00
Girish Ramakrishnan
4100d16964 Update minio to 2022-02-18T01-50-10Z 2022-02-18 12:26:01 -08:00
Girish Ramakrishnan
a85c1935bc Version 2.2.1 2022-02-07 13:10:25 -08:00
Girish Ramakrishnan
f4996c9fc9 Update minio to 2022-02-07T08-17-33Z 2022-02-07 11:11:55 -08:00
Girish Ramakrishnan
5e1f06e1e9 Version 2.2.0 2022-02-06 11:52:30 -08:00
Girish Ramakrishnan
a89ff592f0 Update mc as well 2022-02-06 11:31:28 -08:00
Girish Ramakrishnan
9471c04cb9 Update minio to 2022-02-05T04-40-59Z 2022-02-06 11:23:13 -08:00
Girish Ramakrishnan
20dbe5de5a Version 2.1.0 2022-01-30 10:25:56 -08:00
Girish Ramakrishnan
c0a34431df Fix tests for UI changes 2022-01-30 10:19:09 -08:00
Girish Ramakrishnan
ce95621eb4 Update test packages 2022-01-30 10:11:09 -08:00
Girish Ramakrishnan
cd4fec9029 Update minio to 2022-01-28T02-28-16Z 2022-01-30 09:26:19 -08:00
Girish Ramakrishnan
d1677d9ef9 Update minio to 2022-01-25T19-56-04Z 2022-01-26 14:33:40 -08:00
Girish Ramakrishnan
131038a255 Version 2.0.0-1 2022-01-21 19:03:22 -08:00
Girish Ramakrishnan
0b59adbb35 Update screenshots 2022-01-21 17:21:00 -08:00
Girish Ramakrishnan
76ba09cd4b check redirection and api request 2022-01-21 14:38:56 -08:00
Girish Ramakrishnan
9820e5bf90 make update possible without the API_DOMAIN 2022-01-21 14:18:25 -08:00
Girish Ramakrishnan
7d38995613 fix tests 2022-01-21 14:08:52 -08:00
Girish Ramakrishnan
6162ff540b Fix root password init
We can now use MINIO_ROOT_USER  and MINIO_ROOT_PASSWORD env vars.
These default to minioadmin. When set, it will change/update the password.
When not set, it keeps the old password from the last run.
2022-01-21 13:28:02 -08:00
Girish Ramakrishnan
c0b9c4167f Make it work 2022-01-21 13:11:25 -08:00
Girish Ramakrishnan
fa8f08f760 Update minio to RELEASE.2022-01-08T03-11-54Z 2022-01-21 10:31:00 -08:00
Girish Ramakrishnan
84072d9227 Use httpPorts 2022-01-21 10:29:12 -08:00
Johannes Zellner
0f877a2d95 Update test deps 2021-09-15 13:11:58 +02:00
Johannes Zellner
44ed6f8aee Bump version for 2021-09-15T04-54-25Z 2021-09-15 13:10:14 +02:00
Johannes Zellner
10c6c019fd Use 2021-07-22T05-23-32Z 2021-07-22 13:07:46 +02:00
Girish Ramakrishnan
93853449f9 Use COPY instead of ADD 2021-07-21 14:26:58 -07:00
Johannes Zellner
16de972113 Until we change usermanagement, there is no need for a major version update 2021-07-20 15:38:29 +02:00
Johannes Zellner
f9ca8a265e Remove ldap addon for the moment 2021-07-20 15:35:45 +02:00
Johannes Zellner
e82c8db22d Merge branch 'update/1.2.0' into 'master'
Update Minio with Console

See merge request cloudron/minio-app!2
2021-07-20 11:28:26 +00:00
Elias Hackradt
e38d1020ac Updated tests to the new UI and redo the old tests with async AND disable LDAP support for now 2021-07-16 15:33:27 +02:00
Elias Hackradt
f814368e12 Added LDAP settings for unsecure internal communication; fixt missing export in env.sh 2021-07-11 23:15:50 +02:00
Elias Hackradt
8713b30b79 Added doc url 2021-07-11 22:58:41 +02:00
Elias Hackradt
9683b980b0 Add default config for mc in startup 2021-07-11 22:56:59 +02:00
Elias Hackradt
9272b4fa7b Stringify vars - fix var wrong in doc 2021-07-11 22:34:38 +02:00
Elias Hackradt
b6f66e8e25 Added initial LDAP Vars and cloudon addon 2021-07-11 22:28:37 +02:00
Elias Hackradt
612d47f4ac Added new console binary, added port to config, added default env for redirect 2021-07-11 22:15:23 +02:00
Johannes Zellner
c65ab2057f Update test deps 2021-07-08 09:20:28 +02:00
Johannes Zellner
03d7a890c3 Bump version for 2021-07-08T01-15-01Z 2021-07-08 09:20:11 +02:00
Girish Ramakrishnan
1f9617699a Version 1.165.0 2021-06-23 11:08:08 -07:00
Girish Ramakrishnan
17265598fd Update test packages 2021-06-23 11:08:04 -07:00
Girish Ramakrishnan
ab3caee22d Update minio to 2021-06-17T00-10-46Z 2021-06-23 10:06:29 -07:00
Johannes Zellner
e9c6aad49f Bump version for 2021-06-14T01-29-23Z 2021-06-14 12:07:48 +02:00
Johannes Zellner
5e92ec256f Fix version in changelog 2021-06-08 14:34:03 +02:00
Johannes Zellner
b1732c5fe7 Update test deps 2021-06-08 14:19:57 +02:00
Johannes Zellner
cce40f5225 Bump version for 2021-06-07T21-40-51Z 2021-06-08 14:19:21 +02:00
Johannes Zellner
07c38643cc And adjust the latest version number in changelog 2021-05-31 09:27:04 +02:00
Johannes Zellner
ca9c3a6034 Somehow changelog for 1.164.2 was not there 2021-05-31 09:26:33 +02:00
Johannes Zellner
2c7ca16313 Update test deps 2021-05-31 09:16:06 +02:00
Johannes Zellner
8135c8bab4 Bump version for RELEASE.2021-05-27T22-06-31Z 2021-05-31 09:15:39 +02:00
Girish Ramakrishnan
c89a1e1d62 Update minio to RELEASE.2021-05-22T02-34-39Z 2021-05-24 10:04:05 -07:00
Girish Ramakrishnan
ba9f0e152f Version 1.164.1 2021-05-21 11:55:26 -07:00
Girish Ramakrishnan
c106b7f078 Update minio to 2021-05-20T22-31-44Z 2021-05-21 11:42:39 -07:00
Girish Ramakrishnan
25ff011c14 Version 1.164.0 2021-05-18 09:23:58 -07:00
Girish Ramakrishnan
98b2ecc550 update minio to 2021-05-18T00-53-28Z 2021-05-18 09:18:50 -07:00
Girish Ramakrishnan
7042b7a23c Update minio to 2021-05-16T05-32-34Z 2021-05-18 09:17:09 -07:00
Girish Ramakrishnan
acda6fc0d6 Version 1.163.0 2021-05-14 09:46:24 -07:00
Girish Ramakrishnan
f7096a7f9d Update minio to 2021-05-11T23-27-41Z 2021-05-14 09:09:55 -07:00
Girish Ramakrishnan
70ca0ce938 Version 1.162.0 2021-04-23 10:55:49 -07:00
Girish Ramakrishnan
b969cab785 Update minio to RELEASE.2021-04-22T15-44-28Z 2021-04-23 10:50:20 -07:00
Girish Ramakrishnan
952f430b34 Version 1.161.0 2021-04-19 10:06:18 -07:00
Girish Ramakrishnan
c558f913ed Update minio to RELEASE.2021-04-18T19-26-29Z 2021-04-19 09:40:15 -07:00
Girish Ramakrishnan
0cb1f22fdc Version 1.160.0 2021-04-06 20:01:20 -07:00
Girish Ramakrishnan
f482dc2807 Update minio to RELEASE.2021-04-06T23-11-00Z 2021-04-06 19:40:57 -07:00
Johannes Zellner
ac9551bfc1 Bump version for 2021-03-26T00-00-41Z 2021-03-26 10:28:31 +01:00
Johannes Zellner
b83414cda6 Bump version for 1.159.8 2021-03-17 12:23:52 +01:00
Johannes Zellner
fa7d329def Update test deps 2021-03-15 12:40:10 +01:00
Johannes Zellner
ebeb8079d7 Bump version for 2021-03-12T00-00-47Z 2021-03-15 12:39:19 +01:00
Johannes Zellner
2a585c7ac4 Update test deps 2021-03-10 10:57:15 +01:00
Johannes Zellner
6d97db31e8 Bump version for 2021-03-10T05-11-33Z 2021-03-10 10:56:31 +01:00
Girish Ramakrishnan
b4cc5a68a7 Version 1.159.5 2021-03-04 11:38:17 -08:00
Girish Ramakrishnan
427db11d69 Update minio to 2021-03-04T00-53-13Z 2021-03-04 11:11:27 -08:00
Girish Ramakrishnan
1b74681053 Version v1.59.4 2021-03-01 14:48:00 -08:00
Girish Ramakrishnan
5416718efd Update minio to RELEASE.2021-03-01T04-20-55Z 2021-03-01 14:38:47 -08:00
Girish Ramakrishnan
2e0f47fc40 Version 1.159.3 2021-02-25 10:10:30 -08:00
Girish Ramakrishnan
57a0495d79 Update minio to RELEASE.2021-02-24T18-44-45Z 2021-02-25 10:04:28 -08:00
Johannes Zellner
d0fa31be3c Bump version for 2021-02-19T04-38-02Z 2021-02-19 13:14:28 +01:00
Johannes Zellner
5bce9a300d Update test deps 2021-02-15 13:59:57 +01:00
Johannes Zellner
3793fd4106 Bump version for 2021-02-14T04-01-33Z 2021-02-15 13:59:38 +01:00
Girish Ramakrishnan
1a24f9436c Version 1.159.0 2021-02-11 12:00:06 -08:00
Girish Ramakrishnan
582f0c3986 Update minio to 2021-02-11T08-23-43Z 2021-02-11 11:59:19 -08:00
Girish Ramakrishnan
9d2b5a932a Version 1.158.0 2021-02-08 17:06:45 -08:00
Girish Ramakrishnan
03bbd29700 Update minio to RELEASE.2021-02-07T01-31-02Z 2021-02-08 16:58:35 -08:00
Girish Ramakrishnan
ad8d9a1e06 Use base image v3 2021-02-08 16:58:19 -08:00
Johannes Zellner
746b026890 Bump version for 2021-02-01T22-56-52Z 2021-02-02 10:15:18 +01:00
Johannes Zellner
43b5ff4725 Update test deps 2021-01-30 11:19:15 +01:00
Johannes Zellner
5070aa1980 Bump version 2021-01-30 11:18:51 +01:00
Girish Ramakrishnan
d2e9ae39d0 Version 1.156.0 2021-01-17 18:19:52 -08:00
Girish Ramakrishnan
0f3c5be8d9 Update minio to RELEASE.2021-01-16T02-19-44Z 2021-01-17 17:59:40 -08:00
Girish Ramakrishnan
a9c7acb12a Version 1.155.0 2021-01-11 09:34:30 -08:00
Girish Ramakrishnan
aa34496126 Update minio to 2021-01-08T21-18-21Z 2021-01-11 09:30:40 -08:00
Girish Ramakrishnan
20c175c974 Version 1.154.0 2021-01-07 10:19:00 -08:00
Girish Ramakrishnan
30b6cb0313 Update minio to 2021-01-05T05-22-38Z 2021-01-07 10:12:34 -08:00
Girish Ramakrishnan
d7df9a864a Version 1.153.0 2021-01-03 09:39:15 -08:00
Girish Ramakrishnan
1d3df7a757 Update minio to RELEASE.2020-12-29T23-29-29Z 2021-01-03 09:30:58 -08:00
Girish Ramakrishnan
c675583694 Version 1.152.0 2020-12-28 11:46:45 -08:00
Girish Ramakrishnan
a58a08c3ab Update minio to RELEASE.2020-12-26T01-35-54Z 2020-12-28 11:42:53 -08:00
Girish Ramakrishnan
9383f04ed9 Version 1.151.4 2020-12-18 12:25:33 -08:00
Girish Ramakrishnan
ff27ffcf60 Update minio to 2020-12-18T03-27-42Z 2020-12-18 12:12:44 -08:00
Girish Ramakrishnan
9702f8b220 Version 1.151.3 2020-12-16 22:26:27 -08:00
Girish Ramakrishnan
0d3fe267ed Update test modules 2020-12-16 22:23:29 -08:00
Girish Ramakrishnan
4bce3ea796 Update minio to 2020-12-16T05-05-17Z 2020-12-16 22:22:45 -08:00
Girish Ramakrishnan
4bbe8f40b4 Version 1.151.2 2020-12-14 10:07:54 -08:00
Girish Ramakrishnan
369d25f615 Update minio to 2020-12-12T08-39-07Z 2020-12-14 10:07:06 -08:00
Johannes Zellner
9d63fc3fe0 Update test deps 2020-12-10 12:39:02 +01:00
Johannes Zellner
ce694b9cdb Bump version for RELEASE.2020-12-10T01-54-29Z 2020-12-10 12:34:27 +01:00
Girish Ramakrishnan
a0d8fabeea Version 1.151.0 2020-12-03 10:49:13 -08:00
Girish Ramakrishnan
9d61db56b3 Update test modules 2020-12-03 10:48:45 -08:00
Girish Ramakrishnan
d48dca5e2f Update minio to 2020-12-03T05-49-24Z 2020-12-03 10:42:04 -08:00
Johannes Zellner
e23c2a728b Bump version for RELEASE.2020-11-25T22-36-25Z 2020-11-26 13:14:11 +01:00
Girish Ramakrishnan
8a151ff784 Version 1.150.0 2020-11-24 09:59:34 -08:00
Girish Ramakrishnan
d3fd0b1d7b Actually update 2020-11-24 09:58:25 -08:00
Girish Ramakrishnan
d97140c83e Update tests 2020-11-24 09:53:41 -08:00
Girish Ramakrishnan
eb196a96fa Update minio to 2020-11-19T23-48-16Z 2020-11-24 09:53:30 -08:00
Girish Ramakrishnan
c792b2646f Version 1.149.0 2020-11-16 09:43:31 -08:00
Girish Ramakrishnan
fdb9011120 Update minio to RELEASE.2020-11-13T20-10-18Z 2020-11-16 09:33:15 -08:00
Girish Ramakrishnan
f4878ab442 Version 1.148.0 2020-11-13 10:13:39 -08:00
Girish Ramakrishnan
1cbf80465f Update minio to RELEASE.2020-11-12T22-33-34Z 2020-11-13 10:06:26 -08:00
Girish Ramakrishnan
7b9ebba5dd Update minio to RELEASE.2020-11-10T21-02-24Z 2020-11-11 09:24:11 -08:00
Girish Ramakrishnan
508ce1d809 Version 1.147.0 2020-11-07 18:33:14 -08:00
Girish Ramakrishnan
880c49c0ec Update minio to 2020-11-06T23-17-07Z 2020-11-07 18:13:56 -08:00
Girish Ramakrishnan
78d2b4b146 Version 1.146.0 2020-10-29 10:05:09 -07:00
Girish Ramakrishnan
74a4c25dc9 Update minio to RELEASE.2020-10-28T08-16-50Z 2020-10-29 09:59:35 -07:00
Girish Ramakrishnan
1bd9cea00b Version 1.145.0 2020-10-27 09:32:43 -07:00
Girish Ramakrishnan
a82850a2c2 Update minio to RELEASE.2020-10-27T04-03-55Z 2020-10-27 09:09:39 -07:00
Girish Ramakrishnan
6ad7cbf5fd Version 1.144.0 2020-10-19 20:07:04 -07:00
Girish Ramakrishnan
75a9554e11 Update minio to RELEASE.2020-10-18T21-54-12Z 2020-10-19 17:19:31 -07:00
Girish Ramakrishnan
907fda9cf6 Version 1.143.0 2020-10-14 09:50:53 -07:00
Girish Ramakrishnan
c7b2bfd874 Update minio to 2020-10-12T21-53-21Z 2020-10-14 09:46:11 -07:00
Johannes Zellner
8a2502a149 Update docs url 2020-10-11 15:28:38 +02:00
Johannes Zellner
c0933ab67f Update test deps and remove obsolete ones 2020-10-11 15:26:50 +02:00
Johannes Zellner
e62900974c Bump version for 2020-10-09T22-55-05Z 2020-10-11 15:26:32 +02:00
Girish Ramakrishnan
38e4036876 Version 1.141.0 2020-10-03 13:20:07 -07:00
Girish Ramakrishnan
38edc214a3 app needs restart 2020-10-03 13:13:26 -07:00
Girish Ramakrishnan
c1186748cf --address is an arg apparently
the rest are called "flags"
2020-10-03 13:11:08 -07:00
Girish Ramakrishnan
d0d13eccaf Update minio to RELEASE.2020-10-03T02-19-42Z 2020-10-03 13:10:46 -07:00
Girish Ramakrishnan
d94de7a13b Source custom config from /app/data/env.sh 2020-10-03 13:03:47 -07:00
Girish Ramakrishnan
6fdcff1acf Version 1.140.0 2020-09-29 15:52:02 -07:00
Girish Ramakrishnan
5d228c2a49 Update minio to RELEASE.2020-09-26T03-44-56Z 2020-09-29 15:42:22 -07:00
Girish Ramakrishnan
09db61f549 Version 1.139.0 2020-09-25 17:31:43 -07:00
Girish Ramakrishnan
2e340f386d Update minio to RELEASE.2020-09-23T19-18-30Z 2020-09-25 17:10:05 -07:00
Girish Ramakrishnan
440834cf09 Version 1.138.0 2020-09-22 09:56:30 -07:00
Girish Ramakrishnan
05eaf385d5 Update minio to RELEASE.2020-09-21T22-31-59Z 2020-09-22 09:20:12 -07:00
Girish Ramakrishnan
3f27a31f65 Version 1.137.0 2020-09-21 09:58:30 -07:00
Girish Ramakrishnan
fe1e252764 Update minio to RELEASE.2020-09-17T04-49-20Z 2020-09-21 09:28:10 -07:00
15 changed files with 3073 additions and 1233 deletions

527
CHANGELOG
View File

@@ -602,7 +602,7 @@
* List common prefixes in ListObjectVersions. See (#10286) for more details. * List common prefixes in ListObjectVersions. See (#10286) for more details.
[1.130.0] [1.130.0]
* Update minio to 2020-08-25T00-21-20Z * Update minio to 2020-08-25T00-21-20Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-08-25T00-21-20Z) * [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-08-25T00-21-20Z)
[1.131.0] [1.131.0]
@@ -638,3 +638,528 @@
* Update minio to 2020-09-10T22-02-45Z * Update minio to 2020-09-10T22-02-45Z
* Change permissions only when required * Change permissions only when required
[1.137.0]
* Update minio to 2020-09-17T04-49-20Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-09-17T04-49-20Z)
* fix background disk healing. See (#10502) for more details.
* Minor fixes in listing, replication and ilm.
[1.138.0]
* Update minio to 2020-09-21T22-31-59Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-09-21T22-31-59Z)
* Support for "directory" objects. See (#10499) for more details.
* Improve performance in listobjectparts and completemultipartupload in FS mode. See (#10522, #10510) for more details.
* More fixes in FS mode. See (#10512, #10533) for more details.
* Replication improvements. See (#10498, #10525) for more details.
* Browser: Support for searching objects. See (#10424) for more details.
* Miscellaneous fixes in ilm, healing, obd, and request start time logging. See (#10532, #10530, #10504, #10516) for more details.
* Changes related to locks. See (#10509, #10508) for more details.
[1.139.0]
* Update minio to 2020-09-23T19-18-30Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-09-23T19-18-30Z)
* Improvements to replication. See (#10542, #10552) for more details.
* Change "disks" node to "drives" in OBD/info output. See (#10540) for more details.
* Please use mc version RELEASE.2020-09-23T20-02-13Z or newer along with this version of minio.
* Fix: uploads when quota is enabled. See (#10551) for more details.
* Fix: reduce healthcheck interval for storage rest client. See (#10544) for more details.
[1.140.0]
* Update minio to 2020-09-26T03-44-56Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-09-26T03-44-56Z)
* Lock related improvements. See (#10571) for more details.
* Faster disconnects and improvements to network error checks. See (#10567, #10562) for more details.
* Improvements to healing. See (#10569, #10561) for more details.
* federation: Honor range with UploadObjectPart to a different cluster. See (#10570) for more details.
* avoid ListBuckets returning quorum errors when node is down. See (#10555) for more details.
[1.141.0]
* Update minio to 2020-10-03T02-19-42Z
* Source configuration from /app/data/env.sh
[1.142.0]
* Update minio to 2020-10-09T22-55-05Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-10-09T22-55-05Z)
* Improvements to locking. See (#10644, #10640, #10637) for more details.
* remove safeMode behavior in startup. See (#10645) for more details.
* fix: cleanup old directory handling code. See (#10633) for more details.
* Fix replication slowness. See (#10632) for more details.
[1.143.0]
* Update minio to 2020-10-12T21-53-21Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-10-12T21-53-21Z)
* Bump default idleConnsPerHost to control conns in time_wait . See(#10653) for more details.
* Add bandwidth monitoring for replication. See (#10501 #10652) for more details.ukla)
[1.144.0]
* Update minio to 2020-10-18T21-54-12Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-10-18T21-54-12Z)
* Improvements to bandwidth monitoring. See (#10683, #10698) for more details.
* Improvements to crawler. See (#10667, #10677, ) for more details.
* Healing related improvements. See (#10686, #10687, #10688) for more details.
* Add DNS cache support to avoid DNS flooding. See (#10693) for more details.
* update NTP package for accurate time resolution fixes. See (#10670) for more details.
* rename crawler config option to heal. See (#10678) for more details.
* Improvements to connecting to disks during startup. See (#10685, #10669) for more details.
* fix: Send delete marker creation event when appropriate. See (#10696) for more details.
[1.145.0]
* Update minio to 2020-10-27T04-03-55Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-10-27T04-03-55Z)
* Critical fixes related to replaced drives. See (#10748, #10759, #10764, #10766) for more details. Affects all releases since
RELEASE.2020-09-05T07-14-49Z, if you are running any releases since RELEASE.2020-09-05T07-14-49Z it is recommended
that you should schedule for an upgrade.
* Rolling upgrade is not supported (Internode API upgrade) (k8s/container deployments must upgrade all containers at once).
* Improvements to caching. See (#10762, #10763) for more details.
* Fix in Get/HeadObject to return 404 on dangling objects. See (#10753) for more details.
* IAM related improvements. See (#10719, #10700) for more details.
* Expire offline lockers. See (#10749) for more details.
* Aggressively slow down auto-healing. See (#10730) for more details.
[1.146.0]
* Update minio to 2020-10-28T08-16-50Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-10-28T08-16-50Z)
* Continuation of critical fixes made in the last release.
* Healing handles drive order mismatches. See (#10773) for more details.
* Fixes for CopyObject,PutObjectTagging APIs to ensure drive order, also make sure GetObject honors fallbacks due to drive order changes. See (#10772) for more details.
[1.147.0]
* Update minio to 2020-11-06T23-17-07Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-11-06T23-17-07Z)
Add support for ListObject caching. See (#10814, #10648, #10784, #10844, #10836, #10837, #10834, #10820, #10809, #10800, #10802, #10826, #10825, #10824) for more details.
* fix: replaced drive properly by healing the entire drive. See (#10799) for more details.
* allow requests to be proxied when server is booting up. See (#10790) for more details.
* Optimize decryptObjectInfo. See (#10726) for more details.
* fix: add support for O_DIRECT reads for erasure backends. See (#10718) for more details.
[1.148.0]
* Update minio to 2020-11-12T22-33-34Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-11-12T22-33-34Z)
* Fix to sort directory objects correctly. See (#10886) for more details.
* fix: HDFS list bucket when subpath is provided. See (#10884) for more details.
* list cache improvements. See (#10879, #10883) for more details.
* fix: simplify healing metadata objects per set. See (#10867) for more details.
* DeletedObjects: Return objects on lock failure. See (#10874) for more details.
[1.149.0]
* Update minio to 2020-11-13T20-10-18Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-11-13T20-10-18Z)
* Upgrade to Go 1.15.5 to address CVE-2020-28362, CVE-2020-28367 and CVE-2020-28366. [details](https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM/m/fLguyiM2CAAJ)
[1.150.0]
* Update minio to 2020-11-19T23-48-16Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-11-19T23-48-16Z)
[1.150.1]
* Update minio to 2020-11-25T22-36-25Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-11-25T22-36-25Z)
[1.151.0]
* Update minio to 2020-12-03T05-49-24Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-12-03T05-49-24Z)
[1.151.1]
* Update minio to 2020-12-10T01-54-29Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-12-10T01-54-29Z)
[1.151.2]
* Update minio to 2020-12-12T08-39-07Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-12-12T08-39-07Z)
[1.151.3]
* Update minio to 2020-12-16T05-05-17Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-12-16T05-05-17Z)
[1.151.4]
* Update minio to 2020-12-18T03-27-42Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-12-18T03-27-42Z)
[1.152.0]
* Update minio to 2020-12-26T01-35-54Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-12-26T01-35-54Z)
[1.153.0]
* Update minio to 2020-12-29T23-29-29Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-12-29T23-29-29Z)
* Fix: Avoid crash in crawler when lifecycle is not initialized. See (#11170) for more details.
* Fixes and improvements in healing. See (#11171, #11173) for more details.
* Fix: re-arrange handlers to handle requests on /minio. See (#11177) for more details.
[1.154.0]
* Update minio to 2021-01-05T05-22-38Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-01-05T05-22-38Z)
* do not use large buffers if not necessary. See (#11220, #11213) for more details.
* Minor optimizations in handlers. See (#11211, #11217) for more details.
* remove/deprecate crawler disable environment. See (#11214) for more details.
* fix: calculate prometheus disks_offline/disks_total correctly. See (#11215) for more details.
* Optimizations to Get and Head object APIs. See (#11200, #11201, #11204, #11207) for more details.
* fix: admin trace throttled requests. See (#11192) for more details.
[1.155.0]
* Update minio to 2021-01-08T21-18-21Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-01-08T21-18-21Z)
[1.156.0]
* Update minio to 2021-01-16T02-19-44Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-01-16T02-19-44Z)
* fix: preserve cache calculated previously while moving from v2 to v3. See (#11269) for more details.
* listing with prefix prefixed with '/' should be ignored. See (#11268) for more details.
* enable small and large file optimization. See (#11260) for more details.
* fix: enable xl.json to xl.meta only if legacy drive is found. See (#11255) for more details.
[1.157.0]
* Update minio to 2021-01-30T00-20-58Z
* Important security fixes
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-01-30T00-20-58Z)
[1.157.1]
* Update minio to 2021-02-01T22-56-52Z
* Fixes an important regression in federation implementation, refer f737a02
* ILM improvements, trigger expiry upon HEAD/GET
* tagging: Add event notif for PUT object tagging (#11366) (02/01/21) (Anis Elleuch)
* xl: Create a delete-marker when no other version exists (#11362) (02/01/21) (Anis Elleuch)
* fix: regression introduced in federated listing buckets (02/01/21) (Harshavardhana)
* Reverting TOC due to gluegun incompatibility. Revert this commit once we migrate to new docs site (#11402) (02/01/21) (Ravind Kumar)
* ilm: Remove object in HEAD/GET if having an applicable ILM rule (#11296) (02/01/21) (Anis Elleuch)
* fix: build on OpenBSD (#11384) (02/01/21) (Daniel Jakots)
* fix: docs typo in README_zh_CN (#11375) (01/31/21) (swartz-k)
* crypto: deprecate native Hashicorp Vault support (#11352) (01/30/21) (Andreas Auernhammer)
[1.158.0]
* Update minio to 2021-02-07T01-31-02Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-02-07T01-31-02Z)
* Fixes an important regression in lock expiration that can lead to expanded setup deployments to fail refer #11468, #11446
* Fix ILM implementation bugs in refer #11471, #11462, #11423
* Fix replication implementation bugs related to metadata checks, delete marker deletion refer #11465, #11410
* Rolling upgrades are not supported in this release, please upgrade all servers at once.
[1.159.0]
* Update minio to 2021-02-11T08-23-43Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-02-11T08-23-43Z)
[1.159.1]
* Update minio to 2021-02-14T04-01-33Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-02-14T04-01-33Z)
[1.159.2]
* Update minio to 2021-02-19T04-38-02Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-02-19T04-38-02Z)
[1.159.3]
* Update minio to 2021-02-24T18-44-45Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-02-24T18-44-45Z)
* use crypto/sha256 for FIPS 140-2 compliance. See (#11623) for more details.
* fix: Ensure cache has finished deserializing. See (#11620) for more details.
* Use DSYNC for xl.meta writes and NOATIME for reads. See (#11615) for more details.
* remove Content-MD5 on Range requests. See (#11611) for more details.
[1.159.4]
* Update minio to 2021-03-01T04-20-55Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-03-01T04-20-55Z)
[1.159.5]
* Update minio to 2021-03-04T00-53-13Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-03-04T00-53-13Z)
* This is a security bug fix release
[1.159.6]
* Update minio to 2021-03-10T05-11-33Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-03-10T05-11-33Z)
[1.159.7]
* Update minio to 2021-03-12T00-00-47Z
* handle trimming '/' if present in the object names (#11765) (03/11/21) (Harshavardhana)
* feat: Add QR Code to Share Object Modal (#11735) (03/12/21) (S Santhosh Nagaraj)
* Browser: Shared link has content-disposition header (#11712) (03/11/21) (Anis Elleuch)
* Fix redact LDAP password properly (#11762) (03/10/21) (Poorna Krishnamoorthy)
* add release build-arg to docker multiarch builds (#11752) (03/10/21) (Harshavardhana)
* Update S2 compression (#11753) (03/10/21) (Klaus Post)
[1.159.8]
* Update minio to 2021-03-17T02-33-02Z
* This release fixes a MITM attack in aws-chunked signature v4 encoding
* browser now supports QR code with presigned URLs.
* Support DeleteMarker disable setting in replication configuration.
* s3v4: read and verify S3 signature v4 chunks separately (#11801) (03/16/21) (Andreas Auernhammer)
* Fix STANDARD defaults, point to new docs site. (#11800) (03/16/21) (Ravind Kumar)
* erasure pools enable faster checks for file not found (#11799) (03/16/21) (Klaus Post)
* policy: Add Merge API (#11793) (03/16/21) (Anis Elleuch)
* fix: erasure index based reading based on actual ParityBlocks (#11792) (03/15/21) (Harshavardhana)
* s3 select: fix date_diff behavior (#11786) (03/15/21) (Klaus Post)
* fix: runtime issue on FreeBSD due to missing O_NOATIME/O_DSYNC support (#11790) (03/15/21) (Steve Wills)
* fix: mips 32bit compilation issue (#11775) (03/15/21) (Harshavardhana)
* add missing principalId in web notifications (#11777) (03/13/21) (Harshavardhana)
* Replication: Enforce DeleteMarker disable setting (#11720) (03/13/21) (Poorna Krishnamoorthy)
* Add consoleAdmin as a default canned policy (#11770) (03/13/21) (Nitish Tiwari)
* cmd/os-readdir_other.go - return nil with err (#11772) (03/12/21) (Philip Brown)
* update browser assets for react-qr-code (03/11/21) (Harshavardhana)
[1.159.9]
* Update minio to 2021-03-26T00-00-41Z
* do not call LocalStorageInfo on gateways (#11903) (03/25/21) (Harshavardhana)
* fix: reject duplicate keys in PostPolicyJSON document (#11902) (03/25/21) (Harshavardhana)
* fix error could not read /proc ion windows. (#11868) (03/25/21) (Klaus Post)
* highwayhash: update to latest version containing an arm64 fix (#11901) (03/25/21) (Andreas Auernhammer)
* Converge PolicyDBGet functions in IAM (#11891) (03/25/21) (Aditya Manthramurthy)
* xl: avoid sending Delete() remote call for fully successful runs (03/24/21) (Harshavardhana)
* fix: LDAP policy application on user policy (#11887) (03/24/21) (Aditya Manthramurthy)
* metrics: Add canceled requests (#11881) (03/24/21) (Klaus Post)
* xl: add checks for minioTmpMetaBucket in CreateFile (03/24/21) (Harshavardhana)
* xl: remove cleanupDir instead use Delete() (#11880) (03/24/21) (Harshavardhana)
* metrics: Change type of minio_s3_requests_waiting_total to gauge (#11884) (03/24/21) (Anis Elleuch)
* xl: CreateFile shouldn't prematurely timeout (#11878) (03/24/21) (Harshavardhana)
* Revert "xl: CreateFile shouldn't prematurely timeout (#11854)" (03/23/21) (Harshavardhana)
* simplify OS instrumentation remove functions for global variables (03/23/21) (Harshavardhana)
* fix: optionally enable tracing posix calls (03/23/21) (Ritesh H Shukla)
* fix: AccountInfo API for LDAP users (#11874) (03/23/21) (Aditya Manthramurthy)
* fix: LDAP groups handling and group mapping (#11855) (03/23/21) (Harshavardhana)
* avoid healObjects recursively healing at empty path (#11856) (03/23/21) (Harshavardhana)
* xl: CreateFile shouldn't prematurely timeout (#11854) (03/22/21) (Harshavardhana)
* fix: merge duplicate keys in post policy (#11843) (03/20/21) (Harshavardhana)
* Add process uptime metric (#11844) (03/20/21) (Ritesh H Shukla)
* crypto: simplify Context encoding (#11812) (03/20/21) (Andreas Auernhammer)
* remove MINIO_IO_DEADLINE support (#11841) (03/20/21) (Harshavardhana)
* fix: querying LDAP group/user policy (#11840) (03/20/21) (Aditya Manthramurthy)
* xl: Reduce usage of isDirEmpty() (#11838) (03/19/21) (Anis Elleuch)
* xl: Remove non needed check for empty dir (#11835) (03/19/21) (Anis Elleuch)
* fix: sql cast function when converting to float (#11817) (03/19/21) (mailsmail)
* Introduce metrics caching for performant metrics (#11831) (03/19/21) (Ritesh H Shukla)
* lifecycle: Support old BucketLifecycleConfiguration tag (#11828) (03/19/21) (Anis Elleuch)
* add missing java headless jdk in mint (03/18/21) (Harshavardhana)
* fix: handle weird drives sporadic read O_DIRECT behavior (#11832) (03/18/21) (Harshavardhana)
* fix: bucket / object count and size returned as 0 (#11825) (03/19/21) (Shireesh Anjal)
* [feat] Add configurable deadline for writers (#11822) (03/18/21) (Harshavardhana)
* Add main_test.go to run system tests with coverage (#11783) (03/18/21) (iternity-dotcom)
* mrf: Enhance behavior for better results (#11788) (03/18/21) (Anis Elleuch)
* No retries if minio server is down/connection refused err (#11809) (03/18/21) (ebozduman)
* dsync: use refresh timer properly to avoid leaks (#11820) (03/17/21) (Harshavardhana)
* allow configuring delete cleanup interval from default 10minutes (#11818) (03/17/21) (Harshavardhana)
* storage write call path optimizations (#11805) (03/17/21) (Harshavardhana)
* add additional metrics per disk API latency, API call counts #11250) (03/17/21) (Anis Elleuch)
[1.160.0]
* Update minio to 2021-04-06T23-11-00Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-04-06T23-11-00Z)
* Improve error message from SetRemoteTargetHandler (#11909) (03/26/21) (Poorna Krishnamoorthy)
* unmarshal both LegalHold and ObjectLockLegalHold XML types (#11921) (03/29/21) (Harshavardhana)
* crawling: Apply lifecycle then decide healing action (#11563) (03/31/21) (Anis Elleuch)
* add policy conditions support for signatureVersion and authType (#11947) (04/02/21) (Harshavardhana)
* fix: properly close leaking bandwidth monitor channel (#11967) (04/05/21) (Harshavardhana)
[1.161.0]
* Update minio to 2021-04-18T19-26-29Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-04-18T19-26-29Z)
Improve replication performance. See (#12080, #12054, #12009) for more details.
* Minor improvements in Lifecycle. See (#12077, #12039) for more details.
* fix: calculate correct content range with partNumber query. See (#11992) for more details.
* scanner: Shuffle disks to scan. See (#12036) for more details.
* Add runtime mem stats to server info. See (#11995) for more details.
[1.162.0]
* Update minio to 2021-04-22T15-44-28Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-04-22T15-44-28Z)
* fix: pick valid FileInfo additionally based on dataDir. See (#12116) for more details.
* Service account related improvements. See (#12117) for more details.
* fix: newMultipartUpload should go to same pool as existing object. See (#12106) for more details.
* ignore more tokens in some mountinfo entries. See (#12104) for more details.
* Grab read lock while reading usage cache. See (#12111) for more details.
[1.163.0]
* Update minio to 2021-05-11T23-27-41Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-05-11T23-27-41Z)
[1.164.0]
* Update minio to 2021-05-18T00-53-28Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-05-18T00-53-28Z)
[1.164.1]
* Update minio to 2021-05-20T22-31-44Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-05-20T22-31-44Z)
[1.164.2]
* Update minio to 2021-05-22T02-34-39Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-05-22T02-34-39Z)
[1.164.3]
* Update minio to 2021-05-27T22-06-31Z
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-05-27T22-06-31Z)
[1.164.4]
* Update minio to 2021-06-07T21-40-51Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-06-07T21-40-51Z)
[1.164.5]
* Update minio to 2021-06-14T01-29-23Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-06-14T01-29-23Z)
[1.165.0]
* Update minio to 2021-06-17T00-10-46Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-06-17T00-10-46Z)
[1.165.1]
* Update minio to 2021-07-08T01-15-01Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-07-08T01-15-01Z)
[1.166.0]
* Update minio to 2021-07-22T05-23-32Z
* Use new minio dashboard 2021-06-13T17-48-22Z
[1.167.0]
* Update minio to 2021-09-15T04-54-25Z
* Update minio dashboard to 2021-09-02T09-21-27Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2021-09-15T04-54-25Z)
* SSE-KMS support was not working with copyObject() refer #13206
* Support UserInfo claims refer #12469
[2.0.0]
* **This is a major update. The changes below are required for the app to work. The newer version of the app has 2 domain names - one for the console (browser UI) and one of the API domain (API/S3 requests). **
* Be sure to take a backup before updating the app.
* Once updated, go to the `Location` view and set the API Domain.
* Update the various apps/servers/code to use the API domain as the backup destination.
[2.1.0]
* Update minio to 2022-01-28T02-28-16Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-01-28T02-28-16Z)
* make sure to pass groups for all credentials while verifying policies by @harshavardhana in #14193
* do not expect 'speedtest' to be a bucket by @harshavardhana in #14199
* Optimize read locker cleanup by @klauspost in #14200
* Ensure that AssumeRole calls are sent to Audit log by @donatello in #14202
[2.2.0]
* Update minio to 2022-02-05T04-40-59Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-02-05T04-40-59Z)
[2.2.1]
* Update minio to 2022-02-07T08-17-33Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-02-07T08-17-33Z)
[2.3.0]
* Update minio to 2022-02-18T01-50-10Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-02-18T01-50-10Z)
[2.3.1]
* Update minio to 2022-02-24T22-12-01Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-02-24T22-12-01Z)
[2.3.2]
* Update minio to 2022-02-26T02-54-46Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-02-26T02-54-46Z)
[2.3.3]
* Update minio to 2022-03-05T06-32-39Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-05T06-32-39Z)
[2.3.4]
* Update minio to 2022-03-08T22-28-51Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-08T22-28-51Z)
[2.4.0]
* Update minio to 2022-03-11T11-08-23Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-11T11-08-23Z)
[2.4.1]
* Update minio to 2022-03-11T23-57-45Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-11T23-57-45Z)
* add filesystem group change policy for large minio deployments by @dharapvj in #14528
* Fix regression from range GET proxying #14345 by @poornas in #14532
[2.4.2]
* Update minio to 2022-03-14T18-25-24Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-14T18-25-24Z)
[2.4.3]
* Update minio to 2022-03-17T06-34-49Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-17T06-34-49Z)
[2.4.4]
* Update minio to 2022-03-22T02-05-10Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-22T02-05-10Z)
[2.4.5]
* Update minio to 2022-03-24T00-43-44Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-24T00-43-44Z)
[2.4.6]
* Update minio to 2022-03-26T06-49-28Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-26T06-49-28Z)
[2.4.7]
* Update minio to 2022-04-01T03-41-39Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-01T03-41-39Z)
* Always get the actual object size in bulk SSE-S3 by @vadmeste in #14637
* listing: decrypt only SSE-S3 single-part ETags by @aead in #14638
* Load IAM with a single listing call by @donatello in #14640
* fix: multiple pool setup return incorrect DeleteMarker metadata by @harshavardhana in #14642
* Quick type for fix ttfb entry in table by @eco-minio in #14647
[2.4.8]
* Update minio to 2022-04-09T15-09-52Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-09T15-09-52Z)
* Add metrics for observing IAM sync operations by @donatello in #14680
* Write deployment id to health report at the start by @anjalshireesh in #14673
* etag: add Format and Decrypt functions by @aead in #14659
* Remove unnecessary log printing by @vadmeste in #14685
* listing: improve listing of encrypted objects by @aead in #14667
* Set inspect-input.txt modtime by @klauspost in #14688
[2.4.9]
* Update minio to 2022-04-12T06-55-35Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-12T06-55-35Z)
* Fix a privilege escalation security issue - https://github.com/minio/minio/security/advisories/GHSA-2j69-jjmg-534q
* Console v0.15.10 by @dvaldivia in #14723
* align atomic variables once more for 32bit by @harshavardhana in #14721
* make sure to pass Lifecycle if set for List filtering by @harshavardhana in #14722
* Set permissions for GitHub actions by @naveensrinivasan in #14693
* Add support for minio tier type by @krisis in #14468
[2.4.10]
* Update minio to 2022-04-16T04-26-02Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-16T04-26-02Z)
* Allow parallel decom migration threads to be more than erasure sets by @krishnasrinivas in #14733
* Include speedtest as part of healthinfo api by @anjalshireesh in #14696
* Support templating accessKey existingSecret and bucket name by @yisiqi in #14643
* enable go1.18.x builds by @harshavardhana in #14746
* [S3Select] Switch to new parquet library and reduce locking by @donatello in #14731
* Update Console v0.15.13 by @dvaldivia in #14751
[2.4.11]
* Update minio to 2022-04-26T01-20-24Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-26T01-20-24Z)
[2.4.12]
* Update minio to 2022-04-29T01-27-09Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-29T01-27-09Z)
[2.4.13]
* Update minio to 2022-05-03T20-36-08Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-05-03T20-36-08Z)
* fix: panic in browser redirect handler for unexpected r.Host by @harshavardhana in #14844
* fix: reject invalid r.Host headers by @harshavardhana in #14846
* fix: disallow newer policies, users & groups with space characters by @harshavardhana in #14845
* Check error status codes by @klauspost in #14850
* Log Range Header by @klauspost in #14851
* fix: remove embedded-policy as requested by the user by @harshavardhana in #14847
[2.4.14]
* Update minio to 2022-05-04T07-45-27Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-05-04T07-45-27Z)
* Add audit log for decommissioning
[2.5.0]
* Update minio to 2022-05-08T23-50-31Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-05-08T23-50-31Z)
* Fix missing annotations for PVCs by @Sea-you in #14793
* Add OPA doc and remove deprecation marking by @donatello in #14863
* avoid concurrent reads and writes to opts.UserDefined by @harshavardhana in #14862
[2.5.1]
* Update minio to 2022-05-19T18-20-59Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-05-19T18-20-59Z)
* pools: GetObjectNInfo should cover locking during object read by @vadmeste in #14887
* tracing: Add disk path to storage tracing by @vadmeste in #14883
* Add support for Access Management Plugin by @donatello in #14875
* If decom of an object fails, retry for 3 times by @krishnasrinivas in #14861
* update new name for MINIO_POLICY_OPA_URL by @itsericqiu in #14898
* add support for extra Prometheus labels by @harshavardhana in #14899
* use BadRequest HTTP status instead of Conflict for certain errors by @harshavardhana in #14900

View File

@@ -5,23 +5,32 @@
"description": "file://DESCRIPTION.md", "description": "file://DESCRIPTION.md",
"changelog": "file://CHANGELOG", "changelog": "file://CHANGELOG",
"tagline": "Distributed object storage", "tagline": "Distributed object storage",
"version": "1.136.0", "version": "2.5.1",
"upstreamVersion": "2022-05-19T18-20-59Z",
"healthCheckPath": "/minio/login", "healthCheckPath": "/minio/login",
"httpPort": 8000, "httpPort": 8000,
"httpPorts": {
"API_SERVER_DOMAIN": {
"title": "API Server Domain",
"description": "The domain name for MinIO (S3) API requests",
"containerPort": 9000,
"defaultValue": "minio-api"
}
},
"addons": { "addons": {
"localstorage": {} "localstorage": {}
}, },
"manifestVersion": 2, "manifestVersion": 2,
"website": "http://www.minio.io", "website": "http://www.minio.io",
"minBoxVersion": "5.3.0", "minBoxVersion": "7.1.2",
"forumUrl": "https://forum.cloudron.io/category/69/minio", "forumUrl": "https://forum.cloudron.io/category/69/minio",
"documentationUrl": "https://cloudron.io/documentation/apps/minio/", "documentationUrl": "https://docs.cloudron.io/apps/minio/",
"contactEmail": "support@cloudron.io", "contactEmail": "support@cloudron.io",
"icon": "logo.png", "icon": "logo.png",
"tags": [ "storage", "hosting", "s3", "objectstore" ], "tags": [ "storage", "hosting", "s3", "objectstore" ],
"mediaLinks": [ "mediaLinks": [
"https://screenshots.cloudron.io/io.minio.cloudronapp/minio-browser-gateway.png", "https://screenshots.cloudron.io/io.minio.cloudronapp/pic1.png",
"https://screenshots.cloudron.io/io.minio.cloudronapp/minio-browser.png" "https://screenshots.cloudron.io/io.minio.cloudronapp/pic2.png"
], ],
"postInstallMessage": "file://POSTINSTALL.md" "postInstallMessage": "file://POSTINSTALL.md"
} }

View File

@@ -1,29 +1,29 @@
This app packages Minio <upstream>2020-09-10T22-02-45Z</upstream>. ## About
Minio is a distributed object storage server built for cloud applications and devops. Minio is a distributed object storage server built for cloud applications and devops.
### Features ## Features
#### Amazon S3 Compatible ### Amazon S3 Compatible
Minio implements Amazon S3 v4 APIs. Minio also includes client SDKs and a console utility. Minio implements Amazon S3 v4 APIs. Minio also includes client SDKs and a console utility.
#### Minimalist Design ### Minimalist Design
Minio is deeply influenced by minimalism. We believe that only simple things scale. Minio is deeply influenced by minimalism. We believe that only simple things scale.
#### Apache License 2.0 ### Apache License 2.0
Minio is free software, released under Apache license v2.0. Minio has an active developer and user community. Minio is free software, released under Apache license v2.0. Minio has an active developer and user community.
#### Lambda Functions ### Lambda Functions
Minio triggers Lambda functions through event notification service. In addition Minio also supports simple queueing service for AMQP, Elasticsearch, Redis, NATS and Postgres targets. Minio triggers Lambda functions through event notification service. In addition Minio also supports simple queueing service for AMQP, Elasticsearch, Redis, NATS and Postgres targets.
#### Erasure Code & Bitrot Protection ### Erasure Code & Bitrot Protection
Minio protects data against hardware failures and silent data corruption using erasure code and checksums. You may lose half the number of drives and still recover from it. Minio protects data against hardware failures and silent data corruption using erasure code and checksums. You may lose half the number of drives and still recover from it.
#### Written in Go ### Written in Go
Go is an emerging language of choice for modern cloud infrastructure projects. Go language enables Minio to be highly concurrent and lightweight. Go is an emerging language of choice for modern cloud infrastructure projects. Go language enables Minio to be highly concurrent and lightweight.

View File

@@ -1,14 +1,16 @@
FROM cloudron/base:2.0.0@sha256:f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4 FROM cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea
ARG VERSION=RELEASE.2020-09-10T22-02-45Z
RUN mkdir -p /app/code \
&& wget https://dl.min.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio \
&& chmod +x /app/code/minio
RUN mkdir -p /app/code
WORKDIR /app/code WORKDIR /app/code
ADD start.sh /app/code/start.sh ARG VERSION=RELEASE.2022-05-19T18-20-59Z
ADD minio-credentials /app/code/minio-credentials ARG MC_VERSION=RELEASE.2022-05-09T04-08-26Z
# sometimes here https://dl.min.io/server/minio/release/linux-amd64/archive/
RUN wget https://dl.min.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio && chmod +x /app/code/minio
# https://dl.min.io/client/mc/release/linux-amd64/
RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc.${MC_VERSION} -O /app/code/mc && chmod +x /app/code/mc
COPY env.sh start.sh /app/code/
CMD [ "/app/code/start.sh" ] CMD [ "/app/code/start.sh" ]

View File

@@ -34,3 +34,6 @@ npm install
PATH=$PATH:node_modules/.bin mocha --bail test.js PATH=$PATH:node_modules/.bin mocha --bail test.js
``` ```
## Notes
MinIO Console is an embedded web-based object browser built into MinIO Server

9
env.sh Normal file
View File

@@ -0,0 +1,9 @@
# Add custom minio configuration to this file. Restart the app for changes to take effect.
export CLOUDRON_MINIO_STARTUP_ARGS='server /app/data/data'
# See https://docs.min.io/minio/baremetal/reference/minio-server/minio-server.html#envvar.MINIO_ROOT_USER
# You can use pwgen -1s 64 to generate usernames and passwords
export MINIO_ROOT_USER=minioadmin
export MINIO_ROOT_PASSWORD=minioadmin

View File

@@ -1,41 +0,0 @@
#!/usr/bin/env node
'use strict';
const fs = require('fs');
const MINIO_CONFIG = '/app/data/data/.minio.sys/config/config.json';
function usage() {
console.log('Usage:\n');
console.log('\tminio-credentials get');
console.log('\tminio-credentials set <access key> <secret key>');
console.log();
}
let config = JSON.parse(fs.readFileSync(MINIO_CONFIG, 'utf8'));
let adminCredentials = config['credentials']['_'];
let accessKey = adminCredentials.filter(kv => kv.key === 'access_key')[0];
let secretKey = adminCredentials.filter(kv => kv.key === 'secret_key')[0];
if (process.argv[2] === 'get') {
console.log('Access Key:', accessKey.value);
console.log('Secret Key:', secretKey.value);
} else if (process.argv[2] === 'set') {
if (process.argv.length !== 5) return usage();
// https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateAccessKey.html
if (process.argv[4].length < 5) return console.log('secret key must be atleast 5 characters');
if (!/^[\w+=,.@-]+$/.test(process.argv[3])) return console.log('access key has invalid characters');
accessKey.value = process.argv[3];
if (process.argv[4].length < 8) return console.log('secret key must be atleast 8 characters');
secretKey.value = process.argv[4];
fs.writeFileSync(MINIO_CONFIG, JSON.stringify(config), 'utf8');
console.log('Credentials updated. Restart minio app for new credentials to take effect.\n');
} else {
usage();
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

BIN
screenshots/pic1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

BIN
screenshots/pic2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

View File

@@ -4,13 +4,23 @@ set -eu
mkdir -p /app/data/data /run/minio/config /run/minio/certs mkdir -p /app/data/data /run/minio/config /run/minio/certs
# minio is used for backups at times and has a large number of files. optimize by checking if files [[ ! -f /app/data/env.sh ]] && cp /app/code/env.sh /app/data/env.sh
# are actually in correct chown state source /app/data/env.sh
# https://docs.min.io/minio/baremetal/reference/minio-server/minio-server.html#envvar.MINIO_SERVER_URL
[[ -n "${API_SERVER_DOMAIN:-}" ]] && export MINIO_SERVER_URL="https://${API_SERVER_DOMAIN}"
export MINIO_BROWSER_REDIRECT_URL="https://${CLOUDRON_APP_DOMAIN}"
if [[ ! -d /app/data/mc_config ]]; then
mkdir -p /app/data/mc_config
/app/code/mc --config-dir /app/data/mc_config &> /dev/null || true
fi
# minio is used for backups at times and has a large number of files. optimize by checking if files are actually in correct chown state
echo "==> Changing ownership" echo "==> Changing ownership"
[[ $(stat --format '%U' /app/data/data) != "cloudron" ]] && chown -R cloudron:cloudron /app/data [[ $(stat --format '%U' /app/data/data) != "cloudron" ]] && chown -R cloudron:cloudron /app/data
# the --config-dir is deprecated and not used. but without it, minio will try to create $HOME/.minio :/ same for --certs-dir # the --config-dir is deprecated and not used. but without it, minio will try to create $HOME/.minio :/ same for --certs-dir
echo "==> Starting minio" echo "==> Starting minio"
exec /usr/local/bin/gosu cloudron:cloudron /app/code/minio --certs-dir /run/minio/certs --config-dir /run/minio/config --quiet server --address :8000 /app/data/data exec /usr/local/bin/gosu cloudron:cloudron /app/code/minio --certs-dir /run/minio/certs --config-dir /run/minio/config --quiet ${CLOUDRON_MINIO_STARTUP_ARGS} --address :9000 --console-address :8000

3360
test/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,14 +9,10 @@
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"chromedriver": "^85.0.0", "chromedriver": "^100.0.0",
"ejs": "^3.1.5",
"expect.js": "^0.3.1", "expect.js": "^0.3.1",
"mkdirp": "^1.0.4", "mocha": "^9.2.2",
"mocha": "^8.1.3", "selenium-webdriver": "^4.1.1",
"rimraf": "^3.0.2", "superagent": "^7.1.1"
"selenium-server-standalone-jar": "^3.141.59",
"selenium-webdriver": "^3.6.0",
"superagent": "^6.1.0"
} }
} }

View File

@@ -1,234 +1,171 @@
#!/usr/bin/env node #!/usr/bin/env node
/* jshint esversion: 8 */
/* global describe */
/* global before */
/* global after */
/* global it */
/* global xit */
'use strict'; 'use strict';
require('chromedriver'); require('chromedriver');
var execSync = require('child_process').execSync, const execSync = require('child_process').execSync,
expect = require('expect.js'), expect = require('expect.js'),
fs = require('fs'),
path = require('path'), path = require('path'),
webdriver = require('selenium-webdriver'); superagent = require('superagent'),
{ Builder, By, until } = require('selenium-webdriver'),
var by = require('selenium-webdriver').By, { Options } = require('selenium-webdriver/chrome');
until = require('selenium-webdriver').until,
Key = require('selenium-webdriver').Key,
Builder = require('selenium-webdriver').Builder;
var bucket = 'cloudrontestbucket';
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
describe('Application life cycle test', function () { describe('Application life cycle test', function () {
this.timeout(0); this.timeout(0);
var server, browser = new Builder().forBrowser('chrome').build(); const LOCATION = 'test';
const TEST_TIMEOUT = 10000;
const BUCKET = 'cloudrontestbucket';
const EXEC_ARGS = { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' };
before(function (done) { let browser, app;
var seleniumJar= require('selenium-server-standalone-jar');
var SeleniumServer = require('selenium-webdriver/remote').SeleniumServer;
server = new SeleniumServer(seleniumJar.path, { port: 4444 });
server.start();
done(); before(function () {
browser = new Builder().forBrowser('chrome').setChromeOptions(new Options().windowSize({ width: 1280, height: 1024 })).build();
}); });
after(function (done) { after(function () {
browser.quit(); browser.quit();
server.stop();
done();
}); });
var LOCATION = 'test'; async function waitForElement(elem) {
var TEST_TIMEOUT = 10000; await browser.wait(until.elementLocated(elem), TEST_TIMEOUT);
var app; await browser.wait(until.elementIsVisible(browser.findElement(elem)), TEST_TIMEOUT);
function pageLoaded() {
return browser.wait(until.elementLocated(by.className('page-load pl-0 pl-1')), TEST_TIMEOUT);
} }
function visible(selector) { function getAppInfo() {
return browser.wait(until.elementLocated(selector), TEST_TIMEOUT).then(function () {
return browser.wait(until.elementIsVisible(browser.findElement(selector)), TEST_TIMEOUT);
});
}
function login(accessKey, secretKey, callback) {
browser.manage().deleteAllCookies();
browser.get('https://' + app.fqdn).then(function () {
return visible(by.id('accessKey'));
}).then(function () {
return browser.findElement(by.id('accessKey')).sendKeys(accessKey);
}).then(function () {
return browser.findElement(by.id('secretKey')).sendKeys(secretKey);
}).then(function () {
// return browser.findElement(by.className('lw-btn')).click();
return browser.findElement(by.tagName('form')).submit();
}).then(function () {
return browser.wait(until.elementLocated(by.id('top-right-menu')), TEST_TIMEOUT);
}).then(function () {
callback();
});
}
function logout(callback) {
browser.get('https://' + app.fqdn);
pageLoaded().then(function () {
return visible(by.id('top-right-menu'));
}).then(function () {
return browser.findElement(by.id('top-right-menu')).click();
}).then(function () {
return visible(by.xpath('//*[text()="Sign Out "]'));
}).then(function () {
return browser.findElement(by.xpath('//*[text()="Sign Out "]')).click();
}).then(function () {
return browser.wait(until.elementLocated(by.id('accessKey')), TEST_TIMEOUT);
}).then(function () {
callback();
});
}
function addBucket(callback) {
browser.get('https://' + app.fqdn);
pageLoaded().then(function () {
return visible(by.className('fa-plus'));
}).then(function () {
return browser.findElement(by.className('fa-plus')).click();
}).then(function () {
const c = 'fa-hdd';
return visible(by.className(c));
}).then(function () {
const c = 'fa-hdd';
return browser.findElement(by.className(c)).click();
}).then(function () {
return visible(by.xpath('//*[@class="modal-body"]/form/div/input'));
}).then(function () {
return browser.findElement(by.xpath('//*[@class="modal-body"]/form/div/input')).sendKeys(bucket);
}).then(function () {
return browser.findElement(by.xpath('//*[@class="modal-body"]/form')).submit();
}).then(function () {
return visible(by.xpath('//*[@class="main"]/a[text()="' + bucket + '"]'));
}).then(function () {
callback();
});
}
function checkBucket(callback) {
browser.get('https://' + app.fqdn);
pageLoaded().then(function () {
return browser.findElement(by.xpath(`//a[contains(text(), ${bucket})]`));
}).then(function () {
callback();
});
}
function openSettings(callback) {
browser.get('https://' + app.fqdn);
pageLoaded().then(function () {
return visible(by.id('top-right-menu'));
}).then(function () {
return browser.findElement(by.id('top-right-menu')).click();
}).then(function () {
return visible(by.xpath('//*[contains(text(), "Change Password")]'));
}).then(function () {
return browser.findElement(by.xpath('//*[contains(text(),"Change Password")]')).click();
}).then(function () {
return browser.wait(until.elementLocated(by.xpath('//*[contains(text(), "Change Password")]')), TEST_TIMEOUT);
}).then(function () {
callback();
});
}
xit('build app', function () {
execSync('cloudron build', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
});
it('install app', function () {
execSync('cloudron install --location ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
});
it('can get app information', function () {
var inspect = JSON.parse(execSync('cloudron inspect')); var inspect = JSON.parse(execSync('cloudron inspect'));
app = inspect.apps.filter(function (a) { return a.location.indexOf(LOCATION) === 0; })[0];
app = inspect.apps.filter(function (a) { return a.location === LOCATION; })[0];
expect(app).to.be.an('object'); expect(app).to.be.an('object');
}); }
async function login(accessKey='minioadmin', secretKey='minioadmin') {
await browser.get(`https://${app.fqdn}/login`);
await waitForElement(By.id('accessKey'));
await browser.findElement(By.id('accessKey')).sendKeys(accessKey);
await browser.findElement(By.id('secretKey')).sendKeys(secretKey);
await browser.findElement(By.xpath('//button[contains(text(), "Login")]')).click();
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
}
async function logout() {
await browser.get(`https://${app.fqdn}/`);
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
await browser.findElement(By.xpath('//div/span[contains(text(), "Logout")]')).click();
await waitForElement(By.id('accessKey'));
}
async function addBucket() {
await browser.get(`https://${app.fqdn}/buckets`);
await waitForElement(By.xpath('//button/span[text()="Create Bucket"]'));
await browser.findElement(By.xpath('//button/span[text()="Create Bucket"]')).click();
await browser.sleep(2000);
await browser.findElement(By.xpath('//input[@id="bucket-name"]')).sendKeys(BUCKET);
await browser.findElement(By.xpath('//button[text()="Create Bucket"]')).click();
await waitForElement(By.xpath(`//a[contains(text(), "${BUCKET}")]`));
}
async function checkBucket() {
await browser.get(`https://${app.fqdn}/buckets`);
await waitForElement(By.xpath(`//h1[contains(text(), "${BUCKET}")]`));
}
async function checkRedirect() {
const response = await superagent.get(`https://${app.secondaryDomains[0].fqdn}`).set('User-Agent', 'Mozilla/5.0').redirects(0).ok(() => true);
expect(response.status).to.be(307);
expect(response.headers.location).to.be(`https://${app.fqdn}`);
}
async function checkApi() {
const response = await superagent.get(`https://${app.secondaryDomains[0].fqdn}`).ok(() => true);
expect(response.status).to.be(403);
expect(response.body.toString('utf8')).to.contain('<Code>AccessDenied</Code>');
}
xit('build app', function () { execSync('cloudron build', EXEC_ARGS); });
it('install app', function () { execSync(`cloudron install --location ${LOCATION} --secondary-domains API_SERVER_DOMAIN=${LOCATION}-api`, EXEC_ARGS); });
it('can get app information', getAppInfo);
it('can login', login.bind(null, 'minioadmin', 'minioadmin')); it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
it('can add bucket', addBucket); it('can add bucket', addBucket);
it('can open settings', openSettings);
it('can logout', logout); it('can logout', logout);
it('does redirect', checkRedirect);
it('check api', checkApi);
it('can change credentials', function () { it('can change credentials', function () {
execSync('cloudron exec --app ' + app.id + ' -- /app/code/minio-credentials set minioakey minioskey', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' }); let data = fs.readFileSync(path.join(__dirname, '../env.sh'), 'utf8');
data = data
.replace(/MINIO_ROOT_USER=.*/, 'MINIO_ROOT_USER=minioakey')
.replace(/MINIO_ROOT_PASSWORD=.*/, 'MINIO_ROOT_PASSWORD=minioskey');
fs.writeFileSync('/tmp/env.sh', data);
execSync(`cloudron push --app ${app.id} /tmp/env.sh /app/data/env.sh`, EXEC_ARGS);
execSync(`cloudron restart --app ${app.id}`, EXEC_ARGS);
}); });
it('can restart app', function (done) { it('can restart app', function () { execSync(`cloudron restart --app ${app.id}`, EXEC_ARGS); });
execSync('cloudron restart');
done();
});
it('can login', login.bind(null, 'minioakey', 'minioskey')); it('can login', login.bind(null, 'minioakey', 'minioskey'));
it('has bucket', checkBucket); it('has bucket', checkBucket);
it('can logout', logout); it('can logout', logout);
it('does redirect', checkRedirect);
it('check api', checkApi);
it('backup app', function () { it('backup app', function () { execSync('cloudron backup create --app ' + app.id, EXEC_ARGS); });
execSync('cloudron backup create --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
});
it('restore app', function () { it('restore app', function () {
const backups = JSON.parse(execSync('cloudron backup list --raw')); const backups = JSON.parse(execSync(`cloudron backup list --raw --app ${app.id}`));
execSync('cloudron uninstall --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' }); execSync('cloudron uninstall --app ' + app.id, EXEC_ARGS);
execSync('cloudron install --location ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' }); execSync('cloudron install --location ' + LOCATION, EXEC_ARGS);
var inspect = JSON.parse(execSync('cloudron inspect')); getAppInfo();
app = inspect.apps.filter(function (a) { return a.location === LOCATION; })[0]; execSync(`cloudron restore --backup ${backups[0].id} --app ${app.id}`, EXEC_ARGS);
execSync(`cloudron restore --backup ${backups[0].id} --app ${app.id}`, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
}); });
it('can login', login.bind(null, 'minioakey', 'minioskey')); it('can login', login.bind(null, 'minioakey', 'minioskey'));
it('has bucket', checkBucket); it('has bucket', checkBucket);
it('can open settings', openSettings);
it('can logout', logout); it('can logout', logout);
it('does redirect', checkRedirect);
it('check api', checkApi);
it('move to different location', function () { it('move to different location', function () {
browser.manage().deleteAllCookies(); browser.manage().deleteAllCookies();
execSync('cloudron configure --location ' + LOCATION + '2', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' }); execSync('cloudron configure --location ' + LOCATION + '2', EXEC_ARGS);
var inspect = JSON.parse(execSync('cloudron inspect'));
app = inspect.apps.filter(function (a) { return a.location === LOCATION + '2'; })[0];
expect(app).to.be.an('object');
}); });
it('can get app information', getAppInfo);
it('can login', login.bind(null, 'minioakey', 'minioskey')); it('can login', login.bind(null, 'minioakey', 'minioskey'));
it('has bucket', checkBucket); it('has bucket', checkBucket);
it('can logout', logout); it('can logout', logout);
it('does redirect', checkRedirect);
it('check api', checkApi);
it('uninstall app', function () { it('uninstall app', function () { execSync('cloudron uninstall --app ' + app.id, EXEC_ARGS); });
execSync('cloudron uninstall --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
});
// test update // test update
it('can install app', function () { it('can install app', function () { execSync('cloudron install --appstore-id io.minio.cloudronapp --location ' + LOCATION, EXEC_ARGS); });
execSync('cloudron install --appstore-id io.minio.cloudronapp --location ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' }); it('can get app information', getAppInfo);
var inspect = JSON.parse(execSync('cloudron inspect'));
app = inspect.apps.filter(function (a) { return a.location === LOCATION; })[0];
expect(app).to.be.an('object');
});
it('can login', login.bind(null, 'minioadmin', 'minioadmin')); it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
it('can add buckets', addBucket); it('can add buckets', addBucket);
it('can logout', logout); it('can logout', logout);
it('can update', function () { it('can update', function () { execSync(`cloudron update --app ${LOCATION}`, EXEC_ARGS); });
execSync('cloudron update --app ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' }); it('can configure', function () { execSync(`cloudron configure --app ${LOCATION} --location ${LOCATION} --secondary-domains API_SERVER_DOMAIN=${LOCATION}-api`, EXEC_ARGS); });
}); it('can get app information', getAppInfo);
it('can login', login.bind(null, 'minioadmin', 'minioadmin')); it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
it('has bucket', checkBucket); it('has bucket', checkBucket);
it('can logout', logout); it('can logout', logout);
it('uninstall app', function () { it('does redirect', checkRedirect);
execSync('cloudron uninstall --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' }); it('check api', checkApi);
});
it('uninstall app', function () { execSync('cloudron uninstall --app ' + app.id, EXEC_ARGS); });
}); });