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.
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.
1 year ago
..
2fa.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
auth.go Split "modules/context.go" to separate files (#24569) 1 year ago
linkaccount.go Add context cache as a request level cache (#22294) 1 year ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
oauth.go Respect the REGISTER_MANUAL_CONFIRM setting when registering via OIDC (#24035) 1 year ago
oauth_test.go Add context cache as a request level cache (#22294) 1 year ago
openid.go Refactor cookie (#24107) 1 year ago
password.go Split "modules/context.go" to separate files (#24569) 1 year ago
webauthn.go Replace deprecated Webauthn library (#22400) 2 years ago