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 ebff0513db
Fix context cache bug & enable context cache for dashabord commits' authors (#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
..
branch.go Fix bug for ctx usage (#26762) 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) 1 year ago
commits_test.go Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 1 year ago
create.go Move createrepository from module to service layer (#26927) 1 year ago
create_test.go Move createrepository from module to service layer (#26927) 1 year 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
generate.go Move createrepository from module to service layer (#26927) 1 year ago
generate_test.go Substitute variables in path names of template repos too (#25294) 2 years ago
hooks.go Move createrepository from module to service layer (#26927) 1 year ago
init.go Move createrepository from module to service layer (#26927) 1 year ago
init_test.go Make label templates have consistent behavior and priority (#23749) 2 years ago
license.go Move createrepository from module to service layer (#26927) 1 year ago
license_test.go Move createrepository from module to service layer (#26927) 1 year ago
main_test.go move repository deletion to service layer (#26948) 1 year ago
push.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2 years ago
repo.go Move createrepository from module to service layer (#26927) 1 year ago
temp.go