bench-forgejo/routers
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 Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00
api/v1 Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
org Add teams to repo on collaboration page. (#8045) 2019-09-23 23:08:03 +03:00
private Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
repo Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00
routes Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00
user Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
home.go Include description in repository search. (#7942) 2019-08-25 20:06:36 +03:00
init.go Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00
install.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
metrics.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
swagger_json.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00