gitea/services/repository
wxiaoguang 4e2f1ee58d
Refactor web package and context package ()
1. The "web" package shouldn't depends on "modules/context" package,
instead, let each "web context" register themselves to the "web"
package.
2. The old Init/Free doesn't make sense, so simplify it
* The ctx in "Init(ctx)" is never used, and shouldn't be used that way
* The "Free" is never called and shouldn't be called because the SSPI
instance is shared

---------

Co-authored-by: Giteabot <teabot@gitea.io>
..
archiver Refactor web package and context package ()
files Refactor web package and context package ()
adopt.go Fix unclear `IsRepositoryExist` logic ()
adopt_test.go Use more specific test methods ()
avatar.go Improve avatar uploading / resizing / compressing, remove Fomantic card module ()
avatar_test.go Use context parameter in services/repository ()
branch.go Remove duplicated functions when deleting a branch ()
cache.go Use the type RefName for all the needed places and fix pull mirror sync bugs ()
check.go Use RepositoryList instead of []*Repository ()
fork.go Use context parameter in services/repository ()
fork_test.go Add option to prohibit fork if user reached maximum limit of repositories ()
hooks.go Add user webhooks ()
lfs.go Add cron method to gc LFS MetaObjects ()
main_test.go Implement FSFE REUSE for golang files ()
push.go Remove duplicated functions when deleting a branch ()
repository.go Add status indicator on main home screen for each repo ()
repository_test.go refactor some functions to support ctx as first parameter ()
review.go Use context parameter in services/repository ()
review_test.go Use context parameter in services/repository ()
template.go Use context parameter in services/repository ()
transfer.go Use context parameter in services/repository ()
transfer_test.go Rename almost all Ctx functions ()