mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-21 10:17:42 +00:00
Upgrade Gitea from 1.23.7 -> 1.23.8
This commit is contained in:
@@ -16,7 +16,7 @@ jobs:
|
|||||||
sed -i "$@" 's\"basePath": "{{AppSubUrl | JSEscape}}/api/v1"\"basePath": "https://gitea.com/api/v1"\' v1_json.tmpl
|
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
|
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
|
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|\"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
|
sed -i "$@" 's\"basePath": "{{AppSubUrl | JSEscape}}/api/v1"\"basePath": "https://gitea.com/api/v1"\' v1_json.tmpl
|
||||||
|
|||||||
@@ -96,11 +96,11 @@ const globalVariables = {
|
|||||||
goVersion: "1.23",
|
goVersion: "1.23",
|
||||||
minGoVersion: "1.22",
|
minGoVersion: "1.22",
|
||||||
minNodeVersion: "18",
|
minNodeVersion: "18",
|
||||||
version: "1.23.7",
|
version: "1.23.8",
|
||||||
sourceVersion: "v1.23.0",
|
sourceVersion: "v1.23.0",
|
||||||
sourceBranch: "release/v1.23",
|
sourceBranch: "release/v1.23",
|
||||||
dockerVersion: "1.23.7",
|
dockerVersion: "1.23.8",
|
||||||
displayVersion: "1.23.7",
|
displayVersion: "1.23.8",
|
||||||
},
|
},
|
||||||
1.22: {
|
1.22: {
|
||||||
goVersion: "1.22",
|
goVersion: "1.22",
|
||||||
@@ -428,7 +428,7 @@ const config = {
|
|||||||
items: [
|
items: [
|
||||||
{ to: "/api/next/", label: "1.25-dev" },
|
{ to: "/api/next/", label: "1.25-dev" },
|
||||||
{ to: "/api/1.24/", label: "1.24.0-rc0" },
|
{ 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.22/", label: "1.22.6" },
|
||||||
{ to: "/api/1.21/", label: "1.21.11" },
|
{ to: "/api/1.21/", label: "1.21.11" },
|
||||||
{ to: "/api/1.20/", label: "1.20.6" },
|
{ to: "/api/1.20/", label: "1.20.6" },
|
||||||
|
|||||||
@@ -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.
|
- `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.
|
for example: block anonymous AI crawlers from accessing repo code pages.
|
||||||
The "expensive" mode is experimental and subject to change.
|
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
|
- `ENABLE_NOTIFY_MAIL`: **false**: Enable this to send e-mail to watchers of a repository when
|
||||||
|
|||||||
Reference in New Issue
Block a user