Commit Graph

77 Commits (d8a80b0ed7034b68d0f99e72bde0f26057971672)

Author SHA1 Message Date
Paweł Bogusławski 2d3b52c244
SessionUser protection against nil pointer dereference (#21358) 2 years ago
Clar Fon 3d10193be2
Allow specifying SECRET_KEY_URI, similar to INTERNAL_TOKEN_URI (#19663) 2 years ago
Hasnain Lakhani 64c3d55de7
Add support for authentication based on reverse proxy email (#19949) 2 years ago
zeripath bb0ff77e46
Share HTML template renderers and create a watcher framework (#20218) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Will Norris 82f89ff996
auth/reverseproxy: Add support for full name (#20776) 2 years ago
luzpaz 820031e556
Fix typo in source (#20723) 2 years ago
Clar Fon 036dd8a788
Rework mailer settings (#18982) 2 years ago
luzpaz d29d6d1991
Fix various typos (#20338) 2 years ago
zeripath 6efbe49439
EscapeFilter the group dn membership (#20200) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 3 years ago
Wim e528e2b435
Implement http signatures support for the API (#17565) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Gwilherm Folliot b7abb31b7b
Move user password verification after checking his groups on ldap auth (#19587) 3 years ago
Jimmy Praet 5aebc4f000
Respect DefaultUserIsRestricted system default when creating new user (#19310) 3 years ago
Lunny Xiao 3c3d49899f
Remove dependent on session auth for api/v1 routers (#19321) 3 years ago
zeripath f6145a69c4
Restore user autoregistration with email addresses (#19261) 3 years ago
KN4CK3R 1d332342db
Add Package Registry (#16510) 3 years ago
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518) 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
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
Lunny Xiao 59959ab222
Fix login with email panic when email is not exist (#18941) 3 years ago
Lunny Xiao f1b1472632
Fix ldap user sync missed email in email_address table (#18786) 3 years ago
Lunny Xiao 00be0c1b21
Fix login with email for ldap users (#18800) 3 years ago
Johan Van de Wauw 0cc2675c44
Fix ldap loginname (#18789) 3 years ago
Sven Seeberg 832ce406ae
Add LDAP group sync to Teams, fixes #1395 (#16299) 3 years ago
Gusted 22d266350d
Use `ImagedProvider` for gplus oauth2 provider (#18504) 3 years ago
zeripath 44deae8f3d
Refactor jwt.StandardClaims to RegisteredClaims (#18344) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao 35c3553870
Support webauthn (#17957) 3 years ago
Gusted 623c93ff46
Increase Salt randomness (#18179) 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 3ca5dc7e32
Move keys to models/asymkey (#17917) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao 9defddb286
Move more model into models/user (#17826) 3 years ago
mscherer 04c55e97a2
Fix code formating (#17830) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao baed01f247
Remove unnecessary attributes of User struct (#17745) 3 years ago
zeripath f8ec43dbc7
Extract constant names out for the ReverseProxy and Basic authentication methods (#17735) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
Michael Grigoryan 47448083a1
Minor readability patch. (#17627) 3 years ago
Lunny Xiao 90eb9fb889
Move EmailAddress & UserRedirect into models/user/ (#17607) 3 years ago
Lunny Xiao 0e189eecaa
Move oauth2 error to oauth2 service package (#17603) 3 years ago
Lunny Xiao 33fca2b537
Move webhook into models/webhook/ (#17579) 3 years ago
zeripath 9d855bd6a1
Simplify Gothic to use our session store instead of creating a different store (#17507) 3 years ago
Nico Schieder 870f5fbc41
Add groups scope/claim to OIDC/OAuth2 Provider (#17367) 3 years ago
Lunny Xiao f494776931
Use a variable but a function for IsProd because of a slight performance increment (#17368) 3 years ago