ActivityPub-federated video streaming platform using P2P directly in your web browser
Merge branch 'feature/admin-comments' into develop
Chocobozzz19149d45b8f6
diff --cc client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.scssindex 0000000000,b3746b0c58..4398358990mode 000000,100644..100644--- a/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.scss+++ b/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.scss@@@ -1,0 -1,66 +1,66 @@@+ @import 'mixins';++ h1 {+ my-feed {+ margin-left: 5px;+ display: inline-block;++ ::ng-deep {+ my-global-icon {+ width: 15px !important;+ top: 0 !important;+ }+ }+ }+ }++ my-global-icon {- width: 24px;++ width: 24px;+ height: 24px;+ }++ .input-group {+ @include peertube-input-group(300px);++ .dropdown-toggle::after {+ margin-left: 0;+ }+ }++ .caption {+ justify-content: flex-end;++ input {+ @include peertube-input-text(250px);+ flex-grow: 1;+ }+ }++ .video {+ display: flex;+ flex-direction: column;++ em {+ font-size: 11px;+ }++ a {+ @include ellipsis+ }+ }++ .comment-html {+ ::ng-deep {+ > div {+ max-height: 22px;+ }++ div, p {+ @include ellipsis;+ }++ p {+ margin: 0;+ }+ }+ }diff --cc server/tests/api/live/live.tsindex aa2e1318ae,aa2e1318ae..94c966c9fe--- a/server/tests/api/live/live.ts+++ b/server/tests/api/live/live.ts@@@ -10,7 -10,7 +10,6 @@@ importcheckLiveCleanup,checkLiveSegmentHash,checkResolutionsInMasterPlaylist,-- checkSegmentHash,cleanupTests,createLive,doubleFollow,diff --cc server/tests/api/videos/video-comments.tsindex afb58e95a3,18a86beada..141a80690a--- a/server/tests/api/videos/video-comments.ts+++ b/server/tests/api/videos/video-comments.ts@@@ -1,8 -1,8 +1,8 @@@/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */--import * as chai from 'chai'import 'mocha'- import { VideoComment, VideoCommentThreadTree } from '../../../../shared/models/videos/video-comment.model'-import { VideoComment, VideoCommentAdmin, VideoCommentThreadTree } from '../../../../shared/models/videos/video-comment.model'++import * as chai from 'chai'++import { cleanupTests, testImage } from '../../../../shared/extra-utils'import {createUser,@@@ -21,6 -22,7 +22,7 @@@ importgetVideoCommentThreads,getVideoThreadComments} from '../../../../shared/extra-utils/videos/video-comments'-import { isLocalLiveVideoAccepted } from '@server/lib/moderation'++import { VideoComment, VideoCommentAdmin, VideoCommentThreadTree } from '../../../../shared/models/videos/video-comment.model'const expect = chai.expectdiff --cc server/tests/api/videos/video-playlists.tsindex 0bfb5bcd40,0bfb5bcd40..b194665ba1--- a/server/tests/api/videos/video-playlists.ts+++ b/server/tests/api/videos/video-playlists.ts@@@ -628,7 -628,7 +628,7 @@@ describe('Test video playlists', functilet video3: stringbefore(async function () {-- this.timeout(30000)++ this.timeout(60000)groupUser1 = [ Object.assign({}, servers[0], { accessToken: userAccessTokenServer1 }) ]groupWithoutToken1 = [ Object.assign({}, servers[0], { accessToken: undefined }) ]@@@ -656,6 -656,6 +656,8 @@@video2 = (await uploadVideoAndGetId({ server: servers[1], videoName: 'video 90' })).uuidvideo3 = (await uploadVideoAndGetId({ server: servers[0], videoName: 'video 91', nsfw: true })).uuid++ await waitJobs(servers)++await addVideo({ videoId: video1, startTimestamp: 15, stopTimestamp: 28 })await addVideo({ videoId: video2, startTimestamp: 35 })await addVideo({ videoId: video3 })