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/services/repository
Lunny Xiao 930bae2300
Add cache for branch divergence on branch list page (#29577)
The branch page for blender project will take 6s because calculating
divergence is very slow.
This PR will add a cache for the branch divergence calculation. So when
the second visit the branch list, it will take only less 200ms.
11 months ago
..
archiver Move context from modules to services (#29440) 11 months ago
commitstatus Cache repository default branch commit status to reduce query on commit status table (#29444) 11 months ago
files Add download URL for executable files (#28260) 11 months ago
adopt.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 11 months ago
adopt_test.go Use more specific test methods (#24265) 2 years ago
avatar.go Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 2 years ago
avatar_test.go Use context parameter in services/repository (#23186) 2 years ago
branch.go Add cache for branch divergence on branch list page (#29577) 11 months ago
cache.go Always enable caches (#28527) 1 year ago
check.go Update tool dependencies (#29030) 1 year ago
collaboration.go Add user blocking (#29028) 11 months ago
collaboration_test.go Add user blocking (#29028) 11 months ago
commit.go Move context from modules to services (#29440) 11 months ago
contributors_graph.go Implement code frequency graph (#29191) 11 months ago
contributors_graph_test.go Implement contributors graph (#27882) 12 months ago
create.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 11 months ago
create_test.go bump to use go 1.22 (#29119) 12 months ago
delete.go Move some asymkey functions to service layer (#28894) 11 months ago
delete_test.go Delete repos of org when purge delete user (#27273) 1 year ago
fork.go Add user blocking (#29028) 11 months ago
fork_test.go Add option to prohibit fork if user reached maximum limit of repositories (#21848) 2 years ago
generate.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 11 months ago
generate_test.go Move generate from module to service (#29465) 11 months ago
hooks.go Simplify how git repositories are opened (#28937) 1 year ago
init.go Move generate from module to service (#29465) 11 months ago
lfs.go Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 11 months ago
lfs_test.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 1 year ago
main_test.go make writing main test easier (#27270) 1 year ago
migrate.go Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 11 months ago
push.go Add cache for branch divergence on branch list page (#29577) 11 months ago
repository.go Remove unnecessary parameter (#27671) 1 year ago
repository_test.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
review.go Use context parameter in services/repository (#23186) 2 years ago
review_test.go Use context parameter in services/repository (#23186) 2 years ago
setting.go Fix an actions schedule bug (#28942) 1 year ago
template.go Move generate from module to service (#29465) 11 months ago
transfer.go Add user blocking (#29028) 11 months ago
transfer_test.go Move some repository transfer functions to service layer (#28855) 1 year ago