1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-09 09:24:25 +00:00
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
..
2019-08-23 12:40:29 -04:00
2019-08-23 12:40:29 -04:00
2019-09-21 13:01:34 -04:00
2019-08-23 12:40:29 -04:00
2019-06-12 15:41:28 -04:00
2019-08-23 12:40:29 -04:00
2019-08-23 12:40:29 -04:00
2019-09-17 12:39:37 +03:00
2018-11-04 22:20:00 -05:00
2019-08-23 12:40:29 -04:00
2019-06-12 15:41:28 -04:00
2017-11-13 22:51:45 +08:00
2019-08-23 12:40:29 -04:00
2018-03-16 22:04:33 +08:00
2019-03-08 11:42:50 -05:00
2019-08-23 12:40:29 -04:00
2019-08-23 12:40:29 -04:00
2019-08-23 12:40:29 -04:00
2019-08-23 12:40:29 -04:00
2019-08-23 12:40:29 -04:00
2019-08-17 13:10:17 +03:00
2019-06-12 15:41:28 -04:00