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/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.
1 month ago
..
source Fix various trivial problems (#32861) 2 months ago
auth.go Refactor CSRF token (#32216) 4 months ago
auth_test.go Fix attachment download bug (#27486) 1 year ago
auth_token.go Enhanced auth token / remember me (#27606) 1 year ago
auth_token_test.go Refactor timeutil package (#28623) 1 year ago
basic.go Enhancing Gitea OAuth2 Provider with Granular Scopes for Resource Access (#32573) 2 months ago
group.go Remove `Named` interface (#26913) 1 year ago
httpsign.go Remove SHA1 for support for ssh rsa signing (#31857) 5 months ago
interface.go Refactor request context (#32956) 1 month ago
main_test.go Enhanced auth token / remember me (#27606) 1 year ago
oauth2.go Enhancing Gitea OAuth2 Provider with Granular Scopes for Resource Access (#32573) 2 months ago
oauth2_test.go Refactor request context (#32956) 1 month ago
reverseproxy.go Save initial signup information for users to aid in spam prevention (#31852) 5 months ago
session.go Fix the bug that user may logout if he switch pages too fast (#29962) 11 months ago
signin.go remove util.OptionalBool and related functions (#29513) 11 months ago
source.go Final round of `db.DefaultContext` refactor (#27587) 1 year ago
sspi.go Refactor template & test related code (#32938) 1 month ago
sspiauth_posix.go Make SSPI auth mockable (#27036) 1 year ago
sspiauth_windows.go Make SSPI auth mockable (#27036) 1 year ago
sync.go Use db.Find instead of writing methods for every object (#28084) 1 year ago