1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-04-16 22:16:57 +00:00

18871 Commits

Author SHA1 Message Date
Giteabot
9780da583d
Fix issue sidebar dropdown keyboard support () ()
Backport  by wxiaoguang

Just a quick fix, fix 

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-31 10:11:51 +08:00
wxiaoguang
a8eaf43f97
Fix user avatar () 2025-01-30 17:11:13 +08:00
Giteabot
b6fd8741ee
Fix system admin cannot fork or get private fork with API () ()
Backport  by @lunny

Fix 

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2025-01-27 18:43:16 +00:00
Giteabot
2674d27fb8
Add pubdate for repository rss and add some tests () ()
Backport  by @lunny

Fix 

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2025-01-27 17:42:47 +00:00
Giteabot
6f3837284d
Fix flex width () ()
Backport  by wxiaoguang

Fix 

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-27 17:16:21 +00:00
wxiaoguang
c30f4f4be5
Fix issue suggestion bug () ()
Backport 
2025-01-27 19:11:13 +08:00
Giteabot
4578288ea3
Use ProtonMail/go-crypto to replace keybase/go-crypto () ()
Backport  by wxiaoguang

Fix 

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-27 02:50:00 +00:00
Giteabot
826fffb59e
Add missed auto merge feed message on dashboard () ()
Backport  by @lunny

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2025-01-26 18:57:45 +00:00
Giteabot
2196ba5e42
Clone button enhancements () ()
Backport  by @silverwind

- Add box-shadow to default tippy theme
- Make colors for tabs match the ones from `.ui.tabular.menu`
- Remove tippy arrow and slightly offset tooltip closer to the button
- Fix setting of `aria-haspopup` when default role is used with tippy

<img width="335" alt="image"
src="https://github.com/user-attachments/assets/8633ebac-a43f-457a-86bd-7a88a83519ee"
/>

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-26 19:20:57 +01:00
Giteabot
12347f07ae
Repo homepage styling tweaks () ()
Backport  by @silverwind

Reduce it to a value that results in `.repo-home-sidebar-top` and
`.repo-home-sidebar-bottom` having 240px content width, the same as
GitHub.

Co-authored-by: silverwind <me@silverwind.io>
2025-01-24 13:41:01 -05:00
silverwind
a3c5358d35
Update katex to latest version ()
Partial backport of https://github.com/go-gitea/gitea/pull/33359.
Upgrade katex because there were a number of security problems fixed in
recent versions.
2025-01-23 01:21:58 +01:00
silverwind
987d014468
Update go tool dependencies () ()
Clean cherry-pick of https://github.com/go-gitea/gitea/pull/32916.
Update all go tool dependencies to latest version.
2025-01-22 11:37:47 -05:00
Giteabot
e08eed9040
Fix code button alignment () ()
Backport  by silverwind

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-22 15:18:34 +08:00
wxiaoguang
4ffa49aa04
Make issue suggestion work for all editors () ()
Backport 

And do not handle special keys when the text-expander popup exists
2025-01-21 21:09:37 +08:00
Giteabot
72837530bf
Fix issue count () ()
Backport  by wxiaoguang

Fix 

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-21 11:18:22 +00:00
wxiaoguang
eef635523a
Make tracked time representation display as hours () ()
Try to backport , the only trivial conflict is in the helper
functions map in the helper.go

Fix 

Co-authored-by: Sysoev, Vladimir <i@vsysoev.ru>
2025-01-21 06:49:58 +08:00
wxiaoguang
8f45a11919
Improve sync fork behavior () ()
Backport 
Fix 

The only conflict is `reqctx` in
`services/repository/merge_upstream.go`, which could keep using
`context.Context` in 1.23
2025-01-20 07:50:38 +00:00
Giteabot
e72d001708
Fix Account linking page () ()
Backport  by CrimsonEdgeHope

Fix password form missing whilst linking account even with
`ENABLE_PASSWORD_SIGNIN_FORM = true`.

Remove redundant empty box in account linking sign up page when
`LinkAccountMode` is true.

Co-authored-by: CrimsonEdgeHope <92579614+CrimsonEdgeHope@users.noreply.github.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-19 13:02:33 +00:00
wxiaoguang
8d9ea68f19
Fix push message behavior () ()
Backport 

Manually resolved "reqctx" conflict

---------

Co-authored-by: Chai-Shi <changchaishi@gmail.com>
2025-01-19 10:48:28 +08:00
wxiaoguang
bf664c2e85
Trivial fixes () ()
Backport 

The only conflict is caused by `templates/shared/issueicon.tmpl`
2025-01-18 03:09:17 +08:00
wxiaoguang
52d298890b
Fix "stop time tracking button" on navbar () ()
Backport  (no conflict)
Fix , and remove incorrect translations
2025-01-17 04:48:31 +08:00
wxiaoguang
c09e43acf5
Fix closed dependency title () ()
Backport 
2025-01-15 16:05:01 +00:00
Giteabot
3b4af01633
Fix sidebar milestone link () ()
Backport  by wxiaoguang

Fix  

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-15 00:19:37 +00:00
Giteabot
b4e2d5e8ee
Add a confirm dialog for "sync fork" () ()
Backport  by @wxiaoguang

Try to quickly fix 

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-15 00:51:17 +02:00
Giteabot
2984a7c121
Fix missing license when sync mirror () ()
Backport  by yp05327

Fix 

Co-authored-by: yp05327 <576951401@qq.com>
2025-01-14 06:26:27 +00:00
wxiaoguang
80cc87b3d8
Fix tag route and empty repo () 2025-01-14 14:01:30 +08:00
Giteabot
10b6047498
Fix upload file form () ()
Backport  by @wxiaoguang

Fix 

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-13 01:49:56 +02:00
Giteabot
2c47b06869
Fix mirror bug () ()
Backport  by lunny

Fix 

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-12 11:11:02 +00:00
Giteabot
31f2a325dc
fix(cache): cache test triggered by non memory cache () ()
Backport  by TheFox0x7

Change SlowCacheThreshold to 30 milliseconds so it doesn't trigger on
non memory cache

Closes: https://github.com/go-gitea/gitea/issues/33190
Closes: https://github.com/go-gitea/gitea/issues/32657

Co-authored-by: TheFox0x7 <thefox0x7@gmail.com>
2025-01-12 09:19:37 +08:00
Lunny Xiao
fcbbc24cc4
Change log for 1.23.1 () v1.23.1 2025-01-10 16:06:45 +08:00
wxiaoguang
1454e1b6eb
Fix editor markdown not incrementing in a numbered list () ()
Backport  (no conflict)

Co-authored-by: Harry Vince <47283812+harryvince@users.noreply.github.com>
2025-01-10 16:00:22 +08:00
Giteabot
d70348836b
Fix sync fork for consistency () ()
Backport  by changchaishi

Fixes 

An integration test could be added.

---------

Co-authored-by: Chai-Shi <changchaishi@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-10 15:11:45 +08:00
Giteabot
940a930d13
Use updated path to s6-svscan after alpine upgrade () ()
Backport  by @techknowlogick

Fix 

Co-authored-by: techknowlogick <techknowlogick@gitea.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-10 02:48:52 +00:00
Giteabot
45d21a0d5c
Fix raw file API ref handling () ()
Backport  by wxiaoguang

Fix  and add more tests

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-10 02:41:28 +00:00
Giteabot
15ad001aef
Fix branch dropdown not display ref name () ()
Backport  by @yp05327

Before:

![image](https://github.com/user-attachments/assets/899d25a9-80e9-48d5-a820-79c911c858e9)
After:

![image](https://github.com/user-attachments/assets/cf2a7407-909a-41db-9957-19d9214af57e)

Co-authored-by: yp05327 <576951401@qq.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-10 01:41:52 +00:00
Giteabot
ed1828ca92
Fix ACME panic () ()
Backport  by @wxiaoguang

Fix , Manually tested:

````
1.7364311850484018e+09	info	maintenance	started background certificate maintenance	{"cache": "0x1400ca64180"}
1.736431185054049e+09	info	obtain	acquiring lock	{"identifier": "example.com"}
1.736431185058073e+09	info	obtain	lock acquired	{"identifier": "example.com"}
1.736431185058133e+09	info	obtain	obtaining certificate	{"identifier": "example.com"}
````

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-10 09:06:40 +08:00
Giteabot
3cfff5af0d
Move repo size to sidebar () ()
Backport  by @yp05327


![image](https://github.com/user-attachments/assets/8b14dbb7-ec36-4596-a6aa-72c14d93309d)

Co-authored-by: yp05327 <576951401@qq.com>
2025-01-09 20:29:37 +00:00
Giteabot
6f6c66a07d
Fix assignee list overlapping in Issue sidebar () ()
Backport  by wxiaoguang

Fix  

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-09 18:36:32 +00:00
Giteabot
d65af69c2b
Fix pam auth test regression () ()
Backport  by TheFox0x7

fixes: https://github.com/go-gitea/gitea/issues/33168

Co-authored-by: TheFox0x7 <thefox0x7@gmail.com>
2025-01-09 13:33:50 +00:00
Giteabot
12c24c2189
Fix fuzz test () ()
Backport  by @lunny

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2025-01-09 07:40:35 +00:00
Lunny Xiao
a330f42f01
Update changelog for v1.23.0 () v1.23.0 2025-01-09 09:24:34 +08:00
wxiaoguang
531f36ea4a
Fix git remote error check, fix dependencies, fix js error () ()
And update some dependencies to fix bugs.

Backport  , 

Fix 
Fix 
Fix 

---------

Co-authored-by: yp05327 <576951401@qq.com>
2025-01-08 05:08:44 +00:00
Giteabot
b4f0eed969
Filter reviews of one pull request in memory instead of database to reduce slow response because of lacking database index () ()
Backport  by @lunny

This PR fixes a performance problem when reviewing a pull request in a
big instance which have many records in the `review` table.
Traditionally, we should add more indexes in that table. But since
dismissed reviews of 1 pull request will not be too many as expected in
a common repository. Filtering reviews in the memory should be more
quick .

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-08 10:43:46 +08:00
Giteabot
63b3a33bf2
fix empty repo updated time () ()
Backport  by changchaishi

fixes  


Co-authored-by: Chai-Shi <changchaishi@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-01-06 23:55:04 +00:00
Lunny Xiao
9899989ece
Add missing transaction when set merge ()
backport from  

`SetMerged` should be in a database transaction otherwise it's possible
to have dirty data.
2025-01-06 18:21:14 +00:00
wxiaoguang
0fad40dd8c
Fix package error handling and npm meta and empty repo guide () 2025-01-06 14:17:28 +08:00
wxiaoguang
e637008fe3
Fix empty git repo handling logic and fix mobile view () ()
Backport  and UI fix from main (including )
2025-01-05 23:18:02 +08:00
wxiaoguang
fd281518ae
Fix line-number and scroll bugs () ()
Partially backport  

Fix the scroll bug in issue/pr view page.

Fix a JS error when line number exceeds the max
2025-01-03 23:50:39 +02:00
wxiaoguang
e10d222434
Fix bleve fuzziness search () () 2025-01-02 21:45:14 +00:00
wxiaoguang
7a35f90b29
Fix broken forms () 2025-01-03 03:57:34 +08:00