From c308874466b8e119e79e54530f3f7190207a7379 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 17 Jan 2025 20:32:58 +0100 Subject: [PATCH 1/2] chore: Revert setup check until a public manual is available Signed-off-by: Joas Schilling --- lib/SetupCheck/HighPerformanceBackend.php | 9 +-------- lib/SetupCheck/RecordingBackend.php | 2 +- lib/SetupCheck/SIPConfiguration.php | 2 +- src/components/AdminSettings/SignalingServers.vue | 5 ----- src/views/AdminSettings.vue | 4 ++-- 5 files changed, 5 insertions(+), 17 deletions(-) diff --git a/lib/SetupCheck/HighPerformanceBackend.php b/lib/SetupCheck/HighPerformanceBackend.php index e5e5020e5c4..e39a75642fd 100644 --- a/lib/SetupCheck/HighPerformanceBackend.php +++ b/lib/SetupCheck/HighPerformanceBackend.php @@ -34,14 +34,7 @@ public function getName(): string { public function run(): SetupResult { if ($this->talkConfig->getSignalingMode() === Config::SIGNALING_INTERNAL) { - $setupResult = SetupResult::error(...); - if ($this->talkConfig->getHideSignalingWarning()) { - $setupResult = SetupResult::warning(...); - } - return $setupResult( - $this->l->t('No High-performance backend configured - Running Nextcloud Talk without the High-performance backend only scales for very small calls (max. 2-3 participants). Please set up the High-performance backend to ensure calls with multiple participants work seamlessly.'), - 'https://portal.nextcloud.com/article/Nextcloud-Talk/High-Performance-Backend/Installation-of-Nextcloud-Talk-High-Performance-Backend', - ); + return SetupResult::success(); } if ($this->talkConfig->getSignalingMode() === Config::SIGNALING_CLUSTER_CONVERSATION) { diff --git a/lib/SetupCheck/RecordingBackend.php b/lib/SetupCheck/RecordingBackend.php index 3a4262cfa1a..1ae04c31d5b 100644 --- a/lib/SetupCheck/RecordingBackend.php +++ b/lib/SetupCheck/RecordingBackend.php @@ -33,7 +33,7 @@ public function run(): SetupResult { return SetupResult::success(); } if (empty($this->talkConfig->getRecordingServers())) { - return SetupResult::info($this->l->t('No recording backend configured')); + return SetupResult::success(); } return SetupResult::error($this->l->t('Using the recording backend requires a High-performance backend.')); } diff --git a/lib/SetupCheck/SIPConfiguration.php b/lib/SetupCheck/SIPConfiguration.php index a3dbe3f2cac..a8eba865a4d 100644 --- a/lib/SetupCheck/SIPConfiguration.php +++ b/lib/SetupCheck/SIPConfiguration.php @@ -33,7 +33,7 @@ public function run(): SetupResult { return SetupResult::success(); } if ($this->talkConfig->getSIPSharedSecret() === '' && $this->talkConfig->getDialInInfo() === '') { - return SetupResult::info($this->l->t('No SIP backend configured')); + return SetupResult::success(); } return SetupResult::error($this->l->t('Using the SIP functionality requires a High-performance backend.')); } diff --git a/src/components/AdminSettings/SignalingServers.vue b/src/components/AdminSettings/SignalingServers.vue index 10b4a587371..c139cbf0096 100644 --- a/src/components/AdminSettings/SignalingServers.vue +++ b/src/components/AdminSettings/SignalingServers.vue @@ -5,11 +5,6 @@