Refractor and optimize AP collections
authorChocobozzz <me@florianbigard.com>
Fri, 25 May 2018 14:21:16 +0000 (16:21 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 25 May 2018 14:21:16 +0000 (16:21 +0200)
commit8fffe21a7bc96d08b229293d66ddba576e609790
tree5ebd5f5198a59084c5338ce197d7e836b39200a4
parente251f170b00b2014ac4e823113c6ff40e3fb1471
Refractor and optimize AP collections

Only display urls in general object, and paginate video comments, shares, likes and
dislikes
14 files changed:
server/controllers/activitypub/client.ts
server/controllers/activitypub/outbox.ts
server/controllers/activitypub/utils.ts [new file with mode: 0644]
server/helpers/activitypub.ts
server/lib/activitypub/crawl.ts [new file with mode: 0644]
server/lib/activitypub/video-comments.ts
server/lib/activitypub/videos.ts
server/lib/job-queue/handlers/activitypub-http-fetcher.ts
server/models/account/account-video-rate.ts
server/models/activitypub/actor-follow.ts
server/models/video/video-comment.ts
server/models/video/video-share.ts
server/models/video/video.ts
shared/models/activitypub/objects/video-torrent-object.ts