Add subscriptions endpoints to REST API
authorChocobozzz <me@florianbigard.com>
Thu, 16 Aug 2018 13:25:20 +0000 (15:25 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 27 Aug 2018 07:41:54 +0000 (09:41 +0200)
commit06a05d5f4784a7cbb27aa1188385b5679845dad8
treeac197f3ed0768529456225ad76c912f22bc55e29
parent4bda2e47bbc937c401ddcf14c1be53c70481a294
Add subscriptions endpoints to REST API
36 files changed:
server/controllers/activitypub/inbox.ts
server/controllers/activitypub/outbox.ts
server/controllers/api/accounts.ts
server/controllers/api/search.ts
server/controllers/api/server/follows.ts
server/controllers/api/users/index.ts
server/controllers/api/users/me.ts
server/controllers/api/video-channel.ts
server/controllers/api/videos/index.ts
server/controllers/feeds.ts
server/helpers/custom-validators/activitypub/actor.ts
server/helpers/custom-validators/video-channels.ts
server/helpers/custom-validators/webfinger.ts
server/helpers/webfinger.ts
server/initializers/constants.ts
server/lib/activitypub/actor.ts
server/lib/activitypub/send/send-accept.ts
server/lib/activitypub/send/send-create.ts
server/lib/activitypub/send/send-follow.ts
server/lib/activitypub/send/send-undo.ts
server/lib/activitypub/send/utils.ts
server/lib/job-queue/handlers/activitypub-follow.ts
server/middlewares/validators/follows.ts
server/middlewares/validators/index.ts
server/middlewares/validators/sort.ts
server/middlewares/validators/user-subscriptions.ts [new file with mode: 0644]
server/middlewares/validators/video-channels.ts
server/middlewares/validators/webfinger.ts
server/models/activitypub/actor-follow.ts
server/models/video/video-channel.ts
server/models/video/video.ts
server/tests/api/check-params/index.ts
server/tests/api/check-params/user-subscriptions.ts [new file with mode: 0644]
server/tests/api/index-slow.ts
server/tests/api/users/user-subscriptions.ts [new file with mode: 0644]
server/tests/utils/users/user-subscriptions.ts [new file with mode: 0644]