mirror of
https://git.cloudron.io/cloudron/minio-app
synced 2025-09-05 00:35:14 +00:00
Compare commits
59 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
058673d882 | ||
|
8c3ea72c86 | ||
|
74eea35e18 | ||
|
eafdc900b3 | ||
|
0ec3052ad8 | ||
|
c10b3888f0 | ||
|
8d2b9d84ce | ||
|
13a4de046d | ||
|
d030ce00cc | ||
|
a2ea852bd4 | ||
|
aeeb7473b9 | ||
|
a988358a84 | ||
|
76e75b2421 | ||
|
51bd508a5e | ||
|
4e042bb62f | ||
|
00fc4851bc | ||
|
fb0dae799d | ||
|
a68bdeeade | ||
|
c1dbd2139f | ||
|
fe88ff7d1c | ||
|
fecebfd7e1 | ||
|
0d171ddb5a | ||
|
a5736bba2b | ||
|
f1181e9383 | ||
|
6346e564f9 | ||
|
4843a8345a | ||
|
fd7c75da9f | ||
|
327ede57c3 | ||
|
179628163f | ||
|
dfcab10abe | ||
|
642f1860d2 | ||
|
bc6656111f | ||
|
53371d5428 | ||
|
444d1972e2 | ||
|
1f51564fc7 | ||
|
f49c69d566 | ||
|
80802dc892 | ||
|
c23815b757 | ||
|
b195eb7e21 | ||
|
2386aa1325 | ||
|
b64685aeee | ||
|
6f845a87c5 | ||
|
0a772c4f23 | ||
|
69bf7496e7 | ||
|
8925843f34 | ||
|
1ef2baf396 | ||
|
20706ccaf4 | ||
|
4100d16964 | ||
|
a85c1935bc | ||
|
f4996c9fc9 | ||
|
5e1f06e1e9 | ||
|
a89ff592f0 | ||
|
9471c04cb9 | ||
|
20dbe5de5a | ||
|
c0a34431df | ||
|
ce95621eb4 | ||
|
cd4fec9029 | ||
|
d1677d9ef9 | ||
|
131038a255 |
146
CHANGELOG
146
CHANGELOG
@@ -1017,3 +1017,149 @@ Improve replication performance. See (#12080, #12054, #12009) for more details.
|
||||
* Once updated, go to the `Location` view and set the API Domain.
|
||||
* Update the various apps/servers/code to use the API domain as the backup destination.
|
||||
|
||||
[2.1.0]
|
||||
* Update minio to 2022-01-28T02-28-16Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-01-28T02-28-16Z)
|
||||
* make sure to pass groups for all credentials while verifying policies by @harshavardhana in #14193
|
||||
* do not expect 'speedtest' to be a bucket by @harshavardhana in #14199
|
||||
* Optimize read locker cleanup by @klauspost in #14200
|
||||
* Ensure that AssumeRole calls are sent to Audit log by @donatello in #14202
|
||||
|
||||
[2.2.0]
|
||||
* Update minio to 2022-02-05T04-40-59Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-02-05T04-40-59Z)
|
||||
|
||||
[2.2.1]
|
||||
* Update minio to 2022-02-07T08-17-33Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-02-07T08-17-33Z)
|
||||
|
||||
[2.3.0]
|
||||
* Update minio to 2022-02-18T01-50-10Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-02-18T01-50-10Z)
|
||||
|
||||
[2.3.1]
|
||||
* Update minio to 2022-02-24T22-12-01Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-02-24T22-12-01Z)
|
||||
|
||||
[2.3.2]
|
||||
* Update minio to 2022-02-26T02-54-46Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-02-26T02-54-46Z)
|
||||
|
||||
[2.3.3]
|
||||
* Update minio to 2022-03-05T06-32-39Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-05T06-32-39Z)
|
||||
|
||||
[2.3.4]
|
||||
* Update minio to 2022-03-08T22-28-51Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-08T22-28-51Z)
|
||||
|
||||
[2.4.0]
|
||||
* Update minio to 2022-03-11T11-08-23Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-11T11-08-23Z)
|
||||
|
||||
[2.4.1]
|
||||
* Update minio to 2022-03-11T23-57-45Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-11T23-57-45Z)
|
||||
* add filesystem group change policy for large minio deployments by @dharapvj in #14528
|
||||
* Fix regression from range GET proxying #14345 by @poornas in #14532
|
||||
|
||||
[2.4.2]
|
||||
* Update minio to 2022-03-14T18-25-24Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-14T18-25-24Z)
|
||||
|
||||
[2.4.3]
|
||||
* Update minio to 2022-03-17T06-34-49Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-17T06-34-49Z)
|
||||
|
||||
[2.4.4]
|
||||
* Update minio to 2022-03-22T02-05-10Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-22T02-05-10Z)
|
||||
|
||||
[2.4.5]
|
||||
* Update minio to 2022-03-24T00-43-44Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-24T00-43-44Z)
|
||||
|
||||
[2.4.6]
|
||||
* Update minio to 2022-03-26T06-49-28Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-03-26T06-49-28Z)
|
||||
|
||||
[2.4.7]
|
||||
* Update minio to 2022-04-01T03-41-39Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-01T03-41-39Z)
|
||||
* Always get the actual object size in bulk SSE-S3 by @vadmeste in #14637
|
||||
* listing: decrypt only SSE-S3 single-part ETags by @aead in #14638
|
||||
* Load IAM with a single listing call by @donatello in #14640
|
||||
* fix: multiple pool setup return incorrect DeleteMarker metadata by @harshavardhana in #14642
|
||||
* Quick type for fix ttfb entry in table by @eco-minio in #14647
|
||||
|
||||
[2.4.8]
|
||||
* Update minio to 2022-04-09T15-09-52Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-09T15-09-52Z)
|
||||
* Add metrics for observing IAM sync operations by @donatello in #14680
|
||||
* Write deployment id to health report at the start by @anjalshireesh in #14673
|
||||
* etag: add Format and Decrypt functions by @aead in #14659
|
||||
* Remove unnecessary log printing by @vadmeste in #14685
|
||||
* listing: improve listing of encrypted objects by @aead in #14667
|
||||
* Set inspect-input.txt modtime by @klauspost in #14688
|
||||
|
||||
[2.4.9]
|
||||
* Update minio to 2022-04-12T06-55-35Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-12T06-55-35Z)
|
||||
* Fix a privilege escalation security issue - https://github.com/minio/minio/security/advisories/GHSA-2j69-jjmg-534q
|
||||
* Console v0.15.10 by @dvaldivia in #14723
|
||||
* align atomic variables once more for 32bit by @harshavardhana in #14721
|
||||
* make sure to pass Lifecycle if set for List filtering by @harshavardhana in #14722
|
||||
* Set permissions for GitHub actions by @naveensrinivasan in #14693
|
||||
* Add support for minio tier type by @krisis in #14468
|
||||
|
||||
[2.4.10]
|
||||
* Update minio to 2022-04-16T04-26-02Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-16T04-26-02Z)
|
||||
* Allow parallel decom migration threads to be more than erasure sets by @krishnasrinivas in #14733
|
||||
* Include speedtest as part of healthinfo api by @anjalshireesh in #14696
|
||||
* Support templating accessKey existingSecret and bucket name by @yisiqi in #14643
|
||||
* enable go1.18.x builds by @harshavardhana in #14746
|
||||
* [S3Select] Switch to new parquet library and reduce locking by @donatello in #14731
|
||||
* Update Console v0.15.13 by @dvaldivia in #14751
|
||||
|
||||
[2.4.11]
|
||||
* Update minio to 2022-04-26T01-20-24Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-26T01-20-24Z)
|
||||
|
||||
[2.4.12]
|
||||
* Update minio to 2022-04-29T01-27-09Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-04-29T01-27-09Z)
|
||||
|
||||
[2.4.13]
|
||||
* Update minio to 2022-05-03T20-36-08Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-05-03T20-36-08Z)
|
||||
* fix: panic in browser redirect handler for unexpected r.Host by @harshavardhana in #14844
|
||||
* fix: reject invalid r.Host headers by @harshavardhana in #14846
|
||||
* fix: disallow newer policies, users & groups with space characters by @harshavardhana in #14845
|
||||
* Check error status codes by @klauspost in #14850
|
||||
* Log Range Header by @klauspost in #14851
|
||||
* fix: remove embedded-policy as requested by the user by @harshavardhana in #14847
|
||||
|
||||
[2.4.14]
|
||||
* Update minio to 2022-05-04T07-45-27Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-05-04T07-45-27Z)
|
||||
* Add audit log for decommissioning
|
||||
|
||||
[2.5.0]
|
||||
* Update minio to 2022-05-08T23-50-31Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-05-08T23-50-31Z)
|
||||
* Fix missing annotations for PVCs by @Sea-you in #14793
|
||||
* Add OPA doc and remove deprecation marking by @donatello in #14863
|
||||
* avoid concurrent reads and writes to opts.UserDefined by @harshavardhana in #14862
|
||||
|
||||
[2.5.1]
|
||||
* Update minio to 2022-05-19T18-20-59Z
|
||||
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2022-05-19T18-20-59Z)
|
||||
* pools: GetObjectNInfo should cover locking during object read by @vadmeste in #14887
|
||||
* tracing: Add disk path to storage tracing by @vadmeste in #14883
|
||||
* Add support for Access Management Plugin by @donatello in #14875
|
||||
* If decom of an object fails, retry for 3 times by @krishnasrinivas in #14861
|
||||
* update new name for MINIO_POLICY_OPA_URL by @itsericqiu in #14898
|
||||
* add support for extra Prometheus labels by @harshavardhana in #14899
|
||||
* use BadRequest HTTP status instead of Conflict for certain errors by @harshavardhana in #14900
|
||||
|
||||
|
@@ -5,7 +5,8 @@
|
||||
"description": "file://DESCRIPTION.md",
|
||||
"changelog": "file://CHANGELOG",
|
||||
"tagline": "Distributed object storage",
|
||||
"version": "2.0.0",
|
||||
"version": "2.5.1",
|
||||
"upstreamVersion": "2022-05-19T18-20-59Z",
|
||||
"healthCheckPath": "/minio/login",
|
||||
"httpPort": 8000,
|
||||
"httpPorts": {
|
||||
@@ -21,7 +22,7 @@
|
||||
},
|
||||
"manifestVersion": 2,
|
||||
"website": "http://www.minio.io",
|
||||
"minBoxVersion": "7.1.0",
|
||||
"minBoxVersion": "7.1.2",
|
||||
"forumUrl": "https://forum.cloudron.io/category/69/minio",
|
||||
"documentationUrl": "https://docs.cloudron.io/apps/minio/",
|
||||
"contactEmail": "support@cloudron.io",
|
||||
|
@@ -1,29 +1,29 @@
|
||||
This app packages Minio <upstream>2021-09-15T04-54-25Z</upstream>.
|
||||
## About
|
||||
|
||||
Minio is a distributed object storage server built for cloud applications and devops.
|
||||
|
||||
### Features
|
||||
## Features
|
||||
|
||||
#### Amazon S3 Compatible
|
||||
### Amazon S3 Compatible
|
||||
|
||||
Minio implements Amazon S3 v4 APIs. Minio also includes client SDKs and a console utility.
|
||||
|
||||
#### Minimalist Design
|
||||
### Minimalist Design
|
||||
|
||||
Minio is deeply influenced by minimalism. We believe that only simple things scale.
|
||||
|
||||
#### Apache License 2.0
|
||||
### Apache License 2.0
|
||||
|
||||
Minio is free software, released under Apache license v2.0. Minio has an active developer and user community.
|
||||
|
||||
#### Lambda Functions
|
||||
### Lambda Functions
|
||||
|
||||
Minio triggers Lambda functions through event notification service. In addition Minio also supports simple queueing service for AMQP, Elasticsearch, Redis, NATS and Postgres targets.
|
||||
|
||||
#### Erasure Code & Bitrot Protection
|
||||
### Erasure Code & Bitrot Protection
|
||||
|
||||
Minio protects data against hardware failures and silent data corruption using erasure code and checksums. You may lose half the number of drives and still recover from it.
|
||||
|
||||
#### Written in Go
|
||||
### Written in Go
|
||||
|
||||
Go is an emerging language of choice for modern cloud infrastructure projects. Go language enables Minio to be highly concurrent and lightweight.
|
||||
|
12
Dockerfile
12
Dockerfile
@@ -3,12 +3,14 @@ FROM cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd1
|
||||
RUN mkdir -p /app/code
|
||||
WORKDIR /app/code
|
||||
|
||||
ARG VERSION=RELEASE.2022-01-08T03-11-54Z
|
||||
ARG MC_VERSION=RELEASE.2022-01-07T06-01-38Z
|
||||
ARG VERSION=RELEASE.2022-05-19T18-20-59Z
|
||||
ARG MC_VERSION=RELEASE.2022-05-09T04-08-26Z
|
||||
|
||||
RUN wget https://dl.min.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio && chmod +x /app/code/minio && \
|
||||
wget https://dl.min.io/client/mc/release/linux-amd64/mc.${MC_VERSION} -O /app/code/mc && chmod +x /app/code/mc
|
||||
# sometimes here https://dl.min.io/server/minio/release/linux-amd64/archive/
|
||||
RUN wget https://dl.min.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio && chmod +x /app/code/minio
|
||||
# https://dl.min.io/client/mc/release/linux-amd64/
|
||||
RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc.${MC_VERSION} -O /app/code/mc && chmod +x /app/code/mc
|
||||
|
||||
COPY env.sh minio-credentials start.sh /app/code/
|
||||
COPY env.sh start.sh /app/code/
|
||||
|
||||
CMD [ "/app/code/start.sh" ]
|
||||
|
@@ -1,41 +0,0 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
'use strict';
|
||||
|
||||
const fs = require('fs');
|
||||
|
||||
const MINIO_CONFIG = '/app/data/data/.minio.sys/config/config.json';
|
||||
|
||||
function usage() {
|
||||
console.log('Usage:\n');
|
||||
console.log('\tminio-credentials get');
|
||||
console.log('\tminio-credentials set <access key> <secret key>');
|
||||
console.log();
|
||||
}
|
||||
|
||||
let config = JSON.parse(fs.readFileSync(MINIO_CONFIG, 'utf8'));
|
||||
let adminCredentials = config['credentials']['_'];
|
||||
let accessKey = adminCredentials.filter(kv => kv.key === 'access_key')[0];
|
||||
let secretKey = adminCredentials.filter(kv => kv.key === 'secret_key')[0];
|
||||
|
||||
if (process.argv[2] === 'get') {
|
||||
console.log('Access Key:', accessKey.value);
|
||||
console.log('Secret Key:', secretKey.value);
|
||||
} else if (process.argv[2] === 'set') {
|
||||
if (process.argv.length !== 5) return usage();
|
||||
|
||||
// https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateAccessKey.html
|
||||
if (process.argv[4].length < 5) return console.log('secret key must be atleast 5 characters');
|
||||
if (!/^[\w+=,.@-]+$/.test(process.argv[3])) return console.log('access key has invalid characters');
|
||||
|
||||
accessKey.value = process.argv[3];
|
||||
if (process.argv[4].length < 8) return console.log('secret key must be atleast 8 characters');
|
||||
|
||||
secretKey.value = process.argv[4];
|
||||
|
||||
fs.writeFileSync(MINIO_CONFIG, JSON.stringify(config), 'utf8');
|
||||
console.log('Credentials updated. Restart minio app for new credentials to take effect.\n');
|
||||
} else {
|
||||
usage();
|
||||
}
|
||||
|
225
test/package-lock.json
generated
225
test/package-lock.json
generated
@@ -9,9 +9,9 @@
|
||||
"version": "1.0.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"chromedriver": "^97.0.0",
|
||||
"chromedriver": "^100.0.0",
|
||||
"expect.js": "^0.3.1",
|
||||
"mocha": "^9.1.4",
|
||||
"mocha": "^9.2.2",
|
||||
"selenium-webdriver": "^4.1.1",
|
||||
"superagent": "^7.1.1"
|
||||
}
|
||||
@@ -49,9 +49,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@testim/chrome-version": {
|
||||
"version": "1.0.7",
|
||||
"resolved": "https://registry.npmjs.org/@testim/chrome-version/-/chrome-version-1.0.7.tgz",
|
||||
"integrity": "sha512-8UT/J+xqCYfn3fKtOznAibsHpiuDshCb0fwgWxRazTT19Igp9ovoXMPhXyLD6m3CKQGTMHgqoxaFfMWaL40Rnw=="
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@testim/chrome-version/-/chrome-version-1.1.2.tgz",
|
||||
"integrity": "sha512-1c4ZOETSRpI0iBfIFUqU4KqwBAB2lHUAlBjZz/YqOHqwM9dTTzjV6Km0ZkiEiSCx/tLr1BtESIKyWWMww+RUqw=="
|
||||
},
|
||||
"node_modules/@types/node": {
|
||||
"version": "16.9.1",
|
||||
@@ -154,11 +154,11 @@
|
||||
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
|
||||
},
|
||||
"node_modules/axios": {
|
||||
"version": "0.21.4",
|
||||
"resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz",
|
||||
"integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==",
|
||||
"version": "0.24.0",
|
||||
"resolved": "https://registry.npmjs.org/axios/-/axios-0.24.0.tgz",
|
||||
"integrity": "sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==",
|
||||
"dependencies": {
|
||||
"follow-redirects": "^1.14.0"
|
||||
"follow-redirects": "^1.14.4"
|
||||
}
|
||||
},
|
||||
"node_modules/balanced-match": {
|
||||
@@ -257,9 +257,15 @@
|
||||
}
|
||||
},
|
||||
"node_modules/chokidar": {
|
||||
"version": "3.5.2",
|
||||
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz",
|
||||
"integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==",
|
||||
"version": "3.5.3",
|
||||
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
|
||||
"integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "individual",
|
||||
"url": "https://paulmillr.com/funding/"
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"anymatch": "~3.1.2",
|
||||
"braces": "~3.0.2",
|
||||
@@ -277,13 +283,13 @@
|
||||
}
|
||||
},
|
||||
"node_modules/chromedriver": {
|
||||
"version": "97.0.0",
|
||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-97.0.0.tgz",
|
||||
"integrity": "sha512-SZ9MW+/6/Ypz20CNdRKocsmRM2AJ/YwHaWpA1Np2QVPFUbhjhus6vBtqFD+l8M5qrktLWPQSjTwIsDckNfXIRg==",
|
||||
"version": "100.0.0",
|
||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-100.0.0.tgz",
|
||||
"integrity": "sha512-oLfB0IgFEGY9qYpFQO/BNSXbPw7bgfJUN5VX8Okps9W2qNT4IqKh5hDwKWtpUIQNI6K3ToWe2/J5NdpurTY02g==",
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"@testim/chrome-version": "^1.0.7",
|
||||
"axios": "^0.21.2",
|
||||
"@testim/chrome-version": "^1.1.2",
|
||||
"axios": "^0.24.0",
|
||||
"del": "^6.0.0",
|
||||
"extract-zip": "^2.0.1",
|
||||
"https-proxy-agent": "^5.0.0",
|
||||
@@ -403,9 +409,9 @@
|
||||
"integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ=="
|
||||
},
|
||||
"node_modules/debug": {
|
||||
"version": "4.3.2",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz",
|
||||
"integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==",
|
||||
"version": "4.3.3",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz",
|
||||
"integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==",
|
||||
"dependencies": {
|
||||
"ms": "2.1.2"
|
||||
},
|
||||
@@ -618,9 +624,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/follow-redirects": {
|
||||
"version": "1.14.4",
|
||||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.4.tgz",
|
||||
"integrity": "sha512-zwGkiSXC1MUJG/qmeIFH2HBJx9u0V46QGUe3YR1fXG8bXQxq7fLj0RjLZQ5nubr9qNJUZrH+xUcwXEoXNpfS+g==",
|
||||
"version": "1.14.7",
|
||||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.7.tgz",
|
||||
"integrity": "sha512-+hbxoLbFMbRKDwohX8GkTataGqO6Jb7jGwpAlwgy2bIz25XtRm7KEzJM76R1WiNT5SwZkX4Y75SwBolkpmE7iQ==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "individual",
|
||||
@@ -733,9 +739,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/glob": {
|
||||
"version": "7.1.6",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
|
||||
"integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
|
||||
"version": "7.2.0",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz",
|
||||
"integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==",
|
||||
"dependencies": {
|
||||
"fs.realpath": "^1.0.0",
|
||||
"inflight": "^1.0.4",
|
||||
@@ -1136,31 +1142,31 @@
|
||||
}
|
||||
},
|
||||
"node_modules/mocha": {
|
||||
"version": "9.1.4",
|
||||
"resolved": "https://registry.npmjs.org/mocha/-/mocha-9.1.4.tgz",
|
||||
"integrity": "sha512-+q2aV5VlJZuLgCWoBvGI5zEwPF9eEI0kr/sAA9Jm4xMND7RfIEyF8JE7C0JIg8WXRG+P1sdIAb5ccoHPlXLzcw==",
|
||||
"version": "9.2.2",
|
||||
"resolved": "https://registry.npmjs.org/mocha/-/mocha-9.2.2.tgz",
|
||||
"integrity": "sha512-L6XC3EdwT6YrIk0yXpavvLkn8h+EU+Y5UcCHKECyMbdUIxyMuZj4bX4U9e1nvnvUUvQVsV2VHQr5zLdcUkhW/g==",
|
||||
"dependencies": {
|
||||
"@ungap/promise-all-settled": "1.1.2",
|
||||
"ansi-colors": "4.1.1",
|
||||
"browser-stdout": "1.3.1",
|
||||
"chokidar": "3.5.2",
|
||||
"debug": "4.3.2",
|
||||
"chokidar": "3.5.3",
|
||||
"debug": "4.3.3",
|
||||
"diff": "5.0.0",
|
||||
"escape-string-regexp": "4.0.0",
|
||||
"find-up": "5.0.0",
|
||||
"glob": "7.1.7",
|
||||
"glob": "7.2.0",
|
||||
"growl": "1.10.5",
|
||||
"he": "1.2.0",
|
||||
"js-yaml": "4.1.0",
|
||||
"log-symbols": "4.1.0",
|
||||
"minimatch": "3.0.4",
|
||||
"minimatch": "4.2.1",
|
||||
"ms": "2.1.3",
|
||||
"nanoid": "3.1.25",
|
||||
"nanoid": "3.3.1",
|
||||
"serialize-javascript": "6.0.0",
|
||||
"strip-json-comments": "3.1.1",
|
||||
"supports-color": "8.1.1",
|
||||
"which": "2.0.2",
|
||||
"workerpool": "6.1.5",
|
||||
"workerpool": "6.2.0",
|
||||
"yargs": "16.2.0",
|
||||
"yargs-parser": "20.2.4",
|
||||
"yargs-unparser": "2.0.0"
|
||||
@@ -1177,23 +1183,15 @@
|
||||
"url": "https://opencollective.com/mochajs"
|
||||
}
|
||||
},
|
||||
"node_modules/mocha/node_modules/glob": {
|
||||
"version": "7.1.7",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz",
|
||||
"integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==",
|
||||
"node_modules/mocha/node_modules/minimatch": {
|
||||
"version": "4.2.1",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-4.2.1.tgz",
|
||||
"integrity": "sha512-9Uq1ChtSZO+Mxa/CL1eGizn2vRn3MlLgzhT0Iz8zaY8NdvxvB0d5QdPFmCKf7JKA9Lerx5vRrnwO03jsSfGG9g==",
|
||||
"dependencies": {
|
||||
"fs.realpath": "^1.0.0",
|
||||
"inflight": "^1.0.4",
|
||||
"inherits": "2",
|
||||
"minimatch": "^3.0.4",
|
||||
"once": "^1.3.0",
|
||||
"path-is-absolute": "^1.0.0"
|
||||
"brace-expansion": "^1.1.7"
|
||||
},
|
||||
"engines": {
|
||||
"node": "*"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
"node": ">=10"
|
||||
}
|
||||
},
|
||||
"node_modules/mocha/node_modules/ms": {
|
||||
@@ -1207,9 +1205,9 @@
|
||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
||||
},
|
||||
"node_modules/nanoid": {
|
||||
"version": "3.1.25",
|
||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.25.tgz",
|
||||
"integrity": "sha512-rdwtIXaXCLFAQbnfqDRnI6jaRHp9fTcYBjtFKE8eezcZ7LuLjhUaQGNeMXf1HmRoCH32CLz6XwX0TtxEOS/A3Q==",
|
||||
"version": "3.3.1",
|
||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz",
|
||||
"integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==",
|
||||
"bin": {
|
||||
"nanoid": "bin/nanoid.cjs"
|
||||
},
|
||||
@@ -1575,22 +1573,6 @@
|
||||
"node": ">=6.4.0 <13 || >=14"
|
||||
}
|
||||
},
|
||||
"node_modules/superagent/node_modules/debug": {
|
||||
"version": "4.3.3",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz",
|
||||
"integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==",
|
||||
"dependencies": {
|
||||
"ms": "2.1.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6.0"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"supports-color": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/superagent/node_modules/readable-stream": {
|
||||
"version": "3.6.0",
|
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
|
||||
@@ -1685,9 +1667,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/workerpool": {
|
||||
"version": "6.1.5",
|
||||
"resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.1.5.tgz",
|
||||
"integrity": "sha512-XdKkCK0Zqc6w3iTxLckiuJ81tiD/o5rBE/m+nXpRCB+/Sq4DqkfXZ/x0jW02DG1tGsfUGXbTJyZDP+eu67haSw=="
|
||||
"version": "6.2.0",
|
||||
"resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.0.tgz",
|
||||
"integrity": "sha512-Rsk5qQHJ9eowMH28Jwhe8HEbmdYDX4lwoMWshiCXugjtHqMD9ZbiqSDLxcsfdqsETPzVUtX5s1Z5kStiIM6l4A=="
|
||||
},
|
||||
"node_modules/wrap-ansi": {
|
||||
"version": "7.0.0",
|
||||
@@ -1908,9 +1890,9 @@
|
||||
}
|
||||
},
|
||||
"@testim/chrome-version": {
|
||||
"version": "1.0.7",
|
||||
"resolved": "https://registry.npmjs.org/@testim/chrome-version/-/chrome-version-1.0.7.tgz",
|
||||
"integrity": "sha512-8UT/J+xqCYfn3fKtOznAibsHpiuDshCb0fwgWxRazTT19Igp9ovoXMPhXyLD6m3CKQGTMHgqoxaFfMWaL40Rnw=="
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@testim/chrome-version/-/chrome-version-1.1.2.tgz",
|
||||
"integrity": "sha512-1c4ZOETSRpI0iBfIFUqU4KqwBAB2lHUAlBjZz/YqOHqwM9dTTzjV6Km0ZkiEiSCx/tLr1BtESIKyWWMww+RUqw=="
|
||||
},
|
||||
"@types/node": {
|
||||
"version": "16.9.1",
|
||||
@@ -1992,11 +1974,11 @@
|
||||
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
|
||||
},
|
||||
"axios": {
|
||||
"version": "0.21.4",
|
||||
"resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz",
|
||||
"integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==",
|
||||
"version": "0.24.0",
|
||||
"resolved": "https://registry.npmjs.org/axios/-/axios-0.24.0.tgz",
|
||||
"integrity": "sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==",
|
||||
"requires": {
|
||||
"follow-redirects": "^1.14.0"
|
||||
"follow-redirects": "^1.14.4"
|
||||
}
|
||||
},
|
||||
"balanced-match": {
|
||||
@@ -2070,9 +2052,9 @@
|
||||
}
|
||||
},
|
||||
"chokidar": {
|
||||
"version": "3.5.2",
|
||||
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz",
|
||||
"integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==",
|
||||
"version": "3.5.3",
|
||||
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
|
||||
"integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",
|
||||
"requires": {
|
||||
"anymatch": "~3.1.2",
|
||||
"braces": "~3.0.2",
|
||||
@@ -2085,12 +2067,12 @@
|
||||
}
|
||||
},
|
||||
"chromedriver": {
|
||||
"version": "97.0.0",
|
||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-97.0.0.tgz",
|
||||
"integrity": "sha512-SZ9MW+/6/Ypz20CNdRKocsmRM2AJ/YwHaWpA1Np2QVPFUbhjhus6vBtqFD+l8M5qrktLWPQSjTwIsDckNfXIRg==",
|
||||
"version": "100.0.0",
|
||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-100.0.0.tgz",
|
||||
"integrity": "sha512-oLfB0IgFEGY9qYpFQO/BNSXbPw7bgfJUN5VX8Okps9W2qNT4IqKh5hDwKWtpUIQNI6K3ToWe2/J5NdpurTY02g==",
|
||||
"requires": {
|
||||
"@testim/chrome-version": "^1.0.7",
|
||||
"axios": "^0.21.2",
|
||||
"@testim/chrome-version": "^1.1.2",
|
||||
"axios": "^0.24.0",
|
||||
"del": "^6.0.0",
|
||||
"extract-zip": "^2.0.1",
|
||||
"https-proxy-agent": "^5.0.0",
|
||||
@@ -2185,9 +2167,9 @@
|
||||
"integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ=="
|
||||
},
|
||||
"debug": {
|
||||
"version": "4.3.2",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz",
|
||||
"integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==",
|
||||
"version": "4.3.3",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz",
|
||||
"integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==",
|
||||
"requires": {
|
||||
"ms": "2.1.2"
|
||||
}
|
||||
@@ -2339,9 +2321,9 @@
|
||||
"integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ=="
|
||||
},
|
||||
"follow-redirects": {
|
||||
"version": "1.14.4",
|
||||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.4.tgz",
|
||||
"integrity": "sha512-zwGkiSXC1MUJG/qmeIFH2HBJx9u0V46QGUe3YR1fXG8bXQxq7fLj0RjLZQ5nubr9qNJUZrH+xUcwXEoXNpfS+g=="
|
||||
"version": "1.14.7",
|
||||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.7.tgz",
|
||||
"integrity": "sha512-+hbxoLbFMbRKDwohX8GkTataGqO6Jb7jGwpAlwgy2bIz25XtRm7KEzJM76R1WiNT5SwZkX4Y75SwBolkpmE7iQ=="
|
||||
},
|
||||
"form-data": {
|
||||
"version": "4.0.0",
|
||||
@@ -2411,9 +2393,9 @@
|
||||
}
|
||||
},
|
||||
"glob": {
|
||||
"version": "7.1.6",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
|
||||
"integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
|
||||
"version": "7.2.0",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz",
|
||||
"integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==",
|
||||
"requires": {
|
||||
"fs.realpath": "^1.0.0",
|
||||
"inflight": "^1.0.4",
|
||||
@@ -2694,47 +2676,42 @@
|
||||
}
|
||||
},
|
||||
"mocha": {
|
||||
"version": "9.1.4",
|
||||
"resolved": "https://registry.npmjs.org/mocha/-/mocha-9.1.4.tgz",
|
||||
"integrity": "sha512-+q2aV5VlJZuLgCWoBvGI5zEwPF9eEI0kr/sAA9Jm4xMND7RfIEyF8JE7C0JIg8WXRG+P1sdIAb5ccoHPlXLzcw==",
|
||||
"version": "9.2.2",
|
||||
"resolved": "https://registry.npmjs.org/mocha/-/mocha-9.2.2.tgz",
|
||||
"integrity": "sha512-L6XC3EdwT6YrIk0yXpavvLkn8h+EU+Y5UcCHKECyMbdUIxyMuZj4bX4U9e1nvnvUUvQVsV2VHQr5zLdcUkhW/g==",
|
||||
"requires": {
|
||||
"@ungap/promise-all-settled": "1.1.2",
|
||||
"ansi-colors": "4.1.1",
|
||||
"browser-stdout": "1.3.1",
|
||||
"chokidar": "3.5.2",
|
||||
"debug": "4.3.2",
|
||||
"chokidar": "3.5.3",
|
||||
"debug": "4.3.3",
|
||||
"diff": "5.0.0",
|
||||
"escape-string-regexp": "4.0.0",
|
||||
"find-up": "5.0.0",
|
||||
"glob": "7.1.7",
|
||||
"glob": "7.2.0",
|
||||
"growl": "1.10.5",
|
||||
"he": "1.2.0",
|
||||
"js-yaml": "4.1.0",
|
||||
"log-symbols": "4.1.0",
|
||||
"minimatch": "3.0.4",
|
||||
"minimatch": "4.2.1",
|
||||
"ms": "2.1.3",
|
||||
"nanoid": "3.1.25",
|
||||
"nanoid": "3.3.1",
|
||||
"serialize-javascript": "6.0.0",
|
||||
"strip-json-comments": "3.1.1",
|
||||
"supports-color": "8.1.1",
|
||||
"which": "2.0.2",
|
||||
"workerpool": "6.1.5",
|
||||
"workerpool": "6.2.0",
|
||||
"yargs": "16.2.0",
|
||||
"yargs-parser": "20.2.4",
|
||||
"yargs-unparser": "2.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"glob": {
|
||||
"version": "7.1.7",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz",
|
||||
"integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==",
|
||||
"minimatch": {
|
||||
"version": "4.2.1",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-4.2.1.tgz",
|
||||
"integrity": "sha512-9Uq1ChtSZO+Mxa/CL1eGizn2vRn3MlLgzhT0Iz8zaY8NdvxvB0d5QdPFmCKf7JKA9Lerx5vRrnwO03jsSfGG9g==",
|
||||
"requires": {
|
||||
"fs.realpath": "^1.0.0",
|
||||
"inflight": "^1.0.4",
|
||||
"inherits": "2",
|
||||
"minimatch": "^3.0.4",
|
||||
"once": "^1.3.0",
|
||||
"path-is-absolute": "^1.0.0"
|
||||
"brace-expansion": "^1.1.7"
|
||||
}
|
||||
},
|
||||
"ms": {
|
||||
@@ -2750,9 +2727,9 @@
|
||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
||||
},
|
||||
"nanoid": {
|
||||
"version": "3.1.25",
|
||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.25.tgz",
|
||||
"integrity": "sha512-rdwtIXaXCLFAQbnfqDRnI6jaRHp9fTcYBjtFKE8eezcZ7LuLjhUaQGNeMXf1HmRoCH32CLz6XwX0TtxEOS/A3Q=="
|
||||
"version": "3.3.1",
|
||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz",
|
||||
"integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw=="
|
||||
},
|
||||
"normalize-path": {
|
||||
"version": "3.0.0",
|
||||
@@ -2996,14 +2973,6 @@
|
||||
"semver": "^7.3.5"
|
||||
},
|
||||
"dependencies": {
|
||||
"debug": {
|
||||
"version": "4.3.3",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz",
|
||||
"integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==",
|
||||
"requires": {
|
||||
"ms": "2.1.2"
|
||||
}
|
||||
},
|
||||
"readable-stream": {
|
||||
"version": "3.6.0",
|
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
|
||||
@@ -3073,9 +3042,9 @@
|
||||
}
|
||||
},
|
||||
"workerpool": {
|
||||
"version": "6.1.5",
|
||||
"resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.1.5.tgz",
|
||||
"integrity": "sha512-XdKkCK0Zqc6w3iTxLckiuJ81tiD/o5rBE/m+nXpRCB+/Sq4DqkfXZ/x0jW02DG1tGsfUGXbTJyZDP+eu67haSw=="
|
||||
"version": "6.2.0",
|
||||
"resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.0.tgz",
|
||||
"integrity": "sha512-Rsk5qQHJ9eowMH28Jwhe8HEbmdYDX4lwoMWshiCXugjtHqMD9ZbiqSDLxcsfdqsETPzVUtX5s1Z5kStiIM6l4A=="
|
||||
},
|
||||
"wrap-ansi": {
|
||||
"version": "7.0.0",
|
||||
|
@@ -9,9 +9,9 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"chromedriver": "^97.0.0",
|
||||
"chromedriver": "^100.0.0",
|
||||
"expect.js": "^0.3.1",
|
||||
"mocha": "^9.1.4",
|
||||
"mocha": "^9.2.2",
|
||||
"selenium-webdriver": "^4.1.1",
|
||||
"superagent": "^7.1.1"
|
||||
}
|
||||
|
45
test/test.js
45
test/test.js
@@ -54,55 +54,26 @@ describe('Application life cycle test', function () {
|
||||
await browser.findElement(By.id('accessKey')).sendKeys(accessKey);
|
||||
await browser.findElement(By.id('secretKey')).sendKeys(secretKey);
|
||||
await browser.findElement(By.xpath('//button[contains(text(), "Login")]')).click();
|
||||
await waitForElement(By.xpath('//h4[contains(text(), "Dashboard")]'));
|
||||
}
|
||||
|
||||
async function old_login(accessKey='minioadmin', secretKey='minioadmin') {
|
||||
await browser.get(`https://${app.fqdn}/minio/login`);
|
||||
await waitForElement(By.id('accessKey'));
|
||||
await browser.findElement(By.id('accessKey')).sendKeys(accessKey);
|
||||
await browser.findElement(By.id('secretKey')).sendKeys(secretKey);
|
||||
await browser.findElement(By.xpath('//button[@type="submit"]')).click();
|
||||
await waitForElement(By.xpath('//input[@placeholder="Search Buckets..."]'));
|
||||
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
|
||||
}
|
||||
|
||||
async function logout() {
|
||||
await browser.get(`https://${app.fqdn}/`);
|
||||
await waitForElement(By.xpath('//div/span[contains(text(), "Dashboard")]'));
|
||||
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
|
||||
await browser.findElement(By.xpath('//div/span[contains(text(), "Logout")]')).click();
|
||||
await waitForElement(By.id('accessKey'));
|
||||
}
|
||||
|
||||
async function old_logout() {
|
||||
await browser.get(`https://${app.fqdn}/`);
|
||||
await waitForElement(By.xpath('//input[@placeholder="Search Buckets..."]'));
|
||||
await browser.findElement(By.xpath('//div/button[@id="top-right-menu"]')).click();
|
||||
await browser.findElement(By.xpath('//ul/li/a[@id="logout"]')).click();
|
||||
await waitForElement(By.id('accessKey'));
|
||||
}
|
||||
|
||||
async function addBucket() {
|
||||
await browser.get(`https://${app.fqdn}/`);
|
||||
await waitForElement(By.xpath('//div/span[contains(text(), "Bucket")]'));
|
||||
await browser.findElement(By.xpath('//div/span[contains(text(), "Bucket")]')).click();
|
||||
await waitForElement(By.xpath('//button[text()="Create Bucket"]'));
|
||||
await browser.findElement(By.xpath('//button[text()="Create Bucket"]')).click();
|
||||
await browser.get(`https://${app.fqdn}/buckets`);
|
||||
await waitForElement(By.xpath('//button/span[text()="Create Bucket"]'));
|
||||
await browser.findElement(By.xpath('//button/span[text()="Create Bucket"]')).click();
|
||||
await browser.sleep(2000);
|
||||
await browser.findElement(By.xpath('//input[@id="bucket-name"]')).sendKeys(BUCKET);
|
||||
await browser.findElement(By.xpath('//button[text()="Create Bucket"]')).click();
|
||||
await waitForElement(By.xpath(`//a[contains(text(), "${BUCKET}")]`));
|
||||
}
|
||||
|
||||
async function old_addBucket() {
|
||||
await browser.get(`https://${app.fqdn}/`);
|
||||
await waitForElement(By.xpath('//input[@placeholder="Search Buckets..."]'));
|
||||
await browser.findElement(By.xpath('//div/button[@id="fe-action-toggle"]')).click();
|
||||
await browser.findElement(By.xpath('//ul/a[@id="show-make-bucket"]')).click();
|
||||
await browser.findElement(By.xpath('//input[@placeholder="Bucket Name"]')).sendKeys(BUCKET);
|
||||
await browser.findElement(By.xpath('//*[@class="modal-body"]/form')).submit();
|
||||
await waitForElement(By.xpath(`//*[@class="main"]/a[text()="${BUCKET}"]`));
|
||||
}
|
||||
|
||||
async function checkBucket() {
|
||||
await browser.get(`https://${app.fqdn}/buckets`);
|
||||
await waitForElement(By.xpath(`//h1[contains(text(), "${BUCKET}")]`));
|
||||
@@ -182,9 +153,9 @@ describe('Application life cycle test', function () {
|
||||
it('can install app', function () { execSync('cloudron install --appstore-id io.minio.cloudronapp --location ' + LOCATION, EXEC_ARGS); });
|
||||
it('can get app information', getAppInfo);
|
||||
|
||||
it('can login', old_login.bind(null, 'minioadmin', 'minioadmin'));
|
||||
it('can add buckets', old_addBucket);
|
||||
it('can logout', old_logout);
|
||||
it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
|
||||
it('can add buckets', addBucket);
|
||||
it('can logout', logout);
|
||||
it('can update', function () { execSync(`cloudron update --app ${LOCATION}`, EXEC_ARGS); });
|
||||
it('can configure', function () { execSync(`cloudron configure --app ${LOCATION} --location ${LOCATION} --secondary-domains API_SERVER_DOMAIN=${LOCATION}-api`, EXEC_ARGS); });
|
||||
it('can get app information', getAppInfo);
|
||||
|
Reference in New Issue
Block a user