forgejo/services
Lunny Xiao 5a438ee3c0
Move all mail related codes from models to services/mailer (#7200)
* 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
2019-09-24 13:02:49 +08:00
..
comments Move git diff codes from models to services/gitdiff (#7889) 2019-09-05 22:20:09 -04:00
gitdiff Move git diff codes from models to services/gitdiff (#7889) 2019-09-05 22:20:09 -04:00
mailer Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00
milestone move some milestone functions to a standalone package (#8213) 2019-09-18 08:17:12 +08:00
release Move create release from models to a standalone package (#7539) 2019-09-15 23:28:25 +08:00