Commit Graph

17 Commits (95d9fbdcf39db7595a23a69ca48bfb49b845874a)

Author SHA1 Message Date
Lunny Xiao ca67c5a8a7
refactor auth interface to return error when verify failure (#22119) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
zeripath bb0ff77e46
Share HTML template renderers and create a watcher framework (#20218) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 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
Lunny Xiao 6526733a58
Let web and API routes have different auth methods group (#19168) 3 years ago
KN4CK3R 3f280f89e7
Update HTTP status codes to modern codes (#18063) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao f494776931
Use a variable but a function for IsProd because of a slight performance increment (#17368) 3 years ago
wxiaoguang f0ba87fda8
Avatar refactor, move avatar code from `models` to `models.avatars`, remove duplicated code (#17123) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
zeripath 162c32af7e
Send registration email on user autoregistration (#16523) 3 years ago
zeripath 5d2e11eedb
Refactor: Move login out of models (#16199) 3 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
Lunny Xiao fb3ffeb18d
Add sso.Group, context.Auth, context.APIAuth to allow auth special routes (#16086) 3 years ago
zeripath a2df265476
Add trace logging to SSO methods (#15803) 4 years ago
Lunny Xiao 5e20fd6dbf
Move middlewares to web/middleware (#14480) 4 years ago
Lunny Xiao a51cc6dea4
Fix access log (#14475) 4 years ago
Lunny Xiao 84b147c7f0
Use IsProd instead of testing if it's equal. (#14336) 4 years ago
Lunny Xiao f76c30094f
Fix typo (#14332) 4 years ago
Lunny Xiao a1c9e8f266
Fix windows build error (#14263) 4 years ago
Lunny Xiao 15a475b7db
Fix recovery middleware to render gitea style page. (#13857) 4 years ago
silverwind 9269a038a4
Direct avatar rendering (#13649) 4 years ago
zeripath b78448e94e
Skip SSPI authentication attempts for /api/internal (#12556) 4 years ago
Lunny Xiao 1dd3f19ee3
Use google/uuid to instead satori/go.uuid (#11943) 4 years ago
QuaSoft 7b4d2f7a2a Add single sign-on support via SSPI on Windows (#8463) 5 years ago