From 83a6fbf7f9afad6b1bbff5cb1f897cb7a4594506 Mon Sep 17 00:00:00 2001 From: Anna Larch Date: Thu, 5 Sep 2024 20:51:27 +0200 Subject: [PATCH] feat(carddav): add command to list address books Signed-off-by: Anna Larch --- admin_manual/configuration_server/occ_command.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/admin_manual/configuration_server/occ_command.rst b/admin_manual/configuration_server/occ_command.rst index ba69f2847f4..32131a9ac62 100644 --- a/admin_manual/configuration_server/occ_command.rst +++ b/admin_manual/configuration_server/occ_command.rst @@ -513,6 +513,7 @@ A set of commands to create and manage addressbooks and calendars:: dav dav:create-addressbook Create a dav addressbook + dav:list-addressbooks List all addressbooks of a user dav:create-calendar Create a dav calendar dav:delete-calendar Delete a dav calendar dav:fix-missing-caldav-changes Insert missing calendarchanges rows for existing events @@ -548,11 +549,17 @@ This example will delete the birthday calendar of user molly:: sudo -u www-data php occ dav:delete-calendar --birthday molly -``dav:lists-calendars [user]`` will display a table listing the calendars for a given user. +``dav:list-calendars [user]`` and ``dav:list-addressbooks [user]`` will display a +table listing the calendars or addressbooks for a given user. + This example will list all calendars for user annie:: sudo -u www-data php occ dav:list-calendars annie +This example will list all addressbooks for user annie:: + + sudo -u www-data php occ dav:list-addressbooks annie + ``dav:dav:fix-missing-caldav-changes [user]`` tries to restore calendar sync changes when data in the calendarchanges table has been lost. If the user ID is omitted, the command runs for all users. This can take a while. ``dav::move-calendar [name] [sourceuid] [destinationuid]`` allows the admin