mirror of
https://git.cloudron.io/cloudron/minio-app
synced 2025-09-05 17:05:10 +00:00
Compare commits
179 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
1ef2baf396 | ||
|
20706ccaf4 | ||
|
4100d16964 | ||
|
a85c1935bc | ||
|
f4996c9fc9 | ||
|
5e1f06e1e9 | ||
|
a89ff592f0 | ||
|
9471c04cb9 | ||
|
20dbe5de5a | ||
|
c0a34431df | ||
|
ce95621eb4 | ||
|
cd4fec9029 | ||
|
d1677d9ef9 | ||
|
131038a255 | ||
|
0b59adbb35 | ||
|
76ba09cd4b | ||
|
9820e5bf90 | ||
|
7d38995613 | ||
|
6162ff540b | ||
|
c0b9c4167f | ||
|
fa8f08f760 | ||
|
84072d9227 | ||
|
0f877a2d95 | ||
|
44ed6f8aee | ||
|
10c6c019fd | ||
|
93853449f9 | ||
|
16de972113 | ||
|
f9ca8a265e | ||
|
e82c8db22d | ||
|
e38d1020ac | ||
|
f814368e12 | ||
|
8713b30b79 | ||
|
9683b980b0 | ||
|
9272b4fa7b | ||
|
b6f66e8e25 | ||
|
612d47f4ac | ||
|
c65ab2057f | ||
|
03d7a890c3 | ||
|
1f9617699a | ||
|
17265598fd | ||
|
ab3caee22d | ||
|
e9c6aad49f | ||
|
5e92ec256f | ||
|
b1732c5fe7 | ||
|
cce40f5225 | ||
|
07c38643cc | ||
|
ca9c3a6034 | ||
|
2c7ca16313 | ||
|
8135c8bab4 | ||
|
c89a1e1d62 | ||
|
ba9f0e152f | ||
|
c106b7f078 | ||
|
25ff011c14 | ||
|
98b2ecc550 | ||
|
7042b7a23c | ||
|
acda6fc0d6 | ||
|
f7096a7f9d | ||
|
70ca0ce938 | ||
|
b969cab785 | ||
|
952f430b34 | ||
|
c558f913ed | ||
|
0cb1f22fdc | ||
|
f482dc2807 | ||
|
ac9551bfc1 | ||
|
b83414cda6 | ||
|
fa7d329def | ||
|
ebeb8079d7 | ||
|
2a585c7ac4 | ||
|
6d97db31e8 | ||
|
b4cc5a68a7 | ||
|
427db11d69 | ||
|
1b74681053 | ||
|
5416718efd | ||
|
2e0f47fc40 | ||
|
57a0495d79 | ||
|
d0fa31be3c | ||
|
5bce9a300d | ||
|
3793fd4106 | ||
|
1a24f9436c | ||
|
582f0c3986 | ||
|
9d2b5a932a | ||
|
03bbd29700 | ||
|
ad8d9a1e06 | ||
|
746b026890 | ||
|
43b5ff4725 | ||
|
5070aa1980 | ||
|
d2e9ae39d0 | ||
|
0f3c5be8d9 | ||
|
a9c7acb12a | ||
|
aa34496126 | ||
|
20c175c974 | ||
|
30b6cb0313 | ||
|
d7df9a864a | ||
|
1d3df7a757 | ||
|
c675583694 | ||
|
a58a08c3ab | ||
|
9383f04ed9 | ||
|
ff27ffcf60 | ||
|
9702f8b220 | ||
|
0d3fe267ed | ||
|
4bce3ea796 | ||
|
4bbe8f40b4 | ||
|
369d25f615 | ||
|
9d63fc3fe0 | ||
|
ce694b9cdb | ||
|
a0d8fabeea | ||
|
9d61db56b3 | ||
|
d48dca5e2f | ||
|
e23c2a728b | ||
|
8a151ff784 | ||
|
d3fd0b1d7b | ||
|
d97140c83e | ||
|
eb196a96fa | ||
|
c792b2646f | ||
|
fdb9011120 | ||
|
f4878ab442 | ||
|
1cbf80465f | ||
|
7b9ebba5dd | ||
|
508ce1d809 | ||
|
880c49c0ec | ||
|
78d2b4b146 | ||
|
74a4c25dc9 | ||
|
1bd9cea00b | ||
|
a82850a2c2 | ||
|
6ad7cbf5fd | ||
|
75a9554e11 | ||
|
907fda9cf6 | ||
|
c7b2bfd874 | ||
|
8a2502a149 | ||
|
c0933ab67f | ||
|
e62900974c | ||
|
38e4036876 | ||
|
38edc214a3 | ||
|
c1186748cf | ||
|
d0d13eccaf | ||
|
d94de7a13b | ||
|
6fdcff1acf | ||
|
5d228c2a49 | ||
|
09db61f549 | ||
|
2e340f386d | ||
|
440834cf09 | ||
|
05eaf385d5 | ||
|
3f27a31f65 | ||
|
fe1e252764 | ||
|
6391c53196 | ||
|
4dc37ac1aa | ||
|
fbeaf26fec | ||
|
9d46d755c0 | ||
|
3d3c799657 | ||
|
abf59caf8f | ||
|
38f8c55cc8 | ||
|
fb847996cc | ||
|
4399e68b2c | ||
|
ae264cf62f | ||
|
de69bdbb88 | ||
|
cc4c6df171 | ||
|
19c99f5ac0 | ||
|
1fe81c8b1f | ||
|
f0563df051 | ||
|
0f63d156be | ||
|
0003906ab9 | ||
|
46f6b579e5 | ||
|
ca1940cece | ||
|
85654cc1aa | ||
|
f72de1798f | ||
|
6eb1e7b4b9 | ||
|
5e85881327 | ||
|
1784ab0d7f | ||
|
de07f898c6 | ||
|
f0b11f50a5 | ||
|
494a408af6 | ||
|
13f98c0ec9 | ||
|
310348b307 | ||
|
96fa67400e | ||
|
cdd708e750 | ||
|
4cc9ff1112 | ||
|
989e9102d4 | ||
|
00093d376c | ||
|
9126170c3c |
502
CHANGELOG
502
CHANGELOG
@@ -535,3 +535,505 @@
|
||||
* Federated setups now automatically figure out the online server to proxy the requests to.
|
||||
* S3 BucketLifecycle API compatibility fixes.
|
||||
* Quota checks now run continously piggy backing on the crawler.
|
||||
|
||||
[1.121.0]
|
||||
* Update minio to 2020-07-20T02-25-16Z
|
||||
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-07-20T02-25-16Z)
|
||||
* SSE-C key rotation issue in CopyObject caused by a compatibility fix in previous release, refer #10085
|
||||
* Lifecycle AWS S3 API compatibility fixes #10083 #10084
|
||||
* Change TCP timeouts for incoming connections, internode is kept aggressive as necessary.
|
||||
|
||||
[1.122.0]
|
||||
* Update minio to 2020-07-22T00-26-33Z
|
||||
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-07-22T00-26-33Z)
|
||||
|
||||
[1.123.0]
|
||||
* Update minio to 2020-07-24T22-43-05Z
|
||||
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-07-24T22-43-05Z)
|
||||
* Fixes a regression in bucket usage metrics to remove double counting, see #10126
|
||||
* Add additional CORS such as Content-Encoding to be allowed as part of CORS requests, see #10124
|
||||
* Quota validation is more aggressive, to enforce quotas quickly, see #10127
|
||||
* Handle sudden removal of disks for on-going I/O, errors were not handled appropriately, see #10128
|
||||
|
||||
[1.124.0]
|
||||
* Update minio to RELEASE.2020-07-27T18-37-02Z
|
||||
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-07-27T18-37-02Z)
|
||||
* Add missing Content-Disposition to CORS Handler. See (#10137) for more details.
|
||||
* Browser: Enforce bucket quota in the case of browser uploads. See (#10129) for more details.
|
||||
* Simplify JWKS decoding in OPenID. See (#10119) for more details.
|
||||
* Fix gateway walk implementation to list correctly. See (#10131) for more details.
|
||||
* Allow shareable URLs using rotating creds. See (#10135) for more details.
|
||||
|
||||
[1.125.0]
|
||||
* Update minio to 2020-07-31T03-39-05Z
|
||||
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-07-31T03-39-05Z)
|
||||
* Improvements to OBD tests. See (#10141) for more details.
|
||||
* Rename replication target handler. See (#10154, #10142) for more details.
|
||||
* Turn off bucket usage metrics in Gateway mode. See (#10150) for more details.
|
||||
* Fix: Do not enforce policy claim if OPA is set. See (#10149) for more details.
|
||||
* Fix: Cache validation for offline drives. See (#10146) for more details.
|
||||
* Fix: avoid buffering of server sent events by proxies. See (#10164) for more details.
|
||||
* Fix: Pass context all the way down to the network call in lockers. See (#10161) for more details.
|
||||
* Fix: bucket usage metrics update in fs mode. See (#10152) for more details.
|
||||
|
||||
[1.126.0]
|
||||
* Update minio to 2020-08-05T21-34-13Z
|
||||
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-08-05T21-34-13Z)
|
||||
* Fixes an important issue in asymmetric setups standard storage class was miscalcuated, leading to incorrect quorum expectations, make this uniform see #10208
|
||||
|
||||
[1.127.0]
|
||||
* Update minio to 2020-08-08T04-50-06Z
|
||||
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-08-08T04-50-06Z)
|
||||
* Fixes regression in remote ENV parsing to allow for special characters in MinIO secrets, see #10223
|
||||
|
||||
[1.128.0]
|
||||
* Update minio to 2020-08-13T02-39-50Z
|
||||
* [Full changelog](https://github.com/minio/minio/releases/tag//RELEASE.2020-08-13T02-39-50Z)
|
||||
* Security Fix to remove insecure custom headers. See (#10244) for more details.
|
||||
* Web env related improvements. See (#10246, #10251 ) for more details.
|
||||
* Enforce replication in web handler. See (#10249) for more details.
|
||||
* Use correct endpoints for offline drives.
|
||||
|
||||
[1.129.0]
|
||||
* Update minio to 2020-08-18T19-41-00Z
|
||||
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-08-18T19-41-00Z)
|
||||
* Web UI Regression: Set default retention for uploaded objects. See (#10285) for more details.
|
||||
* Single timeout for most locked API/heal ops. See (#10275) for more details.
|
||||
* List common prefixes in ListObjectVersions. See (#10286) for more details.
|
||||
|
||||
[1.130.0]
|
||||
* Update minio to 2020-08-25T00-21-20Z
|
||||
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-08-25T00-21-20Z)
|
||||
|
||||
[1.131.0]
|
||||
* Update minio to 2020-08-26T00-00-49Z
|
||||
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-08-26T00-00-49Z)
|
||||
|
||||
[1.132.0]
|
||||
* Update minio to 2020-08-27T05-16-20Z
|
||||
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-08-27T05-16-20Z)
|
||||
|
||||
[1.133.0]
|
||||
* Update minio to 2020-09-02T18-19-50Z
|
||||
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-09-02T18-19-50Z)
|
||||
* Delete marker compatibility on a version suspended bucket. See (#10395) for more details.
|
||||
* Fix: ListObjectsV1 failure with offline nodes. See (#10386) for more details.
|
||||
* Improvements to healing to check for truncated parts. See (#10399) for more details.
|
||||
* Fix: write quorum calculation for bucket operation when erasure set size is odd. See (#10364) for more details.
|
||||
|
||||
[1.134.0]
|
||||
* Update minio to 2020-09-05T07-14-49Z
|
||||
* [Full changelog](https://github.com/minio/minio/releases/tag/RELEASE.2020-09-05T07-14-49Z)
|
||||
* Listing improvements with parallel disk.Walk calls across many nodes, refer #10420
|
||||
* Context now passed around at storage layer for future context support, refer #10321
|
||||
|
||||
[1.135.0]
|
||||
* Update minio to 2020-09-08T23-05-18Z
|
||||
* Minor integer overflow bug in S3 Select. See (#10437) for more details.
|
||||
* Cleanup temp directory of older entries automatically. See (#10439) for more details.
|
||||
* Remove MaxConnsPerHost settings to avoid potential hangs. See (#10438) for more details.
|
||||
* Ignore config values from unknown subsystems. See (#10432) for more details.
|
||||
|
||||
[1.136.0]
|
||||
* Update minio to 2020-09-10T22-02-45Z
|
||||
* 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)
|
||||
|
||||
|
@@ -5,23 +5,31 @@
|
||||
"description": "file://DESCRIPTION.md",
|
||||
"changelog": "file://CHANGELOG",
|
||||
"tagline": "Distributed object storage",
|
||||
"version": "1.120.0",
|
||||
"version": "2.3.0",
|
||||
"healthCheckPath": "/minio/login",
|
||||
"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": {
|
||||
"localstorage": {}
|
||||
},
|
||||
"manifestVersion": 2,
|
||||
"website": "http://www.minio.io",
|
||||
"minBoxVersion": "5.3.0",
|
||||
"minBoxVersion": "7.1.0",
|
||||
"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",
|
||||
"icon": "logo.png",
|
||||
"tags": [ "storage", "hosting", "s3", "objectstore" ],
|
||||
"mediaLinks": [
|
||||
"https://cloudron-app-screenshots.s3.amazonaws.com/io.minio.cloudronapp/4fd3e8d3ef180ba5c2334790b6e6143f6d367f65/minio-browser-gateway.png",
|
||||
"https://cloudron-app-screenshots.s3.amazonaws.com/io.minio.cloudronapp/4fd3e8d3ef180ba5c2334790b6e6143f6d367f65/minio-browser.png"
|
||||
"https://screenshots.cloudron.io/io.minio.cloudronapp/pic1.png",
|
||||
"https://screenshots.cloudron.io/io.minio.cloudronapp/pic2.png"
|
||||
],
|
||||
"postInstallMessage": "file://POSTINSTALL.md"
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
This app packages Minio <upstream>2020-07-14T19-14-30Z</upstream>.
|
||||
This app packages Minio <upstream>2022-02-18T01-50-10Z</upstream>.
|
||||
|
||||
Minio is a distributed object storage server built for cloud applications and devops.
|
||||
|
||||
|
20
Dockerfile
20
Dockerfile
@@ -1,14 +1,16 @@
|
||||
FROM cloudron/base:2.0.0@sha256:f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4
|
||||
|
||||
ARG VERSION=RELEASE.2020-07-18T18-48-16Z
|
||||
|
||||
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
|
||||
FROM cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea
|
||||
|
||||
RUN mkdir -p /app/code
|
||||
WORKDIR /app/code
|
||||
|
||||
ADD start.sh /app/code/start.sh
|
||||
ADD minio-credentials /app/code/minio-credentials
|
||||
ARG VERSION=RELEASE.2022-02-18T01-50-10Z
|
||||
ARG MC_VERSION=RELEASE.2022-02-16T05-54-01Z
|
||||
|
||||
# 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 minio-credentials start.sh /app/code/
|
||||
|
||||
CMD [ "/app/code/start.sh" ]
|
||||
|
@@ -1,7 +1,7 @@
|
||||
Please use the following credentials to login:
|
||||
|
||||
**Username**: minioadmin <br/>
|
||||
**Password**: minioadmin <br/>
|
||||
**Username**: minioadmin<br/>
|
||||
**Password**: minioadmin<br/>
|
||||
|
||||
Please change the credentials immediately by following this [guide](https://cloudron.io/documentation/apps/minio/#admin-credentials).
|
||||
|
||||
|
@@ -34,3 +34,6 @@ npm install
|
||||
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
9
env.sh
Normal 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
|
||||
|
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
BIN
screenshots/pic1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 MiB |
BIN
screenshots/pic2.png
Normal file
BIN
screenshots/pic2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 MiB |
18
start.sh
18
start.sh
@@ -4,11 +4,23 @@ set -eu
|
||||
|
||||
mkdir -p /app/data/data /run/minio/config /run/minio/certs
|
||||
|
||||
[[ ! -f /app/data/env.sh ]] && cp /app/code/env.sh /app/data/env.sh
|
||||
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"
|
||||
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
|
||||
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
|
||||
|
||||
|
3243
test/package-lock.json
generated
3243
test/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -9,14 +9,10 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"chromedriver": "^84.0.0",
|
||||
"ejs": "^3.1.3",
|
||||
"chromedriver": "^97.0.2",
|
||||
"expect.js": "^0.3.1",
|
||||
"mkdirp": "^1.0.4",
|
||||
"mocha": "^8.0.1",
|
||||
"rimraf": "^3.0.2",
|
||||
"selenium-server-standalone-jar": "^3.141.59",
|
||||
"selenium-webdriver": "^3.6.0",
|
||||
"superagent": "^5.3.1"
|
||||
"mocha": "^9.2.0",
|
||||
"selenium-webdriver": "^4.1.1",
|
||||
"superagent": "^7.1.1"
|
||||
}
|
||||
}
|
||||
|
276
test/test.js
276
test/test.js
@@ -1,229 +1,171 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
/* jshint esversion: 8 */
|
||||
/* global describe */
|
||||
/* global before */
|
||||
/* global after */
|
||||
/* global it */
|
||||
/* global xit */
|
||||
|
||||
'use strict';
|
||||
|
||||
require('chromedriver');
|
||||
|
||||
var execSync = require('child_process').execSync,
|
||||
const execSync = require('child_process').execSync,
|
||||
expect = require('expect.js'),
|
||||
fs = require('fs'),
|
||||
path = require('path'),
|
||||
webdriver = require('selenium-webdriver');
|
||||
|
||||
var by = require('selenium-webdriver').By,
|
||||
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';
|
||||
superagent = require('superagent'),
|
||||
{ Builder, By, until } = require('selenium-webdriver'),
|
||||
{ Options } = require('selenium-webdriver/chrome');
|
||||
|
||||
describe('Application life cycle test', function () {
|
||||
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) {
|
||||
var seleniumJar= require('selenium-server-standalone-jar');
|
||||
var SeleniumServer = require('selenium-webdriver/remote').SeleniumServer;
|
||||
server = new SeleniumServer(seleniumJar.path, { port: 4444 });
|
||||
server.start();
|
||||
let browser, app;
|
||||
|
||||
done();
|
||||
before(function () {
|
||||
browser = new Builder().forBrowser('chrome').setChromeOptions(new Options().windowSize({ width: 1280, height: 1024 })).build();
|
||||
});
|
||||
|
||||
after(function (done) {
|
||||
after(function () {
|
||||
browser.quit();
|
||||
server.stop();
|
||||
done();
|
||||
});
|
||||
|
||||
var LOCATION = 'test';
|
||||
var TEST_TIMEOUT = 10000;
|
||||
var app;
|
||||
|
||||
function pageLoaded() {
|
||||
return browser.wait(until.elementLocated(by.className('page-load pl-0 pl-1')), TEST_TIMEOUT);
|
||||
async function waitForElement(elem) {
|
||||
await browser.wait(until.elementLocated(elem), TEST_TIMEOUT);
|
||||
await browser.wait(until.elementIsVisible(browser.findElement(elem)), TEST_TIMEOUT);
|
||||
}
|
||||
|
||||
function visible(selector) {
|
||||
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 () {
|
||||
function getAppInfo() {
|
||||
var inspect = JSON.parse(execSync('cloudron inspect'));
|
||||
|
||||
app = inspect.apps.filter(function (a) { return a.location === LOCATION; })[0];
|
||||
|
||||
app = inspect.apps.filter(function (a) { return a.location.indexOf(LOCATION) === 0; })[0];
|
||||
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('//h4[contains(text(), "Buckets")]'));
|
||||
}
|
||||
|
||||
async function logout() {
|
||||
await browser.get(`https://${app.fqdn}/`);
|
||||
await waitForElement(By.xpath('//h4[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 add bucket', addBucket);
|
||||
it('can open settings', openSettings);
|
||||
it('can logout', logout);
|
||||
it('does redirect', checkRedirect);
|
||||
it('check api', checkApi);
|
||||
|
||||
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) {
|
||||
execSync('cloudron restart');
|
||||
done();
|
||||
});
|
||||
it('can restart app', function () { execSync(`cloudron restart --app ${app.id}`, EXEC_ARGS); });
|
||||
|
||||
it('can login', login.bind(null, 'minioakey', 'minioskey'));
|
||||
it('has bucket', checkBucket);
|
||||
it('can logout', logout);
|
||||
it('does redirect', checkRedirect);
|
||||
it('check api', checkApi);
|
||||
|
||||
it('backup app', function () {
|
||||
execSync('cloudron backup create --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
||||
});
|
||||
|
||||
it('backup app', function () { execSync('cloudron backup create --app ' + app.id, EXEC_ARGS); });
|
||||
it('restore app', function () {
|
||||
execSync('cloudron restore --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
||||
const backups = JSON.parse(execSync(`cloudron backup list --raw --app ${app.id}`));
|
||||
execSync('cloudron uninstall --app ' + app.id, EXEC_ARGS);
|
||||
execSync('cloudron install --location ' + LOCATION, EXEC_ARGS);
|
||||
getAppInfo();
|
||||
execSync(`cloudron restore --backup ${backups[0].id} --app ${app.id}`, EXEC_ARGS);
|
||||
});
|
||||
|
||||
it('can login', login.bind(null, 'minioakey', 'minioskey'));
|
||||
it('has bucket', checkBucket);
|
||||
it('can open settings', openSettings);
|
||||
it('can logout', logout);
|
||||
it('does redirect', checkRedirect);
|
||||
it('check api', checkApi);
|
||||
|
||||
it('move to different location', function () {
|
||||
browser.manage().deleteAllCookies();
|
||||
execSync('cloudron configure --location ' + LOCATION + '2', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
||||
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');
|
||||
execSync('cloudron configure --location ' + LOCATION + '2', EXEC_ARGS);
|
||||
});
|
||||
it('can get app information', getAppInfo);
|
||||
|
||||
it('can login', login.bind(null, 'minioakey', 'minioskey'));
|
||||
it('has bucket', checkBucket);
|
||||
it('can logout', logout);
|
||||
it('does redirect', checkRedirect);
|
||||
it('check api', checkApi);
|
||||
|
||||
it('uninstall app', function () {
|
||||
execSync('cloudron uninstall --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
||||
});
|
||||
it('uninstall app', function () { execSync('cloudron uninstall --app ' + app.id, EXEC_ARGS); });
|
||||
|
||||
// test update
|
||||
it('can install app', function () {
|
||||
execSync('cloudron install --appstore-id io.minio.cloudronapp --location ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
||||
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 install app', function () { execSync('cloudron install --appstore-id io.minio.cloudronapp --location ' + LOCATION, EXEC_ARGS); });
|
||||
it('can get app information', getAppInfo);
|
||||
|
||||
it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
|
||||
it('can add buckets', addBucket);
|
||||
it('can logout', logout);
|
||||
it('can update', function () {
|
||||
execSync('cloudron update --app ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
||||
});
|
||||
it('can update', function () { execSync(`cloudron update --app ${LOCATION}`, EXEC_ARGS); });
|
||||
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('has bucket', checkBucket);
|
||||
it('can logout', logout);
|
||||
it('uninstall app', function () {
|
||||
execSync('cloudron uninstall --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
||||
});
|
||||
it('does redirect', checkRedirect);
|
||||
it('check api', checkApi);
|
||||
|
||||
it('uninstall app', function () { execSync('cloudron uninstall --app ' + app.id, EXEC_ARGS); });
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user