1
0
mirror of https://git.cloudron.io/cloudron/minio-app synced 2025-09-05 00:35:14 +00:00

Compare commits

...

94 Commits

Author SHA1 Message Date
Package Updates
40f20c384c Update package version to 5.1.0 2025-07-22 09:27:49 +00:00
Renovate Bot
3ea19664d1 chore(deps): update dependency minio/minio to release.2025-07-18t21-56-31z
| datasource      | package     | from                         | to                           |
| --------------- | ----------- | ---------------------------- | ---------------------------- |
| github-releases | minio/minio | RELEASE.2025-05-24T17-08-30Z | RELEASE.2025-07-18T21-56-31Z |
2025-07-22 09:16:43 +00:00
Girish Ramakrishnan
61a3b06dc3 Update documentation url 2025-06-05 10:45:05 +02:00
Package Updates
b0dad70e87 Update package version to 5.0.0 2025-06-02 17:38:31 +00:00
Girish Ramakrishnan
fd3dee438d comment out update tests
won't work since old version has dropdown selector
2025-06-02 19:17:46 +02:00
Girish Ramakrishnan
b6fce9a3a7 every refresh wants license acceptance 2025-06-02 18:45:21 +02:00
Girish Ramakrishnan
1a8f99b140 attempt to fix tests 2025-06-02 17:58:24 +02:00
Girish Ramakrishnan
daad5e6942 remove oidc, it is gone upstream 2025-06-02 17:58:16 +02:00
Renovate Bot
88340ce812 chore(deps): update dependency minio/minio to release.2025-05-24t17-08-30z
| datasource      | package     | from                         | to                           |
| --------------- | ----------- | ---------------------------- | ---------------------------- |
| github-releases | minio/minio | RELEASE.2025-04-22T22-12-26Z | RELEASE.2025-05-24T17-08-30Z |
2025-05-24 23:20:02 +00:00
Package Updates
60ea2849e1 Update package version to 4.4.2 2025-04-23 12:44:45 +00:00
Vladimir D
c021c66390 create bucket test updated 2025-04-23 15:37:51 +04:00
Renovate Bot
2d9ad57e0b chore(deps): update dependency minio/minio to release.2025-04-22t22-12-26z
| datasource      | package     | from                         | to                           |
| --------------- | ----------- | ---------------------------- | ---------------------------- |
| github-releases | minio/minio | RELEASE.2025-04-08T15-41-24Z | RELEASE.2025-04-22T22-12-26Z |
2025-04-22 23:19:40 +00:00
Package Updates
dcd3063a72 Update package version to 4.4.1 2025-04-09 07:56:47 +00:00
Renovate Bot
597feab31e chore(deps): update dependency minio/minio to release.2025-04-08t15-41-24z
| datasource      | package     | from                         | to                           |
| --------------- | ----------- | ---------------------------- | ---------------------------- |
| github-releases | minio/minio | RELEASE.2025-04-03T14-56-28Z | RELEASE.2025-04-08T15-41-24Z |
2025-04-08 23:19:30 +00:00
Package Updates
49ef4e7e7d Update package version to 4.4.0 2025-04-04 06:12:23 +00:00
Renovate Bot
5e1370d29d chore(deps): update dependency minio/minio to release.2025-04-03t14-56-28z
| datasource      | package     | from                         | to                           |
| --------------- | ----------- | ---------------------------- | ---------------------------- |
| github-releases | minio/minio | RELEASE.2025-03-12T18-04-18Z | RELEASE.2025-04-03T14-56-28Z |
2025-04-03 23:19:34 +00:00
Package Updates
092b769513 Update package version to 4.3.0 2025-03-13 08:03:44 +00:00
Girish Ramakrishnan
0775dc3071 Update base image to 5.0.0 2025-03-13 08:31:04 +01:00
Package Updates
151aeec9cd Update package version to 4.2.0 2025-03-13 07:30:39 +00:00
Renovate Bot
1e85285b69 chore(deps): update dependency minio/minio to release.2025-03-12t18-04-18z
| datasource      | package     | from                         | to                           |
| --------------- | ----------- | ---------------------------- | ---------------------------- |
| github-releases | minio/minio | RELEASE.2025-02-28T09-55-16Z | RELEASE.2025-03-12T18-04-18Z |
2025-03-13 00:19:32 +00:00
Johannes Zellner
024836d91c Also fix svg logo version 2025-03-12 14:24:13 +01:00
Girish Ramakrishnan
fd100bda55 Fix logo 2025-03-11 13:11:17 +01:00
Package Updates
0a72a3bd3d Update package version to 4.1.3 2025-03-01 11:05:14 +00:00
Renovate Bot
e16ce9c9ad chore(deps): update dependency minio/minio to release.2025-02-28t09-55-16z
| datasource      | package     | from                         | to                           |
| --------------- | ----------- | ---------------------------- | ---------------------------- |
| github-releases | minio/minio | RELEASE.2025-02-18T16-25-55Z | RELEASE.2025-02-28T09-55-16Z |
2025-03-01 00:19:30 +00:00
Package Updates
bc6a5cd7b4 Update package version to 4.1.2 2025-02-19 12:01:48 +00:00
Renovate Bot
7b14494230 chore(deps): update dependency minio/minio to release.2025-02-18t16-25-55z
| datasource      | package     | from                         | to                           |
| --------------- | ----------- | ---------------------------- | ---------------------------- |
| github-releases | minio/minio | RELEASE.2025-02-07T23-21-09Z | RELEASE.2025-02-18T16-25-55Z |
2025-02-19 00:19:33 +00:00
Package Updates
6aba571eb7 Update package version to 4.1.1 2025-02-09 09:44:57 +00:00
Renovate Bot
2ef9e56703 chore(deps): update dependency minio/minio to release.2025-02-07t23-21-09z
| datasource      | package     | from                         | to                           |
| --------------- | ----------- | ---------------------------- | ---------------------------- |
| github-releases | minio/minio | RELEASE.2025-02-03T21-03-04Z | RELEASE.2025-02-07T23-21-09Z |
2025-02-09 00:19:31 +00:00
Package Updates
819c9b1211 Update package version to 4.1.0 2025-02-04 14:49:13 +00:00
Renovate Bot
2c400adc2a chore(deps): update dependency minio/minio to release.2025-02-03t21-03-04z
| datasource      | package     | from                         | to                           |
| --------------- | ----------- | ---------------------------- | ---------------------------- |
| github-releases | minio/minio | RELEASE.2025-01-20T14-49-07Z | RELEASE.2025-02-03T21-03-04Z |
2025-02-04 14:29:17 +00:00
Package Updates
fd01bf3109 Update package version to 4.0.1 2025-01-21 11:20:24 +00:00
Renovate Bot
4d926a3058 chore(deps): update dependency minio/minio to release.2025-01-20t14-49-07z
| datasource      | package     | from                         | to                           |
| --------------- | ----------- | ---------------------------- | ---------------------------- |
| github-releases | minio/minio | RELEASE.2025-01-18T00-31-37Z | RELEASE.2025-01-20T14-49-07Z |
2025-01-21 10:40:50 +00:00
Package Updates
47765f2800 Update package version to 4.0.0 2025-01-18 11:57:08 +00:00
Renovate Bot
45c1a6b503 chore(deps): update dependency minio/minio to v2025
| datasource      | package     | from                         | to                           |
| --------------- | ----------- | ---------------------------- | ---------------------------- |
| github-releases | minio/minio | RELEASE.2024-12-18T13-15-44Z | RELEASE.2025-01-18T00-31-37Z |
2025-01-18 11:05:16 +00:00
Johannes Zellner
7ee514ed29 Update logo to be squared 2025-01-16 12:01:30 +01:00
Package Updates
1c9a94d79c Update package version to 3.18.1 2024-12-20 08:02:38 +00:00
Renovate Bot
4a81b58d6b chore(deps): update dependency minio/minio to release.2024-12-18t13-15-44z
| datasource      | package     | from                         | to                           |
| --------------- | ----------- | ---------------------------- | ---------------------------- |
| github-releases | minio/minio | RELEASE.2024-12-13T22-19-12Z | RELEASE.2024-12-18T13-15-44Z |
2024-12-20 00:20:10 +00:00
Package Updates
1e41630b1d Update package version to 3.18.0 2024-12-19 13:07:26 +00:00
Vladimir D
3d77021618 CLOUDRON_OIDC_PROVIDER_NAME implemented
checklist added
tests updated
2024-12-19 15:43:06 +04:00
Package Updates
43bde46b81 Update package version to 3.17.0 2024-12-16 07:48:54 +00:00
Renovate Bot
b44db98e35 chore(deps): update dependency minio/minio to release.2024-12-13t22-19-12z
| datasource      | package     | from                         | to                           |
| --------------- | ----------- | ---------------------------- | ---------------------------- |
| github-releases | minio/minio | RELEASE.2024-11-07T00-52-20Z | RELEASE.2024-12-13T22-19-12Z |
2024-12-16 00:20:11 +00:00
Package Updates
52221cca35 Update package version to 3.16.0 2024-11-08 08:35:46 +00:00
Renovate Bot
ea4dfaccf3 chore(deps): update dependency minio/minio to release.2024-11-07t00-52-20z
| datasource      | package     | from                         | to                           |
| --------------- | ----------- | ---------------------------- | ---------------------------- |
| github-releases | minio/minio | RELEASE.2024-10-29T16-01-48Z | RELEASE.2024-11-07T00-52-20Z |
2024-11-08 00:19:19 +00:00
Girish Ramakrishnan
bbcfa6b84e Update renovate.json5 2024-11-04 17:09:59 +00:00
Girish Ramakrishnan
19866198e1 Add renovate.json5 2024-11-04 17:02:55 +00:00
Girish Ramakrishnan
87c4917e82 Delete renovate.json 2024-11-04 16:56:46 +00:00
Girish Ramakrishnan
0f0c70fe95 Delete .gitlab-ci.yml 2024-11-04 08:37:56 +00:00
Johannes Zellner
17670769fa Bump version 2024-10-31 09:21:09 +01:00
Renovate Bot
038ebcd485 chore(deps): update dependency minio/minio to release.2024-10-29t16-01-48z
| datasource      | package     | from                         | to                           |
| --------------- | ----------- | ---------------------------- | ---------------------------- |
| github-releases | minio/minio | RELEASE.2024-10-13T13-34-11Z | RELEASE.2024-10-29T16-01-48Z |
2024-10-31 00:19:17 +00:00
Girish Ramakrishnan
69894610e9 Version 3.15.1 2024-10-15 23:07:36 +02:00
Renovate Bot
38d81367d3 chore(deps): update dependency minio/minio to release.2024-10-13t13-34-11z 2024-10-15 20:47:50 +00:00
Girish Ramakrishnan
8bfac72b10 Update renovate config 2024-10-06 13:45:54 +00:00
Girish Ramakrishnan
6e0cf2f9d8 Version 3.15.0 2024-10-03 21:01:54 +02:00
Renovate Bot
fd48a26065 chore(deps): update dependency minio/minio to release.2024-10-02t17-50-41z 2024-10-03 18:15:58 +00:00
Girish Ramakrishnan
ef398fbdeb add ci file 2024-10-03 20:15:43 +02:00
Girish Ramakrishnan
fb570b0256 maybe? 2024-10-03 19:59:04 +02:00
Girish Ramakrishnan
e2a4a1b594 add build to the mix 2024-10-03 19:10:59 +02:00
Girish Ramakrishnan
242ca7052b too many slashes? 2024-10-03 19:04:48 +02:00
Girish Ramakrishnan
ecfd75afd1 loose does not seem to work 2024-10-03 19:02:49 +02:00
Renovate Bot
6ac4576a7f chore(deps): add renovate.json 2024-10-03 16:45:07 +00:00
Girish Ramakrishnan
635924b0e5 add renovate 2024-10-03 18:43:37 +02:00
Girish Ramakrishnan
bcde4b30d6 add ci files 2024-10-03 18:23:28 +02:00
Girish Ramakrishnan
e0a5ac3fe2 Version 3.14.0 2024-09-23 23:37:11 +02:00
Girish Ramakrishnan
7ec1c63a02 Update test packages 2024-09-23 23:23:06 +02:00
Girish Ramakrishnan
9cefaa80be Update minio to 2024-09-22T00-33-43Z 2024-09-23 23:21:08 +02:00
Johannes Zellner
09e82cd3e3 Bump version 2024-09-14 18:05:12 +02:00
Johannes Zellner
f75118e15a Update test deps 2024-09-14 17:43:27 +02:00
Johannes Zellner
4f5fadaa8a Update to 2024-09-13T20-26-02Z 2024-09-14 17:43:03 +02:00
Johannes Zellner
42ecaf8662 Bump version 2024-09-10 08:19:48 +02:00
Johannes Zellner
7fb6950cab Update test deps 2024-09-10 07:57:52 +02:00
Johannes Zellner
d952670c20 Update to 2024-09-09T16-59-28Z 2024-09-10 07:57:44 +02:00
Girish Ramakrishnan
8239fd8ade Version 3.13.37 2024-08-30 09:31:23 +02:00
Johannes Zellner
41644f3c54 Update test deps 2024-08-30 08:09:45 +02:00
Johannes Zellner
31da17a3e1 Update to 2024-08-29T01-40-52Z 2024-08-30 08:09:27 +02:00
Johannes Zellner
9a9a8b0b13 Bump version 2024-08-27 00:13:02 +02:00
Johannes Zellner
ab05d0a834 Update test deps 2024-08-26 23:55:19 +02:00
Johannes Zellner
e0db747a08 Update to 2024-08-26T15-33-07Z 2024-08-26 23:42:38 +02:00
Girish Ramakrishnan
eb0b1f9e79 Version 3.13.35 2024-08-17 19:16:34 +02:00
Girish Ramakrishnan
d556596770 Update test packages 2024-08-17 17:59:34 +02:00
Girish Ramakrishnan
d6654f7e72 Update minio to 2024-08-17T01-24-54Z 2024-08-17 17:06:31 +02:00
Johannes Zellner
9e5494c2f4 Bump version 2024-08-05 11:53:15 +02:00
Johannes Zellner
042424145e Update to 2024-08-03T04-33-23Z 2024-08-05 11:10:26 +02:00
Johannes Zellner
f20ff8beba Bump version 2024-07-31 12:10:23 +02:00
Johannes Zellner
46eca06f85 Update test deps 2024-07-31 11:41:49 +02:00
Johannes Zellner
060c0d0b9e Update to 2024-07-31T05-46-26Z 2024-07-31 11:39:40 +02:00
Johannes Zellner
1d94015a6d Bump version 2024-07-30 10:10:52 +02:00
Johannes Zellner
6158eb4dfb Update to 2024-07-29T22-14-52Z 2024-07-30 09:48:21 +02:00
Girish Ramakrishnan
bb429dce76 Version 3.13.31 2024-07-27 15:11:51 +02:00
Girish Ramakrishnan
9905f1ea9e Update test packages 2024-07-27 15:07:51 +02:00
Girish Ramakrishnan
9695742134 Update minio to 2024-07-26T20-48-21Z 2024-07-27 15:05:28 +02:00
Girish Ramakrishnan
4dc7f3e9fc Version 3.13.30 2024-07-17 20:52:21 +02:00
Girish Ramakrishnan
9acfaf24b2 Update minio to 2024-07-16T23-46-41Z 2024-07-17 20:50:10 +02:00
Johannes Zellner
453ff9f199 Bump version 2024-07-16 09:07:29 +02:00
Johannes Zellner
c8ca9511e0 Update to 2024-07-15T19-02-30Z 2024-07-16 08:46:39 +02:00
11 changed files with 1383 additions and 2080 deletions

257
CHANGELOG
View File

@@ -2630,3 +2630,260 @@ Improve replication performance. See (#12080, #12054, #12009) for more details.
* Update minio to 2024-07-13T01-46-15Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-07-13T01-46-15Z)
[3.13.29]
* Update minio to 2024-07-15T19-02-30Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-07-15T19-02-30Z)
[3.13.30]
* Update minio to 2024-07-16T23-46-41Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-07-16T23-46-41Z)
[3.13.31]
* Update minio to 2024-07-26T20-48-21Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-07-26T20-48-21Z)
[3.13.32]
* Update minio to 2024-07-29T22-14-52Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-07-29T22-14-52Z)
[3.13.33]
* Update minio to 2024-07-31T05-46-26Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-07-31T05-46-26Z)
[3.13.34]
* Update minio to 2024-08-03T04-33-23Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-08-03T04-33-23Z)
[3.13.35]
* Update minio to 2024-08-17T01-24-54Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-08-17T01-24-54Z)
[3.13.36]
* Update minio to 2024-08-26T15-33-07Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-08-26T15-33-07Z)
[3.13.37]
* Update minio to 2024-08-29T01-40-52Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-08-29T01-40-52Z)
* fix: string format when log IAM refresh take over 5s by @jiuker in #20331
* when a drive is closed cancel the cleanupTrash goroutine by @harshavardhana in #20337
* add more details on the payload sent to webhook audit by @harshavardhana in #20335
* bucket-metadata: Reload events/repl-targets for all buckets by @vadmeste in #20334
[3.13.38]
* Update minio to 2024-09-09T16-59-28Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-09-09T16-59-28Z)
* Skip non existent ldap entities while import (#20352)
* Dont hard error for nonexisting LDAP entries instead of logging them
[3.13.39]
* Update minio to 2024-09-13T20-26-02Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-09-13T20-26-02Z)
* PutObject() for multi-pooled was holding large region locks, which was not necessary. This affects almost all slowpoke clients and lengthy uploads.
* Re-arrange locks for CompleteMultipart, PutObject to be close to rename()
[3.14.0]
* Update minio to 2024-09-22T00-33-43Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-09-22T00-33-43Z)
* Limit S3 Select JSON documents to 10MB by @klauspost in #20439
* remove windows CI/CD for now by @harshavardhana in #20441
* Fix behavior of AddServiceAccountLDAP for non-admin users by @taran-p in #20442
* Added iam import tests for openid by @shtripat in #20432
* batch: Set a default retry attempts and a prefix by @vadmeste in #20452
* Ensure proper stale_uploads_cleanup_interval is used at all times by @ramondeklein in #20451
[3.15.0]
* Update minio to 2024-10-02T17-50-41Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-10-02T17-50-41Z)
* Limit jstream parse depth by @klauspost in #20474
* remove the list from 'mc stat' from testing via '--no-list' by @harshavardhana in #20468
* cleanup existing part.N's before renamePart() by @harshavardhana in #20466
* hold on to batch job stats till cleanup by @poornas in #20480
* use absolute path for binary checksum verification by @harshavardhana in #20487
* Fix PPC cgroup memory limit by @klauspost in #20488
[3.15.1]
* Update minio to 2024-10-13T13-34-11Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-10-13T13-34-11Z)
[3.15.2]
* Update minio to 2024-10-29T16-01-48Z
* [Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-10-29T16-01-48Z)
* Correct the date filter check for batch replication by @shtripat in https://github.com/minio/minio/pull/20569
* Clear omitted fields by @klauspost in https://github.com/minio/minio/pull/20575
* Trace ILM errors by @klauspost in https://github.com/minio/minio/pull/20576
* Fix ILM expire workers exiting by @klauspost in https://github.com/minio/minio/pull/20578
* fix: avoid useless expires value in listing meta by @donatello in https://github.com/minio/minio/pull/20584
* heal: Avoid deadline error with very large objects (#140) by @vadmeste in https://github.com/minio/minio/pull/20586
* heal: large objects fix and avoid .healing.bin corner case premature exit by @vadmeste in https://github.com/minio/minio/pull/20577
* run IAM purge routines deterministically every hr by @donatello in https://github.com/minio/minio/pull/20587
[3.16.0]
* Update Minio to RELEASE.2024-11-07T00-52-20Z
* [Full Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-11-07T00-52-20Z)
* Update README.md by [@​allanrogerr](https://github.com/allanrogerr) in https://github.com/minio/minio/pull/20599
* Remove `expires` field from list objects metadata by [@​donatello](https://github.com/donatello) in https://github.com/minio/minio/pull/20600
* add tests for ILM transition and healing ([#​166](https://github.com/minio/minio/issues/166)) by [@​harshavardhana](https://github.com/harshavardhana) in https://github.com/minio/minio/pull/20601
* Update console package to v1.7.3 by [@​cesnietor](https://github.com/cesnietor) in https://github.com/minio/minio/pull/20606
* Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 by [@​dependabot](https://github.com/dependabot) in https://github.com/minio/minio/pull/20611
* Fix msgUnPath crash by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20614
* docs: remove redundant prometheus metric by [@​erfantkerfan](https://github.com/erfantkerfan) in https://github.com/minio/minio/pull/20618
* decompress audit log properly before sending to remote target by [@​ramondeklein](https://github.com/ramondeklein) in https://github.com/minio/minio/pull/20619
* [@​erfantkerfan](https://github.com/erfantkerfan) made their first contribution in https://github.com/minio/minio/pull/20618
[3.17.0]
* Update minio to RELEASE.2024-12-13T22-19-12Z
* [Full Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-12-13T22-19-12Z)
* Fix lint issues from v1.62.0 upgrade by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20633
* Harden internode DeadlineConn by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20631
* Make DeadlineConn http.Listener compatible by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20635
[3.18.0]
* CLOUDRON_OIDC_PROVIDER_NAME implemented
[3.18.1]
* Update minio to RELEASE.2024-12-18T13-15-44Z
* [Full Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2024-12-18T13-15-44Z)
* Bump golang.org/x/crypto from 0.23.0 to 0.31.0 in /docs/debugging/inspect by [@​dependabot](https://github.com/dependabot) in https://github.com/minio/minio/pull/20760
* Bump golang.org/x/crypto from 0.29.0 to 0.31.0 by [@​dependabot](https://github.com/dependabot) in https://github.com/minio/minio/pull/20767
* update all dependencies and use latest msgp by [@​harshavardhana](https://github.com/harshavardhana) in https://github.com/minio/minio/pull/20768
* s3: Sanitize the source object name in CopyObject handler by [@​marktheunissen](https://github.com/marktheunissen) in https://github.com/minio/minio/pull/20774
* heal: Include more use case of not healable but readable objects ([#​248](https://github.com/minio/minio/issues/248)) by [@​vadmeste](https://github.com/vadmeste) in https://github.com/minio/minio/pull/20776
[4.0.0]
* Update minio to RELEASE.2025-01-18T00-31-37Z
* [Full Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2025-01-18T00-31-37Z)
* ListObjectParts should return actual size by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20782
* Add resiliency tests by [@​allanrogerr](https://github.com/allanrogerr) in https://github.com/minio/minio/pull/20786
* Add cpuio profiling potential crash workaround by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20809
* Bump golang.org/x/net to silence wrong vuln checker by [@​vadmeste](https://github.com/vadmeste) in https://github.com/minio/minio/pull/20814
* decom: avoid skipping single delete markers for replication by [@​poornas](https://github.com/poornas) in https://github.com/minio/minio/pull/20836
* update `github.com/minio/kms-go/kes` to v0.3.1 by [@​aead](https://github.com/aead) in https://github.com/minio/minio/pull/20843
* Fix inconsistently written compressed files. by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20846
* s3: Provide enough buffer when the object final size is unknown by [@​vadmeste](https://github.com/vadmeste) in https://github.com/minio/minio/pull/20847
* Correct bucket metrics name by [@​shtripat](https://github.com/shtripat) in https://github.com/minio/minio/pull/20823
* update deps by [@​harshavardhana](https://github.com/harshavardhana) in https://github.com/minio/minio/pull/20851
[4.0.1]
* Update minio to RELEASE.2025-01-20T14-49-07Z
* [Full Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2025-01-20T14-49-07Z)
* do not list buckets without local quorum by [@​harshavardhana](https://github.com/harshavardhana) in https://github.com/minio/minio/pull/20852
* Add Full Object Checksums and CRC64-NVME by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20855
[4.1.0]
* Update minio to RELEASE.2025-02-03T21-03-04Z
* [Full Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2025-02-03T21-03-04Z)
* do not expose secret-key to lambda event handler by [@​harshavardhana](https://github.com/harshavardhana) in https://github.com/minio/minio/pull/20870
* Allow URLs up to 32KB and improve parsing speed by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20874
* DeleteObjects: Send delete to all pools ([#​172](https://github.com/minio/minio/issues/172)) by [@​vadmeste](https://github.com/vadmeste) in https://github.com/minio/minio/pull/20821
* Check for valid checksum by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20878
* Add lock overload protection by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20876
* Redact sensitive fields from DescribeBatchJob by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20881
* fix: proxy requests to honor global transport by [@​vadmeste](https://github.com/vadmeste) in https://github.com/minio/minio/pull/20889
[4.1.1]
* Update minio to RELEASE.2025-02-07T23-21-09Z
* [Full Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2025-02-07T23-21-09Z)
* replication: default tag timestamps in CopyObject call by [@​poornas](https://github.com/poornas) in https://github.com/minio/minio/pull/20891
* sts: allow client-provided intermediate CAs by [@​aead](https://github.com/aead) in https://github.com/minio/minio/pull/20896
* Fix multipart replication with 1 part objects by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20895
* kms: add `MINIO_KMS_REPLICATE_KEYID` option by [@​aead](https://github.com/aead) in https://github.com/minio/minio/pull/20909
[4.1.2]
* Update minio to RELEASE.2025-02-18T16-25-55Z
* [Full Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2025-02-18T16-25-55Z)
* Fix nil pointer deref in PeerPolicyMappingHandler by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20913
* (s)ftp: Enable trailing headers for upload by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20914
* Quick patch for Snowball AutoExtract: [#​20883](https://github.com/minio/minio/issues/20883) by [@​mannreis](https://github.com/mannreis) in https://github.com/minio/minio/pull/20885
* Update console to 1.7.6 by [@​cesnietor](https://github.com/cesnietor) in https://github.com/minio/minio/pull/20925
* Fix missing authorization check for `PutObjectRetentionHandler` by [@​ramondeklein](https://github.com/ramondeklein) in https://github.com/minio/minio/pull/20929
* ftp: Enable trailing headers, just like sftp by [@​jkandasa](https://github.com/jkandasa) in https://github.com/minio/minio/pull/20938
* fix(docs): update mc admin trace link to MinIO official docs by [@​felixrodrigo19](https://github.com/felixrodrigo19) in https://github.com/minio/minio/pull/20943
* Extract all files from encrypted stream with inspect by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20937
* Test checksum types for invalid combinations by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20953
* tests: Do not allow forced type asserts by [@​klauspost](https://github.com/klauspost) in https://github.com/minio/minio/pull/20905
* [@​mannreis](https://github.com/mannreis) made their first contribution in https://github.com/minio/minio/pull/20885
* [@​jkandasa](https://github.com/jkandasa) made their first contribution in https://github.com/minio/minio/pull/20938
* [@​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
[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.1.0]
* Update minio to RELEASE.2025-07-18T21-56-31Z
* [Full Changelog](https://github.com/minio/minio/releases/tag/RELEASE.2025-07-18T21-56-31Z)
* Update Console to latest version by [@bexsoft](https://github.com/bexsoft) in https://github.com/minio/minio/pull/21397
* CopyObject must preserve checksums and encrypt them if required by [@marktheunissen](https://github.com/marktheunissen) in https://github.com/minio/minio/pull/21399
* fix: admin api - SetPolicyForUserOrGroup avoid nil deref by [@wooffie](https://github.com/wooffie) in https://github.com/minio/minio/pull/21400
* fix: lambda handler response to match the lambda return status by [@harshavardhana](https://github.com/harshavardhana) in https://github.com/minio/minio/pull/21436
* s3: Fix early listing stopping when ILM is enabled ([#472](https://github.com/minio/minio/issues/472)) by [@vadmeste](https://github.com/vadmeste) in https://github.com/minio/minio/pull/21246
* Update README.md by [@varun28sharma](https://github.com/varun28sharma) in https://github.com/minio/minio/pull/21125
* fix: empty fileName cause Reader nil for PostPolicyBucketHandler by [@jiuker](https://github.com/jiuker) in https://github.com/minio/minio/pull/21323
* fix: panic for TestListObjectsWithILM by [@jiuker](https://github.com/jiuker) in https://github.com/minio/minio/pull/21322
* modernizes for loop in cmd/, internal/ by [@12ya](https://github.com/12ya) in https://github.com/minio/minio/pull/21309
* Add `targetArn` label for bucket replication metrics by [@shtripat](https://github.com/shtripat) in https://github.com/minio/minio/pull/21354

View File

@@ -5,8 +5,8 @@
"description": "file://DESCRIPTION.md",
"changelog": "file://CHANGELOG",
"tagline": "Distributed object storage",
"version": "3.13.28",
"upstreamVersion": "2024-07-13T01-46-15Z",
"version": "5.1.0",
"upstreamVersion": "RELEASE.2025-07-18T21-56-31Z",
"healthCheckPath": "/minio/login",
"memoryLimit": 2147483648,
"httpPort": 8000,
@@ -19,18 +19,27 @@
}
},
"addons": {
"localstorage": {},
"oidc": { "loginRedirectUri": "/oauth_callback" }
"localstorage": {}
},
"optionalSso": true,
"checklist": {
"change-default-password": {
"message": "Change the default admin credentials by following this [guide](https://cloudron.io/documentation/apps/minio/#admin-credentials)"
}
},
"manifestVersion": 2,
"website": "http://www.minio.io",
"minBoxVersion": "7.1.2",
"minBoxVersion": "8.1.0",
"forumUrl": "https://forum.cloudron.io/category/69/minio",
"documentationUrl": "https://docs.cloudron.io/apps/minio/",
"documentationUrl": "https://docs.cloudron.io/packages/minio/",
"contactEmail": "support@cloudron.io",
"icon": "logo.png",
"tags": [ "storage", "hosting", "s3", "objectstore" ],
"tags": [
"storage",
"hosting",
"s3",
"objectstore"
],
"mediaLinks": [
"https://screenshots.cloudron.io/io.minio.cloudronapp/pic1.png",
"https://screenshots.cloudron.io/io.minio.cloudronapp/pic2.png"

View File

@@ -1,14 +1,14 @@
FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768ba473078319a47f4
FROM cloudron/base:5.0.0@sha256:04fd70dbd8ad6149c19de39e35718e024417c3e01dc9c6637eaf4a41ec4e596c
RUN mkdir -p /app/code
WORKDIR /app/code
ARG VERSION=RELEASE.2024-07-13T01-46-15Z
# 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-07-18T21-56-31Z
# sometimes here https://dl.min.io/server/minio/release/linux-amd64/archive/
# RUN wget https://dl.min.io/server/minio/release/linux-amd64/minio.${VERSION} -O /app/code/minio && chmod +x /app/code/minio
RUN wget https://dl.min.io/server/minio/release/linux-amd64/archive/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/server/minio/release/linux-amd64/archive/minio.${MINIO_VERSION} -O /app/code/minio && chmod +x /app/code/minio
# Latest CLI
RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc -O /app/code/mc && chmod +x /app/code/mc
COPY env.sh.template start.sh /app/code/

View File

@@ -1,19 +1,5 @@
<nosso>
Please use the following credentials to login:
**Username**: minioadmin<br/>
**Password**: minioadmin<br/>
Please change the credentials immediately by following this [guide](https://cloudron.io/documentation/apps/minio/#admin-credentials).
</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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 17 KiB

41
logo.svg Normal file
View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="512"
height="512"
fill="#ffffff"
version="1.1"
id="svg3"
sodipodi:docname="logo.svg"
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
inkscape:export-filename="logo.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs3" />
<sodipodi:namedview
id="namedview3"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="0.98823083"
inkscape:cx="222.1141"
inkscape:cy="376.93623"
inkscape:window-width="1920"
inkscape:window-height="1014"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg3" />
<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"
id="path2"
style="fill:#cf163e;fill-opacity:1;stroke:none;stroke-width:6.82019" />
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

4
renovate.json5 Normal file
View File

@@ -0,0 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["local>devops/renovator//default.renovate.json5"]
}

View File

@@ -8,13 +8,7 @@ mkdir -p /app/data/data /run/minio/config /run/minio/certs
if [[ ! -f /app/data/env.sh ]]; then
echo "=> First run"
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)
# 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
echo -e "export MINIO_ROOT_USER=minioadmin\nexport MINIO_ROOT_PASSWORD=minioadmin\n\n" >> /app/data/env.sh
fi
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
fi
if [[ -n "${CLOUDRON_OIDC_ISSUER:-}" ]]; then
export MINIO_IDENTITY_OPENID_DISPLAY_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
echo "==> Changing ownership"
[[ $(stat --format '%U' /app/data/data) != "cloudron" ]] && chown -R cloudron:cloudron /app/data

2879
test/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,10 +9,11 @@
"author": "",
"license": "ISC",
"dependencies": {
"chromedriver": "^126.0.4",
"@eslint/js": "^9.31.0",
"chromedriver": "^138.0.3",
"expect.js": "^0.3.1",
"mocha": "^10.6.0",
"selenium-webdriver": "^4.22.0",
"superagent": "^9.0.2"
"mocha": "^11.7.1",
"selenium-webdriver": "^4.34.0",
"superagent": "^10.2.2"
}
}

View File

@@ -1,11 +1,7 @@
#!/usr/bin/env node
/* jshint esversion: 8 */
/* global describe */
/* global before */
/* global after */
/* global it */
/* global xit */
/* global it, xit, describe, before, after, afterEach */
'use strict';
@@ -28,24 +24,39 @@ if (!process.env.USERNAME || !process.env.PASSWORD) {
describe('Application life cycle test', function () {
this.timeout(0);
const LOCATION = 'test';
const LOCATION = process.env.LOCATION || 'test';
const TEST_TIMEOUT = parseInt(process.env.TIMEOUT, 10) || 30000;
const BUCKET = 'cloudrontestbucket';
const EXEC_ARGS = { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' };
let browser, app;
let athenticated_by_oidc = false, rootPassword;
let username = process.env.USERNAME;
let password = process.env.PASSWORD;
let rootPassword;
const username = process.env.USERNAME;
const password = process.env.PASSWORD;
before(function () {
browser = new Builder().forBrowser('chrome').setChromeOptions(new Options().windowSize({ width: 1280, height: 1024 })).build();
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');
browser = new Builder().forBrowser('chrome').setChromeOptions(chromeOptions).build();
if (!fs.existsSync('./screenshots')) fs.mkdirSync('./screenshots');
});
after(function () {
browser.quit();
});
afterEach(async function () {
if (!process.env.CI || !app) return;
const currentUrl = await browser.getCurrentUrl();
if (!currentUrl.includes(app.domain)) return;
expect(this.currentTest.title).to.be.a('string');
const screenshotData = await browser.takeScreenshot();
fs.writeFileSync(`./screenshots/${new Date().getTime()}-${this.currentTest.title.replaceAll(' ', '_')}.png`, screenshotData, 'base64');
});
async function waitForElement(elem) {
await browser.wait(until.elementLocated(elem), TEST_TIMEOUT);
await browser.wait(until.elementIsVisible(browser.findElement(elem)), TEST_TIMEOUT);
@@ -57,73 +68,61 @@ describe('Application life cycle test', function () {
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.get('about:blank');
await browser.sleep(2000);
await browser.get(`https://${app.fqdn}/login`);
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 browser.findElement(By.id('accessKey')).sendKeys(username);
await browser.findElement(By.id('secretKey')).sendKeys(password);
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);
}
async function loginOIDC(username, password) {
browser.manage().deleteAllCookies();
await browser.get(`https://${app.fqdn}/login`);
await browser.sleep(10000);
await browser.findElement(By.xpath('//button[contains(., "Cloudron")]')).click();
await browser.sleep(10000);
if (!athenticated_by_oidc) {
await waitForElement(By.xpath('//input[@name="username"]'));
await browser.findElement(By.xpath('//input[@name="username"]')).sendKeys(username);
await browser.findElement(By.xpath('//input[@name="password"]')).sendKeys(password);
await browser.sleep(2000);
await browser.findElement(By.id('loginSubmitButton')).click();
await browser.sleep(2000);
athenticated_by_oidc = true;
}
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
}
async function logout() {
await browser.get(`https://${app.fqdn}/`);
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
await browser.sleep(10000);
// 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"]'));
await browser.executeScript('arguments[0].scrollIntoView(false)', button);
await button.click();
await browser.sleep(10000); // needed!
await waitForElement(By.xpath('//*[@id="accessKey"] | //button[contains(., "Cloudron")]'));
await waitForElement(By.xpath('//*[@id="accessKey"]'));
}
async function addBucket() {
await browser.get(`https://${app.fqdn}/buckets`);
await waitForElement(By.xpath('//button[@id="create-bucket"]'));
await browser.findElement(By.xpath('//button[@id="create-bucket"]')).click();
await browser.sleep(2000);
// await browser.get(`https://${app.fqdn}/buckets`);
await waitForElement(By.xpath('//button[contains(., "Create Bucket")]'));
await browser.findElement(By.xpath('//button[contains(., "Create Bucket")]')).click();
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('//button[@id="create-bucket"]')).click();
// await browser.get(`https://${app.fqdn}/buckets`);
await waitForElement(By.xpath(`//h1[contains(text(), "${BUCKET}")]`));
await timers.setTimeout(5000);
}
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}")]`));
}
@@ -159,51 +158,18 @@ describe('Application life cycle test', function () {
xit('build app', function () { execSync('cloudron build', EXEC_ARGS); });
// // no SSO
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 () {
it('install app', async function () {
execSync(`cloudron install --location ${LOCATION} --secondary-domains API_SERVER_DOMAIN=${LOCATION}-api`, EXEC_ARGS);
await timers.setTimeout(10000);
});
it('can get app information', getAppInfo);
it('can get admin credentials', getAdminCredentials);
it('can admin login', async function () { await login('minioadmin', rootPassword); });
it('can admin login', login.bind(null, 'minioadmin', 'minioadmin', true));
it('can add bucket', addBucket);
it('can logout', logout);
it('does redirect', checkRedirect);
it('check api', checkApi);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('has bucket', checkBucket);
it('can logout', logout);
it('can change admin credentials', changeAdminCredentials);
it('can restart app', async function () {
@@ -211,16 +177,12 @@ describe('Application life cycle test', function () {
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('can logout', logout);
it('does redirect', checkRedirect);
it('check api', checkApi);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('has bucket', checkBucket);
it('can logout', logout);
it('backup app', function () { execSync('cloudron backup create --app ' + app.id, EXEC_ARGS); });
it('restore app', async function () {
const backups = JSON.parse(execSync(`cloudron backup list --raw --app ${app.id}`));
@@ -232,11 +194,7 @@ describe('Application life cycle test', function () {
});
it('can get app information', getAppInfo);
it('can admin login', login.bind(null, 'minioakey', 'minioskey'));
it('has bucket', checkBucket);
it('can logout', logout);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('can admin login', login.bind(null, 'minioakey', 'minioskey', true));
it('has bucket', checkBucket);
it('can logout', logout);
@@ -250,11 +208,7 @@ describe('Application life cycle test', function () {
});
it('can get app information', getAppInfo);
it('can admin login', login.bind(null, 'minioakey', 'minioskey'));
it('has bucket', checkBucket);
it('can logout', logout);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('can admin login', login.bind(null, 'minioakey', 'minioskey', true));
it('has bucket', checkBucket);
it('can logout', logout);
@@ -264,33 +218,24 @@ describe('Application life cycle test', function () {
it('uninstall app', function () { execSync('cloudron uninstall --app ' + app.id, EXEC_ARGS); });
// test update
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 admin credentials', getAdminCredentials);
it('can admin login', async function () { await login('minioadmin', rootPassword); });
it('can add buckets', addBucket);
it('can logout', logout);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('has bucket', checkBucket);
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);
it('can admin login', async function () { await login('minioadmin', rootPassword); });
it('has bucket', checkBucket);
it('can logout', logout);
it('can OIDC login', loginOIDC.bind(null, username, password));
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); });
// 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 admin credentials', getAdminCredentials);
// it('can admin login', async () => await login('minioadmin', rootPassword, true));
// 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);
//
// it('can admin login', async () => await login('minioadmin', rootPassword, 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); });
});