ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix tests
Chocobozzz60979b076de0
diff --git a/client/src/app/videos/+video-edit/video-import.component.html b/client/src/app/videos/+video-edit/video-import.component.htmlindex cfad5e2896..6b431f6f64 100644--- a/client/src/app/videos/+video-edit/video-import.component.html+++ b/client/src/app/videos/+video-edit/video-import.component.html@@ -6,7 +6,7 @@<label i18n for="targetUrl">URL</label><my-helphelpType="custom" i18n-customHtml- customHtml="You can import any URL <a href='https://rg3.github.io/youtube-dl/supportedsites.html' target='_blank' rel='noopener noreferrer'>supported by youtube-dl</a> or URL that points to a raw MP4 file. Failure to secure these rights could cause legal trouble to yourself and your instance."+ customHtml="You can import any URL <a href='https://rg3.github.io/youtube-dl/supportedsites.html' target='_blank' rel='noopener noreferrer'>supported by youtube-dl</a> or URL that points to a raw MP4 file. You should make sure you have diffusion rights over the content it points to, otherwise it could cause legal trouble to yourself and your instance."></my-help><input type="text" id="targetUrl" [(ngModel)]="targetUrl" />diff --git a/client/src/app/videos/+video-edit/video-upload.component.ts b/client/src/app/videos/+video-edit/video-upload.component.tsindex e6c391d2f2..c5e9c15924 100644--- a/client/src/app/videos/+video-edit/video-upload.component.ts+++ b/client/src/app/videos/+video-edit/video-upload.component.ts@@ -100,7 +100,7 @@ export class VideoUploadComponent extends FormReactive implements OnInit, OnDestif (this.videoUploaded === true) {// FIXME: cannot concatenate strings inside i18n service :/- text = this.i18n('Your video was uploaded in your account and is private.') ++ text = this.i18n('Your video was uploaded to your account and is private.') +this.i18n('But associated data (tags, description...) will be lost, are you sure you want to leave this page?')} else {text = this.i18n('Your video is not uploaded yet, are you sure you want to leave this page?')diff --git a/server/tests/client.ts b/server/tests/client.tsindex 48f2ee4fce..b33a653b13 100644--- a/server/tests/client.ts+++ b/server/tests/client.ts@@ -123,6 +123,12 @@ describe('Test a client controllers', function () {it('Should update the customized configuration and have the correct index html tags', async function () {await updateCustomSubConfig(server.url, server.accessToken, {instance: {+ name: 'PeerTube updated',+ shortDescription: 'my short description',+ description: 'my super description',+ terms: 'my super terms',+ defaultClientRoute: '/videos/recently-added',+ defaultNSFWPolicy: 'blur',customizations: {javascript: 'alert("coucou")',css: 'body { background-color: red; }'