0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-22 15:11:47 +01:00
gitea/models/repo
wxiaoguang cb700aedd1
Split "modules/context.go" to separate files (#24569)
The "modules/context.go" is too large to maintain.

This PR splits it to separate files, eg: context_request.go,
context_response.go, context_serve.go

This PR will help:

1. The future refactoring for Gitea's web context (eg: simplify the context)
2. Introduce proper "range request" support
3. Introduce context function

This PR only moves code, doesn't change any logic.
2023-05-08 17:36:54 +08:00
..
archiver.go Display when a repo was archived (#22664) 2023-04-26 10:46:26 -04:00
attachment.go Make Release Download URLs predictable (#23891) 2023-04-12 17:05:23 +08:00
attachment_test.go
avatar.go
collaboration.go
collaboration_test.go
fork.go
fork_test.go
git.go
issue.go
language_stats.go
main_test.go
mirror.go
pushmirror.go
pushmirror_test.go
redirect.go
redirect_test.go
release.go Make Release Download URLs predictable (#23891) 2023-04-12 17:05:23 +08:00
repo.go Fix unclear IsRepositoryExist logic (#24374) 2023-04-28 14:14:26 -04:00
repo_indexer.go
repo_list.go
repo_list_test.go fix calReleaseNumCommitsBehind (#24148) 2023-04-18 21:11:17 +02:00
repo_test.go
repo_unit.go
search.go Split "modules/context.go" to separate files (#24569) 2023-05-08 17:36:54 +08:00
star.go
star_test.go
topic.go Sort repo topic labels by name (#24123) 2023-04-14 15:29:05 -04:00
topic_test.go
update.go Fix unclear IsRepositoryExist logic (#24374) 2023-04-28 14:14:26 -04:00
upload.go
user_repo.go Refactor authors dropdown (send get request from frontend to avoid long wait time) (#23890) 2023-04-07 08:11:02 +08:00
user_repo_test.go
watch.go
watch_test.go
wiki.go
wiki_test.go