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

Compare commits

..

16 Commits

Author SHA1 Message Date
Johannes Zellner
8808e8c0b2 Update test deps 2022-12-30 09:47:56 +01:00
Johannes Zellner
d00238c1ad Bump version 2022-12-30 09:47:38 +01:00
Girish Ramakrishnan
07442c675c Version 1.25.1 2022-12-28 10:59:38 +01:00
Girish Ramakrishnan
ed1846cd28 Trust reverse proxy IP 2022-12-28 10:53:57 +01:00
Girish Ramakrishnan
e10793d421 Version 1.25.0 2022-12-23 12:05:59 +01:00
Girish Ramakrishnan
9eea9fe0be Update base image to 4.0.0 2022-12-23 11:14:36 +01:00
Girish Ramakrishnan
298cb33e86 Update Gitea to 1.17.4 2022-12-23 11:14:20 +01:00
Johannes Zellner
89240fc070 Update test deps 2022-11-29 11:44:39 +01:00
Johannes Zellner
6b2af3eab4 Bump version 2022-11-29 11:44:25 +01:00
Johannes Zellner
32eebcff8f Initial support for auto signing via gnupg 2022-11-08 16:31:08 +01:00
Girish Ramakrishnan
166dac9b12 Version 1.24.4 2022-11-07 15:49:23 +01:00
Girish Ramakrishnan
26db0254c7 Update test packages 2022-11-07 15:47:08 +01:00
Girish Ramakrishnan
35e3edaa6c Change default root user email 2022-11-07 15:41:11 +01:00
Girish Ramakrishnan
93370fa502 Version 1.24.3 2022-10-16 16:21:04 +02:00
Girish Ramakrishnan
3398da164d Update test packages 2022-10-16 16:01:46 +02:00
Girish Ramakrishnan
6ce20e9e75 Update Gitea to 1.17.3 2022-10-16 15:59:01 +02:00
8 changed files with 207 additions and 688 deletions

View File

@@ -941,7 +941,7 @@
* Support hostname:port to pass host matcher's check (#19543) (#19544) * Support hostname:port to pass host matcher's check (#19543) (#19544)
* Prevent dangling archiver goroutine (#19516) (#19526) * Prevent dangling archiver goroutine (#19516) (#19526)
* Fix migrate release from github (#19510) (#19523) * Fix migrate release from github (#19510) (#19523)
* When view _Siderbar or _Footer, just display once (#19501) (#19522) * When view `_Siderbar` or `_Footer`, just display once (#19501) (#19522)
* Fix blame page select range error and some typos (#19503) * Fix blame page select range error and some typos (#19503)
* Fix name of doctor fix "authorized-keys" in hints (#19464) (#19484) * Fix name of doctor fix "authorized-keys" in hints (#19464) (#19484)
* User specific repoID or xorm builder conditions for issue search (#19475) (#19476) * User specific repoID or xorm builder conditions for issue search (#19475) (#19476)
@@ -1048,3 +1048,47 @@
* Fix the mode of custom dir to 0700 in docker-rootless (#20861) (#20867) * Fix the mode of custom dir to 0700 in docker-rootless (#20861) (#20867)
* Fix UI mis-align for PR commit history (#20845) (#20859) * Fix UI mis-align for PR commit history (#20845) (#20859)
[1.24.3]
* Update Gitea to 1.17.3
* [Full changelog](https://github.com/go-gitea/gitea/releases/tag/v1.17.3)
* SECURITY
* Sanitize and Escape refs in git backend (#21464) (#21463)
* Bump golang.org/x/text (#21412) (#21413)
* Update bluemonday (#21281) (#21287)
* ENHANCEMENTS
* Fix empty container layer history and UI (#21251) (#21278)
* Use en-US as fallback when using other default language (#21200) (#21256)
* Make the vscode clone link respect transport protocol (#20557) (#21128)
[1.24.4]
* Make email display name configurable
[1.24.5]
* Support autosigning via gnupg
[1.25.0]
* Update Gitea to 1.17.4
* [Full changelog](https://github.com/go-gitea/gitea/releases/tag/v1.17.4)
* Do not allow Ghost access to limited visible user/org (#21849) (#21875)
* Fix package access for admins and inactive users (#21580) (#21592)
* Fix button in branch list, avoid unexpected page jump before restore branch actually done (#21562) (#21927)
* Fix vertical align of committer avatar rendered by email address (#21884) (#21919)
* Fix setting HTTP headers after write (#21833) (#21874)
* Ignore line anchor links with leading zeroes (#21728) (#21777)
* Enable Monaco automaticLayout (#21516)
[1.25.1]
* Trust reverse proxy IP
[1.26.0]
* Update Gitea to 1.18.0
* [Full changelog](https://github.com/go-gitea/gitea/releases/tag/v1.18.0)
* Remove ReverseProxy authentication from the API (#22219) (#22251)
* Support Go Vulnerability Management (#21139)
* Forbid HTML string tooltips (#20935)
* Rework mailer settings (#18982)
* Remove U2F support (#20141)
* Refactor i18n to locale (#20153)
* Enable contenthash in filename for dynamic assets (#20813)
* And a lot more enhancements

View File

@@ -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.24.2", "version": "1.26.0",
"upstreamVersion": "1.17.2", "upstreamVersion": "1.18.0",
"healthCheckPath": "/explore", "healthCheckPath": "/explore",
"httpPort": 3000, "httpPort": 3000,
"memoryLimit": 536870912, "memoryLimit": 536870912,
@@ -37,7 +37,7 @@
"tags": [ "version control", "git", "code hosting", "development", "github", "bitbucket", "gitlab" ], "tags": [ "version control", "git", "code hosting", "development", "github", "bitbucket", "gitlab" ],
"changelog": "file://CHANGELOG.md", "changelog": "file://CHANGELOG.md",
"postInstallMessage": "file://POSTINSTALL.md", "postInstallMessage": "file://POSTINSTALL.md",
"minBoxVersion": "7.1.2", "minBoxVersion": "7.2.0",
"forumUrl": "https://forum.cloudron.io/category/19/gitea", "forumUrl": "https://forum.cloudron.io/category/19/gitea",
"documentationUrl": "https://docs.cloudron.io/apps/gitea/" "documentationUrl": "https://docs.cloudron.io/apps/gitea/"
} }

View File

@@ -1,4 +1,4 @@
FROM cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea FROM cloudron/base:4.0.0@sha256:31b195ed0662bdb06a6e8a5ddbedb6f191ce92e8bee04c03fb02dd4e9d0286df
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y openssh-server git asciidoctor pandoc && \ apt-get install -y openssh-server git asciidoctor pandoc && \
@@ -16,7 +16,10 @@ RUN passwd -d git
RUN mkdir -p /home/git/gitea RUN mkdir -p /home/git/gitea
WORKDIR /home/git WORKDIR /home/git
ARG VERSION=1.17.2 # for autosign feature
ENV GNUPGHOME="/app/data/gnupg"
ARG VERSION=1.18.0
RUN curl -L https://dl.gitea.io/gitea/${VERSION}/gitea-${VERSION}-linux-amd64 -o /home/git/gitea/gitea \ RUN curl -L https://dl.gitea.io/gitea/${VERSION}/gitea-${VERSION}-linux-amd64 -o /home/git/gitea/gitea \
&& chmod +x /home/git/gitea/gitea && chmod +x /home/git/gitea/gitea

View File

@@ -64,7 +64,8 @@ SKIP_VERIFY = true
; those settings are protected and can't be modified ; those settings are protected and can't be modified
INSTALL_LOCK = true INSTALL_LOCK = true
SECRET_KEY = ##SECRET_KEY SECRET_KEY = ##SECRET_KEY
REVERSE_PROXY_LIMIT = 1
REVERSE_PROXY_TRUSTED_PROXIES = *
[service] [service]
DISABLE_REGISTRATION = false DISABLE_REGISTRATION = false

View File

@@ -28,7 +28,7 @@ setup_ldap_source() {
setup_root_user() { setup_root_user() {
set -eu set -eu
if sudo -H -u git /home/git/gitea/gitea admin user create --username root --password changeme --email test@cloudron.io --admin -c /run/gitea/app.ini; then if sudo -H -u git /home/git/gitea/gitea admin user create --username root --password changeme --email admin@cloudron.local --admin -c /run/gitea/app.ini; then
echo "==> root user added" echo "==> root user added"
else else
echo "==> Failed to add root user" echo "==> Failed to add root user"
@@ -117,16 +117,17 @@ crudini --set "/run/gitea/app.ini" mailer PASSWD "${CLOUDRON_MAIL_SMTP_PASSWORD}
crudini --set "/run/gitea/app.ini" mailer FROM "${CLOUDRON_MAIL_FROM}" crudini --set "/run/gitea/app.ini" mailer FROM "${CLOUDRON_MAIL_FROM}"
crudini --set "/run/gitea/app.ini" mailer SKIP_VERIFY "true" crudini --set "/run/gitea/app.ini" mailer SKIP_VERIFY "true"
crudini --set "/run/gitea/app.ini" security INSTALL_LOCK "true" crudini --set "/run/gitea/app.ini" security INSTALL_LOCK "true"
crudini --set "/run/gitea/app.ini" security REVERSE_PROXY_LIMIT 1
crudini --set "/run/gitea/app.ini" security REVERSE_PROXY_TRUSTED_PROXIES "*"
crudini --set "/run/gitea/app.ini" log MODE "console" crudini --set "/run/gitea/app.ini" log MODE "console"
crudini --set "/run/gitea/app.ini" log ROOT_PATH "/run/gitea" crudini --set "/run/gitea/app.ini" log ROOT_PATH "/run/gitea"
crudini --set "/run/gitea/app.ini" indexer ISSUE_INDEXER_PATH "/app/data/appdata/indexers/issues.bleve" crudini --set "/run/gitea/app.ini" indexer ISSUE_INDEXER_PATH "/app/data/appdata/indexers/issues.bleve"
echo "==> Creating dirs and changing permissions" echo "==> Creating dirs and changing permissions"
mkdir -p /app/data/repository /app/data/ssh /app/data/custom mkdir -p /app/data/repository /app/data/ssh /app/data/custom /app/data/gnupg
chown -R git:git /app/data /run/gitea chown -R git:git /app/data /run/gitea
# this expects app.ini to be available # this expects app.ini to be available
( setup_auth ) & ( setup_auth ) &
exec /usr/bin/supervisord --configuration /etc/supervisor/supervisord.conf --nodaemon -i Gitea exec /usr/bin/supervisord --configuration /etc/supervisor/supervisord.conf --nodaemon -i Gitea

View File

@@ -8,4 +8,3 @@ stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0 stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0 stderr_logfile_maxbytes=0

817
test/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,11 +9,11 @@
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"chromedriver": "^105.0.0", "chromedriver": "^108.0.0",
"expect.js": "^0.3.1", "expect.js": "^0.3.1",
"mocha": "^10.0.0", "mocha": "^10.2.0",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"selenium-webdriver": "^4.4.0", "selenium-webdriver": "^4.7.1",
"superagent": "^8.0.0" "superagent": "^8.0.6"
} }
} }