DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:webdavclient

webdavclient Plugin

Compatible with DokuWiki

Detritus, Hrun, Elenor of Tsort, Frusterick Manners, Greebo

plugin Subscribe the remote Calendar/Contact DAV resources

Last updated on
2020-04-20
Provides
Action
Repository
Source
Requires
sqlite

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with !discontinued, caldav, carddav, dav, synchronisation, webdav

:!: This plugin is no longer maintained.

webdavclient

WebDAVClient is a content-providing PlugIn that allows other PlugIns to interact with WebDAV-enabled calendars and contacts as well as ICS Feeds. A full two-way synchronisation is performed (WebDAV only).

It features an Admin component where an Administrator can add WebDAV connections to Calendars and Address books. The data is then synchronized in the background to a local SQLite cache.

Every configured connection has a unique ID that can be used by other PlugIns (currently, davcal) to enable support for remote connections.

There is no user functionality, this PlugIn relies on other PlugIns to represent and work with the data

Requirements

  • You need the sqlite PlugIn
  • You need at least PHP 5.4 (required by the underlying DAV library), including the PHP XML module (php-xml1))

Installation

Make sure that the sqlite PlugIn is installed.

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

Examples/Usage

Only an admin can configure WebDAV connections. Go the Admin → WebDAV Connection Setup and add a new connection. You can try auto-discovery first by providing only the minimal information set in the lower left corner (WebDAV only). If it is successful, you get a list with all discovered calendars/addressbooks and can select the ones you would like to add.

If auto-discovery fails, you can manually add a new connection in the lower right corner. This is required for ICS feeds.

After adding a connection, it is disabled by default. This is due to the possibility of a large initial sync. Keep the connection disabled and click on “Force Sync”. If it went successful, you can enable the connection (Dropdown to “active” and then click on “Modify Connection”).

Currently, it is not possible to change the username and password.

Attention Most of the buttons do not ask for confirmation! If you click on “Delete”, the connection is deleted! The button “Empty” deletes all entries from the server. The button “Resync” first deletes all local entries and performs a synchronisation afterwards.

When you want to use one of the connections in, e.g., caldav, simply note the ID in the first column and configure a new calendar with the ID webdav://7 to connect to the WebDAV connection with ID 7.

Permissions

If you add the path to a wiki page (i.e. namespace:page) to the column “Page for Permissions”, this webdavclient inherits the permissions of the page specified here. Thus, you can use the ACL manager of DokuWiki to change the permissions of the given page to influence who is able to use the WebDAV connection.

You need at least davcal 2019-01-21 for this to work properly. Older versions do not honor this setting.

CRON Job

By default, webdavclient hooks into DokuWiki's Indexer event to synchronise connections when needed. You can, however, change this to CRON if you would like your calendars to keep perfectly in sync. To do this, enable the configuration option “use_cron” and set up your CRON daemon to hit lib/plugins/webdavclient/cron.php.

1)
openSUSE users add the packages php5-dom, php5-xmlwriter, php5-xmlreader and php5-mbstring
plugin/webdavclient.txt · Last modified: 2023-12-19 19:03 by andyboeh

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki