1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-01 09:51:39 -05:00
forgejo/routers/user
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
..
setting Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00
auth.go Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00
auth_openid.go Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00
home.go Add 'Mentioning you' group to /issues page (#8201) 2019-09-18 10:24:44 +03:00
home_test.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
main_test.go Unit tests for wiki routers (#3022) 2017-11-30 17:52:15 +02:00
notification.go Unifies pagination template usage (#6531) (#6533) 2019-04-20 00:15:19 -04:00
oauth.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
profile.go Include description in repository search. (#7942) 2019-08-25 20:06:36 +03:00