You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules/repository
Lunny Xiao 9df573bddc
Fix context cache bug & enable context cache for dashabord commits' authors(#26991) (#27017)
backport #26991 

Unfortunately, when a system setting hasn't been stored in the database,
it cannot be cached.
Meanwhile, this PR also uses context cache for push email avatar display
which should avoid to read user table via email address again and again.

According to my local test, this should reduce dashboard elapsed time
from 150ms -> 80ms .
1 year ago
..
collaborator.go Always reuse transaction (#22362) 2 years ago
collaborator_test.go Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 2 years ago
commits.go Fix context cache bug & enable context cache for dashabord commits' authors(#26991) (#27017) 1 year ago
commits_test.go Fix context cache bug & enable context cache for dashabord commits' authors(#26991) (#27017) 1 year ago
create.go Remove stars when repo goes private (#19904) 2 years ago
create_test.go Map OIDC groups to Orgs/Teams (#21441) 2 years ago
delete.go Allow repo admins too to delete the repo (#23940) 2 years ago
env.go Implement actions (#21937) 2 years ago
fork.go Implement FSFE REUSE for golang files (#21840) 2 years ago
generate.go Repositories: by default disable all units except code and pulls on forks (#22541) 2 years ago
generate_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
hooks.go Implement FSFE REUSE for golang files (#21840) 2 years ago
init.go Replace placeholders in licenses (#24354) 2 years ago
init_test.go Make label templates have consistent behavior and priority (#23749) 2 years ago
license.go Replace placeholders in licenses (#24354) 2 years ago
license_test.go Replace placeholders in licenses (#24354) 2 years ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
push.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2 years ago
repo.go Use git command instead of the ini package to remove the `origin` remote (#25066) 2 years ago
temp.go Implement FSFE REUSE for golang files (#21840) 2 years ago