Commit Graph

50 Commits (56bff7ae234ee21d0e4524e401a49385c383ccaf)

Author SHA1 Message Date
wxiaoguang 5e6523aa57
Update go dependencies (#32389) 3 weeks ago
techknowlogick f183783baa
Save initial signup information for users to aid in spam prevention (#31852) 2 months ago
silverwind 74f0c84fa4
Enable more `revive` linter rules (#30608) 7 months ago
Lunny Xiao e2277d07ca
Move some asymkey functions to service layer (#28894) 9 months ago
6543 7fbdb60fc1
Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329) 9 months ago
KN4CK3R f8b471ace1
Unify user update methods (#28733) 10 months ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
CaiCandong 7ad31567cd
Fix ldap admin privileges update bug (#27051) 1 year ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year ago
Sven Seeberg 5f7fa27a44
Improve LDAP group config documentation, fixes #21159 (#21227) 1 year ago
KN4CK3R 5315153059
Use `Set[Type]` instead of `map[Type]bool/struct{}`. (#26804) 1 year ago
Zettat123 a55ff0dd99
Change default email domain for LDAP users (#25425) 1 year ago
Zettat123 33cd74ad70
Fix LDAP sync when Username Attribute is empty (#25278) 1 year ago
wxiaoguang 0ca5adee16
Do not send "registration success email" for external auth sources (#24632) 2 years ago
Gary Moon b8c19e7a11
Update LDAP filters to include both username and email address (#24547) 2 years ago
zeripath ed5e7d03c6
Don't apply the group filter when listing LDAP group membership if it is empty (#23745) 2 years ago
KN4CK3R e8186f1c0f
Map OIDC groups to Orgs/Teams (#21441) 2 years ago
Pavel Ezhov 98770d3db8
Fix group filter for ldap source sync (#22506) 2 years ago
Jason Song 477a1cc40e
Improve utils of slices (#22379) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
zeripath 6efbe49439
EscapeFilter the group dn membership (#20200) 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
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 b06b9a056c
Move organization related structs into sub package (#18518) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
Lunny Xiao f1b1472632
Fix ldap user sync missed email in email_address table (#18786) 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
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 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 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
Lunny Xiao 33fca2b537
Move webhook into models/webhook/ (#17579) 3 years ago
zeripath 123f0aea00
Allow LDAP Sources to provide Avatars (#16851) 3 years ago
zeripath 7e98cd58dd
Add SkipLocal2FA option to pam and smtp sources (#17078) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
zeripath 27b351aba5
Make LDAP be able to skip local 2FA (#16954) 3 years ago
zeripath db6b7db06d
Improve LDAP synchronization efficiency (#16994) 3 years ago
zeripath f394019e9d
Report the associated filter if there is an error in LDAP (#17014) 3 years ago
zeripath 162c32af7e
Send registration email on user autoregistration (#16523) 3 years ago
zeripath e29e163737
Improve SMTP authentication and Fix user creation bugs (#16612) 3 years ago
zeripath 6a33b290a0
Fix add authentication page (#16543) 3 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
zeripath 5d2e11eedb
Refactor: Move login out of models (#16199) 3 years ago