0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-30 05:50:50 +01:00
gitea/routers/user/setting
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
..
account_test.go
account.go Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00
applications.go Hash App token (#6724) 2019-05-04 11:45:34 -04:00
keys.go
main_test.go
oauth2.go
profile.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
security_openid.go
security_twofa.go Fixed ineffectual assignments (#7555) 2019-07-22 17:35:53 +08:00
security_u2f.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
security.go