You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
2 years ago
..
access_log.go Improve template system and panic recovery (#24461) 2 years ago
api.go Improve template system and panic recovery (#24461) 2 years ago
api_org.go Implement FSFE REUSE for golang files (#21840) 2 years ago
api_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
captcha.go Add new captcha: cloudflare turnstile (#22369) 2 years ago
context.go Split "modules/context.go" to separate files (#24569) 2 years ago
context_cookie.go Split "modules/context.go" to separate files (#24569) 2 years ago
context_data.go Split "modules/context.go" to separate files (#24569) 2 years ago
context_form.go Split "modules/context.go" to separate files (#24569) 2 years ago
context_model.go Split "modules/context.go" to separate files (#24569) 2 years ago
context_request.go Split "modules/context.go" to separate files (#24569) 2 years ago
context_response.go Split "modules/context.go" to separate files (#24569) 2 years ago
context_serve.go Split "modules/context.go" to separate files (#24569) 2 years ago
context_test.go Refactor "route" related code, fix Safari cookie bug (#24330) 2 years ago
csrf.go Refactor cookie (#24107) 2 years ago
org.go Add missing tabs to org projects page (#22705) 2 years ago
package.go Improve template system and panic recovery (#24461) 2 years ago
pagination.go Make branches list page operations remember current page (#23420) 2 years ago
permission.go Require repo scope for PATs for private repos and basic authentication (#24362) 2 years ago
private.go Improve template system and panic recovery (#24461) 2 years ago
repo.go Split "modules/context.go" to separate files (#24569) 2 years ago
response.go Implement FSFE REUSE for golang files (#21840) 2 years ago
utils.go Implement FSFE REUSE for golang files (#21840) 2 years ago
xsrf.go Update gitea-vet to check FSFE REUSE (#22004) 2 years ago
xsrf_test.go Update gitea-vet to check FSFE REUSE (#22004) 2 years ago