forgejo/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 Add teams to repo on collaboration page. (#8045) 2019-09-23 23:08:03 +03:00
avatar
base
cache
charset Fix utf8 tests (#8192) 2019-09-21 13:01:34 -04:00
context Do only show teams access for organization repositories, not for personal repositories (#8265) 2019-09-24 09:30:40 +08:00
cron
generate
git Adds side-by-side diff for images (#6784) 2019-09-16 17:03:22 +08:00
gzip
highlight
httplib
indexer
lfs
log Fix data race (#8204) 2019-09-17 12:39:37 +03:00
markup Make link last commit massages in repository home page and commit tables (#8006) 2019-09-10 12:03:30 +03:00
metrics
migrations
minwinsvc
notification Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00
options
pprof
private
process
public
pull Refuse merge until all required status checks success (#7481) 2019-09-18 08:39:45 +03:00
recaptcha
repofiles
search
secret
session
setting Restrict repository indexing by glob match (#7767) 2019-09-11 20:26:28 +03:00
ssh
structs Add teams to repo on collaboration page. (#8045) 2019-09-23 23:08:03 +03:00
sync
templates Make link last commit massages in repository home page and commit tables (#8006) 2019-09-10 12:03:30 +03:00
test
timeutil
upload
user
util
validation