Commit Graph

13 Commits (ea50f60df231ba75c32d03118e0c8af17c325324)

Author SHA1 Message Date
kolaente f9ec2f89f2 Add golangci ()
Ethan Koenig aa962deec0 Replace deprecated Id method with ID ()
Lunny Xiao dd55534b82 Reduce usage of allcols on update ()
* reduce usage of allcols on update

* fix bug and tests
Lauris BH 6db387a21e Refactor session close as xorm already does everything needed internally ()
Ethan Koenig 1207bda94b Fix typos in models/ ()
Denis Denisov 380e32e129 Fix random string generator ()
* Remove unused custom-alphabet feature of random string generator

Fix random string generator

Random string generator should return error if it fails to read random data via crypto/rand

* Fixes variable (un)initialization mixed assign
Update test GetRandomString
Lunny Xiao b4c794058a fixed vulnerabilities ()
Bwko a4ece1f223 Fixes typos
Bwko 066f515a47 Lint models/user_email.go
Lunny Xiao 555d8b16cb fixed bug caused Find should be Get ()
Thibault Meyer a4454f5d0f
Rewrite XORM queries
Unknwon 1f2e173a74 Refactor User.Id to User.ID
Unknwon 52322ef624 models/user_mail: refactor EmailAddress