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.
forgejo/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 .
10 months ago
..
branch.go Fix bug for ctx usage (#26762) 10 months ago
collaborator.go Always reuse transaction (#22362) 2 years ago
collaborator_test.go Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 1 year ago
commits.go Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 10 months ago
commits_test.go Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 10 months ago
create.go Move createrepository from module to service layer (#26927) 10 months ago
create_test.go Move createrepository from module to service layer (#26927) 10 months ago
delete.go Allow repo admins too to delete the repo (#23940) 1 year ago
env.go Implement actions (#21937) 1 year ago
fork.go Implement FSFE REUSE for golang files (#21840) 2 years ago
generate.go Move createrepository from module to service layer (#26927) 10 months ago
generate_test.go Substitute variables in path names of template repos too (#25294) 1 year ago
hooks.go Move createrepository from module to service layer (#26927) 10 months ago
init.go Move createrepository from module to service layer (#26927) 10 months ago
init_test.go Make label templates have consistent behavior and priority (#23749) 1 year ago
license.go Move createrepository from module to service layer (#26927) 10 months ago
license_test.go Move createrepository from module to service layer (#26927) 10 months ago
main_test.go move repository deletion to service layer (#26948) 10 months ago
push.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 1 year ago
repo.go Move createrepository from module to service layer (#26927) 10 months ago
temp.go Implement FSFE REUSE for golang files (#21840) 2 years ago