1
0
mirror of https://git.cloudron.io/cloudron/minio-app synced 2025-09-21 04:27:33 +00:00

Compare commits

...

6 Commits

Author SHA1 Message Date
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
8 changed files with 964 additions and 1741 deletions

View File

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

View File

@@ -5,8 +5,8 @@
"description": "file://DESCRIPTION.md",
"changelog": "file://CHANGELOG",
"tagline": "Distributed object storage",
"version": "3.16.0",
"upstreamVersion": "RELEASE.2024-11-07T00-52-20Z",
"version": "3.18.1",
"upstreamVersion": "RELEASE.2024-12-18T13-15-44Z",
"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-11-07T00-52-20Z
ARG MINIO_VERSION=RELEASE.2024-12-18T13-15-44Z
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>

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}"

2632
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": "^130.0.4",
"chromedriver": "^131.0.4",
"expect.js": "^0.3.1",
"mocha": "^10.8.2",
"selenium-webdriver": "^4.26.0",
"mocha": "^11.0.1",
"selenium-webdriver": "^4.27.0",
"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);