mirror of
https://git.cloudron.io/cloudron/minio-app
synced 2025-09-02 23:35:29 +00:00
Compare commits
118 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
4f43bc611e | ||
|
db768973d6 | ||
|
db0d84862d | ||
|
0e70c439cf | ||
|
59ed1a0fc1 | ||
|
6542475614 | ||
|
9cffe692df | ||
|
eeac9f0af4 | ||
|
b1fe43b656 | ||
|
eb93b292fa | ||
|
aea86c627d | ||
|
454d83318c | ||
|
fed871de22 | ||
|
648231e821 | ||
|
927cdbb0a2 | ||
|
cb61faa569 | ||
|
cf11bcd7e6 | ||
|
669976c293 | ||
|
951a874909 | ||
|
0bb46d9867 | ||
|
540ad857fd | ||
|
c06f2d9e9d | ||
|
0d96abc3c8 | ||
|
63f6910f5f | ||
|
b09a9cc6ea | ||
|
b0f6a030f3 | ||
|
84b4ebeac4 | ||
|
c5404f53c1 | ||
|
cacf9d9441 | ||
|
3b1eecfd73 | ||
|
237a7747d9 | ||
|
ce4f12fbd6 | ||
|
7e14939670 | ||
|
1de078ee2a | ||
|
533b6d91e6 | ||
|
ef4bdec677 | ||
|
da470851f7 | ||
|
242ed4386b | ||
|
11bb0c8edc | ||
|
4ac71ff8e7 | ||
|
05cbddd40e | ||
|
1ecb2e3593 | ||
|
124bc9e833 | ||
|
c5a3a190b2 | ||
|
97e6ae5a6f | ||
|
dfa728d7a5 | ||
|
f06d703fce | ||
|
c78df06cb7 | ||
|
87859252ce | ||
|
9ef74c45d5 | ||
|
e551d6535d | ||
|
9a97ef5913 | ||
|
ac937559e0 | ||
|
3b4e8d04de | ||
|
4d3cd5ed61 | ||
|
9e5aa33e09 | ||
|
4f3e70f3e0 | ||
|
270a7cd6ee | ||
|
da87188fad | ||
|
16df482288 | ||
|
0524be735e | ||
|
a4451ecb22 | ||
|
f452505ae7 | ||
|
1fe052d819 | ||
|
ba1a52dc5e | ||
|
5b7a96134f | ||
|
1366fc8932 | ||
|
d9bdf5749e | ||
|
2c30861af0 | ||
|
37157e6538 | ||
|
38e110edc7 | ||
|
758b98fc20 | ||
|
b92644ffdd | ||
|
3b9e31f363 | ||
|
17d5977c74 | ||
|
d898eba22e | ||
|
9c6a787df9 | ||
|
9f4fc4c2f2 | ||
|
2f271c7db9 | ||
|
30f7bbf53b | ||
|
b246112d3f | ||
|
986df393a1 | ||
|
d5b3bd9c2f | ||
|
c1ce6031f7 | ||
|
9c5f6b5636 | ||
|
7fa5fa0427 | ||
|
55711af940 | ||
|
7a3ee2504f | ||
|
c2388d2710 | ||
|
81186e53f4 | ||
|
f37fd6a660 | ||
|
365254e971 | ||
|
665851a84a | ||
|
a625014aeb | ||
|
25ff8b66f6 | ||
|
2fbefac3a9 | ||
|
2bbf11f795 | ||
|
ca3aebef4a | ||
|
effb90c2ac | ||
|
e8972242ca | ||
|
e84ef0cddf | ||
|
594b45051d | ||
|
ed8e041180 | ||
|
f9c0870c59 | ||
|
550ea43e59 | ||
|
832f1f26a8 | ||
|
293beffadc | ||
|
29f3101513 | ||
|
ef6edee2a1 | ||
|
e00e95eb94 | ||
|
f6a78ee7cb | ||
|
c32fc59b39 | ||
|
78913a6f02 | ||
|
9964fd0db8 | ||
|
86ebec77eb | ||
|
281ec626e3 | ||
|
6f76e442fc | ||
|
c720de4dcf |
501
CHANGELOG
501
CHANGELOG
@@ -1746,3 +1746,504 @@ Improve replication performance. See (#12080, #12054, #12009) for more details.
|
||||
* 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
|
||||
|
||||
[3.5.5]
|
||||
* Update minio to 2023-06-19T19-52-50Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-06-19T19-52-50Z)
|
||||
* replication: Ensure metadata updates go to same pool where version ex… by @poornas in #17451
|
||||
* upgrade pkg and dperf to latest packages by @harshavardhana in #17448
|
||||
* fallback on etags if they match when mtime is not same by @harshavardhana in #17424
|
||||
* event args list for fanOut notification must be sized same by @harshavardhana in #17450
|
||||
* rebalance: Fix a integer divide by zero crash during state update by @vadmeste in #17455
|
||||
|
||||
[3.5.6]
|
||||
* Update minio to 2023-06-23T20-26-00Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-06-23T20-26-00Z)
|
||||
* Bump up madmin-go and pkg deps by @donatello in #17469
|
||||
* safely ignore out of band deletions while decommissioning by @harshavardhana in #17473
|
||||
* fix: replication check for duplicate endpoints detection with wrong route by @jiuker in #17474
|
||||
* fix: do not crash rebalance code instead set the object layer by @harshavardhana in #17465
|
||||
* skip onlineDisks with parity mismatch by @harshavardhana in #17478
|
||||
* Add an option to make bucket notifications synchronous by @Praveenrajmani in #17406
|
||||
* always look for expired versions v/s remaining versions by @harshavardhana in #17479
|
||||
|
||||
[3.6.0]
|
||||
* Update minio to 2023-06-29T05-12-28Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-06-29T05-12-28Z)
|
||||
* fix: do not listAndHeal() inline with PutObject() by @harshavardhana in #17499
|
||||
* Print certain log messages once per error by @kaankabalak in #17484
|
||||
* chore: pkg imported more than once by @testwill in #17444
|
||||
* update all our deps by @harshavardhana in #17497
|
||||
* Capture realtime metrics in health report by @anjalshireesh in #17516
|
||||
* allow site-replication checks to work on non-distributed setups by @harshavardhana in #17524
|
||||
* fix: bug in passing Versioned field set for getHealReplicationInfo() by @harshavardhana in #17498
|
||||
|
||||
[3.6.1]
|
||||
* Update minio to 2023-07-07T07-13-57Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-07-07T07-13-57Z)
|
||||
* fix: OpenID config initialization by @donatello in #17544
|
||||
* fix: service account list for root user by @donatello in #17547
|
||||
* fix: for FTP server driver allow implicit trust TLS by @harshavardhana in #17541
|
||||
* s3: Fix a typo in per pool make/delete bucket errs calculation by @vadmeste in #17553
|
||||
* fix: honor older scanner settings only if newer has not changed by @harshavardhana in #17564
|
||||
* fix: upon DNS refresh() failure use previous values by @harshavardhana in #17561
|
||||
* fix: create user without policy that is required by @jiuker in #17554
|
||||
* fix: under FanOut API avoid repeated md5sum calculation by @harshavardhana in #17572
|
||||
|
||||
[3.6.2]
|
||||
* Update minio to 2023-07-11T21-29-34Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-07-11T21-29-34Z)
|
||||
* add variadic delays in peer notification retries by @harshavardhana in #17592
|
||||
* Fix helm templating syntax in post-job by @aztechian in #17600
|
||||
* Avoid per request URL parsing by @klauspost in #17593
|
||||
* fix: set request ID in tracing context key by @donatello in #17602
|
||||
* prometheus: Fix internode stats by @vadmeste in #17594
|
||||
|
||||
[3.6.3]
|
||||
* Update minio to 2023-07-18T17-49-40Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-07-18T17-49-40Z)
|
||||
* treat 0-byte objects to honor same quorum as delete marker by @harshavardhana in #17633
|
||||
* fix: do not os.Exit(1) while writing goroutines during shutdown by @harshavardhana in #17640
|
||||
* Corrected the API name for audit logging purpose by @shtripat in #17642
|
||||
* chore: fix minor issues reported via staticcheck by @testwill in #17639
|
||||
* Added endpoint and versions attributes to KMS details by @shtripat in #17350
|
||||
* replication: Simplify mrf requeueing and add backlog handler by @poornas in #17171
|
||||
* Use os.ReadFile instead of ioutil.ReadFile by @anjalshireesh in #17649
|
||||
|
||||
[3.7.0]
|
||||
* Update minio to 2023-07-21T21-12-44Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-07-21T21-12-44Z)
|
||||
* pick internode interface properly via globalLocalNodeName by @harshavardhana in #17680
|
||||
* move bucket centric metrics to /minio/v2/metrics/bucket handlers by @harshavardhana in #17663
|
||||
* fix: byHost realTime metrics API by @jiuker in #17681
|
||||
* update grafana dashboard JSON with the new metrics by @harshavardhana in #17683
|
||||
* fix: retry listing in decommissioning if it fails perpetually by @harshavardhana in #17682
|
||||
* info: Report correct pool/set/disk indexes for offline disks by @vadmeste in #17695
|
||||
* Add deletemarker_total metric by @krisis in #17689
|
||||
|
||||
[3.7.1]
|
||||
* Update minio to 2023-08-04T17-40-21Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-08-04T17-40-21Z)
|
||||
* return tags as part of Head/Get calls by @harshavardhana in #17635
|
||||
* don't error when asked for 0-based range on empty objects by @flisk in #17708
|
||||
* Revert "don't error when asked for 0-based range on empty objects (#17708) by @klauspost in #17713
|
||||
* fix: Create metrics slice when necessary in getCacheMetrics() by @drivebyer in #17711
|
||||
|
||||
[3.7.2]
|
||||
* Update minio to 2023-08-09T23-30-22Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-08-09T23-30-22Z)
|
||||
* fix: batch replication pull must preserve versionID by @harshavardhana in #17805
|
||||
* Ensure tracking 499 for canceled list objects v1, v2, versions calls by @vadmeste in #17804
|
||||
* replication: set context timeout for NewMultipartUpload calls by @poornas in #17807
|
||||
* batch: Strict unmarshal yaml document to avoid user made typos by @vadmeste in #17808
|
||||
* fix: do not use PrefixEnabled() logic to ignore valid objects by @harshavardhana in #17677
|
||||
|
||||
[3.7.3]
|
||||
* Update minio to 2023-08-16T20-17-30Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-08-16T20-17-30Z)
|
||||
* Prometheus metrics for `cluster_disk_offline_total` has been renamed to `cluster_drive_offline_total`
|
||||
* You may setup additional alerts on this to look for slow drives that timeout often, and also drives that return I/O errors at various intervals.
|
||||
* ListObjects() continuation had a bug where in the continuation token would be ignored leading to expensive list operations when there are single prefixes with millions of objects.
|
||||
|
||||
[3.7.4]
|
||||
* Update minio to 2023-08-23T10-07-06Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-08-23T10-07-06Z)
|
||||
* fix: validate incoming uploadID to be base64 encoded by @harshavardhana in #17865
|
||||
* do not log client canceled events by @harshavardhana in #17838
|
||||
* if object is a delete marker it must skip tags filter in ILM by @harshavardhana in #17861
|
||||
* ilm: Fix cleaning non current null versions by @vadmeste in #17876
|
||||
* update minio/kes-go dep to v0.2.0 by @aead in #17850
|
||||
* fix: replace req context by locker context by @jiuker in #17880
|
||||
|
||||
[3.7.5]
|
||||
* Update minio to 2023-08-29T23-07-35Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-08-29T23-07-35Z)
|
||||
* mark replication target offline if network timeouts seen by @poornas in #17907
|
||||
* Retain current and upto NewerNoncurrentVersions versions by @krisis in #17909
|
||||
* add missing IAM node metrics to cluster and node endpoint by @harshavardhana in #17908
|
||||
* remove mTime requirement from pre-condition checks by @harshavardhana in #17916
|
||||
* remove strict persistence requirements for List() .metacache objects by @harshavardhana in #17917
|
||||
* fix: replace context by timeout-context from parent-context when selfSpeedTest by @jiuker in #17906
|
||||
|
||||
[3.8.0]
|
||||
* Update minio to 2023-08-31T15-31-16Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-08-31T15-31-16Z)
|
||||
* A major refactor of Replication metrics now provides detailed list of metrics for monitoring, alerts.
|
||||
* New dashboards are introduced specifically for monitoring replication traffic between sites https://github.com/minio/minio/tree/master/docs/metrics/prometheus/grafana
|
||||
|
||||
[3.8.1]
|
||||
* Update minio to 2023-09-04T19-57-37Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-09-04T19-57-37Z)
|
||||
* use buffers for pathJoin, to re-use buffers. by @harshavardhana in #17960
|
||||
* kafka: Do not require key when sending a message by @vadmeste in #17962
|
||||
* with xlv2 format we never had to fill in checksumInfo() by @harshavardhana in #17963
|
||||
* replication: remove check for empty version id by @poornas in #17964
|
||||
|
||||
[3.8.2]
|
||||
* Update minio to 2023-09-07T02-05-02Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-09-07T02-05-02Z)
|
||||
* metrics: fix panic in replication stats reporting by @poornas in #17979
|
||||
* refactor bandwidth throttling for replication target by @harshavardhana in #17980
|
||||
* use syscall.Rename() directly instead of os.Rename() by @harshavardhana in #17982
|
||||
* replication resync: avoid blocking on results channel. by @poornas in #17981
|
||||
* Embed file in ZIP with custom permissions by @shtripat in #17954
|
||||
|
||||
[3.8.3]
|
||||
* Update minio to 2023-09-16T01-01-47Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-09-16T01-01-47Z)
|
||||
* Address some significant memory issues in replication MRF when many objects are from existing object replication
|
||||
* Improve Disk replacement healing from single-threaded to multi-threaded via relying on the nr_requests value on Linux
|
||||
* Allow concurrent SFTP connections
|
||||
|
||||
[3.8.4]
|
||||
* Update minio to 2023-09-20T22-49-55Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-09-20T22-49-55Z)
|
||||
* Major memory improvements in replication hot-path reduction of 2x to 3x allocations on a busy cluster.
|
||||
* SSE-KMS now uses a fast-path without doing md5sum providing a major performance boost for encrypted objects via SSE-KMS.
|
||||
* Improve performance for Console UI logins.
|
||||
* Fixes a regression in permission handling of LDAP user based service accounts in previous release.
|
||||
|
||||
[3.8.5]
|
||||
* Update minio to 2023-09-23T03-47-50Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-09-23T03-47-50Z)
|
||||
* Prometheus metrics or mc admin info would take significantly longer when audit/logger webhooks were down for some reason, performance improved when these endpoints are down makes them non-blocking. #18083
|
||||
* Fix a regression while loading AssumeRoleWithCertificate credentials #18088 for more details
|
||||
|
||||
[3.9.0]
|
||||
* Update minio to 2023-09-27T15-22-50Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-09-27T15-22-50Z)
|
||||
* Add abandoned folder scanning to metrics by @klauspost in #18076
|
||||
* Improve ListObject Compatibility by @klauspost in #18099
|
||||
* fix: set scanning details locally to avoid cached values by @harshavardhana in #18092
|
||||
* fix: check post policy like AWS S3 by @jiuker in #18074
|
||||
* site replication: allow setting bandwidth default for bucket by @poornas in #18062
|
||||
|
||||
[3.9.1]
|
||||
* Update minio to 2023-09-30T07-02-29Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-09-30T07-02-29Z)
|
||||
* Fixes an issue with multipart objects with multiple versions, due to rename2() optimization being incorrectly used
|
||||
* AbortMultipartUpload() is now idempotent, much like AWS S3.
|
||||
|
||||
[3.9.2]
|
||||
* Update minio to 2023-10-07T15-07-38Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-10-07T15-07-38Z)
|
||||
* Add tests for multipart upload overwrites on versioned buckets by @harshavardhana in #18142
|
||||
* Add support for resource metrics by @anjalshireesh in #18057
|
||||
* Add paramaters in Helm chart to load OIDC clientSecret from Secret Resource by @alikhtag in #17784
|
||||
* Fix startup formatting by @zveinn in #18156
|
||||
|
||||
[3.9.3]
|
||||
* Update minio to 2023-10-16T04-13-43Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-10-16T04-13-43Z)
|
||||
* fix DeleteServiceAccount API behavior by @taran-p in #18163
|
||||
* fix: upon write failure on disk journal close the file properly by @harshavardhana in #18183
|
||||
* fix: O_DIRECT is on only for multi-disk setups by @donatello in #18194
|
||||
* Use better host names for metric errors by @klauspost in #18188
|
||||
* simplify channel send() in WalkDir() by @T-M-A in #18186
|
||||
* Fix current_send_in_progress metric always being zero by @mctoohey in #18160
|
||||
* avoid rebalance state for getObjectTags if any by @harshavardhana in #18197
|
||||
|
||||
[3.9.4]
|
||||
* Update minio to 2023-10-24T04-42-36Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-10-24T04-42-36Z)
|
||||
* choose different max_concurrent requests per drive based on HDD/NVMe by @harshavardhana in #18254
|
||||
* Don't skip rules with ExpiredObjectDeleteMarker by @krisis in #18256
|
||||
* Fix globalDeploymentID race by @klauspost in #18275
|
||||
* Remove unused config migration by @klauspost in #18277
|
||||
* Fix linter errors in Windows specific code by @klauspost in #18276
|
||||
* cache DiskInfo() metrics call separately by @harshavardhana in #18270
|
||||
|
||||
[3.9.5]
|
||||
* Update minio to 2023-10-25T06-33-25Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-10-25T06-33-25Z)
|
||||
* Fix BackendInfo() race by @klauspost in #18305
|
||||
* Improve multipart listing speed by @klauspost in #18307
|
||||
* fix: flaky and stupid tests in root lockdown by @harshavardhana in #18308
|
||||
* fix: listObjectParts to prefer local and single disks by @harshavardhana in #18309
|
||||
* avoid racy replicationCount checks by @harshavardhana in #18311
|
||||
|
||||
[3.9.6]
|
||||
* Update minio to 2023-11-01T01-57-10Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-11-01T01-57-10Z)
|
||||
* update go mod and CREDITS by @harshavardhana in #18289
|
||||
* fix: do not preserve mtime during CopyObject() metadata updates by @harshavardhana in #18316
|
||||
* Preserve replica timestamps in multipart by @poornas in #18318
|
||||
* fix:Canceling the heal caused goroutine to leak. by @jiuker in #18322
|
||||
* fix: update the user cache while adding service accounts with expiry by @Praveenrajmani in #18320
|
||||
* fix: parse the subsys env error by @jiuker in #18319
|
||||
* add MC_CONFIG_DIR to use mc from writable path by @harshavardhana in #18317
|
||||
* Reload replication targets lazily if missing by @poornas in #18333
|
||||
|
||||
[3.9.7]
|
||||
* Update minio to 2023-11-01T18-37-25Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-11-01T18-37-25Z)
|
||||
* Fix hanging scanner saves by @klauspost in #18368
|
||||
|
||||
[3.9.8]
|
||||
* Update minio to 2023-11-06T22-26-08Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-11-06T22-26-08Z)
|
||||
* Capture network device info in health report by @anjalshireesh in #18381
|
||||
* fix: siteReplicationSys.startResync return no buckets return if error by @jiuker in #18374
|
||||
* update console v0.41.0 by @harshavardhana in #18385
|
||||
* Do not anonymize hostnames by default by @anjalshireesh in #18387
|
||||
* fix: object versions metric help by @vicmunoz in #18388
|
||||
|
||||
[3.9.9]
|
||||
* Update minio to 2023-11-11T08-14-41Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-11-11T08-14-41Z)
|
||||
* fix:add err to all bucket resync failed by @jiuker in #18401
|
||||
* site replication: avoid propagating bucket b/w settings by @poornas in #18399
|
||||
* refactor SFTP to use the new minio/pkg implementation by @zveinn in #18406
|
||||
* Tiered objects require ns locks unlike inlined by @krisis in #18409
|
||||
* Support case insensitive kafka SASL mechanism config values by @vadmeste in #18398
|
||||
|
||||
[3.9.10]
|
||||
* Update minio to 2023-11-15T20-43-25Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-11-15T20-43-25Z)
|
||||
* fix: make sure to purge all the completed in resume() by @harshavardhana in #18429
|
||||
* fix: ignore dperf on unformatted/unavailable/unmounted drives by @harshavardhana in #18435
|
||||
* Adding a missing return to fix SFTP Rmdir message by @zveinn in #18438
|
||||
|
||||
[3.9.11]
|
||||
* Update minio to 2023-11-20T22-40-07Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-11-20T22-40-07Z)
|
||||
* health: split liveness and readiness handler by @aead in #18457
|
||||
* Remove stale data in HEAD/GET object by @vadmeste in #18460
|
||||
* remove checking for BucketInfo() peer call for every PUT() by @harshavardhana in #18464
|
||||
* Added graph for Erasure Set Tolerance value by @shtripat in #18472
|
||||
* audit: Try to send audit even if the status is offline by @vadmeste in #18458
|
||||
* fix: close the http.Body when WebhookTarget isActive by @jiuker in #18467
|
||||
|
||||
[3.10.0]
|
||||
* Update minio to 2023-12-02T10-51-33Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-12-02T10-51-33Z)
|
||||
* Websocket grid functionality by @klauspost in #18461
|
||||
* return errors if dataDir is missing during HeadObject() by @harshavardhana in #18477
|
||||
* fix: close http body for es action by @jiuker in #18491
|
||||
* Replicate Expiry ILM configs while site replication by @shtripat in #18130
|
||||
* use Access(F_OK) do not need to check for permissions by @harshavardhana in #18492
|
||||
* fix: go mod was pointed to personal repos with replace remove it by @harshavardhana in #18498
|
||||
* Adding a fix to check for bucket existence before upload by @zveinn in #18496
|
||||
* use the latest UBI image by @harshavardhana in #18497
|
||||
* Implement batch snowball by @vadmeste in #18485
|
||||
|
||||
[3.10.1]
|
||||
* Update minio to 2023-12-06T09-09-22Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-12-06T09-09-22Z)
|
||||
* avoid hot-tier SLA to be tied to warm-tier SLA by @harshavardhana in #18581
|
||||
* avoid double MRF heal when there is versions disparity by @harshavardhana in #18585
|
||||
* upon RenameData() quorum error delete any partial success by @harshavardhana in #18586
|
||||
* avoid caching metrics for timeout errors per drive by @harshavardhana in #18584
|
||||
* parallelize renameData() cleanup upon error by @harshavardhana in #18591
|
||||
* handle crashes with ILM expiry changes by @harshavardhana in #18590
|
||||
|
||||
[3.10.2]
|
||||
* Update minio to 2023-12-07T04-16-00Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-12-07T04-16-00Z)
|
||||
* fix: GetFreePort() will get the same port by @jiuker in #18604
|
||||
* Capture percentage of cpu load and memory used by @anjalshireesh in #18596
|
||||
* fix: use the right channel to feed the data in by @harshavardhana in #18605
|
||||
* Update Console version to v0.42.1 by @bexsoft in #18606
|
||||
|
||||
[3.11.0]
|
||||
* Update minio to 2023-12-09T18-17-51Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-12-09T18-17-51Z)
|
||||
* Add support of conf file to pass arguments and options by @vadmeste in #18592
|
||||
* feat: add events_errors_total metric by @jiuker in #18610
|
||||
* add configuration to limit replication workers by @poornas in #18601
|
||||
* use latest minisign release by @harshavardhana in #18614
|
||||
|
||||
[3.11.1]
|
||||
* Update minio to 2023-12-13T23-28-55Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-12-13T23-28-55Z)
|
||||
* tier: Add support of SP credentials with Azure by @vadmeste in #18630
|
||||
* Fix issue [#18315], resolve the absence of the sed command in ubi-mic… by @opencmit2 in #18459
|
||||
* reduce logging during permission denied errors by @harshavardhana in #18641
|
||||
* healthcheck requests with user-agent mozilla do not need redirects by @harshavardhana in #18642
|
||||
* Changed the expression to render the value by @shtripat in #18627
|
||||
|
||||
[3.11.2]
|
||||
* Update minio to 2023-12-14T18-51-57Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-12-14T18-51-57Z)
|
||||
* re-use the same local drive used by remote-peer by @harshavardhana in #18645
|
||||
* Label the notification target metrics by their target IDs by @Praveenrajmani in #18633
|
||||
* update console UI to v0.43.0 release by @harshavardhana in #18653
|
||||
|
||||
[3.11.3]
|
||||
* Update minio to 2023-12-20T01-00-02Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-12-20T01-00-02Z)
|
||||
* tier: Add support of AWS S3 tiering with web identity token file by @vadmeste in #18648
|
||||
* metrics: Refactor handling of histogram vectors by @krisis in #18632
|
||||
* Fix incorrect metric desc for bucketRequestsDuration by @krisis in #18657
|
||||
* Add APIs to create and list access keys for LDAP by @taran-p in #18402
|
||||
* update go dependencies by @harshavardhana in #18662
|
||||
* Fix bucket metrics api path in docs by @vanugrah in #18661
|
||||
* Read new key license_v2 from SUBNET response by @anjalshireesh in #18669
|
||||
* Enable cross compile for openbsd/amd64 by @danieljakots in #18666
|
||||
* update dependencies for https://pkg.go.dev/vuln/GO-2023-2402 by @harshavardhana in #18676
|
||||
* Fix quota config replication for SR by @poornas in #18684
|
||||
* Update Console version to v0.43.1 by @cesnietor in #18683
|
||||
|
||||
[3.11.4]
|
||||
* Update minio to 2023-12-23T07-19-11Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2023-12-23T07-19-11Z)
|
||||
* Export tier metrics by @krisis in https://github.com/minio/minio/pull/18678
|
||||
* allow pre-allocating buffers to reduce frequent GCs during growth by @harshavardhana in https://github.com/minio/minio/pull/18686
|
||||
* prom: Add online and healing drives metrics per erasure set by @vadmeste in https://github.com/minio/minio/pull/18700
|
||||
* send proper IPv6 names avoid bracketing notation by @harshavardhana in https://github.com/minio/minio/pull/18699
|
||||
* rename object_size -> block_size for cache subsystem by @harshavardhana in https://github.com/minio/minio/pull/18694
|
||||
* tier: Allow edit of the new Azure and AWS auth params by @vadmeste in https://github.com/minio/minio/pull/18690
|
||||
* fix: reject clients that do not send proper payload by @harshavardhana in https://github.com/minio/minio/pull/18701
|
||||
* Graph cluster wide where applicable by @shtripat in https://github.com/minio/minio/pull/18705
|
||||
* server-info: Avoid initializing audit/log http/kafka targets by @vadmeste in https://github.com/minio/minio/pull/18703
|
||||
* Fix precendence bug in S3Select SQL IN clauses by @donatello in https://github.com/minio/minio/pull/18708
|
||||
|
||||
[3.12.0]
|
||||
* Update minio to 2024-01-01T16-36-33Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-01-01T16-36-33Z)
|
||||
* A significant performance improvement feature to optimize ListObjects() is part of this release.
|
||||
* New console HTTP security headers are fully customizable now for specific needs, refer #18631
|
||||
|
||||
[3.12.1]
|
||||
* Update minio to 2024-01-05T22-17-24Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-01-05T22-17-24Z)
|
||||
* Added list of scanner metrics to document by @shtripat in #18731
|
||||
* scanner: Allow full throttle if there is no parallel disk ops by @vadmeste in #18109
|
||||
* fix: an odd crash when deleting null DEL markers by @harshavardhana in #18727
|
||||
* prom: Add read quorum per erasure set metric by @vadmeste in #18736
|
||||
* scanner: Add a config to disable short sleep between objects scan by @vadmeste in #18734
|
||||
* NEW API: GetObjectAttributes by @zveinn in #18732
|
||||
|
||||
[3.12.2]
|
||||
* Update minio to 2024-01-11T07-46-16Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-01-11T07-46-16Z)
|
||||
|
||||
[3.12.3]
|
||||
* Update minio to 2024-01-13T07-53-03Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-01-13T07-53-03Z)
|
||||
* Verify that remote target bucket is on MinIO server for bucket replication by @taran-p in https://github.com/minio/minio/pull/18656
|
||||
* avoid disk monitoring leaks under various conditions by @harshavardhana in https://github.com/minio/minio/pull/18777
|
||||
* xl: Remove wrong wording for errCorruptedFormat by @vadmeste in https://github.com/minio/minio/pull/18775
|
||||
* Add more size intervals to obj size histogram by @krisis in https://github.com/minio/minio/pull/18772
|
||||
* support proxying of tagging requests in replication by @poornas in https://github.com/minio/minio/pull/18649
|
||||
* treat all localhost endpoints as local setup with same port by @harshavardhana in https://github.com/minio/minio/pull/18784
|
||||
|
||||
[3.12.4]
|
||||
* Update minio to 2024-01-16T16-07-38Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-01-16T16-07-38Z)
|
||||
* fix: listing SSE encrypted multipart objects by @harshavardhana in https://github.com/minio/minio/pull/18786
|
||||
* adding a missing return case to fix GetObjectTagging by @zveinn in https://github.com/minio/minio/pull/18793
|
||||
* xl-meta: Clean output by @klauspost in https://github.com/minio/minio/pull/18794
|
||||
|
||||
[3.12.5]
|
||||
* Update minio to 2024-01-18T22-51-28Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-01-18T22-51-28Z)
|
||||
* reject reference format from a different deployment by @harshavardhana in #18800
|
||||
* fix: a typo in storeDataUsageInBackend() comment by @chienguo in #18778
|
||||
* Deallocate huge read buffers by @klauspost in #18813
|
||||
* fix: HealBucket regression for empty buckets, simplify it by @harshavardhana in #18815
|
||||
* Fix mini typo by @fwessels in #18816
|
||||
|
||||
[3.12.6]
|
||||
* Update minio to 2024-01-29T03-56-32Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-01-29T03-56-32Z)
|
||||
* Fixes an ugly issue with runtime debug stack excessive logging regression
|
||||
* avoid calling close for nil inbound/outblock channels (3 hours ago)
|
||||
* remove getReplicationNodeMetrics() from peer metrics groups (4 hours ago)
|
||||
|
||||
|
@@ -5,8 +5,8 @@
|
||||
"description": "file://DESCRIPTION.md",
|
||||
"changelog": "file://CHANGELOG",
|
||||
"tagline": "Distributed object storage",
|
||||
"version": "3.4.16",
|
||||
"upstreamVersion": "2023-04-07T05-28-58Z",
|
||||
"version": "3.12.6",
|
||||
"upstreamVersion": "2024-01-29T03-56-32Z",
|
||||
"healthCheckPath": "/minio/login",
|
||||
"memoryLimit": 805306368,
|
||||
"httpPort": 8000,
|
||||
|
@@ -1,9 +1,9 @@
|
||||
FROM cloudron/base:4.0.0@sha256:31b195ed0662bdb06a6e8a5ddbedb6f191ce92e8bee04c03fb02dd4e9d0286df
|
||||
FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768ba473078319a47f4
|
||||
|
||||
RUN mkdir -p /app/code
|
||||
WORKDIR /app/code
|
||||
|
||||
ARG VERSION=RELEASE.2023-04-07T05-28-58Z
|
||||
ARG VERSION=RELEASE.2024-01-29T03-56-32Z
|
||||
|
||||
# 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
|
||||
|
4
start.sh
4
start.sh
@@ -4,6 +4,7 @@ set -eu
|
||||
|
||||
mkdir -p /app/data/data /run/minio/config /run/minio/certs
|
||||
|
||||
# env vars take precedence over config.yaml (https://github.com/minio/minio/blob/master/docs/distributed/CONFIG.md#things-to-know)
|
||||
[[ ! -f /app/data/env.sh ]] && cp /app/code/env.sh /app/data/env.sh
|
||||
source /app/data/env.sh
|
||||
|
||||
@@ -20,7 +21,6 @@ fi
|
||||
echo "==> Changing ownership"
|
||||
[[ $(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 ${CLOUDRON_MINIO_STARTUP_ARGS} --address :9000 --console-address :8000
|
||||
exec /usr/local/bin/gosu cloudron:cloudron /app/code/minio --quiet ${CLOUDRON_MINIO_STARTUP_ARGS} --address :9000 --console-address :8000
|
||||
|
||||
|
177
test/package-lock.json
generated
177
test/package-lock.json
generated
@@ -9,18 +9,17 @@
|
||||
"version": "1.0.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"chromedriver": "^111.0.0",
|
||||
"delay": "^5.0.0",
|
||||
"chromedriver": "^121.0.0",
|
||||
"expect.js": "^0.3.1",
|
||||
"mocha": "^10.2.0",
|
||||
"selenium-webdriver": "^4.8.1",
|
||||
"superagent": "^8.0.9"
|
||||
"selenium-webdriver": "^4.17.0",
|
||||
"superagent": "^8.1.2"
|
||||
}
|
||||
},
|
||||
"node_modules/@testim/chrome-version": {
|
||||
"version": "1.1.3",
|
||||
"resolved": "https://registry.npmjs.org/@testim/chrome-version/-/chrome-version-1.1.3.tgz",
|
||||
"integrity": "sha512-g697J3WxV/Zytemz8aTuKjTGYtta9+02kva3C1xc7KXB8GdbfE1akGJIsZLyY/FSh2QrnE+fiB7vmWU3XNcb6A=="
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/@testim/chrome-version/-/chrome-version-1.1.4.tgz",
|
||||
"integrity": "sha512-kIhULpw9TrGYnHp/8VfdcneIcxKnLixmADtukQRtJUmsVlMg0niMkwV0xZmi8hqa57xqilIHjWFA0GKvEjVU5g=="
|
||||
},
|
||||
"node_modules/@types/node": {
|
||||
"version": "16.9.1",
|
||||
@@ -98,11 +97,11 @@
|
||||
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
|
||||
},
|
||||
"node_modules/axios": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/axios/-/axios-1.2.2.tgz",
|
||||
"integrity": "sha512-bz/J4gS2S3I7mpN/YZfGFTqhXTYzRho8Ay38w2otuuDR322KzFIWm/4W2K6gIwvWaws5n+mnb7D1lN9uD+QH6Q==",
|
||||
"version": "1.6.7",
|
||||
"resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz",
|
||||
"integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==",
|
||||
"dependencies": {
|
||||
"follow-redirects": "^1.15.0",
|
||||
"follow-redirects": "^1.15.4",
|
||||
"form-data": "^4.0.0",
|
||||
"proxy-from-env": "^1.1.0"
|
||||
}
|
||||
@@ -229,24 +228,24 @@
|
||||
}
|
||||
},
|
||||
"node_modules/chromedriver": {
|
||||
"version": "111.0.0",
|
||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-111.0.0.tgz",
|
||||
"integrity": "sha512-XavNYNBBfKIrT8Oi/ywJ0DoOOU+jHF5bQWTkqStFsAXvfCV9VzYN3J+TGAvZdrpXeoixqPRGUxQ2yZhD2iowdQ==",
|
||||
"version": "121.0.0",
|
||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-121.0.0.tgz",
|
||||
"integrity": "sha512-ZIKEdZrQAfuzT/RRofjl8/EZR99ghbdBXNTOcgJMKGP6N/UL6lHUX4n6ONWBV18pDvDFfQJ0x58h5AdOaXIOMw==",
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"@testim/chrome-version": "^1.1.3",
|
||||
"axios": "^1.2.1",
|
||||
"compare-versions": "^5.0.1",
|
||||
"@testim/chrome-version": "^1.1.4",
|
||||
"axios": "^1.6.5",
|
||||
"compare-versions": "^6.1.0",
|
||||
"extract-zip": "^2.0.1",
|
||||
"https-proxy-agent": "^5.0.1",
|
||||
"proxy-from-env": "^1.1.0",
|
||||
"tcp-port-used": "^1.0.1"
|
||||
"tcp-port-used": "^1.0.2"
|
||||
},
|
||||
"bin": {
|
||||
"chromedriver": "bin/chromedriver"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
"node": ">=18"
|
||||
}
|
||||
},
|
||||
"node_modules/cliui": {
|
||||
@@ -327,9 +326,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/compare-versions": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-5.0.1.tgz",
|
||||
"integrity": "sha512-v8Au3l0b+Nwkp4G142JcgJFh1/TUhdxut7wzD1Nq1dyp5oa3tXaqb03EXOAB6jS4gMlalkjAUPZBMiAfKUixHQ=="
|
||||
"version": "6.1.0",
|
||||
"resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-6.1.0.tgz",
|
||||
"integrity": "sha512-LNZQXhqUvqUTotpZ00qLSaify3b4VFD588aRr8MKFw4CMUr98ytzCW5wDH5qx/DEY5kCDXcbcRuCqL0szEf2tg=="
|
||||
},
|
||||
"node_modules/component-emitter": {
|
||||
"version": "1.3.0",
|
||||
@@ -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",
|
||||
@@ -523,9 +511,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/follow-redirects": {
|
||||
"version": "1.15.2",
|
||||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz",
|
||||
"integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==",
|
||||
"version": "1.15.5",
|
||||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz",
|
||||
"integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "individual",
|
||||
@@ -833,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",
|
||||
@@ -1150,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",
|
||||
@@ -1202,13 +1190,13 @@
|
||||
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
|
||||
},
|
||||
"node_modules/selenium-webdriver": {
|
||||
"version": "4.8.1",
|
||||
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.8.1.tgz",
|
||||
"integrity": "sha512-p4MtfhCQdcV6xxkS7eI0tQN6+WNReRULLCAuT4RDGkrjfObBNXMJ3WT8XdK+aXTr5nnBKuh+PxIevM0EjJgkxA==",
|
||||
"version": "4.17.0",
|
||||
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.17.0.tgz",
|
||||
"integrity": "sha512-e2E+2XBlGepzwgFbyQfSwo9Cbj6G5fFfs9MzAS00nC99EewmcS2rwn2MwtgfP7I5p1e7DYv4HQJXtWedsu6DvA==",
|
||||
"dependencies": {
|
||||
"jszip": "^3.10.0",
|
||||
"jszip": "^3.10.1",
|
||||
"tmp": "^0.2.1",
|
||||
"ws": ">=8.11.0"
|
||||
"ws": ">=8.14.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 14.20.0"
|
||||
@@ -1274,9 +1262,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/superagent": {
|
||||
"version": "8.0.9",
|
||||
"resolved": "https://registry.npmjs.org/superagent/-/superagent-8.0.9.tgz",
|
||||
"integrity": "sha512-4C7Bh5pyHTvU33KpZgwrNKh/VQnvgtCSqPRfJAUdmrtSYePVzVg4E4OzsrbkhJj9O7SO6Bnv75K/F8XVZT8YHA==",
|
||||
"version": "8.1.2",
|
||||
"resolved": "https://registry.npmjs.org/superagent/-/superagent-8.1.2.tgz",
|
||||
"integrity": "sha512-6WTxW1EB6yCxV5VFOIPQruWGHqc3yI7hEmZK6h+pyk69Lk/Ut7rLUY6W/ONF2MjBuGjvmMiIpsrVJ2vjrHlslA==",
|
||||
"dependencies": {
|
||||
"component-emitter": "^1.3.0",
|
||||
"cookiejar": "^2.1.4",
|
||||
@@ -1357,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",
|
||||
@@ -1426,9 +1414,9 @@
|
||||
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
|
||||
},
|
||||
"node_modules/ws": {
|
||||
"version": "8.12.0",
|
||||
"resolved": "https://registry.npmjs.org/ws/-/ws-8.12.0.tgz",
|
||||
"integrity": "sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig==",
|
||||
"version": "8.14.2",
|
||||
"resolved": "https://registry.npmjs.org/ws/-/ws-8.14.2.tgz",
|
||||
"integrity": "sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==",
|
||||
"engines": {
|
||||
"node": ">=10.0.0"
|
||||
},
|
||||
@@ -1560,9 +1548,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@testim/chrome-version": {
|
||||
"version": "1.1.3",
|
||||
"resolved": "https://registry.npmjs.org/@testim/chrome-version/-/chrome-version-1.1.3.tgz",
|
||||
"integrity": "sha512-g697J3WxV/Zytemz8aTuKjTGYtta9+02kva3C1xc7KXB8GdbfE1akGJIsZLyY/FSh2QrnE+fiB7vmWU3XNcb6A=="
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/@testim/chrome-version/-/chrome-version-1.1.4.tgz",
|
||||
"integrity": "sha512-kIhULpw9TrGYnHp/8VfdcneIcxKnLixmADtukQRtJUmsVlMg0niMkwV0xZmi8hqa57xqilIHjWFA0GKvEjVU5g=="
|
||||
},
|
||||
"@types/node": {
|
||||
"version": "16.9.1",
|
||||
@@ -1625,11 +1613,11 @@
|
||||
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
|
||||
},
|
||||
"axios": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/axios/-/axios-1.2.2.tgz",
|
||||
"integrity": "sha512-bz/J4gS2S3I7mpN/YZfGFTqhXTYzRho8Ay38w2otuuDR322KzFIWm/4W2K6gIwvWaws5n+mnb7D1lN9uD+QH6Q==",
|
||||
"version": "1.6.7",
|
||||
"resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz",
|
||||
"integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==",
|
||||
"requires": {
|
||||
"follow-redirects": "^1.15.0",
|
||||
"follow-redirects": "^1.15.4",
|
||||
"form-data": "^4.0.0",
|
||||
"proxy-from-env": "^1.1.0"
|
||||
}
|
||||
@@ -1720,17 +1708,17 @@
|
||||
}
|
||||
},
|
||||
"chromedriver": {
|
||||
"version": "111.0.0",
|
||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-111.0.0.tgz",
|
||||
"integrity": "sha512-XavNYNBBfKIrT8Oi/ywJ0DoOOU+jHF5bQWTkqStFsAXvfCV9VzYN3J+TGAvZdrpXeoixqPRGUxQ2yZhD2iowdQ==",
|
||||
"version": "121.0.0",
|
||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-121.0.0.tgz",
|
||||
"integrity": "sha512-ZIKEdZrQAfuzT/RRofjl8/EZR99ghbdBXNTOcgJMKGP6N/UL6lHUX4n6ONWBV18pDvDFfQJ0x58h5AdOaXIOMw==",
|
||||
"requires": {
|
||||
"@testim/chrome-version": "^1.1.3",
|
||||
"axios": "^1.2.1",
|
||||
"compare-versions": "^5.0.1",
|
||||
"@testim/chrome-version": "^1.1.4",
|
||||
"axios": "^1.6.5",
|
||||
"compare-versions": "^6.1.0",
|
||||
"extract-zip": "^2.0.1",
|
||||
"https-proxy-agent": "^5.0.1",
|
||||
"proxy-from-env": "^1.1.0",
|
||||
"tcp-port-used": "^1.0.1"
|
||||
"tcp-port-used": "^1.0.2"
|
||||
}
|
||||
},
|
||||
"cliui": {
|
||||
@@ -1795,9 +1783,9 @@
|
||||
}
|
||||
},
|
||||
"compare-versions": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-5.0.1.tgz",
|
||||
"integrity": "sha512-v8Au3l0b+Nwkp4G142JcgJFh1/TUhdxut7wzD1Nq1dyp5oa3tXaqb03EXOAB6jS4gMlalkjAUPZBMiAfKUixHQ=="
|
||||
"version": "6.1.0",
|
||||
"resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-6.1.0.tgz",
|
||||
"integrity": "sha512-LNZQXhqUvqUTotpZ00qLSaify3b4VFD588aRr8MKFw4CMUr98ytzCW5wDH5qx/DEY5kCDXcbcRuCqL0szEf2tg=="
|
||||
},
|
||||
"component-emitter": {
|
||||
"version": "1.3.0",
|
||||
@@ -1837,11 +1825,6 @@
|
||||
"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",
|
||||
@@ -1936,9 +1919,9 @@
|
||||
"integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ=="
|
||||
},
|
||||
"follow-redirects": {
|
||||
"version": "1.15.2",
|
||||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz",
|
||||
"integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA=="
|
||||
"version": "1.15.5",
|
||||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz",
|
||||
"integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw=="
|
||||
},
|
||||
"form-data": {
|
||||
"version": "4.0.0",
|
||||
@@ -2147,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",
|
||||
@@ -2377,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",
|
||||
@@ -2417,13 +2400,13 @@
|
||||
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
|
||||
},
|
||||
"selenium-webdriver": {
|
||||
"version": "4.8.1",
|
||||
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.8.1.tgz",
|
||||
"integrity": "sha512-p4MtfhCQdcV6xxkS7eI0tQN6+WNReRULLCAuT4RDGkrjfObBNXMJ3WT8XdK+aXTr5nnBKuh+PxIevM0EjJgkxA==",
|
||||
"version": "4.17.0",
|
||||
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.17.0.tgz",
|
||||
"integrity": "sha512-e2E+2XBlGepzwgFbyQfSwo9Cbj6G5fFfs9MzAS00nC99EewmcS2rwn2MwtgfP7I5p1e7DYv4HQJXtWedsu6DvA==",
|
||||
"requires": {
|
||||
"jszip": "^3.10.0",
|
||||
"jszip": "^3.10.1",
|
||||
"tmp": "^0.2.1",
|
||||
"ws": ">=8.11.0"
|
||||
"ws": ">=8.14.2"
|
||||
}
|
||||
},
|
||||
"semver": {
|
||||
@@ -2471,9 +2454,9 @@
|
||||
"integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig=="
|
||||
},
|
||||
"superagent": {
|
||||
"version": "8.0.9",
|
||||
"resolved": "https://registry.npmjs.org/superagent/-/superagent-8.0.9.tgz",
|
||||
"integrity": "sha512-4C7Bh5pyHTvU33KpZgwrNKh/VQnvgtCSqPRfJAUdmrtSYePVzVg4E4OzsrbkhJj9O7SO6Bnv75K/F8XVZT8YHA==",
|
||||
"version": "8.1.2",
|
||||
"resolved": "https://registry.npmjs.org/superagent/-/superagent-8.1.2.tgz",
|
||||
"integrity": "sha512-6WTxW1EB6yCxV5VFOIPQruWGHqc3yI7hEmZK6h+pyk69Lk/Ut7rLUY6W/ONF2MjBuGjvmMiIpsrVJ2vjrHlslA==",
|
||||
"requires": {
|
||||
"component-emitter": "^1.3.0",
|
||||
"cookiejar": "^2.1.4",
|
||||
@@ -2533,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",
|
||||
@@ -2586,9 +2569,9 @@
|
||||
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
|
||||
},
|
||||
"ws": {
|
||||
"version": "8.12.0",
|
||||
"resolved": "https://registry.npmjs.org/ws/-/ws-8.12.0.tgz",
|
||||
"integrity": "sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig==",
|
||||
"version": "8.14.2",
|
||||
"resolved": "https://registry.npmjs.org/ws/-/ws-8.14.2.tgz",
|
||||
"integrity": "sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==",
|
||||
"requires": {}
|
||||
},
|
||||
"y18n": {
|
||||
|
@@ -9,11 +9,10 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"chromedriver": "^112.0.0",
|
||||
"delay": "^5.0.0",
|
||||
"chromedriver": "^121.0.0",
|
||||
"expect.js": "^0.3.1",
|
||||
"mocha": "^10.2.0",
|
||||
"selenium-webdriver": "^4.8.2",
|
||||
"superagent": "^8.0.9"
|
||||
"selenium-webdriver": "^4.17.0",
|
||||
"superagent": "^8.1.2"
|
||||
}
|
||||
}
|
||||
|
18
test/test.js
18
test/test.js
@@ -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'));
|
||||
@@ -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('//button[@id="create-bucket"]')).click();
|
||||
await waitForElement(By.xpath(`//h1[contains(text(), "${BUCKET}")]`));
|
||||
await delay(5000);
|
||||
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);
|
||||
|
||||
|
Reference in New Issue
Block a user