Commit Graph

1 Commits (88f2e457d891c4e91a9eddab8143d0109e08dfa9)

Author SHA1 Message Date
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
zeripath 6a33b290a0
Fix add authentication page (#16543) 3 years ago
zeripath 5d2e11eedb
Refactor: Move login out of models (#16199) 3 years ago
zeripath 2635778425
Add basic edit ldap auth test & actually fix #16252 (#16465) 3 years ago
zeripath fdb0e82148
Fix crash following ldap authentication update (#16447) 3 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
zeripath 9a0cd3af3b
Handle misencoding of login_source cfg in mssql (#16268) 4 years ago
zeripath 5f2ef17fdb
Don't WARN log UserNotExist errors on ExternalUserLogin failure (#16238) 4 years ago
zeripath 17be645498
Encrypt LDAP bind password in db with SECRET_KEY (#15547) 4 years ago
zeripath d234d37aa8
Restore PAM user autocreation functionality (#15825) 4 years ago
Bo-Yi Wu 167b0f46ef
chore(models): rewrite code format. (#14754) 4 years ago
zeripath f0e15250b9
Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
6543 74a0481586
[Refactor] Passwort Hash/Set (#14282) 4 years ago
Timo Ley 2b2a4a53bf
Custom icons for OAuth sources (#14161) 4 years ago
6543 a19447aed1
migrate from com.* to alternatives (#14103) 4 years ago
Lunny Xiao 1645d4a5d8
Use ID or Where to instead directly use Get when load object from database (#11925) 5 years ago
Lunny Xiao c61b902538
Upgrade xorm to v1.0.0 (#10646) 5 years ago
Lauris BH 37c3db7be6
Add restricted user filter to LDAP authentication (#10600) 5 years ago
guillep2k 09dbd85a3a
Various fixes in login sources (#10428) 5 years ago
zeripath a315e091e4
Do not try to recreate ldap user if they are already created (#9900) 5 years ago
zeripath dcf7e858cb Check user != nil before checking values (#9881) 5 years ago
QuaSoft 7b4d2f7a2a Add single sign-on support via SSPI on Windows (#8463) 5 years ago
6543 665ce1dcb3 Drop Admin attribute based on LDAP when login (continue #1743) (#8849) 5 years ago
Lunny Xiao d151503d34 Upgrade xorm to v0.8.0 (#8536) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
Lunny Xiao 85202d4784
Display ui time with customize time location (#7792) 5 years ago
EpicCoder 8d9d6aa903 Add additional password hash algorithms (closes #5859) (#6023) 6 years ago
Lunny Xiao aa7c34cf86 Fix error log when loading issues caused by a xorm bug (#7271) 6 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 6 years ago
Lunny Xiao 24a536d145 Remove macaron dependent on models (#6940) 6 years ago
Lunny Xiao ef2a343e27 fix bug when user login and want to resend register confirmation email (#6482) 6 years ago
Lunny Xiao f5fa22a499 Fix prohibit login check on authorization (#6106) 6 years ago
zeripath 0f295ababa Only allow local login if password is non-empty (#5906) 6 years ago
zeripath 8bb0a6f425 Synchronize SSH keys on login with LDAP + Fix SQLite deadlock on ldap ssh key deletion (#5557) 6 years ago
Lunny Xiao f2e20c81b6 Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
Ethan Koenig aa962deec0 Replace deprecated Id method with ID (#2655) 7 years ago
Lunny Xiao a8717e5e3a Use AfterLoad instead of AfterSet on Structs (#2628) 7 years ago
Ethan Koenig 4cb9394a97 Fix lint errors (#2547) 7 years ago
Lunny Xiao 005900baea Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 7 years ago
G 66e8262530 Replace calls to xorm UseBool with Where (#2237) 7 years ago
Lunny Xiao 19d889daa2 fix bug not to trim space of login username (#1796) 8 years ago
Lauris BH 524885dd65 LDAP user synchronization (#1478) 8 years ago
Ethan Koenig a5f28a4544 gofmt (#1662) 8 years ago
Willem van Dreumel 950f2e2074 Additional OAuth2 providers (#1010) 8 years ago
Lunny Xiao c2eef171ff fix some typos (#1082) 8 years ago
Lunny Xiao 19b3c45ca7 fix 500 when use a duplicat email instead of giving an error tip (#1040) 8 years ago
Willem van Dreumel 01d957677f Oauth2 consumer (#679) 8 years ago