1
0
mirror of https://git.cloudron.io/cloudron/minio-app synced 2025-09-11 23:46:13 +00:00

Compare commits

..

65 Commits

Author SHA1 Message Date
Girish Ramakrishnan
2fbefac3a9 Version 3.5.4 2023-06-16 17:29:29 +05:30
Girish Ramakrishnan
2bbf11f795 Fix test 2023-06-16 17:25:23 +05:30
Girish Ramakrishnan
ca3aebef4a Update minio to 2023-06-16T02-41-06Z 2023-06-16 16:34:49 +05:30
Girish Ramakrishnan
effb90c2ac Version 3.5.3 2023-06-10 12:07:15 +05:30
Girish Ramakrishnan
e8972242ca Update test packages 2023-06-10 12:05:56 +05:30
Girish Ramakrishnan
e84ef0cddf Update minio to RELEASE.2023-06-09T07-32-12Z 2023-06-10 12:00:09 +05:30
Girish Ramakrishnan
594b45051d Version 3.5.2 2023-06-03 10:26:25 +02:00
Girish Ramakrishnan
ed8e041180 Update tests 2023-06-03 10:26:21 +02:00
Girish Ramakrishnan
f9c0870c59 Update minio to 2023-06-02T23-17-26Z 2023-06-03 09:48:02 +02:00
Girish Ramakrishnan
550ea43e59 Version 3.5.1 2023-05-28 10:28:15 +02:00
Girish Ramakrishnan
832f1f26a8 Update minio to 2023-05-27T05-56-19Z 2023-05-28 10:17:13 +02:00
Girish Ramakrishnan
293beffadc Version 3.5.0 2023-05-21 07:18:24 +02:00
Girish Ramakrishnan
29f3101513 Update minio to 2023-05-18T00-05-36Z 2023-05-21 07:10:27 +02:00
Girish Ramakrishnan
ef6edee2a1 Version 3.4.20-1 2023-05-05 10:05:25 +02:00
Girish Ramakrishnan
e00e95eb94 Version 3.4.20 2023-05-05 10:00:10 +02:00
Girish Ramakrishnan
f6a78ee7cb Update minio to 2023-05-04T21-44-30Z 2023-05-05 09:35:46 +02:00
Girish Ramakrishnan
c32fc59b39 Version 3.4.19 2023-04-29 09:33:36 +02:00
Girish Ramakrishnan
78913a6f02 Update minio to 2023-04-28T18-11-17Z 2023-04-29 08:59:52 +02:00
Girish Ramakrishnan
9964fd0db8 Version 3.4.18 2023-04-21 18:21:52 +02:00
Girish Ramakrishnan
86ebec77eb Update minio to 2023-04-20T17-56-55Z 2023-04-21 18:16:25 +02:00
Girish Ramakrishnan
281ec626e3 Version 3.4.17 2023-04-13 10:47:28 +02:00
Girish Ramakrishnan
6f76e442fc Update test packages 2023-04-13 10:47:22 +02:00
Girish Ramakrishnan
c720de4dcf Update minio to RELEASE.2023-04-13T03-08-07Z 2023-04-13 10:20:12 +02:00
Girish Ramakrishnan
32a649b52a Version 3.4.16 2023-04-09 09:54:48 +02:00
Girish Ramakrishnan
08f1230582 Update test packages 2023-04-09 09:48:36 +02:00
Girish Ramakrishnan
eda4dd653f Update minio to 2023-04-07T05-28-58Z 2023-04-09 09:29:45 +02:00
Girish Ramakrishnan
d49de43f6b Version 3.4.15 2023-03-25 09:21:22 +01:00
Girish Ramakrishnan
d385379da8 Update minio to 2023-03-24T21-41-23Z 2023-03-25 09:10:35 +01:00
Girish Ramakrishnan
40f6e1675d Version 3.4.14 2023-03-23 07:12:20 +01:00
Girish Ramakrishnan
19d114beda Update minio to 2023-03-22T06-36-24Z 2023-03-23 07:05:12 +01:00
Girish Ramakrishnan
13329afe50 Version 3.4.13 2023-03-21 09:43:31 +01:00
Girish Ramakrishnan
8feb8dd0e3 Update minio to 2023-03-20T20-16-18Z 2023-03-21 09:30:08 +01:00
Girish Ramakrishnan
1370d93592 Version 3.4.12 2023-03-14 09:46:13 +01:00
Girish Ramakrishnan
d24e4b9896 Update minio to RELEASE.2023-03-13T19-46-17Z 2023-03-14 09:39:17 +01:00
Girish Ramakrishnan
b279130d74 Version 3.4.11 2023-03-10 10:01:22 +01:00
Girish Ramakrishnan
3504fc48f9 Update minio to 2023-03-09T23-16-13Z 2023-03-10 09:13:08 +01:00
Girish Ramakrishnan
1ac3bbe134 Version 3.4.10 2023-02-28 10:05:23 +01:00
Girish Ramakrishnan
fe7fd0147c Update minio to RELEASE.2023-02-27T18-10-45Z 2023-02-28 09:52:35 +01:00
Girish Ramakrishnan
0047b6bd3b Version 3.4.9 2023-02-23 09:43:13 +01:00
Girish Ramakrishnan
b4e59c928c Update minio to 2023-02-22T18-23-45Z 2023-02-23 09:25:24 +01:00
Girish Ramakrishnan
d33cff8f0a Version 3.4.8 2023-02-18 08:23:47 +01:00
Girish Ramakrishnan
4eb440baaf Update test packages 2023-02-18 08:22:58 +01:00
Girish Ramakrishnan
96e54e6b3c Update minio to 2023-02-17T17-52-43Z 2023-02-18 07:57:31 +01:00
Girish Ramakrishnan
bfbe792135 Version 3.4.7 2023-02-11 08:31:02 +01:00
Girish Ramakrishnan
31bbeed39f Update minio to 2023-02-10T18-48-39Z 2023-02-11 08:14:00 +01:00
Girish Ramakrishnan
9a175b6685 Version 3.4.6 2023-01-31 12:44:48 +01:00
Girish Ramakrishnan
a6e36be63d Update test packages 2023-01-31 12:35:42 +01:00
Girish Ramakrishnan
9a348b2de6 Update minio to .2023-01-31T02-24-19Z 2023-01-31 12:34:39 +01:00
Girish Ramakrishnan
c696512b49 Version 3.4.5 2023-01-25 10:36:53 +01:00
Girish Ramakrishnan
cc1385c856 Update test packages 2023-01-25 10:36:50 +01:00
Girish Ramakrishnan
89a6b2407b Update minio to 2023-01-25T00-19-54Z 2023-01-25 09:54:44 +01:00
Girish Ramakrishnan
36d5d82e88 Version 3.4.4 2023-01-20 12:54:26 +01:00
Girish Ramakrishnan
8252a3ee75 Update minio to 2023-01-20T02-05-44Z 2023-01-20 12:37:45 +01:00
Girish Ramakrishnan
c71586f092 Version 3.4.3 2023-01-18 16:18:33 +01:00
Girish Ramakrishnan
09408ff9d4 Update minio to 2023-01-18T04-36-38Z 2023-01-18 16:05:16 +01:00
Girish Ramakrishnan
661c07147e Version 3.4.2 2023-01-12 10:53:26 +01:00
Girish Ramakrishnan
02d58cec8b Update minio to 2023-01-12T02-06-16Z 2023-01-12 10:08:07 +01:00
Girish Ramakrishnan
e43de3a0e0 Version 3.4.1 2023-01-09 10:50:13 +01:00
Girish Ramakrishnan
e391ed9d85 Update minio to 2023-01-06T18-11-18Z 2023-01-09 10:24:45 +01:00
Girish Ramakrishnan
2c9a35effb merge error 2023-01-03 18:09:32 +01:00
Girish Ramakrishnan
9ee3f02a10 Version 3.4.0 2023-01-03 18:08:49 +01:00
Girish Ramakrishnan
15f02a8d0f Update minio to 2023-01-02T09-40-09Z 2023-01-03 18:08:19 +01:00
Johannes Zellner
48ffc5257c Update test deps 2022-12-13 11:45:06 +01:00
Johannes Zellner
7fad1aea6d Bump version 2022-12-13 11:44:48 +01:00
Girish Ramakrishnan
aeb58c292f add multi domain dns style request note 2022-12-12 21:46:13 +01:00
7 changed files with 400 additions and 159 deletions

272
CHANGELOG
View File

@@ -1570,3 +1570,275 @@ Improve replication performance. See (#12080, #12054, #12009) for more details.
* Start PR on Enterprise when there is new MinIO Version by @cniackz in #16121
* kms: add support for KES enclaves by @aead in #16139
* fix: update the JSON keys for latest 'mc' release by @harshavardhana in #16171
[3.3.3]
* Update minio to 2022-12-12T19-27-27Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-12-12T19-27-27Z)
* remove unnecessary logs for truncated XML inputs by @harshavardhana in #16184
* Encrypt checksums with KMS on CompleteMultipartUpload by @klauspost in #16177
* feat: Encrypt s3zip file index by @klauspost in #16179
* reuse sha256 in config GetSettings by @jiuker in #16188
* Add version id to healresult by @klauspost in #16193
* Replace filepathx with fork by @klauspost in #16192
* fix: translate tier add errors properly by @harshavardhana in #16191
* remove hard limit for number of buckets by @harshavardhana in #16194
* fix: delete marker discrepancies via DeleteObject() API by @harshavardhana in #16195
* Add IAM API to attach/detach policies for LDAP by @donatello in #16182
* avoid double deletes() when no more versions by @harshavardhana in #16206
* do not rename multipart failed transactions back to tmp by @harshavardhana in #16204
* Use different subnet public key during dev/test by @anjalshireesh in #16216
* fix: iso8601TimeFormat padding issue for certain nanoseconds by @harshavardhana in #16207
* Add LDAP DNS SRV record lookup support by @donatello in #16201
[3.4.0]
* Update minio to 2023-01-02T09-40-09Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-01-02T09-40-09Z)
* Rebalancing pools correctly choose object sizes to calculate the final distribution #16240
* Startup improvements to support WAN-based distributed MinIO setups #16259
* Add HTTP2-only support for external policy plugin #16225
* Locks are now spread across different pools based on object affinity #16312
[3.4.1]
* Update minio to 2023-01-06T18-11-18Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-01-06T18-11-18Z)
* vectorize cluster-wide calls such as bucket operations by @harshavardhana in #16313
* update klauspost/compress dependency by @harshavardhana in #16343
* update replication tests with latest 'mc' by @harshavardhana in #16348
* converge listBuckets() as a peer call by @harshavardhana in #16346
* remove unnecessary kernel-tuning docs by @harshavardhana in #16354
[3.4.2]
* Update minio to 2023-01-12T02-06-16Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-01-12T02-06-16Z)
* xl: Quit early when EC config is not correct by @vadmeste in #16390
* Add comment field to service accounts by @vadmeste in #16380
* fix: allow bind on ipv6 loopback failures by @allanrogerr in #16388
* fix: error out if an object is found after a full decom by @vadmeste in #16277
* Update console to 0.22.5 by @donatello in #16400
[3.4.3]
* Update minio to 2023-01-18T04-36-38Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-01-18T04-36-38Z)
* Simplify/speedup container image publishing script by @donatello in #16403
* Remove checks target from docker target by @dvaldivia in #16399
* metrics: Add more logs when unable to read bucket usage by @vadmeste in #16405
* fix: calculate common parity properly by @harshavardhana in #16406
* Avoid dangling deletes if disk not found by @poornas in #16401
[3.4.4]
* Update minio to 2023-01-20T02-05-44Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-01-20T02-05-44Z)
* Signal stop-rebalance to all rebalancing pools by @krisis in #16438
* Use async healing in PutObject call by @vadmeste in #16431
* add a way to avoid blocking queueHealTask() depending on caller by @harshavardhana in #16433
* Fix bandwidth monitoring to be per remote target by @poornas in #16360
[3.4.5]
* Update minio to 2023-01-25T00-19-54Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-01-25T00-19-54Z)
* fix: deleted object names for directory objects by @klauspost in #16448
* grafana: Show one metric for the total data growth by @vadmeste in #16449
* replication: Avoid logging PreConditionFailed error by @poornas in #16450
[3.4.6]
* Update minio to 2023-01-31T02-24-19Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-01-31T02-24-19Z)
* Rename peer S3 prefix to avoid collision in the future by @vadmeste in #16473
* Better error when setting up replication with a service account alias by @vadmeste in #16472
* add x-amz-id-2 to indicate the node that received the request by @harshavardhana in #16474
* fix: anonymize the x-amz-id-2 value from hostname by @harshavardhana in #16478
[3.4.7]
* Update minio to 2023-02-10T18-48-39Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-02-10T18-48-39Z)
* Periodically refresh buckets metadata from the backend disks by @vadmeste in #16561
* fix: aclHandlers convert XML parse error to relevant client error by @jiuker in #16587
* fix: README.md in docs/config by @k0i in #16564
* fix: username replacements for aws:username must use parentUser by @harshavardhana in #16591
[3.4.8]
* Update minio to 2023-02-17T17-52-43Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-02-17T17-52-43Z)
* ServerInfo: return per erasure set information by @vadmeste in #16583
* remove incorrect use of WaitGroup by @jiuker in #16596
* fix: allow global leader lock context merge to be canceled by @vadmeste in #16603
* Remove parentheses by @atalakey4work in #16605
* Periodically remove stale buckets from in-memory by @harshavardhana in #16597
[3.4.9]
* Update minio to 2023-02-22T18-23-45Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-02-22T18-23-45Z)
* avoid locks when unnecessary in SiteReplicationMetaInfo() by @harshavardhana in #16650
* add missing x-amz-id-2 to event notification date by @harshavardhana in #16646
* update dependencies to latest releases by @harshavardhana in #16651
* fix: healing of replication config for endpoint changes by @poornas in #16648
* Add detailed scanner trace output and notifications by @klauspost in #16668
* Set meaningful message from minio with env variable KMS_SECRET_KEY by @allanrogerr in #16584
[3.4.10]
* Update minio to 2023-02-27T18-10-45Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-02-27T18-10-45Z)
* event target registration failures must be returned by @harshavardhana in #16700
* Remove bloom filter by @klauspost in #16682
* Better error message when TLS certs do not have proper permissions by @vadmeste in #16703
* Update OpenID doc with info on redirection params by @donatello in #16704
* tests: Add test for S3 API error codes by @vadmeste in #16705
[3.4.11]
* Update minio to 2023-03-09T23-16-13Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-03-09T23-16-13Z)
* Fix scanner deadlock on lost global lock by @klauspost in #16726
* fix a data race in IAM loading by @poornas in #16742
* Attach creds, owner and region to madmin calls by @dvaldivia in #16658
* calculate disk cache usage percent accurately by @jiuker in #16740
* upgrade all dependencies by @harshavardhana in #16753
* return underlying error with BackendDown{} error by @jiuker in #16738
* cleanup Go linter settings by @ferhatelmas in #16736
* fix: handle syscall.EROFS also for osIsPermission() by @harshavardhana in #16765
* return error if policy changes on disabled groups by @harshavardhana in #16766
* feat: add lambda transformation functions target by @harshavardhana in #16507
[3.4.12]
* Update minio to 2023-03-13T19-46-17Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-03-13T19-46-17Z)
* [Denial of access by an admin privileged user for root credential](https://github.com/minio/minio/security/advisories/GHSA-9wfv-wmf7-6753)
* Add Object Version count histogram by @klauspost in #16739
* fix: site-repl should heal STS with virtual parent by @donatello in #16792
* chore: drop go versions in static analysis by @ferhatelmas in #16790
[3.4.13]
* Update minio to 2023-03-20T20-16-18Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-03-20T20-16-18Z)
* Update audit log flow to use new headers with unit by @nitisht in #16797
* restore rotating root credentials properly by @harshavardhana in #16812
* remove unncessary logs from WalkDir(), PutObject() by @harshavardhana in #16818
* update go dependencies by @harshavardhana in #16798
* fix: return appropriate Location header for MakeBucket() by @harshavardhana in #16820
* debug: new tool to reorder local erasure disks by @vadmeste in #16816
[3.4.14]
* Update minio to 2023-03-22T06-36-24Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-03-22T06-36-24Z)
* check for quorum errors for DeleteBucket() by @harshavardhana in #16859
* fix: tweak the maintenance=true to satisfy baremetal first by @harshavardhana in #16864
* fix: add deadline conns and dnsCache for remote transports by @harshavardhana in #16865
* Add lazy init of audit logger by @klauspost in #16842
[3.4.15]
* Update minio to 2023-03-24T21-41-23Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-03-24T21-41-23Z)
* return quorum error instead of insufficient storage error by @vadmeste in #16874
* add missing expiration information from 'sts info' by @harshavardhana in #16878
* Revert query parameter src from diag upload if callhome enabled by @shtripat in #16881
* Revert "Make localLocker lock attempts cancellable (#16510)" by @klauspost in #16884
[3.4.16]
* Update minio to 2023-04-07T05-28-58Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-04-07T05-28-58Z)
* Set Console global Root CAs early to trust provided certs by @vadmeste in #16890
* ignore operation timedout errors by @harshavardhana in #16891
* fix: Avoid multiple write responses by @jiuker in #16894
* fix: time.Parse RFC3339Nano by @jiuker in #16892
* update all our deps by @harshavardhana in #16899
* [testing] add mint runner test by @harshavardhana in #16868
* fix: avoid logging when object/version not found in replication by @allanrogerr in #16919
* fix: missing return after error response by @donatello in #16920
* fix: put *msgp.Reader back in pool by @jiuker in #16927
* fix: avoid out of slice index by @jiuker in #16925
* allow more workers for ILM expiration by @harshavardhana in #16924
[3.4.17]
* Update minio to 2023-04-13T03-08-07Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-04-13T03-08-07Z)
* add Err to Get getRemoteTargetClient. by @jiuker in #16982
* trace: Fix func name of requests rejected by max clients by @vadmeste in #16977
* chore: fix automatic issue handling from linter in ci by @ferhatelmas in #16969
* Add used inodes to disk info by @vadmeste in #16994
* Indicate RenameData is called by healObject by @krisis in #16997
[3.4.18]
* Update minio to 2023-04-20T17-56-55Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-04-20T17-56-55Z)
* build: support loong64 by @wojiushixiaobai in #17027
* fix: lambda function expiration when cred.Expiration is set by @klauspost in #17029
* heal: avoid logging version not found by @poornas in #17031
* Add part count to checksum by @klauspost in #17035
* commonParity should pick readable FileInfo by @krisis in #17032
* fix: Type of rejection for FIFO quota input by @jiuker in #17016
* fix: DeleteBucketThrottle must delete ARN by @jiuker in #17034
* implement support for FTP/SFTP server by @harshavardhana in #16952
* Reduce allocations in Walkdir by @klauspost in #17036
* Reformat helm chart templates by @dnskr in #16947
[3.4.19]
* Update minio to 2023-04-28T18-11-17Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-04-28T18-11-17Z)
* fix: delete DNS upon success, update failure message by @harshavardhana in #17059
* avoid attempting to migrate old configs by @harshavardhana in #17004
* server-info: Return initializing state properly by @vadmeste in #17070
* simplify sort.Sort by using sort.Slice by @harshavardhana in #17066
* heal: Pick maximally occuring modTime in quorum by @krisis in #17071
* fix: DeleteBucket for peers() must recreate bucket upon errors by @harshavardhana in #17079
* fix: initialize reverse proxy forwarder with right public certs by @harshavardhana in #17080
[3.4.20]
* Update minio to RELEASE.2023-05-04T21-44-30Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-05-04T21-44-30Z)
* allow root user to be disabled via config settings by @harshavardhana in #17089
* fix: remove active healing on .minio.sys/ during startup by @harshavardhana in #17072
* helm: align chart properties with naming convention by @dnskr in #17065
* optimization use small blocks up to 64KB by @klauspost in #17107
* Support systemd notify protocol by @WGH- in #17062
* fix: store notification events immediately for persistent queues by @Praveenrajmani in #17112
[3.5.0]
* Update minio to 2023-05-18T00-05-36Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-05-18T00-05-36Z)
* Signed trailers for signature v4 by @klauspost in #16484
* add etc-path to post-job.yaml in helm chart by @mstein11 in #17148
* helm: declare missing properties in values.yaml by @dnskr in #17153
* Validate if replication config being added is self referential by @poornas in #17142
* helm-chart: Use minio service account for post-deploy job if available by @LinAnt in #17077
* put *msgp.Reader back to pool by @jiuker in #17156
* add Err to BucketExists when NoSuchBucket by @jiuker in #17155
[3.5.1]
* Update minio to 2023-05-27T05-56-19Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-05-27T05-56-19Z)
* fix: leaking connections in JSON SQL with limited return by @klauspost in #17239
* before return make globalScannerMetrics.incTime call by @jiuker in #17230
* fix: return proper error if OIDC Discoverydoc fails to respond by @jiuker in #17242
* fix: increment counter when entry be skipped by @jiuker in #17237
* Freeze the s3 APIs until the notification sub-system initializes completely by @Praveenrajmani in #17182
* Add object parity in listing V2M and listing versions M by @vadmeste in #17238
* allow specification of path/virtual style bucket lookup in batch replication by @poornas in #17201
* fix: Avoid Income globalStats twice upon error by @jiuker in #17263
[3.5.2]
* Update minio to 2023-06-02T23-17-26Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-06-02T23-17-26Z)
* fix: on windows use FindClose close handler by @jiuker in #17306
* fix: cleanup empty multipart folders upon stale upload cleanup by @harshavardhana in #17312
* Revert s3 select simdjson reuse by @klauspost in #17310
* record err time when remote node is offline by @jiuker in #17262
* fix: proxy not set on subnet logger webhook sometimes by @anjalshireesh in #17320
* fix: time() returned function not being called as expected in globalSync() by @drivebyer in #17319
* fix: fail large content in DeleteMultipleObjects() early by @jiuker in #17321
[3.5.3]
* Update minio to 2023-06-09T07-32-12Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-06-09T07-32-12Z)
* fix: expMovingAvg is too small when startTime is zero by @jiuker in #17346
* log: Add a log when saving pool.bin fails by @vadmeste in #17338
* goroutines parser: Add --less flag to filter goroutines by @vadmeste in #17339
* only allow decryption of etag for only sse-s3 by @harshavardhana in #17335
* allow quota enforcement to rely on older values by @harshavardhana in #17351
[3.5.4]
* Update minio to 2023-06-16T02-41-06Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-06-16T02-41-06Z)
* return InvalidRequest when no parts are provided by @harshavardhana in #17395
* service accounts are allowed to have no expiration by @harshavardhana in #17397
* return 204 status code for DeleteBucketTagging by @harshavardhana in #17400
* listen: Only error out if not able to bind any interface by @vadmeste in #17353
* fix: protect ReplicationStats against concurrent map iteration and write crash by @klauspost in #17403

View File

@@ -5,8 +5,8 @@
"description": "file://DESCRIPTION.md",
"changelog": "file://CHANGELOG",
"tagline": "Distributed object storage",
"version": "3.3.2",
"upstreamVersion": "2022-12-07T00-56-37Z",
"version": "3.5.4",
"upstreamVersion": "2023-06-16T02-41-06Z",
"healthCheckPath": "/minio/login",
"memoryLimit": 805306368,
"httpPort": 8000,

View File

@@ -3,7 +3,7 @@ FROM cloudron/base:4.0.0@sha256:31b195ed0662bdb06a6e8a5ddbedb6f191ce92e8bee04c03
RUN mkdir -p /app/code
WORKDIR /app/code
ARG VERSION=RELEASE.2022-12-07T00-56-37Z
ARG VERSION=RELEASE.2023-06-16T02-41-06Z
# 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

View File

@@ -37,3 +37,8 @@ PATH=$PATH:node_modules/.bin mocha --bail test.js
## Notes
MinIO Console is an embedded web-based object browser built into MinIO Server
## Multi-domain
MINIO_DOMAIN=domain.com env var can be set to server DNS style requests as bucket.domain.com . This requires the platform code to set aliases for the httpPorts and not the primaryport.

247
test/package-lock.json generated
View File

@@ -9,12 +9,11 @@
"version": "1.0.0",
"license": "ISC",
"dependencies": {
"chromedriver": "^108.0.0",
"delay": "^5.0.0",
"chromedriver": "^114.0.1",
"expect.js": "^0.3.1",
"mocha": "^10.1.0",
"selenium-webdriver": "^4.7.0",
"superagent": "^8.0.5"
"mocha": "^10.2.0",
"selenium-webdriver": "^4.10.0",
"superagent": "^8.0.9"
}
},
"node_modules/@testim/chrome-version": {
@@ -90,7 +89,7 @@
"node_modules/asap": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz",
"integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY="
"integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA=="
},
"node_modules/asynckit": {
"version": "0.4.0",
@@ -98,9 +97,9 @@
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
},
"node_modules/axios": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.2.0.tgz",
"integrity": "sha512-zT7wZyNYu3N5Bu0wuZ6QccIf93Qk1eV8LOewxgjOZFd2DenOs98cJ7+Y6703d0wkaXGY6/nZd4EweJaHz9uzQw==",
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.2.2.tgz",
"integrity": "sha512-bz/J4gS2S3I7mpN/YZfGFTqhXTYzRho8Ay38w2otuuDR322KzFIWm/4W2K6gIwvWaws5n+mnb7D1lN9uD+QH6Q==",
"dependencies": {
"follow-redirects": "^1.15.0",
"form-data": "^4.0.0",
@@ -229,13 +228,13 @@
}
},
"node_modules/chromedriver": {
"version": "108.0.0",
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-108.0.0.tgz",
"integrity": "sha512-/kb0rb0dlC4RfXh2BOT7RV87K6d+It3VV5YXebLzO5a8t2knNffiTE23XPJQCH+l1xmgoW8/sOX/NB9irskvOQ==",
"version": "114.0.1",
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-114.0.1.tgz",
"integrity": "sha512-Srkyt7xv+RL9aSNVkmARm0tAfw84fIBKge9c1MCTiHfW0tjuNFdhKVlgD0TmPmwSKOeFJrTdd1Flf2hGWWKsUw==",
"hasInstallScript": true,
"dependencies": {
"@testim/chrome-version": "^1.1.3",
"axios": "^1.1.3",
"axios": "^1.2.1",
"compare-versions": "^5.0.1",
"extract-zip": "^2.0.1",
"https-proxy-agent": "^5.0.1",
@@ -246,7 +245,7 @@
"chromedriver": "bin/chromedriver"
},
"engines": {
"node": ">=14"
"node": ">=16"
}
},
"node_modules/cliui": {
@@ -342,9 +341,9 @@
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
},
"node_modules/cookiejar": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.3.tgz",
"integrity": "sha512-JxbCBUdrfr6AQjOXrxoTvAMJO4HBTUIlBzslcJPAz+/KT8yk53fXun51u+RenNYvad/+Vc2DIz5o9UxlCDymFQ=="
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.4.tgz",
"integrity": "sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw=="
},
"node_modules/core-util-is": {
"version": "1.0.3",
@@ -383,17 +382,6 @@
"resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
"integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ=="
},
"node_modules/delay": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz",
"integrity": "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==",
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/delayed-stream": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
@@ -403,9 +391,9 @@
}
},
"node_modules/dezalgo": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.3.tgz",
"integrity": "sha1-f3Qt4Gb8dIvI24IFad3c5Jvw1FY=",
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz",
"integrity": "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==",
"dependencies": {
"asap": "^2.0.0",
"wrappy": "1"
@@ -555,30 +543,19 @@
}
},
"node_modules/formidable": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/formidable/-/formidable-2.0.1.tgz",
"integrity": "sha512-rjTMNbp2BpfQShhFbR3Ruk3qk2y9jKpvMW78nJgx8QKtxjDVrwbZG+wvDOmVbifHyOUOQJXxqEy6r0faRrPzTQ==",
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/formidable/-/formidable-2.1.2.tgz",
"integrity": "sha512-CM3GuJ57US06mlpQ47YcunuUZ9jpm8Vx+P2CGt2j7HpgkKZO/DJYQ0Bobim8G6PFQmK5lOqOOdUXboU+h73A4g==",
"dependencies": {
"dezalgo": "1.0.3",
"hexoid": "1.0.0",
"once": "1.4.0",
"qs": "6.9.3"
"dezalgo": "^1.0.4",
"hexoid": "^1.0.0",
"once": "^1.4.0",
"qs": "^6.11.0"
},
"funding": {
"url": "https://ko-fi.com/tunnckoCore/commissions"
}
},
"node_modules/formidable/node_modules/qs": {
"version": "6.9.3",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.9.3.tgz",
"integrity": "sha512-EbZYNarm6138UKKq46tdx08Yo/q9ZhFoAXAI1meAFd2GtbRDhbZY2WQSICskT0c5q99aFzLG1D4nvTk9tqfXIw==",
"engines": {
"node": ">=0.6"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/fs.realpath": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
@@ -611,9 +588,9 @@
}
},
"node_modules/get-intrinsic": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz",
"integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==",
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.0.tgz",
"integrity": "sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==",
"dependencies": {
"function-bind": "^1.1.1",
"has": "^1.0.3",
@@ -844,9 +821,9 @@
}
},
"node_modules/jszip": {
"version": "3.10.0",
"resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.0.tgz",
"integrity": "sha512-LDfVtOLtOxb9RXkYOwPyNBTQDL4eUbqahtoY6x07GiDJHwSYvn8sHHIw8wINImV3MqbMNve2gSuM1DDqEKk09Q==",
"version": "3.10.1",
"resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.1.tgz",
"integrity": "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==",
"dependencies": {
"lie": "~3.3.0",
"pako": "~1.0.2",
@@ -952,9 +929,9 @@
}
},
"node_modules/mocha": {
"version": "10.1.0",
"resolved": "https://registry.npmjs.org/mocha/-/mocha-10.1.0.tgz",
"integrity": "sha512-vUF7IYxEoN7XhQpFLxQAEMtE4W91acW4B6En9l97MwE9stL1A9gusXfoHZCLVHDUJ/7V5+lbCM6yMqzo5vNymg==",
"version": "10.2.0",
"resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz",
"integrity": "sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==",
"dependencies": {
"ansi-colors": "4.1.1",
"browser-stdout": "1.3.1",
@@ -1039,9 +1016,9 @@
}
},
"node_modules/object-inspect": {
"version": "1.12.2",
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz",
"integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==",
"version": "1.12.3",
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz",
"integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==",
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
@@ -1161,9 +1138,9 @@
}
},
"node_modules/readable-stream": {
"version": "2.3.7",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
"integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
"version": "2.3.8",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz",
"integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",
"dependencies": {
"core-util-is": "~1.0.0",
"inherits": "~2.0.3",
@@ -1213,13 +1190,13 @@
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
},
"node_modules/selenium-webdriver": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.7.0.tgz",
"integrity": "sha512-ZB/77G6xKz96beiUIq6RSdU/Klccg8Fg6lGvEmsVSeLwOWjmJDRehBeXE/y59mytOqitYSewFzJsSU5Xov1X+Q==",
"version": "4.10.0",
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.10.0.tgz",
"integrity": "sha512-hSQPw6jgc+ej/UEcdQPG/iBwwMeCEgZr9HByY/J8ToyXztEqXzU9aLsIyrlj1BywBcStO4JQK/zMUWWrV8+riA==",
"dependencies": {
"jszip": "^3.10.0",
"jszip": "^3.10.1",
"tmp": "^0.2.1",
"ws": ">=8.7.0"
"ws": ">=8.13.0"
},
"engines": {
"node": ">= 14.20.0"
@@ -1285,16 +1262,16 @@
}
},
"node_modules/superagent": {
"version": "8.0.5",
"resolved": "https://registry.npmjs.org/superagent/-/superagent-8.0.5.tgz",
"integrity": "sha512-lQVE0Praz7nHiSaJLKBM/cZyi7J0E4io8tWnGSBdBrqAzhzrjQ/F5iGP9Zr29CJC8N5zYdhG2kKaNcB6dKxp7g==",
"version": "8.0.9",
"resolved": "https://registry.npmjs.org/superagent/-/superagent-8.0.9.tgz",
"integrity": "sha512-4C7Bh5pyHTvU33KpZgwrNKh/VQnvgtCSqPRfJAUdmrtSYePVzVg4E4OzsrbkhJj9O7SO6Bnv75K/F8XVZT8YHA==",
"dependencies": {
"component-emitter": "^1.3.0",
"cookiejar": "^2.1.3",
"cookiejar": "^2.1.4",
"debug": "^4.3.4",
"fast-safe-stringify": "^2.1.1",
"form-data": "^4.0.0",
"formidable": "^2.0.1",
"formidable": "^2.1.2",
"methods": "^1.1.2",
"mime": "2.6.0",
"qs": "^6.11.0",
@@ -1368,7 +1345,7 @@
"node_modules/util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
},
"node_modules/workerpool": {
"version": "6.2.1",
@@ -1437,15 +1414,15 @@
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"node_modules/ws": {
"version": "8.8.0",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.8.0.tgz",
"integrity": "sha512-JDAgSYQ1ksuwqfChJusw1LSJ8BizJ2e/vVu5Lxjq3YvNJNlROv1ui4i+c/kUUrPheBvQl4c5UbERhTwKa6QBJQ==",
"version": "8.13.0",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz",
"integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==",
"engines": {
"node": ">=10.0.0"
},
"peerDependencies": {
"bufferutil": "^4.0.1",
"utf-8-validate": "^5.0.2"
"utf-8-validate": ">=5.0.2"
},
"peerDependenciesMeta": {
"bufferutil": {
@@ -1628,7 +1605,7 @@
"asap": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz",
"integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY="
"integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA=="
},
"asynckit": {
"version": "0.4.0",
@@ -1636,9 +1613,9 @@
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
},
"axios": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.2.0.tgz",
"integrity": "sha512-zT7wZyNYu3N5Bu0wuZ6QccIf93Qk1eV8LOewxgjOZFd2DenOs98cJ7+Y6703d0wkaXGY6/nZd4EweJaHz9uzQw==",
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.2.2.tgz",
"integrity": "sha512-bz/J4gS2S3I7mpN/YZfGFTqhXTYzRho8Ay38w2otuuDR322KzFIWm/4W2K6gIwvWaws5n+mnb7D1lN9uD+QH6Q==",
"requires": {
"follow-redirects": "^1.15.0",
"form-data": "^4.0.0",
@@ -1731,12 +1708,12 @@
}
},
"chromedriver": {
"version": "108.0.0",
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-108.0.0.tgz",
"integrity": "sha512-/kb0rb0dlC4RfXh2BOT7RV87K6d+It3VV5YXebLzO5a8t2knNffiTE23XPJQCH+l1xmgoW8/sOX/NB9irskvOQ==",
"version": "114.0.1",
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-114.0.1.tgz",
"integrity": "sha512-Srkyt7xv+RL9aSNVkmARm0tAfw84fIBKge9c1MCTiHfW0tjuNFdhKVlgD0TmPmwSKOeFJrTdd1Flf2hGWWKsUw==",
"requires": {
"@testim/chrome-version": "^1.1.3",
"axios": "^1.1.3",
"axios": "^1.2.1",
"compare-versions": "^5.0.1",
"extract-zip": "^2.0.1",
"https-proxy-agent": "^5.0.1",
@@ -1821,9 +1798,9 @@
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
},
"cookiejar": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.3.tgz",
"integrity": "sha512-JxbCBUdrfr6AQjOXrxoTvAMJO4HBTUIlBzslcJPAz+/KT8yk53fXun51u+RenNYvad/+Vc2DIz5o9UxlCDymFQ=="
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.4.tgz",
"integrity": "sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw=="
},
"core-util-is": {
"version": "1.0.3",
@@ -1848,20 +1825,15 @@
"resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
"integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ=="
},
"delay": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/delay/-/delay-5.0.0.tgz",
"integrity": "sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw=="
},
"delayed-stream": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
"integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
},
"dezalgo": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.3.tgz",
"integrity": "sha1-f3Qt4Gb8dIvI24IFad3c5Jvw1FY=",
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz",
"integrity": "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==",
"requires": {
"asap": "^2.0.0",
"wrappy": "1"
@@ -1962,21 +1934,14 @@
}
},
"formidable": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/formidable/-/formidable-2.0.1.tgz",
"integrity": "sha512-rjTMNbp2BpfQShhFbR3Ruk3qk2y9jKpvMW78nJgx8QKtxjDVrwbZG+wvDOmVbifHyOUOQJXxqEy6r0faRrPzTQ==",
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/formidable/-/formidable-2.1.2.tgz",
"integrity": "sha512-CM3GuJ57US06mlpQ47YcunuUZ9jpm8Vx+P2CGt2j7HpgkKZO/DJYQ0Bobim8G6PFQmK5lOqOOdUXboU+h73A4g==",
"requires": {
"dezalgo": "1.0.3",
"hexoid": "1.0.0",
"once": "1.4.0",
"qs": "6.9.3"
},
"dependencies": {
"qs": {
"version": "6.9.3",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.9.3.tgz",
"integrity": "sha512-EbZYNarm6138UKKq46tdx08Yo/q9ZhFoAXAI1meAFd2GtbRDhbZY2WQSICskT0c5q99aFzLG1D4nvTk9tqfXIw=="
}
"dezalgo": "^1.0.4",
"hexoid": "^1.0.0",
"once": "^1.4.0",
"qs": "^6.11.0"
}
},
"fs.realpath": {
@@ -2001,9 +1966,9 @@
"integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="
},
"get-intrinsic": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz",
"integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==",
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.0.tgz",
"integrity": "sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==",
"requires": {
"function-bind": "^1.1.1",
"has": "^1.0.3",
@@ -2165,9 +2130,9 @@
}
},
"jszip": {
"version": "3.10.0",
"resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.0.tgz",
"integrity": "sha512-LDfVtOLtOxb9RXkYOwPyNBTQDL4eUbqahtoY6x07GiDJHwSYvn8sHHIw8wINImV3MqbMNve2gSuM1DDqEKk09Q==",
"version": "3.10.1",
"resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.1.tgz",
"integrity": "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==",
"requires": {
"lie": "~3.3.0",
"pako": "~1.0.2",
@@ -2240,9 +2205,9 @@
}
},
"mocha": {
"version": "10.1.0",
"resolved": "https://registry.npmjs.org/mocha/-/mocha-10.1.0.tgz",
"integrity": "sha512-vUF7IYxEoN7XhQpFLxQAEMtE4W91acW4B6En9l97MwE9stL1A9gusXfoHZCLVHDUJ/7V5+lbCM6yMqzo5vNymg==",
"version": "10.2.0",
"resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz",
"integrity": "sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==",
"requires": {
"ansi-colors": "4.1.1",
"browser-stdout": "1.3.1",
@@ -2306,9 +2271,9 @@
"integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="
},
"object-inspect": {
"version": "1.12.2",
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz",
"integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ=="
"version": "1.12.3",
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz",
"integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g=="
},
"once": {
"version": "1.4.0",
@@ -2395,9 +2360,9 @@
}
},
"readable-stream": {
"version": "2.3.7",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
"integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
"version": "2.3.8",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz",
"integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",
"requires": {
"core-util-is": "~1.0.0",
"inherits": "~2.0.3",
@@ -2435,13 +2400,13 @@
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
},
"selenium-webdriver": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.7.0.tgz",
"integrity": "sha512-ZB/77G6xKz96beiUIq6RSdU/Klccg8Fg6lGvEmsVSeLwOWjmJDRehBeXE/y59mytOqitYSewFzJsSU5Xov1X+Q==",
"version": "4.10.0",
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.10.0.tgz",
"integrity": "sha512-hSQPw6jgc+ej/UEcdQPG/iBwwMeCEgZr9HByY/J8ToyXztEqXzU9aLsIyrlj1BywBcStO4JQK/zMUWWrV8+riA==",
"requires": {
"jszip": "^3.10.0",
"jszip": "^3.10.1",
"tmp": "^0.2.1",
"ws": ">=8.7.0"
"ws": ">=8.13.0"
}
},
"semver": {
@@ -2489,16 +2454,16 @@
"integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig=="
},
"superagent": {
"version": "8.0.5",
"resolved": "https://registry.npmjs.org/superagent/-/superagent-8.0.5.tgz",
"integrity": "sha512-lQVE0Praz7nHiSaJLKBM/cZyi7J0E4io8tWnGSBdBrqAzhzrjQ/F5iGP9Zr29CJC8N5zYdhG2kKaNcB6dKxp7g==",
"version": "8.0.9",
"resolved": "https://registry.npmjs.org/superagent/-/superagent-8.0.9.tgz",
"integrity": "sha512-4C7Bh5pyHTvU33KpZgwrNKh/VQnvgtCSqPRfJAUdmrtSYePVzVg4E4OzsrbkhJj9O7SO6Bnv75K/F8XVZT8YHA==",
"requires": {
"component-emitter": "^1.3.0",
"cookiejar": "^2.1.3",
"cookiejar": "^2.1.4",
"debug": "^4.3.4",
"fast-safe-stringify": "^2.1.1",
"form-data": "^4.0.0",
"formidable": "^2.0.1",
"formidable": "^2.1.2",
"methods": "^1.1.2",
"mime": "2.6.0",
"qs": "^6.11.0",
@@ -2551,7 +2516,7 @@
"util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
},
"workerpool": {
"version": "6.2.1",
@@ -2604,9 +2569,9 @@
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"ws": {
"version": "8.8.0",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.8.0.tgz",
"integrity": "sha512-JDAgSYQ1ksuwqfChJusw1LSJ8BizJ2e/vVu5Lxjq3YvNJNlROv1ui4i+c/kUUrPheBvQl4c5UbERhTwKa6QBJQ==",
"version": "8.13.0",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz",
"integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==",
"requires": {}
},
"y18n": {

View File

@@ -9,11 +9,10 @@
"author": "",
"license": "ISC",
"dependencies": {
"chromedriver": "^108.0.0",
"delay": "^5.0.0",
"chromedriver": "^114.0.1",
"expect.js": "^0.3.1",
"mocha": "^10.1.0",
"selenium-webdriver": "^4.7.0",
"superagent": "^8.0.5"
"mocha": "^10.2.0",
"selenium-webdriver": "^4.10.0",
"superagent": "^8.0.9"
}
}

View File

@@ -11,12 +11,12 @@
require('chromedriver');
const delay = require('delay'),
execSync = require('child_process').execSync,
const execSync = require('child_process').execSync,
expect = require('expect.js'),
fs = require('fs'),
path = require('path'),
superagent = require('superagent'),
timers = require('timers/promises'),
{ Builder, By, until } = require('selenium-webdriver'),
{ Options } = require('selenium-webdriver/chrome');
@@ -56,13 +56,13 @@ describe('Application life cycle test', function () {
await browser.findElement(By.id('secretKey')).sendKeys(secretKey);
await browser.findElement(By.xpath('//button[@id="do-login"]')).click();
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
await delay(5000);
await timers.setTimeout(5000);
}
async function logout() {
await browser.get(`https://${app.fqdn}/`);
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
const button = await browser.findElement(By.xpath('//div/span[contains(text(), "Sign Out")]'));
const button = await browser.findElement(By.xpath('//button[@id="sign-out"]'));
await browser.executeScript('arguments[0].scrollIntoView(false)', button);
await button.click();
await waitForElement(By.id('accessKey'));
@@ -75,8 +75,8 @@ describe('Application life cycle test', function () {
await browser.sleep(2000);
await browser.findElement(By.xpath('//input[@id="bucket-name"]')).sendKeys(BUCKET);
await browser.findElement(By.xpath('//button[@id="create-bucket"]')).click();
await waitForElement(By.xpath(`//a[contains(text(), "${BUCKET}")]`));
await delay(5000);
await waitForElement(By.xpath(`//h1[contains(text(), "${BUCKET}")]`));
await timers.setTimeout(5000);
}
async function checkBucket() {
@@ -99,7 +99,7 @@ describe('Application life cycle test', function () {
xit('build app', function () { execSync('cloudron build', EXEC_ARGS); });
it('install app', async function () {
execSync(`cloudron install --location ${LOCATION} --secondary-domains API_SERVER_DOMAIN=${LOCATION}-api`, EXEC_ARGS);
await delay(10000);
await timers.setTimeout(10000);
});
it('can get app information', getAppInfo);
@@ -118,7 +118,7 @@ describe('Application life cycle test', function () {
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);
await delay(10000);
await timers.setTimeout(10000);
});
it('can restart app', function () { execSync(`cloudron restart --app ${app.id}`, EXEC_ARGS); });
@@ -136,7 +136,7 @@ describe('Application life cycle test', function () {
execSync('cloudron install --location ' + LOCATION, EXEC_ARGS);
getAppInfo();
execSync(`cloudron restore --backup ${backups[0].id} --app ${app.id}`, EXEC_ARGS);
await delay(10000);
await timers.setTimeout(10000);
});
it('can login', login.bind(null, 'minioakey', 'minioskey'));
@@ -148,7 +148,7 @@ describe('Application life cycle test', function () {
it('move to different location', async function () {
browser.manage().deleteAllCookies();
execSync('cloudron configure --location ' + LOCATION + '2', EXEC_ARGS);
await delay(10000);
await timers.setTimeout(10000);
});
it('can get app information', getAppInfo);