Lunny Xiao
171d3c8de2
Refactor compare router param parse ( #36105 )
...
---------
Signed-off-by: Lunny Xiao <xiaolunwen@gmail.com >
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-12-25 17:51:30 -08:00
Lunny Xiao
ae0bc25e42
Fix git commit committer parsing and add some tests ( #35007 )
...
* Fix #34991
* Fix #34882
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-07-10 19:03:36 +00:00
wxiaoguang
71f813f382
Fix GetUsersByEmails ( #34643 )
2025-06-07 18:30:36 +00:00
Lunny Xiao
5472d798ec
Split GetLatestCommitStatus as two functions ( #34535 )
...
Extract from #34531 . This will reduce unnecessary count operation in
databases.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-26 19:00:22 +00:00
Lunny Xiao
eefc1d42bd
Cache GPG keys, emails and users when list commits ( #34086 )
...
When list commits, some of the commits authors are the same at many
situations. But current logic will always fetch the same GPG keys from
database. This PR will cache the GPG keys, emails and users for the
context so that reducing the database queries.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-04-09 16:34:38 +00:00
Lunny Xiao
2fef3336f2
Move commits signature and verify functions to service layers ( #33605 )
...
No logic change, just move functions.
2025-02-16 12:24:07 +00:00