X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Badmin%2Fconfig%2Fedit-custom-config%2Fedit-custom-config.component.html;h=09539fa92006c7dab3719f5d25a1f8ae905472e5;hb=c5dcdab330b1767c0ce25d788ed51119f74e7e71;hp=4ce4c18fc886a4133b3ed30fe6a42a39cd03a7ec;hpb=a6d5ff7604a3c2a94ff8814e2df7ca7bb2b48634;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html index 4ce4c18fc..09539fa92 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html @@ -1,3 +1,4 @@ +

Configuration

@@ -108,6 +113,7 @@
+ + + + +
+
{{ formErrors.broadcastMessage.level }}
+ + +
+ + +
{{ formErrors.broadcastMessage.message }}
+
+ + + + + +
NEW USERS
@@ -289,10 +347,12 @@
⚠️ This functionality requires a lot of attention and extra moderation. + + - +
+ + {form.value['signup']['limit'], plural, =1 {user} other {users}} +
{{ formErrors.signup.limit }}
Signup won't be limited to a fixed number of users.
@@ -319,7 +382,7 @@
@@ -331,7 +394,7 @@
@@ -343,9 +406,9 @@
-
+
-
NEW VIDEOS
+
VIDEOS
@@ -377,7 +440,7 @@
Unless a user is marked as trusted, their videos will stay private until a moderator reviews them. @@ -392,6 +455,93 @@
+
+
+
SEARCH
+
+ +
+ + + + +
+ + + Allow your users to look up remote videos/actors that may not be federated with your instance + + +
+ +
+ + + Allow anonymous users to look up remote videos/actors that may not be federated with your instance + + +
+ +
+ + +
+ + +

⚠️ This functionality depends heavily on the moderation of instances followed by the search index you select.

+ + + You should only use moderated search indexes in production, or host your own. + +
+ + +
+ + +
{{ formErrors.search.searchIndex.url }}
+
+ +
+ +
+ +
+ + + Otherwise the local search stays used by default + + +
+ +
+
+
+ +
+ +
+ +
+
+
FEDERATION
@@ -441,10 +591,14 @@
- ⚠️ This functionality requires a lot of attention and extra moderation. +

⚠️ This functionality requires a lot of attention and extra moderation.

+ + + You should only follow moderated indexes in production, or host your own. +
@@ -527,16 +681,16 @@
- Instance whitelisted by Twitter + Instance allowed by Twitter - If your instance is whitelisted by Twitter, a video player will be embedded in the Twitter feed on PeerTube video share.
- If the instance is not whitelisted, we use an image link card that will redirect on your PeerTube instance.

+ If your instance is explicitly allowed by Twitter, a video player will be embedded in the Twitter feed on PeerTube video share.
+ If the instance is not, we use an image link card that will redirect to your PeerTube instance.

Check this checkbox, save the configuration and test with a video URL of your instance (https://example.com/videos/watch/blabla) on https://cards-dev.twitter.com/validator - to see if you instance is whitelisted. + to see if you instance is allowed.
@@ -550,6 +704,128 @@ +
+ Live streaming + + + +
+
+
LIVE
+
+ Enable users of your instance to stream live. +
+
+ +
+ + + +
+ + + Allow live streaming + + + + ⚠️ Enabling live streaming requires trust in your users and extra moderation work + + + + +
+ + + If the user quota is reached, PeerTube will automatically terminate the live streaming + + +
+ +
+ +
+ + {form.value['live']['maxInstanceLives'], plural, =1 {live} other {lives}} +
+
+ +
+ +
+ + {form.value['live']['maxUserLives'], plural, =1 {live} other {lives}} +
+
+ +
+ +
+ +
+
+ + + +
+ + + Requires a lot of CPU! + + +
+ +
+ +
+ +
+
{{ formErrors.live.transcoding.threads }}
+
+ +
+ + +
+ +
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+ Advanced configuration @@ -586,7 +862,7 @@ i18n-labelText labelText="Allow additional extensions" > - Allows users to upload .mkv, .mov, .avi and .flv videos. + Allows users to upload .mkv, .mov, .avi, .wmv, .flv, .f4v, .3g2, .3gp, .mts, m2ts, .mxf, .nut videos.
@@ -627,7 +903,7 @@
@@ -651,25 +927,21 @@
-
- -
- -
- -
-
{{ formErrors.transcoding.threads }}
+
+ +
+
- +
{{ formErrors.transcoding.threads }}
- +
@@ -706,19 +978,25 @@
- +
+ + {form.value['cache']['previews']['size'], plural, =1 {cached image} other {cached images}} +
{{ formErrors.cache.previews.size }}
- +
+ + {form.value['cache']['captions']['size'], plural, =1 {cached image} other {cached images}} +
{{ formErrors.cache.captions.size }}
@@ -800,8 +1078,15 @@
- - It seems like the configuration is invalid. Please search for potential errors in the different tabs. + + It seems like the configuration is invalid. Please search for potential errors in the different tabs. + + + + You cannot allow live replay if you don't enable transcoding. + + +