From 32a18cbf33a7cdbbe3d4885d32e4b67e19cdc1cf Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 11 Mar 2021 16:54:52 +0100 Subject: Add new plugin/peertube version notifs --- config/default.yaml | 7 +++++++ config/production.yaml.example | 6 ++++++ config/test.yaml | 4 ++++ 3 files changed, 17 insertions(+) (limited to 'config') diff --git a/config/default.yaml b/config/default.yaml index a09d20b9d..d400e1067 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -198,6 +198,13 @@ federation: # We still suggest you to enable this setting even if your users will loose most of their video's likes/dislikes cleanup_remote_interactions: false +peertube: + check_latest_version: + # Check and notify admins of new PeerTube versions + enabled: true + # You can use a custom URL if your want, that respect the format behind https://joinpeertube.org/api/v1/versions.json + url: 'https://joinpeertube.org/api/v1/versions.json' + cache: previews: size: 500 # Max number of previews you want to cache diff --git a/config/production.yaml.example b/config/production.yaml.example index 31c0e6b96..895931e7c 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -196,6 +196,12 @@ federation: # We still suggest you to enable this setting even if your users will loose most of their video's likes/dislikes cleanup_remote_interactions: false +peertube: + check_latest_version: + # Check and notify admins of new PeerTube versions + enabled: true + # You can use a custom URL if your want, that respect the format behind https://joinpeertube.org/api/v1/versions.json + url: 'https://joinpeertube.org/api/v1/versions.json' ############################################################################### # diff --git a/config/test.yaml b/config/test.yaml index 33c11afc3..4f0a7e5d9 100644 --- a/config/test.yaml +++ b/config/test.yaml @@ -38,6 +38,10 @@ log: contact_form: enabled: true +peertube: + check_latest_version: + enabled: false + redundancy: videos: check_interval: '1 minute' -- cgit v1.2.3