From 5baee5fca418487e72ddcd6419d31bca8659b668 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Tue, 2 Jun 2020 20:50:42 +0200 Subject: rename blacklist to block/blocklist, merge block and auto-block views - also replace whitelist with allowlist - add advanced filters for video-block-list view - move icons in video-block-list and video-abuse-list to left side for visibility - add robot icon to depict automated nature of a block in video-block-list resolves #2790 --- server/initializers/migrations/0350-video-blacklist-type.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/initializers') diff --git a/server/initializers/migrations/0350-video-blacklist-type.ts b/server/initializers/migrations/0350-video-blacklist-type.ts index f79ae5ec7..22c82e431 100644 --- a/server/initializers/migrations/0350-video-blacklist-type.ts +++ b/server/initializers/migrations/0350-video-blacklist-type.ts @@ -1,5 +1,5 @@ import * as Sequelize from 'sequelize' -import { VideoBlacklistType } from '../../../shared/models/videos' +import { VideoBlockType } from '../../../shared/models/videos' async function up (utils: { transaction: Sequelize.Transaction @@ -18,7 +18,7 @@ async function up (utils: { } { - const query = 'UPDATE "videoBlacklist" SET "type" = ' + VideoBlacklistType.MANUAL + const query = 'UPDATE "videoBlacklist" SET "type" = ' + VideoBlockType.MANUAL await utils.sequelize.query(query) } -- cgit v1.2.3