mirror of
https://git.cloudron.io/cloudron/minio-app
synced 2025-09-13 08:19:12 +00:00
Compare commits
21 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
b0dad70e87 | ||
|
fd3dee438d | ||
|
b6fce9a3a7 | ||
|
1a8f99b140 | ||
|
daad5e6942 | ||
|
88340ce812 | ||
|
60ea2849e1 | ||
|
c021c66390 | ||
|
2d9ad57e0b | ||
|
dcd3063a72 | ||
|
597feab31e | ||
|
49ef4e7e7d | ||
|
5e1370d29d | ||
|
092b769513 | ||
|
0775dc3071 | ||
|
151aeec9cd | ||
|
1e85285b69 | ||
|
024836d91c | ||
|
fd100bda55 | ||
|
0a72a3bd3d | ||
|
e16ce9c9ad |
66
CHANGELOG
66
CHANGELOG
@@ -2807,3 +2807,69 @@ Improve replication performance. See (#12080, #12054, #12009) for more details.
|
|||||||
* [@​1911860538](https://github.com/1911860538) made their first contribution in https://github.com/minio/minio/pull/20939
|
* [@​1911860538](https://github.com/1911860538) made their first contribution in https://github.com/minio/minio/pull/20939
|
||||||
* [@​felixrodrigo19](https://github.com/felixrodrigo19) made their first contribution in https://github.com/minio/minio/pull/20943
|
* [@​felixrodrigo19](https://github.com/felixrodrigo19) made their first contribution in https://github.com/minio/minio/pull/20943
|
||||||
|
|
||||||
|
[4.1.3]
|
||||||
|
* Update minio to RELEASE.2025-02-28T09-55-16Z
|
||||||
|
* [Full Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2025-02-28T09-55-16Z)
|
||||||
|
* Fix importIAM issue with importing implied policies by [@​taran-p](https://github.com/taran-p) in https://github.com/minio/minio/pull/20956
|
||||||
|
* Update SRSvcAccCreate with new type by [@​taran-p](https://github.com/taran-p) in https://github.com/minio/minio/pull/20974
|
||||||
|
* build(deps): bump github.com/go-jose/go-jose/v4 from 4.0.4 to 4.0.5 by [@​dependabot](https://github.com/dependabot) in https://github.com/minio/minio/pull/20976
|
||||||
|
* Fix typos by [@​triplechecker-com](https://github.com/triplechecker-com) in https://github.com/minio/minio/pull/20970
|
||||||
|
* Update golang.org/x/crypto to address govulncheck complaint by [@​vadmeste](https://github.com/vadmeste) in https://github.com/minio/minio/pull/20983
|
||||||
|
* Allow disabling of all X-Forwarded-For header processing by [@​marktheunissen](https://github.com/marktheunissen) in https://github.com/minio/minio/pull/20977
|
||||||
|
* check for errors on bitrotWriter Close() by [@​vadmeste](https://github.com/vadmeste) in https://github.com/minio/minio/pull/20982
|
||||||
|
* replication: set checksum type correctly by [@​poornas](https://github.com/poornas) in https://github.com/minio/minio/pull/20985
|
||||||
|
* fix: SFTP auth bypass with no pub key in LDAP by [@​donatello](https://github.com/donatello) in https://github.com/minio/minio/pull/20986
|
||||||
|
* Fix healing probability for skipped folders by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20988
|
||||||
|
* [@​triplechecker-com](https://github.com/triplechecker-com) made their first contribution in https://github.com/minio/minio/pull/20970
|
||||||
|
|
||||||
|
[4.2.0]
|
||||||
|
* Update minio to RELEASE.2025-03-12T18-04-18Z
|
||||||
|
* [Full Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2025-03-12T18-04-18Z)
|
||||||
|
* Enforce a bucket limit of 100 to v2 metrics calls by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20761
|
||||||
|
* Update typos config by [@​donatello](https://github.com/donatello) in https://github.com/minio/minio/pull/21018
|
||||||
|
* Update ssh and jws libs for fixed CVEs by [@​donatello](https://github.com/donatello) in https://github.com/minio/minio/pull/21017
|
||||||
|
* Disable unstable test by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20996
|
||||||
|
* decom: Ignore not found buckets ([#​509](https://github.com/minio/minio/issues/509)) by [@​vadmeste](https://github.com/vadmeste) in https://github.com/minio/minio/pull/21023
|
||||||
|
|
||||||
|
[4.3.0]
|
||||||
|
* Update base image to 5.0.0
|
||||||
|
|
||||||
|
[4.4.0]
|
||||||
|
* Update minio to RELEASE.2025-04-03T14-56-28Z
|
||||||
|
* [Full Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2025-04-03T14-56-28Z)
|
||||||
|
* fix(templates): replace dash with underscore by [@itsJohnySmith](https://github.com/itsJohnySmith) in https://github.com/minio/minio/pull/19566
|
||||||
|
* Updating PromQL queries to include tilde needed to work with 'all' variable by [@excircle](https://github.com/excircle) in https://github.com/minio/minio/pull/21054
|
||||||
|
* Add new API endpoint to revoke STS tokens by [@taran-p](https://github.com/taran-p) in https://github.com/minio/minio/pull/21072
|
||||||
|
* fix call toAPIErrorCode with a nil value error after check another err by [@alingse](https://github.com/alingse) in https://github.com/minio/minio/pull/21083
|
||||||
|
* fix: token is invalid for admin heal when minio is distErasure at windows by [@jiuker](https://github.com/jiuker) in https://github.com/minio/minio/pull/21092
|
||||||
|
* internal: add handling of KVS config parse by [@wooffie](https://github.com/wooffie) in https://github.com/minio/minio/pull/21079
|
||||||
|
* Fix anonymous unsigned trailing headers by [@klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/21095
|
||||||
|
* Fix: Change TTFB metric type to histogram by [@iamsagar99](https://github.com/iamsagar99) in https://github.com/minio/minio/pull/20999
|
||||||
|
* Try reconnect IAM systems if failed initially by [@shtripat](https://github.com/shtripat) in https://github.com/minio/minio/pull/20333
|
||||||
|
* Fix evaluation of NewerNoncurrentVersions by [@krisis](https://github.com/krisis) in https://github.com/minio/minio/pull/21096
|
||||||
|
|
||||||
|
[4.4.1]
|
||||||
|
* Update minio to RELEASE.2025-04-08T15-41-24Z
|
||||||
|
* [Full Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2025-04-08T15-41-24Z)
|
||||||
|
* decom: Ignore orphan delete markers in verification stage by [@​vadmeste](https://github.com/vadmeste) in https://github.com/minio/minio/pull/21106
|
||||||
|
* ilm: Expect objects with only free versions when scanning by [@​krisis](https://github.com/krisis) in https://github.com/minio/minio/pull/21112
|
||||||
|
|
||||||
|
[4.4.2]
|
||||||
|
* Update minio to RELEASE.2025-04-22T22-12-26Z
|
||||||
|
* [Full Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2025-04-22T22-12-26Z)
|
||||||
|
* move to go1.24 by [@harshavardhana](https://github.com/harshavardhana) in https://github.com/minio/minio/pull/21114
|
||||||
|
* Fix buffered streams missing final entries by [@klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/21122
|
||||||
|
* typo: fix error msg for decoding XL headers by [@wooffie](https://github.com/wooffie) in https://github.com/minio/minio/pull/21120
|
||||||
|
* typo: fix return of checkDiskFatalErrs by [@wooffie](https://github.com/wooffie) in https://github.com/minio/minio/pull/21121
|
||||||
|
* Fix shared error buffer by [@klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/21203
|
||||||
|
* support autogenerated credentials for KMS_SECRET_KEY properly by [@harshavardhana](https://github.com/harshavardhana) in https://github.com/minio/minio/pull/21223
|
||||||
|
* fix: batch expiry job doesn't report delete marker in batch-status me by [@jiuker](https://github.com/jiuker) in https://github.com/minio/minio/pull/21183
|
||||||
|
* Nats tls handshake first by [@matthewdavidlloyd](https://github.com/matthewdavidlloyd) in https://github.com/minio/minio/pull/21008
|
||||||
|
|
||||||
|
[5.0.0]
|
||||||
|
* Update minio to RELEASE.2025-05-24T17-08-30Z
|
||||||
|
* [Full Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2025-05-24T17-08-30Z)
|
||||||
|
* **BREAKING RELEASE:** Embedded UI Console is now deprecated and moved to object-browser
|
||||||
|
* **IMPORTANT:** MinIO has decided to [remove all administration features](https://github.com/minio/object-browser/pull/3509) from the console. The UI now only has an object browser. You must now use the `mc` CLI tool for creating keys and setting up permissions.
|
||||||
|
* **IMPORANT**: OIDC Auth has been removed upstream as well. You can only access MinIO using admin credentials after this update. [Access key creation is no longer possible](https://github.com/minio/minio/issues/21344) .
|
||||||
|
|
||||||
|
@@ -5,8 +5,8 @@
|
|||||||
"description": "file://DESCRIPTION.md",
|
"description": "file://DESCRIPTION.md",
|
||||||
"changelog": "file://CHANGELOG",
|
"changelog": "file://CHANGELOG",
|
||||||
"tagline": "Distributed object storage",
|
"tagline": "Distributed object storage",
|
||||||
"version": "4.1.2",
|
"version": "5.0.0",
|
||||||
"upstreamVersion": "RELEASE.2025-02-18T16-25-55Z",
|
"upstreamVersion": "RELEASE.2025-05-24T17-08-30Z",
|
||||||
"healthCheckPath": "/minio/login",
|
"healthCheckPath": "/minio/login",
|
||||||
"memoryLimit": 2147483648,
|
"memoryLimit": 2147483648,
|
||||||
"httpPort": 8000,
|
"httpPort": 8000,
|
||||||
@@ -19,15 +19,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"addons": {
|
"addons": {
|
||||||
"localstorage": {},
|
"localstorage": {}
|
||||||
"oidc": {
|
|
||||||
"loginRedirectUri": "/oauth_callback"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"optionalSso": true,
|
"optionalSso": true,
|
||||||
"checklist": {
|
"checklist": {
|
||||||
"change-default-password": {
|
"change-default-password": {
|
||||||
"sso": false,
|
|
||||||
"message": "Change the default admin credentials by following this [guide](https://cloudron.io/documentation/apps/minio/#admin-credentials)"
|
"message": "Change the default admin credentials by following this [guide](https://cloudron.io/documentation/apps/minio/#admin-credentials)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768ba473078319a47f4
|
FROM cloudron/base:5.0.0@sha256:04fd70dbd8ad6149c19de39e35718e024417c3e01dc9c6637eaf4a41ec4e596c
|
||||||
|
|
||||||
RUN mkdir -p /app/code
|
RUN mkdir -p /app/code
|
||||||
WORKDIR /app/code
|
WORKDIR /app/code
|
||||||
|
|
||||||
# renovate: datasource=github-releases depName=minio/minio versioning=regex:^RELEASE\.(?<major>\d{4})-(?<minor>\d{2})-(?<patch>\d{2})T(?<build>.+)
|
# renovate: datasource=github-releases depName=minio/minio versioning=regex:^RELEASE\.(?<major>\d{4})-(?<minor>\d{2})-(?<patch>\d{2})T(?<build>.+)
|
||||||
ARG MINIO_VERSION=RELEASE.2025-02-18T16-25-55Z
|
ARG MINIO_VERSION=RELEASE.2025-05-24T17-08-30Z
|
||||||
|
|
||||||
RUN wget https://dl.min.io/server/minio/release/linux-amd64/archive/minio.${MINIO_VERSION} -O /app/code/minio && chmod +x /app/code/minio
|
RUN wget https://dl.min.io/server/minio/release/linux-amd64/archive/minio.${MINIO_VERSION} -O /app/code/minio && chmod +x /app/code/minio
|
||||||
|
|
||||||
|
@@ -1,18 +1,5 @@
|
|||||||
<nosso>
|
|
||||||
Please use the following credentials to login:
|
Please use the following credentials to login:
|
||||||
|
|
||||||
**Username**: minioadmin<br/>
|
**Username**: minioadmin<br/>
|
||||||
**Password**: minioadmin<br/>
|
**Password**: minioadmin<br/>
|
||||||
|
|
||||||
</nosso>
|
|
||||||
|
|
||||||
<sso>
|
|
||||||
|
|
||||||
Please use the following credentials to login via 'Other Authentication Methods' -> 'Use Credentials':
|
|
||||||
|
|
||||||
**Username**: minioadmin<br/>
|
|
||||||
**Password**: See `MINIO_ROOT_PASSWORD` in `/app/data/env.sh` <a href="/frontend/filemanager.html#/viewer/app/$CLOUDRON-APP-ID/env.sh">Open File Manager</a><br/>
|
|
||||||
|
|
||||||
Cloudron users have `readwrite` access policy. See the [docs](https://cloudron.io/documentation/apps/minio/#admin-credentials) on how to change it.
|
|
||||||
|
|
||||||
</nosso>
|
|
||||||
|
BIN
logo.png
BIN
logo.png
Binary file not shown.
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 17 KiB |
10
logo.svg
10
logo.svg
@@ -26,22 +26,16 @@
|
|||||||
inkscape:pagecheckerboard="0"
|
inkscape:pagecheckerboard="0"
|
||||||
inkscape:deskcolor="#d1d1d1"
|
inkscape:deskcolor="#d1d1d1"
|
||||||
inkscape:zoom="0.98823083"
|
inkscape:zoom="0.98823083"
|
||||||
inkscape:cx="221.10219"
|
inkscape:cx="222.1141"
|
||||||
inkscape:cy="375.92432"
|
inkscape:cy="376.93623"
|
||||||
inkscape:window-width="1920"
|
inkscape:window-width="1920"
|
||||||
inkscape:window-height="1014"
|
inkscape:window-height="1014"
|
||||||
inkscape:window-x="0"
|
inkscape:window-x="0"
|
||||||
inkscape:window-y="0"
|
inkscape:window-y="0"
|
||||||
inkscape:window-maximized="1"
|
inkscape:window-maximized="1"
|
||||||
inkscape:current-layer="svg3" />
|
inkscape:current-layer="svg3" />
|
||||||
<path
|
|
||||||
d="m 28.05,3.51 9.44,15.45 a 0.18,0.18 0 0 1 0,0.21 0.17,0.17 0 0 1 -0.25,0 L 25.01,6.42 Z"
|
|
||||||
id="path1" />
|
|
||||||
<path
|
<path
|
||||||
d="m 156.67193,317.75421 a 286.44793,286.44793 0 0 1 56.74397,-80.47822 290.54005,290.54005 0 0 1 28.37199,-24.89369 v 61.3817 z m -49.10536,56.88038 134.22132,-68.20188 v 156.18233 l 30.21344,39.28427 V 290.47346 l 18.3463,-9.48007 a 91.049521,91.049521 0 0 0 25.0301,-144.04238 L 246.28921,64.725212 a 15.345425,15.345425 0 0 1 0.75022,-21.619998 15.413627,15.413627 0 0 1 21.6882,0.750221 l 9.68467,10.093879 20.46057,-19.914953 C 274.38839,2.2522814 244.31136,6.2761929 227.05628,22.167233 a 44.058422,44.058422 0 0 0 -1.90965,62.200124 l 69.83873,72.771413 a 62.336528,62.336528 0 0 1 -13.64038,96.02826 l -9.48006,4.91053 V 159.38943 A 315.97936,315.97936 0 0 0 107.56657,374.29359 Z"
|
d="m 156.67193,317.75421 a 286.44793,286.44793 0 0 1 56.74397,-80.47822 290.54005,290.54005 0 0 1 28.37199,-24.89369 v 61.3817 z m -49.10536,56.88038 134.22132,-68.20188 v 156.18233 l 30.21344,39.28427 V 290.47346 l 18.3463,-9.48007 a 91.049521,91.049521 0 0 0 25.0301,-144.04238 L 246.28921,64.725212 a 15.345425,15.345425 0 0 1 0.75022,-21.619998 15.413627,15.413627 0 0 1 21.6882,0.750221 l 9.68467,10.093879 20.46057,-19.914953 C 274.38839,2.2522814 244.31136,6.2761929 227.05628,22.167233 a 44.058422,44.058422 0 0 0 -1.90965,62.200124 l 69.83873,72.771413 a 62.336528,62.336528 0 0 1 -13.64038,96.02826 l -9.48006,4.91053 V 159.38943 A 315.97936,315.97936 0 0 0 107.56657,374.29359 Z"
|
||||||
id="path2"
|
id="path2"
|
||||||
style="fill:#cf163e;fill-opacity:1;stroke:none;stroke-width:6.82019" />
|
style="fill:#cf163e;fill-opacity:1;stroke:none;stroke-width:6.82019" />
|
||||||
<path
|
|
||||||
d="m 24.11,41.09 v 4.68 l -4.43,2.25 v -4.65 z"
|
|
||||||
id="path3" />
|
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 1.9 KiB |
21
start.sh
21
start.sh
@@ -8,13 +8,7 @@ mkdir -p /app/data/data /run/minio/config /run/minio/certs
|
|||||||
if [[ ! -f /app/data/env.sh ]]; then
|
if [[ ! -f /app/data/env.sh ]]; then
|
||||||
echo "=> First run"
|
echo "=> First run"
|
||||||
cp /app/code/env.sh.template /app/data/env.sh
|
cp /app/code/env.sh.template /app/data/env.sh
|
||||||
# minio does not show the password login by default when OIDC is setup (https://github.com/minio/minio/discussions/16928)
|
echo -e "export MINIO_ROOT_USER=minioadmin\nexport MINIO_ROOT_PASSWORD=minioadmin\n\n" >> /app/data/env.sh
|
||||||
# we generate a dynamic password because users might forget to change the admin password (with the oidc login being so click friendly)
|
|
||||||
if [[ -n "${CLOUDRON_OIDC_ISSUER:-}" ]]; then
|
|
||||||
echo -e "export MINIO_ROOT_USER=minioadmin\nexport MINIO_ROOT_PASSWORD=$(pwgen -1s 20)\n\n" >> /app/data/env.sh
|
|
||||||
else
|
|
||||||
echo -e "export MINIO_ROOT_USER=minioadmin\nexport MINIO_ROOT_PASSWORD=minioadmin\n\n" >> /app/data/env.sh
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source /app/data/env.sh
|
source /app/data/env.sh
|
||||||
@@ -28,19 +22,6 @@ if [[ ! -d /app/data/mc_config ]]; then
|
|||||||
/app/code/mc --config-dir /app/data/mc_config &> /dev/null || true
|
/app/code/mc --config-dir /app/data/mc_config &> /dev/null || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -n "${CLOUDRON_OIDC_ISSUER:-}" ]]; then
|
|
||||||
export MINIO_IDENTITY_OPENID_DISPLAY_NAME="${CLOUDRON_OIDC_PROVIDER_NAME:-Cloudron}"
|
|
||||||
export MINIO_IDENTITY_OPENID_CONFIG_URL="${CLOUDRON_OIDC_DISCOVERY_URL}"
|
|
||||||
export MINIO_IDENTITY_OPENID_CLIENT_ID="${CLOUDRON_OIDC_CLIENT_ID}"
|
|
||||||
export MINIO_IDENTITY_OPENID_CLIENT_SECRET="${CLOUDRON_OIDC_CLIENT_SECRET}"
|
|
||||||
export MINIO_IDENTITY_OPENID_SCOPES="openid profile email"
|
|
||||||
if [[ -z "${MINIO_IDENTITY_OPENID_ROLE_POLICY:-}" ]]; then
|
|
||||||
export MINIO_IDENTITY_OPENID_ROLE_POLICY="readwrite"
|
|
||||||
fi
|
|
||||||
|
|
||||||
export MINIO_IDENTITY_OPENID_COMMENT="Cloudron OIDC"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# minio is used for backups at times and has a large number of files. optimize by checking if files are actually in correct chown state
|
# minio is used for backups at times and has a large number of files. optimize by checking if files are actually in correct chown state
|
||||||
echo "==> Changing ownership"
|
echo "==> Changing ownership"
|
||||||
[[ $(stat --format '%U' /app/data/data) != "cloudron" ]] && chown -R cloudron:cloudron /app/data
|
[[ $(stat --format '%U' /app/data/data) != "cloudron" ]] && chown -R cloudron:cloudron /app/data
|
||||||
|
325
test/package-lock.json
generated
325
test/package-lock.json
generated
@@ -9,11 +9,12 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chromedriver": "^133.0.1",
|
"@eslint/js": "^9.28.0",
|
||||||
|
"chromedriver": "^136.0.3",
|
||||||
"expect.js": "^0.3.1",
|
"expect.js": "^0.3.1",
|
||||||
"mocha": "^11.1.0",
|
"mocha": "^11.5.0",
|
||||||
"selenium-webdriver": "^4.28.1",
|
"selenium-webdriver": "^4.33.0",
|
||||||
"superagent": "^10.1.1"
|
"superagent": "^10.2.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@bazel/runfiles": {
|
"node_modules/@bazel/runfiles": {
|
||||||
@@ -22,6 +23,18 @@
|
|||||||
"integrity": "sha512-1uLNT5NZsUVIGS4syuHwTzZ8HycMPyr6POA3FCE4GbMtc4rhoJk8aZKtNIRthJYfL+iioppi+rTfH3olMPr9nA==",
|
"integrity": "sha512-1uLNT5NZsUVIGS4syuHwTzZ8HycMPyr6POA3FCE4GbMtc4rhoJk8aZKtNIRthJYfL+iioppi+rTfH3olMPr9nA==",
|
||||||
"license": "Apache-2.0"
|
"license": "Apache-2.0"
|
||||||
},
|
},
|
||||||
|
"node_modules/@eslint/js": {
|
||||||
|
"version": "9.28.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.28.0.tgz",
|
||||||
|
"integrity": "sha512-fnqSjGWd/CoIp4EXIxWVK/sHA6DOHN4+8Ix2cX5ycOY7LG0UY8nHCU5pIp2eaE1Mc7Qd8kHspYNzYXT2ojPLzg==",
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://eslint.org/donate"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@isaacs/cliui": {
|
"node_modules/@isaacs/cliui": {
|
||||||
"version": "8.0.2",
|
"version": "8.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
|
||||||
@@ -39,6 +52,27 @@
|
|||||||
"node": ">=12"
|
"node": ">=12"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@noble/hashes": {
|
||||||
|
"version": "1.8.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz",
|
||||||
|
"integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==",
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": "^14.21.3 || >=16"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://paulmillr.com/funding/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@paralleldrive/cuid2": {
|
||||||
|
"version": "2.2.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/@paralleldrive/cuid2/-/cuid2-2.2.2.tgz",
|
||||||
|
"integrity": "sha512-ZOBkgDwEdoYVlSeRbYYXs0S9MejQofiVYoTbKzy/6GQa39/q5tQU2IX46+shYnUkpEl3wc+J6wRlar7r2EK2xA==",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@noble/hashes": "^1.1.5"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@pkgjs/parseargs": {
|
"node_modules/@pkgjs/parseargs": {
|
||||||
"version": "0.11.0",
|
"version": "0.11.0",
|
||||||
"resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
|
"resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
|
||||||
@@ -90,15 +124,6 @@
|
|||||||
"node": ">= 14"
|
"node": ">= 14"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/ansi-colors": {
|
|
||||||
"version": "4.1.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz",
|
|
||||||
"integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==",
|
|
||||||
"license": "MIT",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/ansi-regex": {
|
"node_modules/ansi-regex": {
|
||||||
"version": "6.1.0",
|
"version": "6.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz",
|
||||||
@@ -126,19 +151,6 @@
|
|||||||
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
|
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/anymatch": {
|
|
||||||
"version": "3.1.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
|
|
||||||
"integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
|
|
||||||
"license": "ISC",
|
|
||||||
"dependencies": {
|
|
||||||
"normalize-path": "^3.0.0",
|
|
||||||
"picomatch": "^2.0.4"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/argparse": {
|
"node_modules/argparse": {
|
||||||
"version": "2.0.1",
|
"version": "2.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
|
||||||
@@ -195,18 +207,6 @@
|
|||||||
"node": ">=10.0.0"
|
"node": ">=10.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/binary-extensions": {
|
|
||||||
"version": "2.3.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",
|
|
||||||
"integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",
|
|
||||||
"license": "MIT",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=8"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "https://github.com/sponsors/sindresorhus"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/brace-expansion": {
|
"node_modules/brace-expansion": {
|
||||||
"version": "2.0.1",
|
"version": "2.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
|
||||||
@@ -216,18 +216,6 @@
|
|||||||
"balanced-match": "^1.0.0"
|
"balanced-match": "^1.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/braces": {
|
|
||||||
"version": "3.0.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
|
|
||||||
"integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"fill-range": "^7.1.1"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/browser-stdout": {
|
"node_modules/browser-stdout": {
|
||||||
"version": "1.3.1",
|
"version": "1.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz",
|
"resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz",
|
||||||
@@ -313,33 +301,24 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/chokidar": {
|
"node_modules/chokidar": {
|
||||||
"version": "3.6.0",
|
"version": "4.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz",
|
||||||
"integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
|
"integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"anymatch": "~3.1.2",
|
"readdirp": "^4.0.1"
|
||||||
"braces": "~3.0.2",
|
|
||||||
"glob-parent": "~5.1.2",
|
|
||||||
"is-binary-path": "~2.1.0",
|
|
||||||
"is-glob": "~4.0.1",
|
|
||||||
"normalize-path": "~3.0.0",
|
|
||||||
"readdirp": "~3.6.0"
|
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 8.10.0"
|
"node": ">= 14.16.0"
|
||||||
},
|
},
|
||||||
"funding": {
|
"funding": {
|
||||||
"url": "https://paulmillr.com/funding/"
|
"url": "https://paulmillr.com/funding/"
|
||||||
},
|
|
||||||
"optionalDependencies": {
|
|
||||||
"fsevents": "~2.3.2"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/chromedriver": {
|
"node_modules/chromedriver": {
|
||||||
"version": "133.0.1",
|
"version": "136.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-133.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/chromedriver/-/chromedriver-136.0.3.tgz",
|
||||||
"integrity": "sha512-Z9VrJ9547daetazzP4k+7COj0PTtkomvtt8OZr8swTzsqDOzG0Xymdxg0dUtptc4da3X9Zts1iZoxOkm7blx/g==",
|
"integrity": "sha512-bE27WxCr8Fd12ZFvRWbkWgTvm9MF+le59U6MlxejO9bC9bPHp+IQfttsDMXThb05/M+/FOx8x2/0mQ50zG0kDg==",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -579,9 +558,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/diff": {
|
"node_modules/diff": {
|
||||||
"version": "5.2.0",
|
"version": "7.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/diff/-/diff-7.0.0.tgz",
|
||||||
"integrity": "sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==",
|
"integrity": "sha512-PJWHUb1RFevKCwaFA9RlG5tCd+FO5iRh9A8HEtkmBH2Li03iJriB6m6JIN4rGz3K3JLawI7/veA1xzRKP6ISBw==",
|
||||||
"license": "BSD-3-Clause",
|
"license": "BSD-3-Clause",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=0.3.1"
|
"node": ">=0.3.1"
|
||||||
@@ -765,18 +744,6 @@
|
|||||||
"pend": "~1.2.0"
|
"pend": "~1.2.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/fill-range": {
|
|
||||||
"version": "7.1.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
|
|
||||||
"integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"to-regex-range": "^5.0.1"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/find-up": {
|
"node_modules/find-up": {
|
||||||
"version": "5.0.0",
|
"version": "5.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
|
||||||
@@ -853,33 +820,22 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/formidable": {
|
"node_modules/formidable": {
|
||||||
"version": "3.5.2",
|
"version": "3.5.4",
|
||||||
"resolved": "https://registry.npmjs.org/formidable/-/formidable-3.5.2.tgz",
|
"resolved": "https://registry.npmjs.org/formidable/-/formidable-3.5.4.tgz",
|
||||||
"integrity": "sha512-Jqc1btCy3QzRbJaICGwKcBfGWuLADRerLzDqi2NwSt/UkXLsHJw2TVResiaoBufHVHy9aSgClOHCeJsSsFLTbg==",
|
"integrity": "sha512-YikH+7CUTOtP44ZTnUhR7Ic2UASBPOqmaRkRKxRbywPTe5VxF7RRCck4af9wutiZ/QKM5nME9Bie2fFaPz5Gug==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@paralleldrive/cuid2": "^2.2.2",
|
||||||
"dezalgo": "^1.0.4",
|
"dezalgo": "^1.0.4",
|
||||||
"hexoid": "^2.0.0",
|
|
||||||
"once": "^1.4.0"
|
"once": "^1.4.0"
|
||||||
},
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=14.0.0"
|
||||||
|
},
|
||||||
"funding": {
|
"funding": {
|
||||||
"url": "https://ko-fi.com/tunnckoCore/commissions"
|
"url": "https://ko-fi.com/tunnckoCore/commissions"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/fsevents": {
|
|
||||||
"version": "2.3.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
|
|
||||||
"integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
|
|
||||||
"hasInstallScript": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"darwin"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/function-bind": {
|
"node_modules/function-bind": {
|
||||||
"version": "1.1.2",
|
"version": "1.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
|
||||||
@@ -971,33 +927,6 @@
|
|||||||
"url": "https://github.com/sponsors/isaacs"
|
"url": "https://github.com/sponsors/isaacs"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/glob-parent": {
|
|
||||||
"version": "5.1.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
|
|
||||||
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
|
|
||||||
"license": "ISC",
|
|
||||||
"dependencies": {
|
|
||||||
"is-glob": "^4.0.1"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/glob/node_modules/minimatch": {
|
|
||||||
"version": "9.0.5",
|
|
||||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
|
|
||||||
"integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
|
|
||||||
"license": "ISC",
|
|
||||||
"dependencies": {
|
|
||||||
"brace-expansion": "^2.0.1"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=16 || 14 >=14.17"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "https://github.com/sponsors/isaacs"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/gopd": {
|
"node_modules/gopd": {
|
||||||
"version": "1.2.0",
|
"version": "1.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
|
||||||
@@ -1052,15 +981,6 @@
|
|||||||
"he": "bin/he"
|
"he": "bin/he"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/hexoid": {
|
|
||||||
"version": "2.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/hexoid/-/hexoid-2.0.0.tgz",
|
|
||||||
"integrity": "sha512-qlspKUK7IlSQv2o+5I7yhUd7TxlOG2Vr5LTa3ve2XSNVKAL/n/u/7KLvKmFNimomDIKvZFXWHv0T12mv7rT8Aw==",
|
|
||||||
"license": "MIT",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/http-proxy-agent": {
|
"node_modules/http-proxy-agent": {
|
||||||
"version": "7.0.2",
|
"version": "7.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz",
|
||||||
@@ -1121,27 +1041,6 @@
|
|||||||
"node": ">=8"
|
"node": ">=8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/is-binary-path": {
|
|
||||||
"version": "2.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
|
|
||||||
"integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"binary-extensions": "^2.0.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/is-extglob": {
|
|
||||||
"version": "2.1.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
|
|
||||||
"integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
|
|
||||||
"license": "MIT",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.10.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/is-fullwidth-code-point": {
|
"node_modules/is-fullwidth-code-point": {
|
||||||
"version": "3.0.0",
|
"version": "3.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
|
||||||
@@ -1151,27 +1050,6 @@
|
|||||||
"node": ">=8"
|
"node": ">=8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/is-glob": {
|
|
||||||
"version": "4.0.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
|
|
||||||
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"is-extglob": "^2.1.1"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.10.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/is-number": {
|
|
||||||
"version": "7.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
|
|
||||||
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
|
|
||||||
"license": "MIT",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.12.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/is-plain-obj": {
|
"node_modules/is-plain-obj": {
|
||||||
"version": "2.1.0",
|
"version": "2.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz",
|
||||||
@@ -1368,15 +1246,18 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/minimatch": {
|
"node_modules/minimatch": {
|
||||||
"version": "5.1.6",
|
"version": "9.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz",
|
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
|
||||||
"integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==",
|
"integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"brace-expansion": "^2.0.1"
|
"brace-expansion": "^2.0.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10"
|
"node": ">=16 || 14 >=14.17"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/isaacs"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/minipass": {
|
"node_modules/minipass": {
|
||||||
@@ -1389,24 +1270,24 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/mocha": {
|
"node_modules/mocha": {
|
||||||
"version": "11.1.0",
|
"version": "11.5.0",
|
||||||
"resolved": "https://registry.npmjs.org/mocha/-/mocha-11.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/mocha/-/mocha-11.5.0.tgz",
|
||||||
"integrity": "sha512-8uJR5RTC2NgpY3GrYcgpZrsEd9zKbPDpob1RezyR2upGHRQtHWofmzTMzTMSV6dru3tj5Ukt0+Vnq1qhFEEwAg==",
|
"integrity": "sha512-VKDjhy6LMTKm0WgNEdlY77YVsD49LZnPSXJAaPNL9NRYQADxvORsyG1DIQY6v53BKTnlNbEE2MbVCDbnxr4K3w==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ansi-colors": "^4.1.3",
|
|
||||||
"browser-stdout": "^1.3.1",
|
"browser-stdout": "^1.3.1",
|
||||||
"chokidar": "^3.5.3",
|
"chokidar": "^4.0.1",
|
||||||
"debug": "^4.3.5",
|
"debug": "^4.3.5",
|
||||||
"diff": "^5.2.0",
|
"diff": "^7.0.0",
|
||||||
"escape-string-regexp": "^4.0.0",
|
"escape-string-regexp": "^4.0.0",
|
||||||
"find-up": "^5.0.0",
|
"find-up": "^5.0.0",
|
||||||
"glob": "^10.4.5",
|
"glob": "^10.4.5",
|
||||||
"he": "^1.2.0",
|
"he": "^1.2.0",
|
||||||
"js-yaml": "^4.1.0",
|
"js-yaml": "^4.1.0",
|
||||||
"log-symbols": "^4.1.0",
|
"log-symbols": "^4.1.0",
|
||||||
"minimatch": "^5.1.6",
|
"minimatch": "^9.0.5",
|
||||||
"ms": "^2.1.3",
|
"ms": "^2.1.3",
|
||||||
|
"picocolors": "^1.1.1",
|
||||||
"serialize-javascript": "^6.0.2",
|
"serialize-javascript": "^6.0.2",
|
||||||
"strip-json-comments": "^3.1.1",
|
"strip-json-comments": "^3.1.1",
|
||||||
"supports-color": "^8.1.1",
|
"supports-color": "^8.1.1",
|
||||||
@@ -1438,15 +1319,6 @@
|
|||||||
"node": ">= 0.4.0"
|
"node": ">= 0.4.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/normalize-path": {
|
|
||||||
"version": "3.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
|
|
||||||
"integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
|
|
||||||
"license": "MIT",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.10.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/object-inspect": {
|
"node_modules/object-inspect": {
|
||||||
"version": "1.13.3",
|
"version": "1.13.3",
|
||||||
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.3.tgz",
|
"resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.3.tgz",
|
||||||
@@ -1582,17 +1454,11 @@
|
|||||||
"integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==",
|
"integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/picomatch": {
|
"node_modules/picocolors": {
|
||||||
"version": "2.3.1",
|
"version": "1.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
|
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
|
||||||
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
|
"integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
|
||||||
"license": "MIT",
|
"license": "ISC"
|
||||||
"engines": {
|
|
||||||
"node": ">=8.6"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "https://github.com/sponsors/jonschlinkert"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"node_modules/process-nextick-args": {
|
"node_modules/process-nextick-args": {
|
||||||
"version": "2.0.1",
|
"version": "2.0.1",
|
||||||
@@ -1684,15 +1550,16 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/readdirp": {
|
"node_modules/readdirp": {
|
||||||
"version": "3.6.0",
|
"version": "4.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz",
|
||||||
"integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
|
"integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
|
||||||
"picomatch": "^2.2.1"
|
|
||||||
},
|
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=8.10.0"
|
"node": ">= 14.18.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "individual",
|
||||||
|
"url": "https://paulmillr.com/funding/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/require-directory": {
|
"node_modules/require-directory": {
|
||||||
@@ -1711,9 +1578,9 @@
|
|||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/selenium-webdriver": {
|
"node_modules/selenium-webdriver": {
|
||||||
"version": "4.28.1",
|
"version": "4.33.0",
|
||||||
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.28.1.tgz",
|
"resolved": "https://registry.npmjs.org/selenium-webdriver/-/selenium-webdriver-4.33.0.tgz",
|
||||||
"integrity": "sha512-TwbTpu/NUQkorBODGAkGowJ8sar63bvqi66/tjqhS05rBl34HkVp8DoRg1cOv2iSnNonVSbkxazS3wjbc+NRtg==",
|
"integrity": "sha512-5vRhk4iI0B9nYbEitfnCjPDXBfG6o9DNhj5DG2355eQo8idETknhj1tigqqlkHsGephSZwLZqEm/d+3e1stGUA==",
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
"type": "github",
|
"type": "github",
|
||||||
@@ -2027,9 +1894,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/superagent": {
|
"node_modules/superagent": {
|
||||||
"version": "10.1.1",
|
"version": "10.2.1",
|
||||||
"resolved": "https://registry.npmjs.org/superagent/-/superagent-10.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/superagent/-/superagent-10.2.1.tgz",
|
||||||
"integrity": "sha512-9pIwrHrOj3uAnqg9gDlW7EA2xv+N5au/dSM0kM22HTqmUu8jBxNT+8uA7tA3UoCnmiqzpSbu8rasIUZvbyamMQ==",
|
"integrity": "sha512-O+PCv11lgTNJUzy49teNAWLjBZfc+A1enOwTpLlH6/rsvKcTwcdTT8m9azGkVqM7HBl5jpyZ7KTPhHweokBcdg==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"component-emitter": "^1.3.0",
|
"component-emitter": "^1.3.0",
|
||||||
@@ -2037,7 +1904,7 @@
|
|||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"fast-safe-stringify": "^2.1.1",
|
"fast-safe-stringify": "^2.1.1",
|
||||||
"form-data": "^4.0.0",
|
"form-data": "^4.0.0",
|
||||||
"formidable": "^3.5.2",
|
"formidable": "^3.5.4",
|
||||||
"methods": "^1.1.2",
|
"methods": "^1.1.2",
|
||||||
"mime": "2.6.0",
|
"mime": "2.6.0",
|
||||||
"qs": "^6.11.0"
|
"qs": "^6.11.0"
|
||||||
@@ -2103,18 +1970,6 @@
|
|||||||
"node": ">=14.14"
|
"node": ">=14.14"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/to-regex-range": {
|
|
||||||
"version": "5.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
|
|
||||||
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"is-number": "^7.0.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=8.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/tslib": {
|
"node_modules/tslib": {
|
||||||
"version": "2.8.1",
|
"version": "2.8.1",
|
||||||
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
|
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
|
||||||
|
@@ -9,10 +9,11 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chromedriver": "^133.0.1",
|
"@eslint/js": "^9.28.0",
|
||||||
|
"chromedriver": "^136.0.3",
|
||||||
"expect.js": "^0.3.1",
|
"expect.js": "^0.3.1",
|
||||||
"mocha": "^11.1.0",
|
"mocha": "^11.5.0",
|
||||||
"selenium-webdriver": "^4.28.1",
|
"selenium-webdriver": "^4.33.0",
|
||||||
"superagent": "^10.1.1"
|
"superagent": "^10.2.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
174
test/test.js
174
test/test.js
@@ -35,7 +35,8 @@ describe('Application life cycle test', function () {
|
|||||||
const password = process.env.PASSWORD;
|
const password = process.env.PASSWORD;
|
||||||
|
|
||||||
before(function () {
|
before(function () {
|
||||||
const chromeOptions = new Options().windowSize({ width: 1280, height: 1024 });
|
const chromeOptions = new Options().windowSize({ width: 1600, height: 1024 });
|
||||||
|
chromeOptions.addArguments('guest'); // disable password checks
|
||||||
if (process.env.CI) chromeOptions.addArguments('no-sandbox', 'disable-dev-shm-usage', 'headless');
|
if (process.env.CI) chromeOptions.addArguments('no-sandbox', 'disable-dev-shm-usage', 'headless');
|
||||||
browser = new Builder().forBrowser('chrome').setChromeOptions(chromeOptions).build();
|
browser = new Builder().forBrowser('chrome').setChromeOptions(chromeOptions).build();
|
||||||
if (!fs.existsSync('./screenshots')) fs.mkdirSync('./screenshots');
|
if (!fs.existsSync('./screenshots')) fs.mkdirSync('./screenshots');
|
||||||
@@ -67,72 +68,61 @@ describe('Application life cycle test', function () {
|
|||||||
expect(app).to.be.an('object');
|
expect(app).to.be.an('object');
|
||||||
}
|
}
|
||||||
|
|
||||||
async function login(username, password, expandLoginForm=true) {
|
async function confirmLicense() {
|
||||||
|
await timers.setTimeout(5000);
|
||||||
|
await waitForElement(By.id('acknowledge-confirm'));
|
||||||
|
const button = await browser.findElement(By.id('acknowledge-confirm'));
|
||||||
|
await browser.executeScript('arguments[0].scrollIntoView(false)', button);
|
||||||
|
await browser.sleep(4000);
|
||||||
|
await button.click();
|
||||||
|
await browser.sleep(4000);
|
||||||
|
}
|
||||||
|
|
||||||
|
async function login(username, password, acceptLicense=false) {
|
||||||
await browser.manage().deleteAllCookies();
|
await browser.manage().deleteAllCookies();
|
||||||
await browser.get('about:blank');
|
await browser.get('about:blank');
|
||||||
await browser.sleep(2000);
|
await browser.sleep(2000);
|
||||||
await browser.get(`https://${app.fqdn}/login`);
|
await browser.get(`https://${app.fqdn}/login`);
|
||||||
await browser.sleep(2000);
|
await browser.sleep(2000);
|
||||||
|
|
||||||
if (expandLoginForm) {
|
|
||||||
await waitForElement(By.xpath('//div[@id="alternativeMethods-select"]/div[contains(., "Other Authentication Methods")]'));
|
|
||||||
await browser.findElement(By.xpath('//div[@id="alternativeMethods-select"]/div[contains(., "Other Authentication Methods")]')).click();
|
|
||||||
await browser.sleep(2000);
|
|
||||||
await browser.findElement(By.xpath('//li[contains(., "Use Credentials")] | //div[@label="Use Credentials"]')).click();
|
|
||||||
await browser.sleep(2000);
|
|
||||||
}
|
|
||||||
await waitForElement(By.id('accessKey'));
|
await waitForElement(By.id('accessKey'));
|
||||||
await browser.findElement(By.id('accessKey')).sendKeys(username);
|
await browser.findElement(By.id('accessKey')).sendKeys(username);
|
||||||
await browser.findElement(By.id('secretKey')).sendKeys(password);
|
await browser.findElement(By.id('secretKey')).sendKeys(password);
|
||||||
await browser.findElement(By.xpath('//button[@id="do-login"]')).click();
|
await browser.findElement(By.xpath('//button[@id="do-login"]')).click();
|
||||||
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
|
|
||||||
|
if (acceptLicense) await confirmLicense();
|
||||||
|
|
||||||
|
await waitForElement(By.xpath('//button[contains(., "Create Bucket")]'));
|
||||||
await timers.setTimeout(5000);
|
await timers.setTimeout(5000);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function loginOIDC(username, password, alreadyAuthenticated = true) {
|
|
||||||
browser.manage().deleteAllCookies();
|
|
||||||
await browser.get(`https://${app.fqdn}/login`);
|
|
||||||
await browser.sleep(10000);
|
|
||||||
|
|
||||||
await waitForElement(By.xpath('//button[contains(., "iam")]'));
|
|
||||||
await browser.findElement(By.xpath('//button[contains(., "iam")]')).click();
|
|
||||||
await browser.sleep(10000);
|
|
||||||
|
|
||||||
if (!alreadyAuthenticated) {
|
|
||||||
await waitForElement(By.id('inputUsername'));
|
|
||||||
await browser.findElement(By.id('inputUsername')).sendKeys(username);
|
|
||||||
await browser.findElement(By.id('inputPassword')).sendKeys(password);
|
|
||||||
await browser.findElement(By.id('loginSubmitButton')).click();
|
|
||||||
|
|
||||||
await browser.sleep(2000);
|
|
||||||
}
|
|
||||||
|
|
||||||
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
|
|
||||||
}
|
|
||||||
|
|
||||||
async function logout() {
|
async function logout() {
|
||||||
await browser.get(`https://${app.fqdn}/`);
|
await browser.sleep(10000);
|
||||||
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
|
// await browser.get(`https://${app.fqdn}/`);
|
||||||
|
await waitForElement(By.xpath('//button[contains(., "Create Bucket")]'));
|
||||||
|
|
||||||
const button = await browser.findElement(By.xpath('//button[@id="sign-out"]'));
|
const button = await browser.findElement(By.xpath('//button[@id="sign-out"]'));
|
||||||
await browser.executeScript('arguments[0].scrollIntoView(false)', button);
|
await browser.executeScript('arguments[0].scrollIntoView(false)', button);
|
||||||
await button.click();
|
await button.click();
|
||||||
await browser.sleep(10000); // needed!
|
await browser.sleep(10000); // needed!
|
||||||
await waitForElement(By.xpath('//*[@id="accessKey"] | //button[contains(., "Cloudron")]'));
|
await waitForElement(By.xpath('//*[@id="accessKey"]'));
|
||||||
}
|
}
|
||||||
|
|
||||||
async function addBucket() {
|
async function addBucket() {
|
||||||
await browser.get(`https://${app.fqdn}/buckets`);
|
// await browser.get(`https://${app.fqdn}/buckets`);
|
||||||
await waitForElement(By.xpath('//button[@id="create-bucket"]'));
|
await waitForElement(By.xpath('//button[contains(., "Create Bucket")]'));
|
||||||
await browser.findElement(By.xpath('//button[@id="create-bucket"]')).click();
|
await browser.findElement(By.xpath('//button[contains(., "Create Bucket")]')).click();
|
||||||
await browser.sleep(2000);
|
await browser.sleep(1000);
|
||||||
|
await waitForElement(By.xpath('//input[@id="bucket-name"]'));
|
||||||
await browser.findElement(By.xpath('//input[@id="bucket-name"]')).sendKeys(BUCKET);
|
await browser.findElement(By.xpath('//input[@id="bucket-name"]')).sendKeys(BUCKET);
|
||||||
await browser.findElement(By.xpath('//button[@id="create-bucket"]')).click();
|
await browser.findElement(By.xpath('//button[@id="create-bucket"]')).click();
|
||||||
|
// await browser.get(`https://${app.fqdn}/buckets`);
|
||||||
await waitForElement(By.xpath(`//h1[contains(text(), "${BUCKET}")]`));
|
await waitForElement(By.xpath(`//h1[contains(text(), "${BUCKET}")]`));
|
||||||
await timers.setTimeout(5000);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async function checkBucket() {
|
async function checkBucket() {
|
||||||
await browser.get(`https://${app.fqdn}/buckets`);
|
await browser.sleep(10000);
|
||||||
|
// await browser.get(`https://${app.fqdn}/buckets`);
|
||||||
await waitForElement(By.xpath(`//h1[contains(text(), "${BUCKET}")]`));
|
await waitForElement(By.xpath(`//h1[contains(text(), "${BUCKET}")]`));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -168,51 +158,18 @@ describe('Application life cycle test', function () {
|
|||||||
|
|
||||||
xit('build app', function () { execSync('cloudron build', EXEC_ARGS); });
|
xit('build app', function () { execSync('cloudron build', EXEC_ARGS); });
|
||||||
|
|
||||||
// // no SSO
|
it('install app', async function () {
|
||||||
it('install app (no SSO)', async function () {
|
|
||||||
execSync(`cloudron install --no-sso --location ${LOCATION} --secondary-domains API_SERVER_DOMAIN=${LOCATION}-api`, EXEC_ARGS);
|
|
||||||
await timers.setTimeout(10000);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('can get app information', getAppInfo);
|
|
||||||
|
|
||||||
it('can admin login', login.bind(null, 'minioadmin', 'minioadmin', false));
|
|
||||||
it('can add bucket', addBucket);
|
|
||||||
it('can logout', logout);
|
|
||||||
it('does redirect', checkRedirect);
|
|
||||||
it('check api', checkApi);
|
|
||||||
|
|
||||||
it('can change admin credentials', changeAdminCredentials);
|
|
||||||
it('can restart app', async function () {
|
|
||||||
execSync(`cloudron restart --app ${app.id}`, EXEC_ARGS);
|
|
||||||
await timers.setTimeout(10000);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('can admin login', login.bind(null, 'minioakey', 'minioskey', false));
|
|
||||||
it('has bucket', checkBucket);
|
|
||||||
it('can logout', logout);
|
|
||||||
it('does redirect', checkRedirect);
|
|
||||||
it('check api', checkApi);
|
|
||||||
it('uninstall app', function () { execSync('cloudron uninstall --app ' + app.id, EXEC_ARGS); });
|
|
||||||
|
|
||||||
// SSO
|
|
||||||
it('install app (SSO)', async function () {
|
|
||||||
execSync(`cloudron install --location ${LOCATION} --secondary-domains API_SERVER_DOMAIN=${LOCATION}-api`, EXEC_ARGS);
|
execSync(`cloudron install --location ${LOCATION} --secondary-domains API_SERVER_DOMAIN=${LOCATION}-api`, EXEC_ARGS);
|
||||||
await timers.setTimeout(10000);
|
await timers.setTimeout(10000);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('can get app information', getAppInfo);
|
it('can get app information', getAppInfo);
|
||||||
it('can get admin credentials', getAdminCredentials);
|
it('can admin login', login.bind(null, 'minioadmin', 'minioadmin', true));
|
||||||
it('can admin login', async function () { await login('minioadmin', rootPassword); });
|
|
||||||
it('can add bucket', addBucket);
|
it('can add bucket', addBucket);
|
||||||
it('can logout', logout);
|
it('can logout', logout);
|
||||||
it('does redirect', checkRedirect);
|
it('does redirect', checkRedirect);
|
||||||
it('check api', checkApi);
|
it('check api', checkApi);
|
||||||
|
|
||||||
it('can OIDC login', loginOIDC.bind(null, username, password, false));
|
|
||||||
it('has bucket', checkBucket);
|
|
||||||
it('can logout', logout);
|
|
||||||
|
|
||||||
it('can change admin credentials', changeAdminCredentials);
|
it('can change admin credentials', changeAdminCredentials);
|
||||||
|
|
||||||
it('can restart app', async function () {
|
it('can restart app', async function () {
|
||||||
@@ -220,16 +177,12 @@ describe('Application life cycle test', function () {
|
|||||||
await timers.setTimeout(10000);
|
await timers.setTimeout(10000);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('can admin login', login.bind(null, 'minioakey', 'minioskey'));
|
it('can admin login', login.bind(null, 'minioakey', 'minioskey', true));
|
||||||
it('has bucket', checkBucket);
|
it('has bucket', checkBucket);
|
||||||
it('can logout', logout);
|
it('can logout', logout);
|
||||||
it('does redirect', checkRedirect);
|
it('does redirect', checkRedirect);
|
||||||
it('check api', checkApi);
|
it('check api', checkApi);
|
||||||
|
|
||||||
it('can OIDC login', loginOIDC.bind(null, username, password, true));
|
|
||||||
it('has bucket', checkBucket);
|
|
||||||
it('can logout', logout);
|
|
||||||
|
|
||||||
it('backup app', function () { execSync('cloudron backup create --app ' + app.id, EXEC_ARGS); });
|
it('backup app', function () { execSync('cloudron backup create --app ' + app.id, EXEC_ARGS); });
|
||||||
it('restore app', async function () {
|
it('restore app', async function () {
|
||||||
const backups = JSON.parse(execSync(`cloudron backup list --raw --app ${app.id}`));
|
const backups = JSON.parse(execSync(`cloudron backup list --raw --app ${app.id}`));
|
||||||
@@ -241,11 +194,7 @@ describe('Application life cycle test', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('can get app information', getAppInfo);
|
it('can get app information', getAppInfo);
|
||||||
it('can admin login', login.bind(null, 'minioakey', 'minioskey'));
|
it('can admin login', login.bind(null, 'minioakey', 'minioskey', true));
|
||||||
it('has bucket', checkBucket);
|
|
||||||
it('can logout', logout);
|
|
||||||
|
|
||||||
it('can OIDC login', loginOIDC.bind(null, username, password, true));
|
|
||||||
it('has bucket', checkBucket);
|
it('has bucket', checkBucket);
|
||||||
it('can logout', logout);
|
it('can logout', logout);
|
||||||
|
|
||||||
@@ -259,11 +208,7 @@ describe('Application life cycle test', function () {
|
|||||||
});
|
});
|
||||||
it('can get app information', getAppInfo);
|
it('can get app information', getAppInfo);
|
||||||
|
|
||||||
it('can admin login', login.bind(null, 'minioakey', 'minioskey'));
|
it('can admin login', login.bind(null, 'minioakey', 'minioskey', true));
|
||||||
it('has bucket', checkBucket);
|
|
||||||
it('can logout', logout);
|
|
||||||
|
|
||||||
it('can OIDC login', loginOIDC.bind(null, username, password, true));
|
|
||||||
it('has bucket', checkBucket);
|
it('has bucket', checkBucket);
|
||||||
it('can logout', logout);
|
it('can logout', logout);
|
||||||
|
|
||||||
@@ -273,33 +218,24 @@ describe('Application life cycle test', function () {
|
|||||||
it('uninstall app', function () { execSync('cloudron uninstall --app ' + app.id, EXEC_ARGS); });
|
it('uninstall app', function () { execSync('cloudron uninstall --app ' + app.id, EXEC_ARGS); });
|
||||||
|
|
||||||
// test update
|
// test update
|
||||||
it('can install app for update', function () { execSync('cloudron install --appstore-id io.minio.cloudronapp --location ' + LOCATION, EXEC_ARGS); });
|
// it('can install app for update', function () { execSync('cloudron install --appstore-id io.minio.cloudronapp --location ' + LOCATION, EXEC_ARGS); });
|
||||||
it('can get app information', getAppInfo);
|
// it('can get app information', getAppInfo);
|
||||||
|
//
|
||||||
it('can get admin credentials', getAdminCredentials);
|
// it('can get admin credentials', getAdminCredentials);
|
||||||
it('can admin login', async function () { await login('minioadmin', rootPassword); });
|
// it('can admin login', async () => await login('minioadmin', rootPassword, true));
|
||||||
it('can add buckets', addBucket);
|
// it('can add buckets', addBucket);
|
||||||
it('can logout', logout);
|
// it('can logout', logout);
|
||||||
|
//
|
||||||
it('can OIDC login', loginOIDC.bind(null, username, password, true));
|
// it('can update', function () { execSync(`cloudron update --app ${LOCATION}`, EXEC_ARGS); });
|
||||||
it('has bucket', checkBucket);
|
// it('can configure', function () { execSync(`cloudron configure --app ${LOCATION} --location ${LOCATION} --secondary-domains API_SERVER_DOMAIN=${LOCATION}-api`, EXEC_ARGS); });
|
||||||
it('can logout', logout);
|
// it('can get app information', getAppInfo);
|
||||||
|
//
|
||||||
it('can update', function () { execSync(`cloudron update --app ${LOCATION}`, EXEC_ARGS); });
|
// it('can admin login', async () => await login('minioadmin', rootPassword, true));
|
||||||
it('can configure', function () { execSync(`cloudron configure --app ${LOCATION} --location ${LOCATION} --secondary-domains API_SERVER_DOMAIN=${LOCATION}-api`, EXEC_ARGS); });
|
// it('has bucket', checkBucket);
|
||||||
it('can get app information', getAppInfo);
|
// it('can logout', logout);
|
||||||
|
//
|
||||||
it('can admin login', async function () { await login('minioadmin', rootPassword); });
|
// it('does redirect', checkRedirect);
|
||||||
it('has bucket', checkBucket);
|
// it('check api', checkApi);
|
||||||
it('can logout', logout);
|
//
|
||||||
|
// it('uninstall app', function () { execSync('cloudron uninstall --app ' + app.id, EXEC_ARGS); });
|
||||||
it('can OIDC login', loginOIDC.bind(null, username, password, true));
|
|
||||||
it('has bucket', checkBucket);
|
|
||||||
it('can logout', logout);
|
|
||||||
|
|
||||||
it('does redirect', checkRedirect);
|
|
||||||
it('check api', checkApi);
|
|
||||||
|
|
||||||
it('uninstall app', function () { execSync('cloudron uninstall --app ' + app.id, EXEC_ARGS); });
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user