You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
5 years ago
..
setting Move all mail related codes from models to services/mailer (#7200) 5 years ago
auth.go Move all mail related codes from models to services/mailer (#7200) 5 years ago
auth_openid.go Move all mail related codes from models to services/mailer (#7200) 5 years ago
home.go Add 'Mentioning you' group to /issues page (#8201) 5 years ago
home_test.go Use gitea forked macaron (#7933) 5 years ago
main_test.go Unit tests for wiki routers (#3022) 7 years ago
notification.go Unifies pagination template usage (#6531) (#6533) 5 years ago
oauth.go Use gitea forked macaron (#7933) 5 years ago
profile.go Include description in repository search. (#7942) 5 years ago