From 32b4298d0a0abcaec653cb6e9d7bbd29292d54bb Mon Sep 17 00:00:00 2001 From: Evert Pot Date: Wed, 30 Mar 2016 14:19:34 -0400 Subject: [PATCH] Added Sync support. Fixes #517. Fixes #474. Fixes #518. --- CHANGELOG.md | 8 ++++++++ Core/Distrib.php | 2 +- Core/Frameworks/Baikal/Core/Server.php | 3 +++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d2e7054..dfeed1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ ChangeLog ========= +0.4.4 (2016-03-30) +------------------ + +* #517: Added the Sync plugin. Should speed things up and fix syncing bugs + with Em Client. +* Ships with sabre/dav 3.1.2 + + 0.4.3 (2016-03-23) ------------------ diff --git a/Core/Distrib.php b/Core/Distrib.php index fce7b5c..e05f21a 100644 --- a/Core/Distrib.php +++ b/Core/Distrib.php @@ -24,5 +24,5 @@ # This copyright notice MUST APPEAR in all copies of the script! ################################################################# -define("BAIKAL_VERSION", "0.4.3"); +define("BAIKAL_VERSION", "0.4.4"); define("BAIKAL_HOMEPAGE", "http://baikal-server.com"); diff --git a/Core/Frameworks/Baikal/Core/Server.php b/Core/Frameworks/Baikal/Core/Server.php index 6f413f7..8026854 100644 --- a/Core/Frameworks/Baikal/Core/Server.php +++ b/Core/Frameworks/Baikal/Core/Server.php @@ -162,6 +162,9 @@ class Server { new \Sabre\DAV\PropertyStorage\Backend\PDO($this->pdo) )); + // WebDAV-Sync! + $this->server->addPlugin(new \Sabre\DAV\Sync\Plugin()); + if ($this->enableCalDAV) { $this->server->addPlugin(new \Sabre\CalDAV\Plugin()); $this->server->addPlugin(new \Sabre\CalDAV\ICSExportPlugin());