mirror of
https://git.cloudron.io/cloudron/gitea-app
synced 2025-09-27 15:37:27 +00:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
d953377320 | ||
|
ad071c67ab | ||
|
5bb07d9abf | ||
|
7243f3f49a | ||
|
5f62cfdc74 |
10
CHANGELOG.md
10
CHANGELOG.md
@@ -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
|
||||
|
||||
|
@@ -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",
|
||||
|
@@ -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 \
|
||||
|
@@ -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
|
||||
|
||||
|
5
start.sh
5
start.sh
@@ -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
|
||||
|
Reference in New Issue
Block a user