0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 21:24:31 +01:00
gitea/modules
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
..
auth
avatar
base
cache
charset
context
cron
generate
git
gzip
highlight
httplib
indexer
lfs
log
markup
metrics
migrations
minwinsvc
notification
options
pprof
private
process
public
pull
recaptcha
repofiles
search
secret
session
setting
ssh
structs
sync
templates
test
timeutil
upload
user
util
validation