rename blacklist to block/blocklist, merge block and auto-block views
authorRigel Kent <sendmemail@rigelk.eu>
Tue, 2 Jun 2020 18:50:42 +0000 (20:50 +0200)
committerRigel Kent <sendmemail@rigelk.eu>
Wed, 10 Jun 2020 19:12:05 +0000 (21:12 +0200)
commit5baee5fca418487e72ddcd6419d31bca8659b668
tree6604cc16d42152f4929d888565d2d435e2480d47
parentd840487fed32b4604b02030c0d7464afa925904f
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
75 files changed:
client/src/app/+admin/admin.component.ts
client/src/app/+admin/admin.module.ts
client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
client/src/app/+admin/moderation/index.ts
client/src/app/+admin/moderation/moderation.component.html
client/src/app/+admin/moderation/moderation.component.ts
client/src/app/+admin/moderation/moderation.routes.ts
client/src/app/+admin/moderation/video-abuse-list/video-abuse-details.component.html
client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html
client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts
client/src/app/+admin/moderation/video-auto-blacklist-list/index.ts [deleted file]
client/src/app/+admin/moderation/video-auto-blacklist-list/video-auto-blacklist-list.component.html [deleted file]
client/src/app/+admin/moderation/video-auto-blacklist-list/video-auto-blacklist-list.component.scss [deleted file]
client/src/app/+admin/moderation/video-auto-blacklist-list/video-auto-blacklist-list.component.ts [deleted file]
client/src/app/+admin/moderation/video-blacklist-list/index.ts [deleted file]
client/src/app/+admin/moderation/video-blacklist-list/video-blacklist-list.component.html [deleted file]
client/src/app/+admin/moderation/video-blacklist-list/video-blacklist-list.component.ts [deleted file]
client/src/app/+admin/moderation/video-block-list/index.ts [new file with mode: 0644]
client/src/app/+admin/moderation/video-block-list/video-block-list.component.html [new file with mode: 0644]
client/src/app/+admin/moderation/video-block-list/video-block-list.component.scss [new file with mode: 0644]
client/src/app/+admin/moderation/video-block-list/video-block-list.component.ts [new file with mode: 0644]
client/src/app/+admin/users/user-edit/user-edit.ts
client/src/app/+admin/users/user-edit/user-update.component.ts
client/src/app/+my-account/my-account-history/my-account-history.component.html
client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.ts
client/src/app/menu/menu.component.ts
client/src/app/search/search.component.html
client/src/app/shared/forms/form-validators/index.ts
client/src/app/shared/forms/form-validators/video-blacklist-validators.service.ts [deleted file]
client/src/app/shared/forms/form-validators/video-block-validators.service.ts [new file with mode: 0644]
client/src/app/shared/images/global-icon.component.ts
client/src/app/shared/index.ts
client/src/app/shared/shared.module.ts
client/src/app/shared/users/user-notification.model.ts
client/src/app/shared/users/user-notifications.component.html
client/src/app/shared/video-blacklist/index.ts [deleted file]
client/src/app/shared/video-blacklist/video-blacklist.service.ts [deleted file]
client/src/app/shared/video-block/index.ts [new file with mode: 0644]
client/src/app/shared/video-block/video-block.service.ts [new file with mode: 0644]
client/src/app/shared/video/abstract-video-list.html
client/src/app/shared/video/modals/video-blacklist.component.html [deleted file]
client/src/app/shared/video/modals/video-blacklist.component.scss [deleted file]
client/src/app/shared/video/modals/video-blacklist.component.ts [deleted file]
client/src/app/shared/video/modals/video-block.component.html [new file with mode: 0644]
client/src/app/shared/video/modals/video-block.component.scss [new file with mode: 0644]
client/src/app/shared/video/modals/video-block.component.ts [new file with mode: 0644]
client/src/app/shared/video/video-actions-dropdown.component.html
client/src/app/shared/video/video-actions-dropdown.component.ts
client/src/app/shared/video/video-miniature.component.html
client/src/app/shared/video/video-miniature.component.scss
client/src/app/shared/video/video-miniature.component.ts
client/src/app/shared/video/video.model.ts
client/src/app/videos/+video-watch/video-watch.component.html
client/src/app/videos/+video-watch/video-watch.component.scss
client/src/app/videos/+video-watch/video-watch.component.ts
client/src/app/videos/recommendations/recommended-videos.component.html
client/src/assets/images/global/robot.svg [new file with mode: 0644]
server/controllers/api/videos/blacklist.ts
server/helpers/custom-validators/video-blacklist.ts
server/initializers/migrations/0350-video-blacklist-type.ts
server/lib/notifier.ts
server/lib/video-blacklist.ts
server/models/account/user.ts
server/models/video/video-blacklist.ts
server/tests/api/check-params/users.ts
server/tests/api/check-params/video-blacklist.ts
server/tests/api/users/users.ts
server/tests/api/videos/video-blacklist.ts
shared/extra-utils/users/user-notifications.ts
shared/extra-utils/videos/video-blacklist.ts
shared/models/users/user-flag.model.ts
shared/models/users/user-notification.model.ts
shared/models/users/user-right.enum.ts
shared/models/users/user-role.ts
shared/models/videos/blacklist/video-blacklist.model.ts