1
0
mirror of https://git.cloudron.io/cloudron/gitea-app synced 2025-09-27 15:37:27 +00:00

Compare commits

...

5 Commits

Author SHA1 Message Date
Package Updates
d953377320 Update package version to 1.36.3 2025-07-11 14:57:31 +00:00
Girish Ramakrishnan
ad071c67ab enable registration by default in non-sso mode 2025-07-11 16:38:18 +02:00
Girish Ramakrishnan
5bb07d9abf disable registration by default 2025-07-11 16:33:58 +02:00
Package Updates
7243f3f49a Update package version to 1.36.2 2025-06-23 13:13:25 +00:00
Renovate Bot
5f62cfdc74 chore(deps): update dependency go-gitea/gitea to v1.24.2
| datasource      | package        | from   | to     |
| --------------- | -------------- | ------ | ------ |
| github-releases | go-gitea/gitea | 1.24.1 | 1.24.2 |
2025-06-23 08:40:33 +00:00
5 changed files with 22 additions and 3 deletions

View File

@@ -1816,3 +1816,13 @@
* Fix commit message rendering and some UI problems ([#​34680](https://github.com/go-gitea/gitea/issues/34680)) ([#​34683](https://github.com/go-gitea/gitea/issues/34683))
* Fix container range bug ([#​34725](https://github.com/go-gitea/gitea/issues/34725)) ([#​34732](https://github.com/go-gitea/gitea/issues/34732))
[1.36.2]
* Update gitea to 1.24.2
* [Full Changelog](https://github.com/go-gitea/gitea/releases/tag/v1.24.2)
* Fix container range bug ([#​34795](https://github.com/go-gitea/gitea/issues/34795)) ([#​34796](https://github.com/go-gitea/gitea/issues/34796))
* Upgrade chi to v5.2.2 ([#​34798](https://github.com/go-gitea/gitea/issues/34798)) ([#​34799](https://github.com/go-gitea/gitea/issues/34799))
[1.36.3]
* With Cloudron OIDC, disable registration by default on new installation
* Without Cloudron OIDC, enable registration by default and add checklist item

View File

@@ -4,7 +4,7 @@
"author": "Gitea developers",
"description": "file://DESCRIPTION.md",
"tagline": "A painless self-hosted Git Service",
"version": "1.36.1",
"version": "1.36.3",
"upstreamVersion": "1.24.1",
"healthCheckPath": "/explore",
"httpPort": 3000,
@@ -52,6 +52,10 @@
"checklist": {
"change-default-password": {
"message": "Change the default admin password"
},
"disable-registration": {
"message": "Disable registration, if required, to prevent misuse",
"sso": false
}
},
"minBoxVersion": "8.1.0",

View File

@@ -18,7 +18,7 @@ WORKDIR /home/git
ENV GNUPGHOME="/app/data/gnupg"
# renovate: datasource=github-releases depName=go-gitea/gitea versioning=semver extractVersion=^v(?<version>.+)$
ARG GITEA_VERSION=1.24.1
ARG GITEA_VERSION=1.24.2
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 \

View File

@@ -75,7 +75,7 @@ REVERSE_PROXY_LIMIT = 1
REVERSE_PROXY_TRUSTED_PROXIES = *
[service]
DISABLE_REGISTRATION = false
DISABLE_REGISTRATION = true
SHOW_REGISTRATION_BUTTON = false
ENABLE_NOTIFY_MAIL = true

View File

@@ -78,6 +78,11 @@ if [[ ! -f /app/data/app.ini ]]; then
echo "==> Generating new SECRET_KEY"
crudini --set "/app/data/app.ini" security SECRET_KEY $(pwgen -1 -s)
if [[ -z "${CLOUDRON_OIDC_ISSUER:-}" ]]; then
crudini --set "/app/data/app.ini" service DISABLE_REGISTRATION false
crudini --set "/app/data/app.ini" service SHOW_REGISTRATION_BUTTON true
fi
fi
# merge user config file