mirror of
https://git.cloudron.io/cloudron/minio-app
synced 2025-09-13 16:29:13 +00:00
Compare commits
42 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
effb90c2ac | ||
|
e8972242ca | ||
|
e84ef0cddf | ||
|
594b45051d | ||
|
ed8e041180 | ||
|
f9c0870c59 | ||
|
550ea43e59 | ||
|
832f1f26a8 | ||
|
293beffadc | ||
|
29f3101513 | ||
|
ef6edee2a1 | ||
|
e00e95eb94 | ||
|
f6a78ee7cb | ||
|
c32fc59b39 | ||
|
78913a6f02 | ||
|
9964fd0db8 | ||
|
86ebec77eb | ||
|
281ec626e3 | ||
|
6f76e442fc | ||
|
c720de4dcf | ||
|
32a649b52a | ||
|
08f1230582 | ||
|
eda4dd653f | ||
|
d49de43f6b | ||
|
d385379da8 | ||
|
40f6e1675d | ||
|
19d114beda | ||
|
13329afe50 | ||
|
8feb8dd0e3 | ||
|
1370d93592 | ||
|
d24e4b9896 | ||
|
b279130d74 | ||
|
3504fc48f9 | ||
|
1ac3bbe134 | ||
|
fe7fd0147c | ||
|
0047b6bd3b | ||
|
b4e59c928c | ||
|
d33cff8f0a | ||
|
4eb440baaf | ||
|
96e54e6b3c | ||
|
bfbe792135 | ||
|
31bbeed39f |
186
CHANGELOG
186
CHANGELOG
@@ -1648,3 +1648,189 @@ Improve replication performance. See (#12080, #12054, #12009) for more details.
|
|||||||
* add x-amz-id-2 to indicate the node that received the request by @harshavardhana in #16474
|
* 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
|
* 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
|
||||||
|
|
||||||
|
@@ -5,8 +5,8 @@
|
|||||||
"description": "file://DESCRIPTION.md",
|
"description": "file://DESCRIPTION.md",
|
||||||
"changelog": "file://CHANGELOG",
|
"changelog": "file://CHANGELOG",
|
||||||
"tagline": "Distributed object storage",
|
"tagline": "Distributed object storage",
|
||||||
"version": "3.4.6",
|
"version": "3.5.3",
|
||||||
"upstreamVersion": "2023-01-31T02-24-19Z",
|
"upstreamVersion": "2023-06-09T07-32-12Z",
|
||||||
"healthCheckPath": "/minio/login",
|
"healthCheckPath": "/minio/login",
|
||||||
"memoryLimit": 805306368,
|
"memoryLimit": 805306368,
|
||||||
"httpPort": 8000,
|
"httpPort": 8000,
|
||||||
|
@@ -3,7 +3,7 @@ FROM cloudron/base:4.0.0@sha256:31b195ed0662bdb06a6e8a5ddbedb6f191ce92e8bee04c03
|
|||||||
RUN mkdir -p /app/code
|
RUN mkdir -p /app/code
|
||||||
WORKDIR /app/code
|
WORKDIR /app/code
|
||||||
|
|
||||||
ARG VERSION=RELEASE.2023-01-31T02-24-19Z
|
ARG VERSION=RELEASE.2023-06-09T07-32-12Z
|
||||||
|
|
||||||
# sometimes here https://dl.min.io/server/minio/release/linux-amd64/archive/
|
# 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
|
# RUN wget https://dl.min.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio && chmod +x /app/code/minio
|
||||||
|
95
test/package-lock.json
generated
95
test/package-lock.json
generated
@@ -9,11 +9,10 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chromedriver": "^109.0.0",
|
"chromedriver": "^114.0.1",
|
||||||
"delay": "^5.0.0",
|
|
||||||
"expect.js": "^0.3.1",
|
"expect.js": "^0.3.1",
|
||||||
"mocha": "^10.2.0",
|
"mocha": "^10.2.0",
|
||||||
"selenium-webdriver": "^4.8.0",
|
"selenium-webdriver": "^4.10.0",
|
||||||
"superagent": "^8.0.9"
|
"superagent": "^8.0.9"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -229,9 +228,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/chromedriver": {
|
"node_modules/chromedriver": {
|
||||||
"version": "109.0.0",
|
"version": "114.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-109.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-114.0.1.tgz",
|
||||||
"integrity": "sha512-jdmBq11IUwfThLFiygGTZ89qbROSQI4bICQjvOVQy2Bqr1LwC+MFkhwyZp3YG99eehQbZuTlQmmfCZBfpewTNA==",
|
"integrity": "sha512-Srkyt7xv+RL9aSNVkmARm0tAfw84fIBKge9c1MCTiHfW0tjuNFdhKVlgD0TmPmwSKOeFJrTdd1Flf2hGWWKsUw==",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@testim/chrome-version": "^1.1.3",
|
"@testim/chrome-version": "^1.1.3",
|
||||||
@@ -246,7 +245,7 @@
|
|||||||
"chromedriver": "bin/chromedriver"
|
"chromedriver": "bin/chromedriver"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14"
|
"node": ">=16"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/cliui": {
|
"node_modules/cliui": {
|
||||||
@@ -383,17 +382,6 @@
|
|||||||
"resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
|
"resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
|
||||||
"integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ=="
|
"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": {
|
"node_modules/delayed-stream": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
|
||||||
@@ -833,9 +821,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/jszip": {
|
"node_modules/jszip": {
|
||||||
"version": "3.10.0",
|
"version": "3.10.1",
|
||||||
"resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.0.tgz",
|
"resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.1.tgz",
|
||||||
"integrity": "sha512-LDfVtOLtOxb9RXkYOwPyNBTQDL4eUbqahtoY6x07GiDJHwSYvn8sHHIw8wINImV3MqbMNve2gSuM1DDqEKk09Q==",
|
"integrity": "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lie": "~3.3.0",
|
"lie": "~3.3.0",
|
||||||
"pako": "~1.0.2",
|
"pako": "~1.0.2",
|
||||||
@@ -1150,9 +1138,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/readable-stream": {
|
"node_modules/readable-stream": {
|
||||||
"version": "2.3.7",
|
"version": "2.3.8",
|
||||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
|
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz",
|
||||||
"integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
|
"integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"core-util-is": "~1.0.0",
|
"core-util-is": "~1.0.0",
|
||||||
"inherits": "~2.0.3",
|
"inherits": "~2.0.3",
|
||||||
@@ -1202,13 +1190,13 @@
|
|||||||
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
|
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
|
||||||
},
|
},
|
||||||
"node_modules/selenium-webdriver": {
|
"node_modules/selenium-webdriver": {
|
||||||
"version": "4.8.0",
|
"version": "4.10.0",
|
||||||
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.8.0.tgz",
|
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.10.0.tgz",
|
||||||
"integrity": "sha512-s/HL8WNwy1ggHR244+tAhjhyKMJnZLt1HKJ6Gn7nQgVjB/ybDF+46Uui0qI2J7AjPNJzlUmTncdC/jg/kKkn0A==",
|
"integrity": "sha512-hSQPw6jgc+ej/UEcdQPG/iBwwMeCEgZr9HByY/J8ToyXztEqXzU9aLsIyrlj1BywBcStO4JQK/zMUWWrV8+riA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"jszip": "^3.10.0",
|
"jszip": "^3.10.1",
|
||||||
"tmp": "^0.2.1",
|
"tmp": "^0.2.1",
|
||||||
"ws": ">=8.11.0"
|
"ws": ">=8.13.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 14.20.0"
|
"node": ">= 14.20.0"
|
||||||
@@ -1357,7 +1345,7 @@
|
|||||||
"node_modules/util-deprecate": {
|
"node_modules/util-deprecate": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
|
||||||
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
|
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
|
||||||
},
|
},
|
||||||
"node_modules/workerpool": {
|
"node_modules/workerpool": {
|
||||||
"version": "6.2.1",
|
"version": "6.2.1",
|
||||||
@@ -1426,9 +1414,9 @@
|
|||||||
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
|
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
|
||||||
},
|
},
|
||||||
"node_modules/ws": {
|
"node_modules/ws": {
|
||||||
"version": "8.12.0",
|
"version": "8.13.0",
|
||||||
"resolved": "https://registry.npmjs.org/ws/-/ws-8.12.0.tgz",
|
"resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz",
|
||||||
"integrity": "sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig==",
|
"integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10.0.0"
|
"node": ">=10.0.0"
|
||||||
},
|
},
|
||||||
@@ -1720,9 +1708,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"chromedriver": {
|
"chromedriver": {
|
||||||
"version": "109.0.0",
|
"version": "114.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-109.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-114.0.1.tgz",
|
||||||
"integrity": "sha512-jdmBq11IUwfThLFiygGTZ89qbROSQI4bICQjvOVQy2Bqr1LwC+MFkhwyZp3YG99eehQbZuTlQmmfCZBfpewTNA==",
|
"integrity": "sha512-Srkyt7xv+RL9aSNVkmARm0tAfw84fIBKge9c1MCTiHfW0tjuNFdhKVlgD0TmPmwSKOeFJrTdd1Flf2hGWWKsUw==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@testim/chrome-version": "^1.1.3",
|
"@testim/chrome-version": "^1.1.3",
|
||||||
"axios": "^1.2.1",
|
"axios": "^1.2.1",
|
||||||
@@ -1837,11 +1825,6 @@
|
|||||||
"resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
|
"resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
|
||||||
"integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ=="
|
"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": {
|
"delayed-stream": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
|
||||||
@@ -2147,9 +2130,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"jszip": {
|
"jszip": {
|
||||||
"version": "3.10.0",
|
"version": "3.10.1",
|
||||||
"resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.0.tgz",
|
"resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.1.tgz",
|
||||||
"integrity": "sha512-LDfVtOLtOxb9RXkYOwPyNBTQDL4eUbqahtoY6x07GiDJHwSYvn8sHHIw8wINImV3MqbMNve2gSuM1DDqEKk09Q==",
|
"integrity": "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"lie": "~3.3.0",
|
"lie": "~3.3.0",
|
||||||
"pako": "~1.0.2",
|
"pako": "~1.0.2",
|
||||||
@@ -2377,9 +2360,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"readable-stream": {
|
"readable-stream": {
|
||||||
"version": "2.3.7",
|
"version": "2.3.8",
|
||||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
|
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz",
|
||||||
"integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
|
"integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"core-util-is": "~1.0.0",
|
"core-util-is": "~1.0.0",
|
||||||
"inherits": "~2.0.3",
|
"inherits": "~2.0.3",
|
||||||
@@ -2417,13 +2400,13 @@
|
|||||||
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
|
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
|
||||||
},
|
},
|
||||||
"selenium-webdriver": {
|
"selenium-webdriver": {
|
||||||
"version": "4.8.0",
|
"version": "4.10.0",
|
||||||
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.8.0.tgz",
|
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.10.0.tgz",
|
||||||
"integrity": "sha512-s/HL8WNwy1ggHR244+tAhjhyKMJnZLt1HKJ6Gn7nQgVjB/ybDF+46Uui0qI2J7AjPNJzlUmTncdC/jg/kKkn0A==",
|
"integrity": "sha512-hSQPw6jgc+ej/UEcdQPG/iBwwMeCEgZr9HByY/J8ToyXztEqXzU9aLsIyrlj1BywBcStO4JQK/zMUWWrV8+riA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"jszip": "^3.10.0",
|
"jszip": "^3.10.1",
|
||||||
"tmp": "^0.2.1",
|
"tmp": "^0.2.1",
|
||||||
"ws": ">=8.11.0"
|
"ws": ">=8.13.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"semver": {
|
"semver": {
|
||||||
@@ -2533,7 +2516,7 @@
|
|||||||
"util-deprecate": {
|
"util-deprecate": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
|
||||||
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
|
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
|
||||||
},
|
},
|
||||||
"workerpool": {
|
"workerpool": {
|
||||||
"version": "6.2.1",
|
"version": "6.2.1",
|
||||||
@@ -2586,9 +2569,9 @@
|
|||||||
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
|
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
|
||||||
},
|
},
|
||||||
"ws": {
|
"ws": {
|
||||||
"version": "8.12.0",
|
"version": "8.13.0",
|
||||||
"resolved": "https://registry.npmjs.org/ws/-/ws-8.12.0.tgz",
|
"resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz",
|
||||||
"integrity": "sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig==",
|
"integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==",
|
||||||
"requires": {}
|
"requires": {}
|
||||||
},
|
},
|
||||||
"y18n": {
|
"y18n": {
|
||||||
|
@@ -9,11 +9,10 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chromedriver": "^109.0.0",
|
"chromedriver": "^114.0.1",
|
||||||
"delay": "^5.0.0",
|
|
||||||
"expect.js": "^0.3.1",
|
"expect.js": "^0.3.1",
|
||||||
"mocha": "^10.2.0",
|
"mocha": "^10.2.0",
|
||||||
"selenium-webdriver": "^4.8.0",
|
"selenium-webdriver": "^4.10.0",
|
||||||
"superagent": "^8.0.9"
|
"superagent": "^8.0.9"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
16
test/test.js
16
test/test.js
@@ -11,12 +11,12 @@
|
|||||||
|
|
||||||
require('chromedriver');
|
require('chromedriver');
|
||||||
|
|
||||||
const delay = require('delay'),
|
const execSync = require('child_process').execSync,
|
||||||
execSync = require('child_process').execSync,
|
|
||||||
expect = require('expect.js'),
|
expect = require('expect.js'),
|
||||||
fs = require('fs'),
|
fs = require('fs'),
|
||||||
path = require('path'),
|
path = require('path'),
|
||||||
superagent = require('superagent'),
|
superagent = require('superagent'),
|
||||||
|
timers = require('timers/promises'),
|
||||||
{ Builder, By, until } = require('selenium-webdriver'),
|
{ Builder, By, until } = require('selenium-webdriver'),
|
||||||
{ Options } = require('selenium-webdriver/chrome');
|
{ Options } = require('selenium-webdriver/chrome');
|
||||||
|
|
||||||
@@ -56,7 +56,7 @@ describe('Application life cycle test', function () {
|
|||||||
await browser.findElement(By.id('secretKey')).sendKeys(secretKey);
|
await browser.findElement(By.id('secretKey')).sendKeys(secretKey);
|
||||||
await browser.findElement(By.xpath('//button[@id="do-login"]')).click();
|
await browser.findElement(By.xpath('//button[@id="do-login"]')).click();
|
||||||
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
|
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
|
||||||
await delay(5000);
|
await timers.setTimeout(5000);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function logout() {
|
async function logout() {
|
||||||
@@ -76,7 +76,7 @@ describe('Application life cycle test', function () {
|
|||||||
await browser.findElement(By.xpath('//input[@id="bucket-name"]')).sendKeys(BUCKET);
|
await browser.findElement(By.xpath('//input[@id="bucket-name"]')).sendKeys(BUCKET);
|
||||||
await browser.findElement(By.xpath('//button[@id="create-bucket"]')).click();
|
await browser.findElement(By.xpath('//button[@id="create-bucket"]')).click();
|
||||||
await waitForElement(By.xpath(`//h1[contains(text(), "${BUCKET}")]`));
|
await waitForElement(By.xpath(`//h1[contains(text(), "${BUCKET}")]`));
|
||||||
await delay(5000);
|
await timers.setTimeout(5000);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function checkBucket() {
|
async function checkBucket() {
|
||||||
@@ -99,7 +99,7 @@ describe('Application life cycle test', function () {
|
|||||||
xit('build app', function () { execSync('cloudron build', EXEC_ARGS); });
|
xit('build app', function () { execSync('cloudron build', EXEC_ARGS); });
|
||||||
it('install app', async function () {
|
it('install app', async function () {
|
||||||
execSync(`cloudron install --location ${LOCATION} --secondary-domains API_SERVER_DOMAIN=${LOCATION}-api`, EXEC_ARGS);
|
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);
|
it('can get app information', getAppInfo);
|
||||||
@@ -118,7 +118,7 @@ describe('Application life cycle test', function () {
|
|||||||
fs.writeFileSync('/tmp/env.sh', data);
|
fs.writeFileSync('/tmp/env.sh', data);
|
||||||
execSync(`cloudron push --app ${app.id} /tmp/env.sh /app/data/env.sh`, EXEC_ARGS);
|
execSync(`cloudron push --app ${app.id} /tmp/env.sh /app/data/env.sh`, EXEC_ARGS);
|
||||||
execSync(`cloudron restart --app ${app.id}`, 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); });
|
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);
|
execSync('cloudron install --location ' + LOCATION, EXEC_ARGS);
|
||||||
getAppInfo();
|
getAppInfo();
|
||||||
execSync(`cloudron restore --backup ${backups[0].id} --app ${app.id}`, EXEC_ARGS);
|
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'));
|
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 () {
|
it('move to different location', async function () {
|
||||||
browser.manage().deleteAllCookies();
|
browser.manage().deleteAllCookies();
|
||||||
execSync('cloudron configure --location ' + LOCATION + '2', EXEC_ARGS);
|
execSync('cloudron configure --location ' + LOCATION + '2', EXEC_ARGS);
|
||||||
await delay(10000);
|
await timers.setTimeout(10000);
|
||||||
});
|
});
|
||||||
it('can get app information', getAppInfo);
|
it('can get app information', getAppInfo);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user