diff --git a/docker/gitea/Dockerfile b/docker/gitea/Dockerfile index 40701ea1af..1df4e5720a 100644 --- a/docker/gitea/Dockerfile +++ b/docker/gitea/Dockerfile @@ -26,7 +26,7 @@ FROM golang:1.11-stretch AS build-env LABEL maintainer="infra-root@openstack.org" -ARG GITEA_VERSION=v1.7.4 +ARG GITEA_VERSION=opendev-1.8.0 ENV TAGS "bindata $TAGS" #Build deps @@ -34,7 +34,7 @@ RUN apt-get update && apt-get -y install build-essential git \ && mkdir -p ${GOPATH}/src/code.gitea.io/gitea #Setup repo -RUN git clone https://github.com/go-gitea/gitea ${GOPATH}/src/code.gitea.io/gitea +RUN git clone https://github.com/jeblair/gitea ${GOPATH}/src/code.gitea.io/gitea WORKDIR ${GOPATH}/src/code.gitea.io/gitea #Checkout version if set diff --git a/docker/gitea/custom/templates/base/head_navbar.tmpl b/docker/gitea/custom/templates/base/head_navbar.tmpl index 892c14d312..9ed761823b 100644 --- a/docker/gitea/custom/templates/base/head_navbar.tmpl +++ b/docker/gitea/custom/templates/base/head_navbar.tmpl @@ -56,14 +56,14 @@ diff --git a/docker/gitea/custom/templates/repo/header.tmpl b/docker/gitea/custom/templates/repo/header.tmpl index 97ccca27ec..1842fde907 100644 --- a/docker/gitea/custom/templates/repo/header.tmpl +++ b/docker/gitea/custom/templates/repo/header.tmpl @@ -1,19 +1,15 @@
- {{with .Repository}}
-
-
- +
+
@@ -34,8 +30,8 @@ {{end}} {{if .Permission.CanRead $.UnitTypeExternalTracker}} - - {{.i18n.Tr "repo.issues"}} + + {{.i18n.Tr "repo.issues"}} {{end}} diff --git a/playbooks/roles/gitea/templates/app.ini.j2 b/playbooks/roles/gitea/templates/app.ini.j2 index 76a61fb20e..c4c10a8f5c 100644 --- a/playbooks/roles/gitea/templates/app.ini.j2 +++ b/playbooks/roles/gitea/templates/app.ini.j2 @@ -72,6 +72,9 @@ NO_REPLY_ADDRESS = noreply.example.org [mailer] ENABLED = false +[oauth2] +ENABLE = false + [openid] ENABLE_OPENID_SIGNIN = true ENABLE_OPENID_SIGNUP = true