Commit Graph

46 Commits (98ab9445d1020c515c3c789f0b27d952903a2978)

Author SHA1 Message Date
6543 4ba642d07d
Revert "Support SAML authentication (#25165)" (#29358) 9 months ago
techknowlogick 5bb8d1924d
Support SAML authentication (#25165) 9 months ago
KN4CK3R f8b471ace1
Unify user update methods (#28733) 10 months ago
Kyle D 54acf7b0d4
Normalize oauth email username (#28561) 11 months ago
wxiaoguang e5d8c4b8d4
Avoid cycle-redirecting user/login page (#28636) 11 months ago
Lunny Xiao e7cb8da2a8
Always enable caches (#28527) 11 months ago
Lunny Xiao 1bf5527eac
Refactor Find Sources and fix bug when view a user who belongs to an unactive auth source (#27798) 1 year ago
JakobDev 76a85a4ce9
Final round of `db.DefaultContext` refactor (#27587) 1 year ago
KN4CK3R c6c829fe3f
Enhanced auth token / remember me (#27606) 1 year ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
JakobDev f91dbbba98
Next round of `db.DefaultContext` refactor (#27089) 1 year ago
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
Dmitry Sharshakov 63b53af933
Show OpenID Connect and OAuth on signup page (#20242) 1 year ago
Jack Hay c0ab7070e5
Update team invitation email link (#26550) 1 year ago
6543 8995046110
Less naked returns (#25713) 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 ddf96f68cc
Use JSON response for "user/logout" (#25522) 1 year ago
wxiaoguang cb700aedd1
Split "modules/context.go" to separate files (#24569) 2 years ago
wxiaoguang 5b9557aef5
Refactor cookie (#24107) 2 years ago
zeripath 61b89747ed
Provide the ability to set password hash algorithm parameters (#22942) 2 years ago
Otto Richter (fnetX) 95d9fbdcf3
Fix error on account activation with wrong passwd (#22609) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 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
Jason Song 5a6cba4cf4
Set last login when activating account (#21731) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
KN4CK3R 1713beb73b
Suppress `ExternalLoginUserNotExist` error (#21504) 2 years ago
Gusted 58de07e5fd
Add support mCaptcha as captcha provider (#20458) 2 years ago
Gusted 0048595811
Remove U2F support (#20141) 2 years ago
Gusted 5d3f99c7c6
Make better use of i18n (#20096) 2 years ago
zeripath 468387e9ce
Prevent NPE when cache service is disabled (#19703) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
6543 e2a3f3d259
Federation: return useful statistic information for nodeinfo (#19561) 3 years ago
Jimmy Praet 5aebc4f000
Respect DefaultUserIsRestricted system default when creating new user (#19310) 3 years ago
wxiaoguang 84ceaa98bd
Refactor CSRF protection modules, make sure CSRF tokens can be up-to-date. (#19337) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
zeripath 7fc5fd6415
Do not send activation email if manual confirm is set (#19119) 3 years ago
KN4CK3R c88f2e2acc
Handle email address not exist. (#19089) 3 years ago
Lunny Xiao 18033f49ba
Restrict email address validation (#17688) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao 35c3553870
Support webauthn (#17957) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago