Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Decouple unit test code from business code (#17623) | wxiaoguang | 2021-11-12 | 1 | -2/+2 |
| | |||||
* | Move db related basic functions to models/db (#17075) | Lunny Xiao | 2021-09-19 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Move db related basic functions to models/db * Fix lint * Fix lint * Fix test * Fix lint * Fix lint * revert unnecessary change * Fix test * Fix wrong replace string * Use *Context * Correct committer spelling and fix wrong replaced words Co-authored-by: zeripath <art27@cantab.net> | ||||
* | Move all mail related codes from models to services/mailer (#7200) | Lunny Xiao | 2019-09-24 | 1 | -0/+16 |
* move all mail related codes from models to modules/mailer * fix lint * use DBContext instead Engine * use WithContext not WithEngine * Use DBContext instead of Engine * don't use defer when sess.Close() * move DBContext to context.go and add some methods * move mailer from modules/ to services * fix lint * fix tests * fix fmt * add gitea copyright * fix tests * don't expose db functions * make code clear * add DefaultDBContext * fix build * fix bug |