Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add secrets config comment

Chocobozzz5b662c88faea
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts
index e6f15f54f9..9b702bd467 100644
--- a/client/src/app/app.component.ts
+++ b/client/src/app/app.component.ts
@@ -239,7 +239,6 @@ export class AppComponent implements OnInit, AfterViewInit, OnDestroy {
eventsObs.pipe(
filter((e: Event): e is RouteConfigLoadEnd => e instanceof RouteConfigLoadEnd)
).subscribe(e => {
- console.log(e)
if (e.route.data?.preloaded) return // This route is preloaded, don't display the loading indicator
this.loadingBar.useRef('router-' + e.route.path).complete()
diff --git a/config/default.yaml b/config/default.yaml
index 52864ce046..a0e3c42bbb 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -11,6 +11,7 @@ webserver:
port: 9000
# Secrets you need to generate the first time you run PeerTube
+# Mainly used to sign JWT tokens and TOTP
secrets:
# Generate one using `openssl rand -hex 32`
peertube: ''
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 621b8ee000..31cf4a9e08 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -9,6 +9,7 @@ webserver:
port: 443
# Secrets you need to generate the first time you run PeerTube
+# Mainly used to sign JWT tokens and TOTP
secrets:
# Generate one using `openssl rand -hex 32`
peertube: ''
@@ -500,10 +501,28 @@ thumbnails:
-
width: 280
height: 157
+ aspect_ratio: '16:9'
-
width: 850
height: 480
+ aspect_ratio: '16:9'
+
+ -
+ width: 1280
+ height: 720
+ aspect_ratio: '16:9'
+
+ -
+ width: 1920
+ height: 1080
+ aspect_ratio: '16:9'
+
+ # For podcast applications
+ -
+ width: 1400
+ height: 1400
+ aspect_ratio: '1:1'
stats:
# Display registration requests stats (average response time, total requests...)
diff --git a/scripts/i18n/create-custom-files.ts b/scripts/i18n/create-custom-files.ts
index 7dbfba57db..bb57465e32 100755
--- a/scripts/i18n/create-custom-files.ts
+++ b/scripts/i18n/create-custom-files.ts
@@ -128,17 +128,14 @@ Object.values(VIDEO_CATEGORIES)
'We cannot fetch the playlist. Please try again later.',
'Playlist: {1}',
'By {1}',
- 'Unavailable video'
+ 'Unavailable video',
+ 'Audio only',
+ 'Unknown'
])
.forEach(v => {
serverKeys[v] = v
})
-// More keys
-Object.assign(serverKeys, {
- Unknown: 'Unknown'
-})
-
// ISO 639 keys
const languageKeys: any = {}
const languages = buildLanguages()