1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-19 08:54:47 +01:00
gitea/modules/context
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
..
access_log.go
api_org.go
api_test.go
api.go
captcha.go
context_cookie.go Split "modules/context.go" to separate files (#24569) 2023-05-08 17:36:54 +08:00
context_data.go Split "modules/context.go" to separate files (#24569) 2023-05-08 17:36:54 +08:00
context_form.go Split "modules/context.go" to separate files (#24569) 2023-05-08 17:36:54 +08:00
context_model.go Split "modules/context.go" to separate files (#24569) 2023-05-08 17:36:54 +08:00
context_request.go Split "modules/context.go" to separate files (#24569) 2023-05-08 17:36:54 +08:00
context_response.go Split "modules/context.go" to separate files (#24569) 2023-05-08 17:36:54 +08:00
context_serve.go Split "modules/context.go" to separate files (#24569) 2023-05-08 17:36:54 +08:00
context_test.go
context.go Split "modules/context.go" to separate files (#24569) 2023-05-08 17:36:54 +08:00
csrf.go
org.go
package.go
pagination.go
permission.go
private.go
repo.go Split "modules/context.go" to separate files (#24569) 2023-05-08 17:36:54 +08:00
response.go
utils.go
xsrf_test.go
xsrf.go