Commit Graph

27 Commits (0277603878a04ca66ca525bf0e53afb0c16ee116)

Author SHA1 Message Date
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
Meano 423a0fccb6
Fix activation of primary email addresses (#16385) 4 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
Adyanth H 66bf74d1b9
Escape reference to `user` table in models.SearchEmails (#16313) 4 years ago
Lunny Xiao b9d611e917
Always store primary email address into email_address table and also the state (#15956) 4 years ago
a1012112796 e375cbfd46
rsponse 404 when delete not exist email (#15383) 4 years ago
Bo-Yi Wu 167b0f46ef
chore(models): rewrite code format. (#14754) 4 years ago
6543 f915161a2f
skip email validation on empty string (#13627) 4 years ago
Chris Shyi d025d84d91
Add email validity check (#13475) 4 years ago
Lunny Xiao 1645d4a5d8
Use ID or Where to instead directly use Get when load object from database (#11925) 5 years ago
guillep2k 5e1438ba92
Admin page for managing user e-mail activation (#10557) 5 years ago
guillep2k cfcd8e4146
Ensure only own addresses are updated (#10397) 5 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 6 years ago
Ethan Koenig aa962deec0 Replace deprecated Id method with ID (#2655) 7 years ago
Lunny Xiao dd55534b82 Reduce usage of allcols on update (#2596) 7 years ago
Lauris BH 6db387a21e Refactor session close as xorm already does everything needed internally (#2020) 8 years ago
Ethan Koenig 1207bda94b Fix typos in models/ (#576) 8 years ago
Denis Denisov 380e32e129 Fix random string generator (#384) 8 years ago
Lunny Xiao b4c794058a fixed vulnerabilities (#392) 8 years ago
Bwko a4ece1f223 Fixes typos 8 years ago
Bwko 066f515a47 Lint models/user_email.go 8 years ago
Lunny Xiao 555d8b16cb fixed bug #151 caused Find should be Get (#153) 8 years ago
Thibault Meyer a4454f5d0f
Rewrite XORM queries 8 years ago
Unknwon 1f2e173a74 Refactor User.Id to User.ID 9 years ago
Unknwon 52322ef624 models/user_mail: refactor EmailAddress 9 years ago