forgejo/routers/web/repo
Lunny Xiao 894d9b2836
Move context from modules to services (#29440)
Since `modules/context` has to depend on `models` and many other
packages, it should be moved from `modules/context` to
`services/context` according to design principles. There is no logic
code change on this PR, only move packages.

- Move `code.gitea.io/gitea/modules/context` to
`code.gitea.io/gitea/services/context`
- Move `code.gitea.io/gitea/modules/contexttest` to
`code.gitea.io/gitea/services/contexttest` because of depending on
context
- Move `code.gitea.io/gitea/modules/upload` to
`code.gitea.io/gitea/services/context/upload` because of depending on
context

(cherry picked from commit 29f149bd9f517225a3c9f1ca3fb0a7b5325af696)

Conflicts:
	routers/api/packages/alpine/alpine.go
	routers/api/v1/repo/issue_reaction.go
	routers/install/install.go
	routers/web/admin/config.go
	routers/web/passkey.go
	routers/web/repo/search.go
	routers/web/repo/setting/default_branch.go
	routers/web/user/home.go
	routers/web/user/profile.go
	tests/integration/editor_test.go
	tests/integration/integration_test.go
	tests/integration/mirror_push_test.go
	trivial context conflicts
	also modified all other occurrences in Forgejo specific files
2024-03-06 12:10:43 +08:00
..
actions Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
badges Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
flags Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
setting Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
activity.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
attachment.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
blame.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
branch.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
cherry_pick.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
code_frequency.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
commit.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
compare.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
contributors.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
download.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
editor.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
editor_test.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
find.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
githttp.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
githttp_test.go Fix http protocol auth (#27875) 2023-11-02 22:14:33 +08:00
helper.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
helper_test.go Make web context initialize correctly for different cases (#26726) 2023-08-25 19:07:42 +08:00
issue.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
issue_content_history.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
issue_dependency.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
issue_label.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
issue_label_test.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
issue_lock.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
issue_pin.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
issue_stopwatch.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
issue_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
issue_timetrack.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
issue_watch.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
middlewares.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
migrate.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
milestone.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
packages.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
patch.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
projects.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
projects_test.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
pull.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
pull_review.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
pull_review_test.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
recent_commits.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
release.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
release_test.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
render.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
repo.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
search.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
topic.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
treelist.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
view.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
view_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
wiki.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
wiki_test.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00