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=b0961406145e5cd37e68aa8a89f28b0dd4d37137;hb=be27ef3b4682c5639039474c39ee0d234d16f482;hp=52eb00d93f4accf0039190e53324ebb9e71d7abc;hpb=88108880bbdba473cfe36ecbebc1c3c4f972e102;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 52eb00d93..b09614061 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 @@ -2,12 +2,13 @@ - + -
Instance
- + +
Instance
+
{{ formErrors.instance.shortDescription }}
@@ -29,40 +30,63 @@
{{ formErrors.instance.description }}
- - -
{{ formErrors.instance.terms }}
+ + +
+ +
- -
- + + +
+
-
{{ formErrors.instance.defaultClientRoute }}
+
+ +
Moderation & NSFW
+ +
+ + + This instance is dedicated to sensitive or NSFW content + + + + + Enabling it will allow other administrators to know that you are mainly federating sensitive content.

+ Moreover, the NSFW checkbox on video upload will be automatically checked by default. +
+
+
- + + + + + With Do not list or Blur thumbnails, a confirmation will be requested to watch the video. + + +
+
{{ formErrors.instance.creationReason }}
+
+ +
+ +
It's important to know for users who want to register on your instance
+ + +
{{ formErrors.instance.maintenanceLifetime }}
+
+ +
+ +
With your own funds? With users donations? Advertising?
+ + +
{{ formErrors.instance.businessModel }}
+
+ +
Other information
+ +
+ +
2vCore 2GB RAM/or directly the link to the server you rent etc
+ + + +
{{ formErrors.instance.hardwareInformation }}
+
+ + + + + + + + +
Theme & Default route
+ + +
+ + +
+ +
+
+ +
+ +
+ +
+
{{ formErrors.instance.defaultClientRoute }}
+
+
Signup
@@ -82,31 +233,36 @@ -
- -
- -
- -
- - -
{{ formErrors.signup.limit }}
+ + ⚠️ This functionality requires a lot of attention and extra moderation. + + + + +
+ + +
{{ formErrors.signup.limit }}
+ Signup won't be limited to a fixed number of users. +
+
+
+
Users
- +
+
Import
@@ -138,20 +295,110 @@
+
+ +
+ + + +
Auto-blacklist
+ + + + + +
+ + + Unless a user is marked as trusted, their videos will stay private until a moderator reviews them. + + +
+ +
+
+
+ + +
Instance followers
+ + + + +
+ +
+ +
+
+
+
+
Instance followings
+ + + + + +
+ + + ⚠️ This functionality requires a lot of attention and extra moderation. + + +
+
+ + +
+ + + ⚠️ This functionality requires a lot of attention and extra moderation. + + + +
+ + +
{{ formErrors.followings.instance.autoFollowIndex.indexUrl }}
+
+
+
+
+ +
+
Administrator
@@ -182,10 +429,13 @@
- + + + + Indicates the Twitter account for the website or platform on which the content was published. + + +
- + + + Instance whitelisted 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.

+ 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. +
+
+
@@ -216,11 +474,15 @@
- + + + Transcoding enabled + + + + If you disable transcoding, many videos from your users will not work! + +
@@ -229,10 +491,69 @@ + > + + Allow your users to upload .mkv, .mov, .avi and .flv videos + +
+
+ + + Allow your users to upload audio files that will be merged with the preview file on upload + + +
+ + +
+ + + + Experimental, we suggest you to not disable webtorrent support for now + +

If you also enabled HLS support, it will multiply videos storage by 2

+ +
+ + If disabled, breaks federation with PeerTube instances < 2.1 +
+
+
+
+
+ + +
+ + + + Requires ffmpeg >= 4.1 + +

Generate HLS playlists and fragmented MP4 files resulting in a better playback than with the current default player:

+
    +
  • Resolution change is smoother
  • +
  • Faster playback in particular with long videos
  • +
  • More stable playback (less bugs/infinite loading)
  • +
+ +

If you also enabled WebTorrent support, it will multiply videos storage by 2

+
+
+
+
+
+
@@ -248,22 +569,27 @@
+ [inputName]="getResolutionKey(resolution.id)" [formControlName]="resolution.id" + i18n-labelText labelText="Resolution {{resolution.label}} enabled" + > + +
+
+
-
- Cache +
+ Cache - + + + Some files are not federated (previews, captions). We fetch them directly from the origin instance and cache them. + +
@@ -292,38 +618,45 @@
- + + + + Write JavaScript code directly.
Example:
console.log('my instance is amazing');
+
+
+
+ +
{{ formErrors.instance.customizations.javascript }}
- + + + + + Write CSS code directly. Example:

+
+#custom-css {{ '{' }}
+  color: red;
+{{ '}' }}
+
+ + Prepend with #custom-css to override styles. Example:

+
+#custom-css .logged-in-email {{ '{' }}
+  color: red;
+{{ '}' }}
+
+
+
+
+