gitea/models/asymkey
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
..
error.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
gpg_key_add.go Move commits signature and verify functions to service layers (#33605) 2025-02-16 12:24:07 +00:00
gpg_key_commit_verification.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
gpg_key_common.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
gpg_key_import.go Final round of db.DefaultContext refactor (#27587) 2023-10-14 08:37:24 +00:00
gpg_key_list.go Move more functions to db.Find (#28419) 2024-01-15 02:19:25 +00:00
gpg_key_test.go Move commits signature and verify functions to service layers (#33605) 2025-02-16 12:24:07 +00:00
gpg_key_verify.go Move commits signature and verify functions to service layers (#33605) 2025-02-16 12:24:07 +00:00
gpg_key.go Cache GPG keys, emails and users when list commits (#34086) 2025-04-09 16:34:38 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
ssh_key_authorized_keys.go Fix some pending problems (#29985) 2024-03-22 19:17:30 +08:00
ssh_key_deploy.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 2023-12-07 15:27:36 +08:00
ssh_key_fingerprint.go Uniform all temporary directories and allow customizing temp path (#32352) 2025-04-08 16:15:28 +00:00
ssh_key_parse.go Uniform all temporary directories and allow customizing temp path (#32352) 2025-04-08 16:15:28 +00:00
ssh_key_principals.go Move some asymkey functions to service layer (#28894) 2024-03-04 08:57:39 +00:00
ssh_key_test.go Uniform all temporary directories and allow customizing temp path (#32352) 2025-04-08 16:15:28 +00:00
ssh_key_verify.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
ssh_key.go Fix panic of ssh public key page after deletion of auth source (#31829) 2024-08-15 23:59:01 +08:00