Commit Graph

52 Commits (pr/issue-template-next)

Author SHA1 Message Date
zeripath 61b89747ed
Provide the ability to set password hash algorithm parameters () 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache () 2 years ago
KN4CK3R e8186f1c0f
Map OIDC groups to Orgs/Teams () 2 years ago
Otto Richter (fnetX) 95d9fbdcf3
Fix error on account activation with wrong passwd () 2 years ago
Sybren 95e8ea9440
Allow setting `redirect_to` cookie on OAuth login () 2 years ago
techknowlogick 6f231a7980
Replace deprecated Webauthn library () 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter () 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files () 2 years ago
Xinyu Zhou 68e934ab5d
Add option to enable CAPTCHA validation for login () 2 years ago
Jason Song 1d22911cfe
Extract updateSession function to reduce repetition () 2 years ago
Jason Song 5a6cba4cf4
Set last login when activating account () 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) () 2 years ago
M Hickford 191a74d622
Record OAuth client type at registration () 2 years ago
M Hickford afebbf29a9
Require authentication for OAuth token refresh () 2 years ago
KN4CK3R 1713beb73b
Suppress `ExternalLoginUserNotExist` error () 2 years ago
qwerty287 a902af75f4
Support instance-wide OAuth2 applications () 2 years ago
M Hickford 34f509eb7a
Parse OAuth Authorization header when request omits client secret () 2 years ago
M Hickford 0e83ab8df7
Improve error descriptions for unauthorized_client () 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages () 2 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics () 2 years ago
Gusted 58de07e5fd
Add support mCaptcha as captcha provider () 2 years ago
zeripath e819da0837
WebAuthn CredentialID field needs to be increased in size () 3 years ago
Gusted 0048595811
Remove U2F support () 3 years ago
Gusted 5d3f99c7c6
Make better use of i18n () 3 years ago
Gusted 711cbcce8d
Use neutral language in comments and docs () 3 years ago
SteveTheEngineer 1e2c2edab6
Catch the error before the response is processed by goth. () 3 years ago
Wim cb50375e2b
Add more linters to improve code readability () 3 years ago
oGi4i 9068c784c8
Use DisplayName() instead of FullName in Oauth provider () 3 years ago
Mai-Lapyst 4698a1ec47
Adding button to link accounts from user settings () 3 years ago
zeripath 468387e9ce
Prevent NPE when cache service is disabled () 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context () 3 years ago
6543 e2a3f3d259
Federation: return useful statistic information for nodeinfo () 3 years ago
Jimmy Praet 5aebc4f000
Respect DefaultUserIsRestricted system default when creating new user () 3 years ago
Lunny Xiao b8911fb456
Use a struct as test options () 3 years ago
wxiaoguang 84ceaa98bd
Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. () 3 years ago
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes () 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) () 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. () 3 years ago
zeripath 7fc5fd6415
Do not send activation email if manual confirm is set () 3 years ago
KN4CK3R c88f2e2acc
Handle email address not exist. () 3 years ago
Lunny Xiao 18033f49ba
Restrict email address validation () 3 years ago
zeripath 1c5afd17ee
Prevent panic on prohibited user login with oauth2 () 3 years ago
zeripath 7d452558f0
Fix OAuth Source Edit Page () 3 years ago
wxiaoguang 49dd906753
Use base32 for 2FA scratch token () 3 years ago
zeripath 44deae8f3d
Refactor jwt.StandardClaims to RegisteredClaims () 3 years ago
6543 54e9ee37a7
format with gofumpt () 3 years ago
Gusted 1d98d205f5
Enable deprecation error for v1.17.0 () 3 years ago
wxiaoguang 6fba174606
Fix incorrect OAuth message () 3 years ago
zeripath d7c2a2951c
Webauthn nits () 3 years ago
Lunny Xiao 35c3553870
Support webauthn () 3 years ago