Refactor middleware helpers
authorChocobozzz <me@florianbigard.com>
Tue, 23 Jul 2019 08:40:39 +0000 (10:40 +0200)
committerChocobozzz <chocobozzz@cpy.re>
Wed, 24 Jul 2019 08:58:16 +0000 (10:58 +0200)
commit3e753302d8c911b59971c16a8018df0e1ab78465
treeefce7ece3273589228c5c948ea6757b2bdf65429
parenta8b666e9f1ed002230869606308749614390c82f
Refactor middleware helpers
34 files changed:
server/helpers/custom-validators/accounts.ts
server/helpers/custom-validators/video-abuses.ts
server/helpers/custom-validators/video-blacklist.ts
server/helpers/custom-validators/video-captions.ts
server/helpers/custom-validators/video-channels.ts
server/helpers/custom-validators/video-playlists.ts
server/helpers/custom-validators/videos.ts
server/helpers/middlewares/accounts.ts [new file with mode: 0644]
server/helpers/middlewares/index.ts [new file with mode: 0644]
server/helpers/middlewares/video-abuses.ts [new file with mode: 0644]
server/helpers/middlewares/video-blacklists.ts [new file with mode: 0644]
server/helpers/middlewares/video-captions.ts [new file with mode: 0644]
server/helpers/middlewares/video-channels.ts [new file with mode: 0644]
server/helpers/middlewares/video-playlists.ts [new file with mode: 0644]
server/helpers/middlewares/videos.ts [new file with mode: 0644]
server/lib/client-html.ts
server/lib/plugins/plugin-manager.ts
server/middlewares/validators/account.ts
server/middlewares/validators/blocklist.ts
server/middlewares/validators/feeds.ts
server/middlewares/validators/oembed.ts
server/middlewares/validators/redundancy.ts
server/middlewares/validators/users.ts
server/middlewares/validators/videos/video-abuses.ts
server/middlewares/validators/videos/video-blacklist.ts
server/middlewares/validators/videos/video-captions.ts
server/middlewares/validators/videos/video-channels.ts
server/middlewares/validators/videos/video-comments.ts
server/middlewares/validators/videos/video-imports.ts
server/middlewares/validators/videos/video-playlists.ts
server/middlewares/validators/videos/video-rates.ts
server/middlewares/validators/videos/video-shares.ts
server/middlewares/validators/videos/video-watch.ts
server/middlewares/validators/videos/videos.ts