0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 11:04:33 +01:00
gitea/routers/web/auth
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
..
2fa.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
auth.go Split "modules/context.go" to separate files (#24569) 2023-05-08 17:36:54 +08:00
linkaccount.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
main_test.go
oauth.go Respect the REGISTER_MANUAL_CONFIRM setting when registering via OIDC (#24035) 2023-04-25 14:40:48 +08:00
oauth_test.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
openid.go Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
password.go Split "modules/context.go" to separate files (#24569) 2023-05-08 17:36:54 +08:00
webauthn.go Replace deprecated Webauthn library (#22400) 2023-01-11 21:51:00 -05:00