From a71689772f67db87e6d96e44b90a129875382288 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Sat, 21 Mar 2026 08:45:11 +0100 Subject: [PATCH] sharing: write properties in db on create --- radicale/sharing/csv.py | 4 +++- radicale/sharing/files.py | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/radicale/sharing/csv.py b/radicale/sharing/csv.py index c7ce48ed..05d2d9ae 100644 --- a/radicale/sharing/csv.py +++ b/radicale/sharing/csv.py @@ -266,7 +266,9 @@ class Sharing(sharing.BaseSharing): "HiddenByOwner": HiddenByOwner, "HiddenByUser": HiddenByUser, "TimestampCreated": Timestamp, - "TimestampUpdated": Timestamp} + "TimestampUpdated": Timestamp, + "Properties": Properties} + if logger.isEnabledFor(logging.DEBUG): logger.debug("TRACE/sharing/*/create: add row: %r", row) self._sharing_cache.append(row) diff --git a/radicale/sharing/files.py b/radicale/sharing/files.py index fba8bdd6..a9c1413f 100644 --- a/radicale/sharing/files.py +++ b/radicale/sharing/files.py @@ -244,7 +244,8 @@ class Sharing(sharing.BaseSharing): "HiddenByOwner": HiddenByOwner, "HiddenByUser": HiddenByUser, "TimestampCreated": Timestamp, - "TimestampUpdated": Timestamp} + "TimestampUpdated": Timestamp, + "Properties": Properties} version = DB_VERSION