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

Compare commits

...

15 Commits

Author SHA1 Message Date
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
10 changed files with 721 additions and 1988 deletions

View File

@@ -2738,3 +2738,72 @@ Improve replication performance. See (#12080, #12054, #12009) for more details.
* 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

View File

@@ -5,8 +5,8 @@
"description": "file://DESCRIPTION.md",
"changelog": "file://CHANGELOG",
"tagline": "Distributed object storage",
"version": "3.17.0",
"upstreamVersion": "RELEASE.2024-12-13T22-19-12Z",
"version": "4.1.2",
"upstreamVersion": "RELEASE.2025-02-18T16-25-55Z",
"healthCheckPath": "/minio/login",
"memoryLimit": 2147483648,
"httpPort": 8000,
@@ -25,9 +25,15 @@
}
},
"optionalSso": true,
"checklist": {
"change-default-password": {
"sso": false,
"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/",
"contactEmail": "support@cloudron.io",

View File

@@ -4,7 +4,7 @@ RUN mkdir -p /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>.+)
ARG MINIO_VERSION=RELEASE.2024-12-13T22-19-12Z
ARG MINIO_VERSION=RELEASE.2025-02-18T16-25-55Z
RUN wget https://dl.min.io/server/minio/release/linux-amd64/archive/minio.${MINIO_VERSION} -O /app/code/minio && chmod +x /app/code/minio

View File

@@ -4,7 +4,6 @@ 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>

BIN
logo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 14 KiB

47
logo.svg Normal file
View File

@@ -0,0 +1,47 @@
<?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="221.10219"
inkscape:cy="375.92432"
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 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
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" />
<path
d="m 24.11,41.09 v 4.68 l -4.43,2.25 v -4.65 z"
id="path3" />
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -29,7 +29,7 @@ if [[ ! -d /app/data/mc_config ]]; then
fi
if [[ -n "${CLOUDRON_OIDC_ISSUER:-}" ]]; then
export MINIO_IDENTITY_OPENID_DISPLAY_NAME="Cloudron"
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}"

2539
test/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,10 +9,10 @@
"author": "",
"license": "ISC",
"dependencies": {
"chromedriver": "^131.0.3",
"chromedriver": "^133.0.1",
"expect.js": "^0.3.1",
"mocha": "^11.0.1",
"selenium-webdriver": "^4.27.0",
"mocha": "^11.1.0",
"selenium-webdriver": "^4.28.1",
"superagent": "^10.1.1"
}
}

View File

@@ -30,7 +30,7 @@ describe('Application life cycle test', function () {
const EXEC_ARGS = { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' };
let browser, app;
let athenticated_by_oidc = false, rootPassword;
let rootPassword;
const username = process.env.USERNAME;
const password = process.env.PASSWORD;
@@ -89,23 +89,22 @@ describe('Application life cycle test', function () {
await timers.setTimeout(5000);
}
async function loginOIDC(username, password) {
async function loginOIDC(username, password, alreadyAuthenticated = true) {
browser.manage().deleteAllCookies();
await browser.get(`https://${app.fqdn}/login`);
await browser.sleep(10000);
await browser.findElement(By.xpath('//button[contains(., "Cloudron")]')).click();
await waitForElement(By.xpath('//button[contains(., "iam")]'));
await browser.findElement(By.xpath('//button[contains(., "iam")]')).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);
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);
athenticated_by_oidc = true;
}
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
@@ -210,7 +209,7 @@ describe('Application life cycle test', function () {
it('does redirect', checkRedirect);
it('check api', checkApi);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('can OIDC login', loginOIDC.bind(null, username, password, false));
it('has bucket', checkBucket);
it('can logout', logout);
@@ -227,7 +226,7 @@ describe('Application life cycle test', function () {
it('does redirect', checkRedirect);
it('check api', checkApi);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('can OIDC login', loginOIDC.bind(null, username, password, true));
it('has bucket', checkBucket);
it('can logout', logout);
@@ -246,7 +245,7 @@ describe('Application life cycle test', function () {
it('has bucket', checkBucket);
it('can logout', logout);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('can OIDC login', loginOIDC.bind(null, username, password, true));
it('has bucket', checkBucket);
it('can logout', logout);
@@ -264,7 +263,7 @@ describe('Application life cycle test', function () {
it('has bucket', checkBucket);
it('can logout', logout);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('can OIDC login', loginOIDC.bind(null, username, password, true));
it('has bucket', checkBucket);
it('can logout', logout);
@@ -282,7 +281,7 @@ describe('Application life cycle test', function () {
it('can add buckets', addBucket);
it('can logout', logout);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('can OIDC login', loginOIDC.bind(null, username, password, true));
it('has bucket', checkBucket);
it('can logout', logout);
@@ -294,7 +293,7 @@ describe('Application life cycle test', function () {
it('has bucket', checkBucket);
it('can logout', logout);
it('can OIDC login', loginOIDC.bind(null, username, password));
it('can OIDC login', loginOIDC.bind(null, username, password, true));
it('has bucket', checkBucket);
it('can logout', logout);