]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commit
Add ability for users to block an account/instance on server side
authorChocobozzz <me@florianbigard.com>
Fri, 12 Oct 2018 13:26:04 +0000 (15:26 +0200)
committerChocobozzz <me@florianbigard.com>
Tue, 16 Oct 2018 14:41:36 +0000 (16:41 +0200)
commit7ad9b9846c44d198a736183fb186c2039f5236b5
tree9c8456882a261c0522efb507f20e323c2741a0f8
parentdffd5d127f49eb63d2b2b3133aec75ec1d7e4dcb
Add ability for users to block an account/instance on server side
33 files changed:
server/controllers/api/accounts.ts
server/controllers/api/search.ts
server/controllers/api/users/index.ts
server/controllers/api/users/me.ts
server/controllers/api/users/my-blocklist.ts [new file with mode: 0644]
server/controllers/api/video-channel.ts
server/controllers/api/videos/comment.ts
server/controllers/api/videos/index.ts
server/helpers/utils.ts
server/initializers/constants.ts
server/initializers/database.ts
server/lib/blocklist.ts [new file with mode: 0644]
server/lib/video-comment.ts
server/middlewares/validators/blocklist.ts [new file with mode: 0644]
server/middlewares/validators/index.ts
server/middlewares/validators/server.ts [new file with mode: 0644]
server/middlewares/validators/sort.ts
server/models/account/account-blocklist.ts [new file with mode: 0644]
server/models/server/server-blocklist.ts [new file with mode: 0644]
server/models/server/server.ts
server/models/utils.ts
server/models/video/video-comment.ts
server/models/video/video.ts
server/tests/api/check-params/blocklist.ts [new file with mode: 0644]
server/tests/api/check-params/index.ts
server/tests/api/users/account-blocklist.ts [new file with mode: 0644]
server/tests/utils/requests/requests.ts
server/tests/utils/users/blocklist.ts [new file with mode: 0644]
server/tests/utils/videos/video-comments.ts
shared/models/blocklist/account-block.model.ts [new file with mode: 0644]
shared/models/blocklist/index.ts [new file with mode: 0644]
shared/models/blocklist/server-block.model.ts [new file with mode: 0644]
shared/models/index.ts