Commit Graph

18 Commits (ec3d467f15a683b305ac165c3eba6683628dcb25)

Author SHA1 Message Date
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
6543 4ba642d07d
Revert "Support SAML authentication (#25165)" (#29358) 9 months ago
techknowlogick 5bb8d1924d
Support SAML authentication (#25165) 9 months ago
KN4CK3R c6c829fe3f
Enhanced auth token / remember me (#27606) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
Lunny Xiao 0403bd989f
Log the real reason when authentication fails (but don't show the user) (#25414) 1 year ago
wxiaoguang 5b9557aef5
Refactor cookie (#24107) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
Xinyu Zhou 68e934ab5d
Add option to enable CAPTCHA validation for login (#21638) 2 years ago
Jason Song 1d22911cfe
Extract updateSession function to reduce repetition (#21735) 2 years ago
Gusted 58de07e5fd
Add support mCaptcha as captcha provider (#20458) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Jimmy Praet 5aebc4f000
Respect DefaultUserIsRestricted system default when creating new user (#19310) 3 years ago
wxiaoguang 49dd906753
Use base32 for 2FA scratch token (#18384) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
zeripath bcc13f3889
Reset Session ID on login (#18018) 3 years ago
zeripath 0981ec30c3
Add Option to synchronize Admin & Restricted states from OIDC/OAuth2 along with Setting Scopes (#16766) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao 95d3266bee
Move user follow and openid into models/user/ (#17613) 3 years ago
zeripath 27b351aba5
Make LDAP be able to skip local 2FA (#16954) 3 years ago
6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
zeripath 5d2e11eedb
Refactor: Move login out of models (#16199) 3 years ago
Lunny Xiao 1bfb0a24d8
Refactor routers directory (#15800) 3 years ago
zeripath 3183a465d7
Make modules/context.Context a context.Context (#16031) 4 years ago
silverwind 1e6fa57acb
Use single shared random string generation function (#15741) 4 years ago
6543 a229e34387
Allow only internal registration (#15795) 4 years ago
Martin Michaelis 55eb1745bd
OAuth2 auto-register (#5123) 4 years ago
zeripath fa3895ce81
Move modules/forms to services/forms (#15305) 4 years ago
6543 16dea6cebd
[refactor] replace int with httpStatusCodes (#15282) 4 years ago
zeripath 9b261f52f0
Add SameSite setting for cookies (#14900) 4 years ago
Michel Ganguin 4457d0e8d9
Honor REGISTER_MANUAL_CONFIRM when doing openid registration (#14548) 4 years ago
Lunny Xiao 41c0776568
Fix captcha (#14488) 4 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
John Olheiser 72636fd664
hCaptcha Support (#12594) 4 years ago
zeripath 76053ac31a
Whenever the ctx.Session is updated, release it to save it before sending the redirect (#11456) 5 years ago
guillep2k 09dbd85a3a
Various fixes in login sources (#10428) 5 years ago
Lunny Xiao 5a438ee3c0
Move all mail related codes from models to services/mailer (#7200) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
Lunny Xiao 85202d4784
Display ui time with customize time location (#7792) 5 years ago
AJ ONeal 62d6127f1b Make captcha and password optional for external accounts (#6606) 5 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 6 years ago
Bo-Yi Wu 743697a549
refactor: append, build variable and type switch (#4940) 6 years ago
zeripath ade88a877d Allow Recaptcha service url to be configured (#6820) 6 years ago
zeripath 704da08fdc
Better logging (#6038) (#6095) 6 years ago
mrsdizzie 6f2e1bd23a Don't Unescape redirect_to cookie value (#6399) 6 years ago
zeripath 2b36bdd490 Do not display the raw OpenID error in the UI (#5705) 6 years ago