aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/activitypub
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-25 11:32:36 +0200
committerChocobozzz <me@florianbigard.com>2018-05-25 11:33:04 +0200
commite251f170b00b2014ac4e823113c6ff40e3fb1471 (patch)
tree50b83c1d41dd80acd0fa745d6d3780f4204b04fa /server/controllers/activitypub
parent16f29007dc6ad9c539195d7a7c1cde45d626ce91 (diff)
downloadPeerTube-e251f170b00b2014ac4e823113c6ff40e3fb1471.tar.gz
PeerTube-e251f170b00b2014ac4e823113c6ff40e3fb1471.tar.zst
PeerTube-e251f170b00b2014ac4e823113c6ff40e3fb1471.zip
Split files in activitypub server
Diffstat (limited to 'server/controllers/activitypub')
-rw-r--r--server/controllers/activitypub/client.ts2
-rw-r--r--server/controllers/activitypub/outbox.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/activitypub/client.ts b/server/controllers/activitypub/client.ts
index 5199b3f81..767fde5d9 100644
--- a/server/controllers/activitypub/client.ts
+++ b/server/controllers/activitypub/client.ts
@@ -5,7 +5,7 @@ import { activityPubCollectionPagination, activityPubContextify } from '../../he
5import { pageToStartAndCount } from '../../helpers/core-utils' 5import { pageToStartAndCount } from '../../helpers/core-utils'
6import { ACTIVITY_PUB, CONFIG, ROUTE_CACHE_LIFETIME } from '../../initializers' 6import { ACTIVITY_PUB, CONFIG, ROUTE_CACHE_LIFETIME } from '../../initializers'
7import { buildVideoAnnounce } from '../../lib/activitypub/send' 7import { buildVideoAnnounce } from '../../lib/activitypub/send'
8import { audiencify, getAudience } from '../../lib/activitypub/send/misc' 8import { audiencify, getAudience } from '../../lib/activitypub/audience'
9import { createActivityData } from '../../lib/activitypub/send/send-create' 9import { createActivityData } from '../../lib/activitypub/send/send-create'
10import { asyncMiddleware, executeIfActivityPub, localAccountValidator } from '../../middlewares' 10import { asyncMiddleware, executeIfActivityPub, localAccountValidator } from '../../middlewares'
11import { videoChannelsGetValidator, videosGetValidator, videosShareValidator } from '../../middlewares/validators' 11import { videoChannelsGetValidator, videosGetValidator, videosShareValidator } from '../../middlewares/validators'
diff --git a/server/controllers/activitypub/outbox.ts b/server/controllers/activitypub/outbox.ts
index 0077e1d0b..c9e087a13 100644
--- a/server/controllers/activitypub/outbox.ts
+++ b/server/controllers/activitypub/outbox.ts
@@ -6,7 +6,7 @@ import { pageToStartAndCount } from '../../helpers/core-utils'
6import { logger } from '../../helpers/logger' 6import { logger } from '../../helpers/logger'
7import { ACTIVITY_PUB } from '../../initializers/constants' 7import { ACTIVITY_PUB } from '../../initializers/constants'
8import { announceActivityData, createActivityData } from '../../lib/activitypub/send' 8import { announceActivityData, createActivityData } from '../../lib/activitypub/send'
9import { buildAudience } from '../../lib/activitypub/send/misc' 9import { buildAudience } from '../../lib/activitypub/audience'
10import { asyncMiddleware, localAccountValidator } from '../../middlewares' 10import { asyncMiddleware, localAccountValidator } from '../../middlewares'
11import { AccountModel } from '../../models/account/account' 11import { AccountModel } from '../../models/account/account'
12import { ActorModel } from '../../models/activitypub/actor' 12import { ActorModel } from '../../models/activitypub/actor'