aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-14 17:17:01 +0100
committerChocobozzz <me@florianbigard.com>2021-12-14 17:17:01 +0100
commit3cf68b869decf07ff7435fe1436d4f3134df1bf4 (patch)
tree836efe5ddc626fef3ba4c96269efbca305f46256 /config
parenta6f919e455f2c6ae8f2194da4aa66824a6bfd09e (diff)
downloadPeerTube-3cf68b869decf07ff7435fe1436d4f3134df1bf4.tar.gz
PeerTube-3cf68b869decf07ff7435fe1436d4f3134df1bf4.tar.zst
PeerTube-3cf68b869decf07ff7435fe1436d4f3134df1bf4.zip
Ability for admins to set default upload values
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml39
-rw-r--r--config/production.yaml.example39
2 files changed, 56 insertions, 22 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 074951117..fbe0dbbfb 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -75,18 +75,22 @@ email:
75 subject: 75 subject:
76 prefix: '[PeerTube]' 76 prefix: '[PeerTube]'
77 77
78# PeerTube client/interface configuration 78# Update default PeerTube values
79client: 79# Set by API when the field is not provided and put as default value in client
80 videos: 80defaults:
81 miniature: 81 # Change default values when publishing a video (upload/import/go Live)
82 # By default PeerTube client displays author username 82 publish:
83 prefer_author_display_name: false 83 download_enabled: true
84 84
85 menu: 85 comments_enabled: true
86 login: 86
87 # If you enable only one external auth plugin 87 # public = 1, unlisted = 2, private = 3, internal = 4
88 # You can automatically redirect your users on this external platform when they click on the login button 88 privacy: 1
89 redirect_on_single_external_auth: false 89
90 # CC-BY = 1, CC-SA = 2, CC-ND = 3, CC-NC = 4, CC-NC-SA = 5, CC-NC-ND = 6, Public Domain = 7
91 # You can also choose a custom licence value added by a plugin
92 # No licence by default
93 licence: null
90 94
91# From the project root directory 95# From the project root directory
92storage: 96storage:
@@ -587,3 +591,16 @@ search:
587 disable_local_search: false 591 disable_local_search: false
588 # If you did not disable local search, you can decide to use the search index by default 592 # If you did not disable local search, you can decide to use the search index by default
589 is_default_search: false 593 is_default_search: false
594
595# PeerTube client/interface configuration
596client:
597 videos:
598 miniature:
599 # By default PeerTube client displays author username
600 prefer_author_display_name: false
601
602 menu:
603 login:
604 # If you enable only one external auth plugin
605 # You can automatically redirect your users on this external platform when they click on the login button
606 redirect_on_single_external_auth: false
diff --git a/config/production.yaml.example b/config/production.yaml.example
index e38b79587..6363a5179 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -73,18 +73,22 @@ email:
73 subject: 73 subject:
74 prefix: '[PeerTube]' 74 prefix: '[PeerTube]'
75 75
76# PeerTube client/interface configuration 76# Update default PeerTube values
77client: 77# Set by API when the field is not provided and put as default value in client
78 videos: 78defaults:
79 miniature: 79 # Change default values when publishing a video (upload/import/go Live)
80 # By default PeerTube client displays author username 80 publish:
81 prefer_author_display_name: false 81 download_enabled: true
82 82
83 menu: 83 comments_enabled: true
84 login: 84
85 # If you enable only one external auth plugin 85 # public = 1, unlisted = 2, private = 3, internal = 4
86 # You can automatically redirect your users on this external platform when they click on the login button 86 privacy: 1
87 redirect_on_single_external_auth: false 87
88 # CC-BY = 1, CC-SA = 2, CC-ND = 3, CC-NC = 4, CC-NC-SA = 5, CC-NC-ND = 6, Public Domain = 7
89 # You can also choose a custom licence value added by a plugin
90 # No licence by default
91 licence: null
88 92
89# From the project root directory 93# From the project root directory
90storage: 94storage:
@@ -597,3 +601,16 @@ search:
597 disable_local_search: false 601 disable_local_search: false
598 # If you did not disable local search, you can decide to use the search index by default 602 # If you did not disable local search, you can decide to use the search index by default
599 is_default_search: false 603 is_default_search: false
604
605# PeerTube client/interface configuration
606client:
607 videos:
608 miniature:
609 # By default PeerTube client displays author username
610 prefer_author_display_name: false
611
612 menu:
613 login:
614 # If you enable only one external auth plugin
615 # You can automatically redirect your users on this external platform when they click on the login button
616 redirect_on_single_external_auth: false