Lunny Xiao
|
d91d4db344
|
Move tests as seperate sub packages to reduce duplicated file names (#19951)
|
3 years ago |
Lunny Xiao
|
fd7d83ace6
|
Move almost all functions' parameter db.Engine to context.Context (#19748)
* Move almost all functions' parameter db.Engine to context.Context
* remove some unnecessary wrap functions
|
3 years ago |
Lunny Xiao
|
18033f49ba
|
Restrict email address validation (#17688)
This didn't follow the RFC but it's a subset of that. I think we should narrow the allowed chars at first and discuss more possibility in future PRs.
|
3 years ago |
Lunny Xiao
|
9defddb286
|
Move more model into models/user (#17826)
* Move more model into models/user
* Remove unnecessary comment
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
|
3 years ago |
wxiaoguang
|
df64fa4865
|
Decouple unit test code from business code (#17623)
|
3 years ago |
Lunny Xiao
|
90eb9fb889
|
Move EmailAddress & UserRedirect into models/user/ (#17607)
* Move EmailAddress into models/user/
* Fix test
* rename user_mail to user_email
* Fix test
* Move UserRedirect into models/user/
* Fix lint & test
* Fix lint
* Fix lint
* remove nolint comment
* Fix lint
|
3 years ago |