1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-09 01:14:27 +00:00
gitea/services/auth
wxiaoguang 6d5aa9218e
Refactor request context (#32956)
Introduce RequestContext: is a short-lived context that is used to store
request-specific data.

RequestContext could be used to clean form tmp files, close context git
repo, and do some tracing in the future.

Then a lot of legacy code could be removed or improved. For example:
most `ctx.Repo.GitRepo.Close()` could be removed because the git repo
could be closed when the request is done.
2024-12-24 11:43:57 +08:00
..
source Fix various trivial problems (#32861) 2024-12-17 01:15:18 +00:00
auth_test.go
auth_token_test.go
auth_token.go
auth.go
basic.go
group.go
httpsign.go
interface.go Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
main_test.go
oauth2_test.go Refactor request context (#32956) 2024-12-24 11:43:57 +08:00
oauth2.go
reverseproxy.go
session.go
signin.go
source.go
sspi.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
sspiauth_posix.go
sspiauth_windows.go
sync.go