mirror of
https://git.cloudron.io/cloudron/gitea-app
synced 2026-06-20 07:05:52 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ed0a196086 | |||
| 9f1662242a | |||
| 4b83728ef9 | |||
| f0e98b3ea0 | |||
| 335940ab4a | |||
| 7c3fa660e0 |
@@ -2008,3 +2008,17 @@
|
|||||||
* Fix Mermaid diagrams failing when node labels contain line breaks ([#37296](https://github.com/go-gitea/gitea/issues/37296)) ([#37299](https://github.com/go-gitea/gitea/issues/37299))
|
* Fix Mermaid diagrams failing when node labels contain line breaks ([#37296](https://github.com/go-gitea/gitea/issues/37296)) ([#37299](https://github.com/go-gitea/gitea/issues/37299))
|
||||||
* Fix: dump with default zip type produces uncompressed zip ([#37401](https://github.com/go-gitea/gitea/issues/37401)) [#37402](https://github.com/go-gitea/gitea/issues/37402)
|
* Fix: dump with default zip type produces uncompressed zip ([#37401](https://github.com/go-gitea/gitea/issues/37401)) [#37402](https://github.com/go-gitea/gitea/issues/37402)
|
||||||
|
|
||||||
|
[1.38.2]
|
||||||
|
* Update gitea to 1.26.2
|
||||||
|
* [Full Changelog](https://github.com/go-gitea/gitea/releases/tag/v1.26.2)
|
||||||
|
* fix(permissions): Fix reading permission ([#37769](https://github.com/go-gitea/gitea/issues/37769))
|
||||||
|
* fix(actions): make artifact signature payloads unambiguous ([#37707](https://github.com/go-gitea/gitea/issues/37707))
|
||||||
|
* fix(oauth): strengthen PKCE validation and refresh token replay protection ([#37706](https://github.com/go-gitea/gitea/issues/37706))
|
||||||
|
* fix(web): enforce token scopes on raw, media, and attachment downloads ([#37698](https://github.com/go-gitea/gitea/issues/37698))
|
||||||
|
* feat(api): encrypt AWS creds ([#37679](https://github.com/go-gitea/gitea/issues/37679))
|
||||||
|
* fix!: add DEFAULT_TITLE_SOURCE setting for pull request title default behavior ([#37465](https://github.com/go-gitea/gitea/issues/37465))
|
||||||
|
* fix(pull): handle empty pull request files view to allow reviews ([#37783](https://github.com/go-gitea/gitea/issues/37783))
|
||||||
|
* fix(actions): deadlock between PrepareRunAndInsert and UpdateTaskByState ([#37692](https://github.com/go-gitea/gitea/issues/37692))
|
||||||
|
* fix: treat email addresses case-insensitively ([#37600](https://github.com/go-gitea/gitea/issues/37600))
|
||||||
|
* Fix color regressions, add `priority` color ([#37417](https://github.com/go-gitea/gitea/issues/37417)) ([#37421](https://github.com/go-gitea/gitea/issues/37421))
|
||||||
|
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
"author": "Gitea developers",
|
"author": "Gitea developers",
|
||||||
"description": "file://DESCRIPTION.md",
|
"description": "file://DESCRIPTION.md",
|
||||||
"tagline": "A painless self-hosted Git Service",
|
"tagline": "A painless self-hosted Git Service",
|
||||||
"version": "1.38.1",
|
"version": "1.38.2",
|
||||||
"upstreamVersion": "1.26.1",
|
"upstreamVersion": "1.26.2",
|
||||||
"healthCheckPath": "/explore",
|
"healthCheckPath": "/explore",
|
||||||
"httpPort": 3000,
|
"httpPort": 3000,
|
||||||
"memoryLimit": 536870912,
|
"memoryLimit": 536870912,
|
||||||
|
|||||||
+1
-1
@@ -18,7 +18,7 @@ WORKDIR /home/git
|
|||||||
ENV GNUPGHOME="/app/data/gnupg"
|
ENV GNUPGHOME="/app/data/gnupg"
|
||||||
|
|
||||||
# renovate: datasource=github-releases depName=go-gitea/gitea versioning=semver extractVersion=^v(?<version>.+)$
|
# renovate: datasource=github-releases depName=go-gitea/gitea versioning=semver extractVersion=^v(?<version>.+)$
|
||||||
ARG GITEA_VERSION=1.26.1
|
ARG GITEA_VERSION=1.26.2
|
||||||
|
|
||||||
RUN mkdir -p /home/git/gitea && \
|
RUN mkdir -p /home/git/gitea && \
|
||||||
curl -L https://github.com/go-gitea/gitea/releases/download/v${GITEA_VERSION}/gitea-${GITEA_VERSION}-linux-amd64 -o /home/git/gitea/gitea \
|
curl -L https://github.com/go-gitea/gitea/releases/download/v${GITEA_VERSION}/gitea-${GITEA_VERSION}-linux-amd64 -o /home/git/gitea/gitea \
|
||||||
|
|||||||
+6
-27
@@ -1,25 +1,9 @@
|
|||||||
#!/usr/bin/env node
|
|
||||||
|
|
||||||
import assert from 'node:assert/strict';
|
import assert from 'node:assert/strict';
|
||||||
import { execSync } from 'node:child_process';
|
import { execSync } from 'node:child_process';
|
||||||
import fs from 'node:fs';
|
import fs from 'node:fs';
|
||||||
import path from 'node:path';
|
import path from 'node:path';
|
||||||
import {
|
import { app, clearCache, click, cloudronCli, goto, loginOIDC, sendKeys, setupBrowser, takeScreenshot, teardownBrowser, username, waitFor, waitForUrl, press } from '@cloudron/charlie';
|
||||||
app,
|
|
||||||
clearCache,
|
|
||||||
click,
|
|
||||||
cloudronCli,
|
|
||||||
goto,
|
|
||||||
loginOIDC,
|
|
||||||
sendKeys,
|
|
||||||
setupBrowser,
|
|
||||||
takeScreenshot,
|
|
||||||
teardownBrowser,
|
|
||||||
username,
|
|
||||||
waitFor,
|
|
||||||
waitForUrl,
|
|
||||||
press
|
|
||||||
} from '@cloudron/charlie';
|
|
||||||
|
|
||||||
/* global it, describe, before, after, afterEach */
|
/* global it, describe, before, after, afterEach */
|
||||||
|
|
||||||
@@ -36,7 +20,7 @@ describe('Application life cycle test', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
afterEach(async function () {
|
afterEach(async function () {
|
||||||
await takeScreenshot(this.currentTest.title);
|
await takeScreenshot(this.currentTest);
|
||||||
});
|
});
|
||||||
|
|
||||||
async function login(user, passwd) {
|
async function login(user, passwd) {
|
||||||
@@ -52,16 +36,11 @@ describe('Application life cycle test', function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function loginGiteaOIDC() {
|
async function loginGiteaOIDC() {
|
||||||
await clearCache();
|
|
||||||
await goto(`https://${app.fqdn}/user/login`, /Sign in with/);
|
await goto(`https://${app.fqdn}/user/login`, /Sign in with/);
|
||||||
await click(/Sign in with/);
|
await click(/Sign in with/);
|
||||||
await loginOIDC('Milestones');
|
await loginOIDC('Milestones');
|
||||||
}
|
}
|
||||||
|
|
||||||
async function logout() {
|
|
||||||
await clearCache();
|
|
||||||
}
|
|
||||||
|
|
||||||
async function addPublicKey() {
|
async function addPublicKey() {
|
||||||
const keyPath = path.join(import.meta.dirname, 'id_ed25519');
|
const keyPath = path.join(import.meta.dirname, 'id_ed25519');
|
||||||
fs.chmodSync(keyPath, 0o600);
|
fs.chmodSync(keyPath, 0o600);
|
||||||
@@ -108,7 +87,7 @@ describe('Application life cycle test', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('can admin login', adminLogin);
|
it('can admin login', adminLogin);
|
||||||
it('can logout', logout);
|
it('can logout', clearCache);
|
||||||
|
|
||||||
it('can login', loginGiteaOIDC);
|
it('can login', loginGiteaOIDC);
|
||||||
|
|
||||||
@@ -149,11 +128,11 @@ describe('Application life cycle test', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('can admin login (no sso)', adminLogin);
|
it('can admin login (no sso)', adminLogin);
|
||||||
it('can logout', logout);
|
it('can logout', clearCache);
|
||||||
|
|
||||||
it('uninstall app (no sso)', cloudronCli.uninstall);
|
it('uninstall app (no sso)', cloudronCli.uninstall);
|
||||||
|
|
||||||
it('can install app from appstore', async function () {
|
it('can install app for update', async function () {
|
||||||
await cloudronCli.appstoreInstall({ tcpPortFlags: INSTALL_TCP_FLAGS });
|
await cloudronCli.appstoreInstall({ tcpPortFlags: INSTALL_TCP_FLAGS });
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -166,7 +145,7 @@ describe('Application life cycle test', function () {
|
|||||||
it('can update', cloudronCli.update);
|
it('can update', cloudronCli.update);
|
||||||
|
|
||||||
it('can admin login', adminLogin);
|
it('can admin login', adminLogin);
|
||||||
it('can logout', logout);
|
it('can logout', clearCache);
|
||||||
|
|
||||||
it('can login', loginGiteaOIDC);
|
it('can login', loginGiteaOIDC);
|
||||||
it('can clone the url', cloneRepo);
|
it('can clone the url', cloneRepo);
|
||||||
|
|||||||
Reference in New Issue
Block a user