githaven-fork/routers/admin
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
..
admin_test.go Shadow the password on cache and session config on admin panel (#7300) 2019-06-27 00:12:38 +08:00
admin.go Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00
auths.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
hooks.go Implement Default Webhooks (#4299) 2019-03-18 22:33:20 -04:00
main_test.go Force user to change password (#4489) 2018-09-13 15:04:25 +03:00
notice.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
orgs.go Show private organization for admin, fix #6111 (#6112) 2019-02-19 09:16:06 +08:00
repos.go fix #3200 (#6033) 2019-02-11 03:27:24 +02:00
users_test.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
users.go Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00