forgejo/services/repository/files
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
..
cherry_pick.go Fix reverting a merge commit failing (#28794) 2024-01-16 15:06:51 +00:00
commit.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) 2024-02-26 22:30:26 +01:00
content.go Extract linguist code to method (#29168) 2024-02-16 15:20:52 +01:00
content_test.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
diff.go Fix reverting a merge commit failing (#28794) 2024-01-16 15:06:51 +00:00
diff_test.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
file.go [GITEA] Allow user to select email for file operations in Web UI 2024-02-05 16:09:41 +01:00
file_test.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
patch.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
search.go [FEAT] add fallback repo search using git grep 2024-02-20 13:00:34 +00:00
search_test.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
temp_repo.go Fix reverting a merge commit failing (#28794) 2024-01-16 15:06:51 +00:00
tree.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) 2024-02-26 22:30:26 +01:00
tree_test.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
update.go Fix content size does not match error when uploading lfs file (#29259) 2024-02-26 21:42:14 +01:00
upload.go [BUG] Implement commit mail selection for other Git operations 2024-02-27 22:41:58 +00:00