|
|
@ -18,7 +18,6 @@ import (
|
|
|
|
"code.gitea.io/gitea/modules/log"
|
|
|
|
"code.gitea.io/gitea/modules/log"
|
|
|
|
"code.gitea.io/gitea/modules/markup"
|
|
|
|
"code.gitea.io/gitea/modules/markup"
|
|
|
|
"code.gitea.io/gitea/modules/markup/external"
|
|
|
|
"code.gitea.io/gitea/modules/markup/external"
|
|
|
|
"code.gitea.io/gitea/modules/notification"
|
|
|
|
|
|
|
|
"code.gitea.io/gitea/modules/setting"
|
|
|
|
"code.gitea.io/gitea/modules/setting"
|
|
|
|
"code.gitea.io/gitea/modules/ssh"
|
|
|
|
"code.gitea.io/gitea/modules/ssh"
|
|
|
|
"code.gitea.io/gitea/modules/storage"
|
|
|
|
"code.gitea.io/gitea/modules/storage"
|
|
|
@ -38,6 +37,7 @@ import (
|
|
|
|
"code.gitea.io/gitea/services/auth/source/oauth2"
|
|
|
|
"code.gitea.io/gitea/services/auth/source/oauth2"
|
|
|
|
"code.gitea.io/gitea/services/automerge"
|
|
|
|
"code.gitea.io/gitea/services/automerge"
|
|
|
|
"code.gitea.io/gitea/services/cron"
|
|
|
|
"code.gitea.io/gitea/services/cron"
|
|
|
|
|
|
|
|
feed_service "code.gitea.io/gitea/services/feed"
|
|
|
|
indexer_service "code.gitea.io/gitea/services/indexer"
|
|
|
|
indexer_service "code.gitea.io/gitea/services/indexer"
|
|
|
|
"code.gitea.io/gitea/services/mailer"
|
|
|
|
"code.gitea.io/gitea/services/mailer"
|
|
|
|
mailer_incoming "code.gitea.io/gitea/services/mailer/incoming"
|
|
|
|
mailer_incoming "code.gitea.io/gitea/services/mailer/incoming"
|
|
|
@ -119,7 +119,7 @@ func InitWebInstalled(ctx context.Context) {
|
|
|
|
|
|
|
|
|
|
|
|
mailer.NewContext(ctx)
|
|
|
|
mailer.NewContext(ctx)
|
|
|
|
mustInit(cache.NewContext)
|
|
|
|
mustInit(cache.NewContext)
|
|
|
|
notification.NewContext()
|
|
|
|
mustInit(feed_service.Init)
|
|
|
|
mustInit(uinotification.Init)
|
|
|
|
mustInit(uinotification.Init)
|
|
|
|
mustInit(archiver.Init)
|
|
|
|
mustInit(archiver.Init)
|
|
|
|
|
|
|
|
|
|
|
|