gitea/routers/private
Lunny Xiao 4a5af4edca
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
..
tests/repos Fix verifyCommits error when push a new branch (#26664) 2023-08-30 02:27:53 +00:00
actions.go Clean up log messages (#30313) 2024-04-07 19:17:06 +08:00
default_branch.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
hook_post_receive_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
hook_post_receive.go Cache GPG keys, emails and users when list commits (#34086) 2025-04-09 16:34:38 +00:00
hook_pre_receive.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
hook_proc_receive.go User facing messages for AGit errors (#33012) 2025-01-27 02:33:39 +00:00
hook_verification_test.go Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +00:00
hook_verification.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
internal_repo.go [Feature] Private README.md for organization (#32872) 2024-12-31 04:22:09 +00:00
internal.go Avoid duplicate SetContextValue call (#33564) 2025-02-12 14:25:46 +08:00
key.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
mail.go Split mail sender sub package from mailer service package (#32618) 2024-11-30 01:15:41 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
manager_process.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
manager_unix.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
manager_windows.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
manager.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
restore_repo.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
serv.go Add a config option to block "expensive" pages for anonymous users (#34024) 2025-03-30 05:26:19 +00:00
ssh_log.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00