From 7bd2ce71098625d3c602bc7d60443e65d5ddf30f Mon Sep 17 00:00:00 2001 From: Mingzhu Yan <69898423+trdthg@users.noreply.github.com> Date: Tue, 29 Apr 2025 20:24:53 +0800 Subject: [PATCH 1/7] fix go version (#34299) go cmd will download and cache a copy of the Go toolchain, go1.24 is not a valid version since https://github.com/golang/go/issues/57631. --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 892f03dc1c..3f54133a85 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module code.gitea.io/gitea -go 1.24 +go 1.24.2 // rfc5280 said: "The serial number is an integer assigned by the CA to each certificate." // But some CAs use negative serial number, just relax the check. related: From 1f52304f9023afe22db0890ca593a1540516720f Mon Sep 17 00:00:00 2001 From: Kerwin Bryant Date: Wed, 30 Apr 2025 00:57:47 +0800 Subject: [PATCH 2/7] Fix button alignments (#34307) Continue with #34206. --- templates/repo/wiki/start.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/wiki/start.tmpl b/templates/repo/wiki/start.tmpl index 1b3c3d538a..e622db5eb5 100644 --- a/templates/repo/wiki/start.tmpl +++ b/templates/repo/wiki/start.tmpl @@ -7,7 +7,7 @@

{{ctx.Locale.Tr "repo.wiki.welcome"}}

{{ctx.Locale.Tr "repo.wiki.welcome_desc"}}

{{if and .CanWriteWiki (not .Repository.IsMirror)}} - {{ctx.Locale.Tr "repo.wiki.create_first_page"}} + {{ctx.Locale.Tr "repo.wiki.create_first_page"}} {{end}} From ce6699db019c05eee5ec32c6dc5ffefa32b06ace Mon Sep 17 00:00:00 2001 From: GiteaBot Date: Wed, 30 Apr 2025 00:35:28 +0000 Subject: [PATCH 3/7] [skip ci] Updated translations via Crowdin --- options/locale/locale_ga-IE.ini | 1 + options/locale/locale_pt-PT.ini | 1 + 2 files changed, 2 insertions(+) diff --git a/options/locale/locale_ga-IE.ini b/options/locale/locale_ga-IE.ini index 094f238869..b38e336576 100644 --- a/options/locale/locale_ga-IE.ini +++ b/options/locale/locale_ga-IE.ini @@ -450,6 +450,7 @@ use_scratch_code=Úsáid cód scratch twofa_scratch_used=D'úsáid tú do chód scratch. Tá tú atreoraithe chuig an leathanach socruithe dhá fhachtóir ionas gur féidir leat clárú do ghléas a bhaint nó cód scratch nua a ghiniúint. twofa_passcode_incorrect=Tá do phaschód mícheart. Má chuir tú do ghléas míchuir tú, bain úsáid as do chód scratch chun síniú isteach. twofa_scratch_token_incorrect=Tá do chód scratch mícheart. +twofa_required=Ní mór duit Fíordheimhniú Dhá Fhachtóir a shocrú chun rochtain a fháil ar stórtha, nó iarracht a dhéanamh logáil isteach arís. login_userpass=Sínigh isteach login_openid=OpenID oauth_signup_tab=Cláraigh Cuntas Nua diff --git a/options/locale/locale_pt-PT.ini b/options/locale/locale_pt-PT.ini index 98498b252b..2d7758a963 100644 --- a/options/locale/locale_pt-PT.ini +++ b/options/locale/locale_pt-PT.ini @@ -450,6 +450,7 @@ use_scratch_code=Usar um código de recuperação twofa_scratch_used=Você usou o seu código de recuperação. Foi reencaminhado para a página de configurações da autenticação em dois passos para poder remover o registo do seu dispositivo ou gerar um novo código de recuperação. twofa_passcode_incorrect=A senha está errada. Se perdeu o seu dispositivo, use o código de recuperação para iniciar a sessão. twofa_scratch_token_incorrect=O código de recuperação está errado. +twofa_required=Tem de configurar a autenticação em dois passos para obter acesso aos repositórios ou então tentar iniciar a sessão novamente. login_userpass=Iniciar sessão login_openid=OpenID oauth_signup_tab=Fazer inscrição From ba5c3f808768f46d20d723e7f062b4d970165067 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Wed, 30 Apr 2025 10:00:36 +0800 Subject: [PATCH 4/7] Fix some dropdown problems on the issue sidebar (#34308) Also fix #34300 --- .../repo/issue/sidebar/assignee_list.tmpl | 6 +++--- templates/repo/issue/sidebar/label_list.tmpl | 6 +++--- .../repo/issue/sidebar/milestone_list.tmpl | 6 +++--- templates/repo/issue/sidebar/project_list.tmpl | 6 +++--- .../repo/issue/sidebar/reviewer_list.tmpl | 4 ++-- .../issue/sidebar/stopwatch_timetracker.tmpl | 7 ++++--- web_src/css/base.css | 10 ---------- web_src/css/repo.css | 18 ++++++++++++++---- web_src/fomantic/build/components/dropdown.js | 2 +- .../features/repo-issue-sidebar-combolist.ts | 15 +++++---------- web_src/js/features/repo-issue-sidebar.ts | 4 ++-- web_src/js/modules/fomantic/dropdown.ts | 9 +++++---- 12 files changed, 45 insertions(+), 48 deletions(-) diff --git a/templates/repo/issue/sidebar/assignee_list.tmpl b/templates/repo/issue/sidebar/assignee_list.tmpl index 19927cbd41..95105dd184 100644 --- a/templates/repo/issue/sidebar/assignee_list.tmpl +++ b/templates/repo/issue/sidebar/assignee_list.tmpl @@ -6,8 +6,8 @@ {{if $pageMeta.Issue}}data-update-url="{{$pageMeta.RepoLink}}/issues/assignee?issue_ids={{$pageMeta.Issue.ID}}"{{end}} > -