gitea/routers/api/v1/repo
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>
..
blob.go Implement FSFE REUSE for golang files ()
branch.go Create a branch directly from commit on the create branch API ()
collaborators.go Add context cache as a request level cache ()
commits.go Filter get single commit ()
file.go Fix all possible setting error related storages and added some tests ()
fork.go Add IsErrRepoFilesAlreadyExist check when fork repo ()
git_hook.go Move `convert` package to services ()
git_ref.go Implement FSFE REUSE for golang files ()
hook.go Add user webhooks ()
hook_test.go Refactor web package and context package ()
issue.go Decouple the different contexts from each other ()
issue_attachment.go Preserve file size when creating attachments ()
issue_comment.go Use `CommentList` instead of `[]*Comment` ()
issue_comment_attachment.go Preserve file size when creating attachments ()
issue_dependency.go Add API to manage issue dependencies ()
issue_label.go Move `convert` package to services ()
issue_pin.go Followup to pinned Issues ()
issue_reaction.go Add context cache as a request level cache ()
issue_stopwatch.go Move `convert` package to services ()
issue_subscription.go Add context cache as a request level cache ()
issue_tracked_time.go Decouple the different contexts from each other ()
key.go Move `convert` package to services ()
label.go Add loading yaml label template files ()
language.go Implement FSFE REUSE for golang files ()
main_test.go Merge setting.InitXXX into one function with options ()
migrate.go Decouple the different contexts from each other ()
milestone.go Move `convert` package to services ()
mirror.go Add `sync_on_commit` option for push mirrors api ()
notes.go Filters for GetAllCommits ()
patch.go Implement FSFE REUSE for golang files ()
pull.go Filters for GetAllCommits ()
pull_review.go Make more functions use ctx instead of db.DefaultContext ()
release.go Add context cache as a request level cache ()
release_attachment.go Preserve file size when creating attachments ()
release_tags.go Add context cache as a request level cache ()
repo.go Improve Gitea's web context, decouple "issue template" code into service package ()
repo_test.go Refactor web package and context package ()
star.go Add context cache as a request level cache ()
status.go Decouple the different contexts from each other ()
subscriber.go Add context cache as a request level cache ()
tag.go Add context cache as a request level cache ()
teams.go Add context cache as a request level cache ()
topic.go Move `convert` package to services ()
transfer.go Add context cache as a request level cache ()
tree.go Implement FSFE REUSE for golang files ()
wiki.go Pass 'not' to commit count ()