6543
dbe9c11238
Use ID or Where to instead directly use Get when load object from database (#11925) (#11935)
Backport #11925
Use ID or Where to instead directly use Get when load object from database
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
пре 4 година
guillep2k
e4a876cee1
Admin page for managing user e-mail activation (#10557) (#10579)
* Admin page for managing user e-mail activation (#10557 )
* Implement mail activation admin panel
* Apply suggestions by @lunny
* Add UI for user activated emails
* Prevent admin from self-deactivate; add modal
Co-authored-by: zeripath <art27@cantab.net>
* Fix pagination options downgrade
Co-authored-by: zeripath <art27@cantab.net>
пре 4 година
guillep2k
3cee15e6f9
Ensure only own addresses are updated (#10397) (#10399)
пре 4 година
kolaente
f9ec2f89f2
Add golangci (#6418)
пре 5 година
Ethan Koenig
aa962deec0
Replace deprecated Id method with ID (#2655)
пре 6 година
Lunny Xiao
dd55534b82
Reduce usage of allcols on update (#2596)
* reduce usage of allcols on update
* fix bug and tests
пре 6 година
Lauris BH
6db387a21e
Refactor session close as xorm already does everything needed internally (#2020)
пре 7 година
Ethan Koenig
1207bda94b
Fix typos in models/ (#576)
пре 7 година
Denis Denisov
380e32e129
Fix random string generator (#384)
* 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
пре 7 година
Lunny Xiao
b4c794058a
fixed vulnerabilities (#392)
пре 7 година
Bwko
a4ece1f223
Fixes typos
пре 7 година
Bwko
066f515a47
Lint models/user_email.go
пре 7 година
Lunny Xiao
555d8b16cb
fixed bug #151 caused Find should be Get (#153)
пре 7 година
Thibault Meyer
a4454f5d0f
Rewrite XORM queries
пре 7 година
Unknwon
1f2e173a74
Refactor User.Id to User.ID
пре 8 година
Unknwon
52322ef624
models/user_mail: refactor EmailAddress
пре 8 година