Commit Graph

56 Commits (89cc5011716850eb30c9e34130c4b2ecd9829252)

Author SHA1 Message Date
wxiaoguang 67c1a07285
Refactor AppURL usage (#30885) 7 months ago
wxiaoguang bffbbf5470
Improve oauth2 client "preferred username field" logic and the error handling (#30622) 7 months ago
SimonErm 6ba0c371c2
Allow `preferred_username` as username source for OIDC (#30454) 7 months ago
wxiaoguang ca4107dc96
Refactor external URL detection (#29973) 8 months ago
wxiaoguang 01500957c2
Refactor URL detection (#29960) 8 months ago
wxiaoguang df1268ca08
Make "/user/login" page redirect if the current user has signed in (#29583) 9 months ago
6543 a3f05d0d98
remove util.OptionalBool and related functions (#29513) 9 months ago
wxiaoguang 6bdfc84e6c
Allow to change primary email before account activation (#29412) 9 months ago
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
wxiaoguang 49e4826747
Refactor "user/active" related logic (#29390) 9 months ago
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