From 58cf14da87b6dbe8dc3c13d62505697806edeb7d Mon Sep 17 00:00:00 2001 From: Vivida <57828684+Vivida1@users.noreply.github.com> Date: Thu, 13 Jun 2024 00:02:15 +0200 Subject: [PATCH 1/2] feat(dav): add regex to match Gnome and KDE calendar user-agents Signed-off-by: Vivida <57828684+Vivida1@users.noreply.github.com> --- apps/dav/lib/CalDAV/WebcalCaching/Plugin.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/dav/lib/CalDAV/WebcalCaching/Plugin.php b/apps/dav/lib/CalDAV/WebcalCaching/Plugin.php index e93c536c84653..c8b58a50fd130 100644 --- a/apps/dav/lib/CalDAV/WebcalCaching/Plugin.php +++ b/apps/dav/lib/CalDAV/WebcalCaching/Plugin.php @@ -23,10 +23,14 @@ class Plugin extends ServerPlugin { * that do not support subscriptions on their own * * /^MSFT-WIN-3/ - Windows 10 Calendar + * /Evolution/ - Gnome Calendar/Evolution + * /KIO/ - KDE PIM/Akonadi * @var string[] */ public const ENABLE_FOR_CLIENTS = [ - "/^MSFT-WIN-3/" + "/^MSFT-WIN-3/", + "/Evolution/", + "/KIO/" ]; /** From 3e06931408ad4f03dbdb70d34f4ff6b6edaecc8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6?= Date: Thu, 13 Jun 2024 10:35:50 +0200 Subject: [PATCH 2/2] fix(dav): WebcalCaching-Plugin lint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- apps/dav/lib/CalDAV/WebcalCaching/Plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dav/lib/CalDAV/WebcalCaching/Plugin.php b/apps/dav/lib/CalDAV/WebcalCaching/Plugin.php index c8b58a50fd130..ea1bf7d4f0ff8 100644 --- a/apps/dav/lib/CalDAV/WebcalCaching/Plugin.php +++ b/apps/dav/lib/CalDAV/WebcalCaching/Plugin.php @@ -23,7 +23,7 @@ class Plugin extends ServerPlugin { * that do not support subscriptions on their own * * /^MSFT-WIN-3/ - Windows 10 Calendar - * /Evolution/ - Gnome Calendar/Evolution + * /Evolution/ - Gnome Calendar/Evolution * /KIO/ - KDE PIM/Akonadi * @var string[] */