1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-23 08:47:42 -05:00
forgejo/routers/api/v1
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
convert Add teams to repo on collaboration page. (#8045) 2019-09-23 23:08:03 +03:00
misc Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
org Add teams to repo on collaboration page. (#8045) 2019-09-23 23:08:03 +03:00
repo Refuse merge until all required status checks success (#7481) 2019-09-18 08:39:45 +03:00
swagger Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00
user Remove legacy handling of drone token (#8191) 2019-09-17 15:13:24 +03:00
utils Implement webhook branch filter (#7791) 2019-09-09 08:48:21 +03:00
api.go Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00