Upgrade Gitea from 1.23.7 -> 1.23.8

This commit is contained in:
Lunny Xiao
2025-05-13 09:51:20 -07:00
parent 6e63ddb901
commit e1ed1a6280
3 changed files with 6 additions and 6 deletions

View File

@@ -16,7 +16,7 @@ jobs:
sed -i "$@" 's\"basePath": "{{AppSubUrl | JSEscape}}/api/v1"\"basePath": "https://gitea.com/api/v1"\' v1_json.tmpl
mv v1_json.tmpl static/swagger-latest.json
for ver in '1.24.0-rc0' '1.23.7' '1.22.6' '1.21.11' '1.20.6' '1.19.4'; do
for ver in '1.24.0-rc0' '1.23.8' '1.22.6' '1.21.11' '1.20.6' '1.19.4'; do
wget https://raw.githubusercontent.com/go-gitea/gitea/refs/tags/v${ver}/templates/swagger/v1_json.tmpl
sed -i "$@" "s|\"version\": \"{{AppVer \| JSEscape}}\"|\"version\": \"${ver}\"|" v1_json.tmpl
sed -i "$@" 's\"basePath": "{{AppSubUrl | JSEscape}}/api/v1"\"basePath": "https://gitea.com/api/v1"\' v1_json.tmpl

View File

@@ -96,11 +96,11 @@ const globalVariables = {
goVersion: "1.23",
minGoVersion: "1.22",
minNodeVersion: "18",
version: "1.23.7",
version: "1.23.8",
sourceVersion: "v1.23.0",
sourceBranch: "release/v1.23",
dockerVersion: "1.23.7",
displayVersion: "1.23.7",
dockerVersion: "1.23.8",
displayVersion: "1.23.8",
},
1.22: {
goVersion: "1.22",
@@ -428,7 +428,7 @@ const config = {
items: [
{ to: "/api/next/", label: "1.25-dev" },
{ to: "/api/1.24/", label: "1.24.0-rc0" },
{ to: "/api/1.23/", label: "1.23.7" },
{ to: "/api/1.23/", label: "1.23.8" },
{ to: "/api/1.22/", label: "1.22.6" },
{ to: "/api/1.21/", label: "1.21.11" },
{ to: "/api/1.20/", label: "1.20.6" },

View File

@@ -658,7 +658,7 @@ And the following unique queues:
:::
- `REQUIRE_SIGNIN_VIEW`: **false**: Enable this to force users to log in to view any page or to use API.
After 1.23.7, it could be set to "expensive" to block anonymous users accessing some pages which consume a lot of resources,
After 1.23.8, it could be set to "expensive" to block anonymous users accessing some pages which consume a lot of resources,
for example: block anonymous AI crawlers from accessing repo code pages.
The "expensive" mode is experimental and subject to change.
- `ENABLE_NOTIFY_MAIL`: **false**: Enable this to send e-mail to watchers of a repository when