====== WebDAV Plugin ====== ---- plugin ---- description: WebDAV server for DokuWiki author : Giuseppe Di Terlizzi email : giuseppe.diterlizzi@gmail.com type : lastupdate : 2021-01-10 compatible : Greebo, Hogfather, Igor, Jack Jackrum depends : conflicts : similar : tags : webdav,share,odt,tag,!experimental downloadurl: https://github.com/giterlizzi/dokuwiki-plugin-webdav/zipball/develop bugtracker : https://github.com/giterlizzi/dokuwiki-plugin-webdav/issues sourcerepo : https://github.com/giterlizzi/dokuwiki-plugin-webdav/ donationurl: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9LJDLVSNGYSA2 screenshot_img : ---- :!: **Experimental Plugin** This plugin adds WebDAV server support for DokuWiki using Sabre DAV plugin ([[https://sabre.io/dav/]]). Special thanks to Andi for the idea and code ([[devel:ideas:webdav]]). With this plugin it's possible to explore, modify and add elements (pages ((normal DokuWiki page file)) and media files) in DokuWiki using a WebDAV client (such as Dolphin, Nautilus, Explorer, etc.). By default WebDAV plugin expose this virtual directory: ^ ''pages'' | DokuWiki pages | ^ ''media'' | Media files | ^ ''odt'' | DokuWiki pages in ODT format (require [[plugin:odt]] plugin) | ^ ''tags'' | All tagged pages (require [[plugin:tag]] plugin) | ===== Installation ===== Download and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. ===== Features ===== ==== URL ==== This is the default location of WebDAV server end-point: ''https://[dokuwiki-server]/lib/plugins/webdav/server.php/'' You can enable ''show_button'' configuration setting to display a popup with all WebDAV URL for the famous WebDAV clients (KDE Dolphin, Nautilus, Windows Explorer, etc.). {{ http://lotar.altervista.org/wiki/_media/wiki/plugin/webdav/dialog.png }} ==== Enabled plugins and collections ==== === Collections === ^ Collection ^ Read ^ Edit ^ Create ^ Delete ^ Rename ^ Note ^ | ''pages'' | yes | yes | yes | yes | no | DokuWiki pages | | ''media'' | yes | yes | yes | yes | no | Media files | | ''odt'' | yes | no | no | no | no | DokuWiki pages in ODT format (require [[plugin:odt]] plugin) | | ''tags'' | yes | no | no | no | no | All tagged pages (require [[plugin:tag]] plugin) | === Plugins === * Browser * Mount * Locks * TemporaryFileFilter * DokuWiki (expose extra properties, see below) === Events === WebDAV plugin add additional DokuWiki [[devel:events]] for add extra plugins or collections ((see ''action.php'' and ''server.php'')). ^ Event ^ Description ^ | ''PLUGIN_WEBDAV_WIKI_COLLECTIONS'' | Add new Wiki collection | | ''PLUGIN_WEBDAV_PLUGINS'' | Add new plugin | ==== Pages collection ==== ^ Client ^ Create ^ Edit ^ Delete ^ Rename ^ ^ Dolphin | yes | yes | yes | no | ^ Nautilus | yes | yes | yes | no | ^ DAVFS2 | yes | yes | yes | no | ^ Cadaver | yes | yes | yes | no | ^ Windows | yes | yes | yes | no | :!: WebDAV plugin follow the [[:pagename]] naming convention for directory (namespace) and files (page). Windows users may experience problems with files and directories containing spaces and uppercase / lowercase in the name. ==== Media collection ==== ^ Client ^ Create ^ Edit ^ Delete ^ Rename ^ ^ Dolphin | yes | yes | yes | no | ^ Nautilus | yes | yes | yes | no | ^ DAVFS2 | yes | yes | yes | no | ^ Cadaver | yes | yes | yes | no | ^ Windows | yes | yes | yes | no | WebDAV plugin preserve the original file and directory name (space and upper/lower case). In media manager all files are viewed in standard DokuWiki format. ==== Custom properties ==== WebDAV plugin expose additional DAV properties: ^ Property ^ Note ^ | ''dw:id'' | Page ID | | ''dw:title'' | Page Title | | ''dw:description'' | Page description/summary | | ''dw:tag'' | [[plugin:tag]] plugin tags | It's possible to view this properties using ''PROPFIND'' method: PROPFIND http://dokuwiki.example.org/lib/plugin/webdav/server.php/wiki/pages/wiki/syntax.txt /wiki/lib/plugins/webdav/server.php/wiki/pages/wiki/syntax.txt Sun, 20 May 2018 22:27:43 GMT 22597 text/plain "2fd28b7174c545bdb35da008a8208611b92663f3" Formatting Syntax wiki:syntax Formatting Syntax Formatting Syntax DokuWiki supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing HTTP/1.1 200 OK ===== Configuration and Settings ===== ^ Config ^ Default ^ Description ^ | ''remote'' | ''1'' | Allow remote access to WebDAV | | ''remoteuser'' | ''!!not set!!'' | See [[config:remoteuser]] config | | ''fix_msoffice_lockroot'' | ''0'' | | | ''show_button'' | ''0'' | Show WebDAV button in Page Tools with WebDAV URL | | ''browser_plugin'' | ''0'' | Enable SabreDAV Browser Plugin | === Known Bugs and Issues === :!: In **pages** collection, Windows users may experience problems with files and directories containing spaces and uppercase / lowercase in the name. :!: MSOffice user may experience errors when save media file (lock problem) === ToDo/Wish List === - Add "rename" support - Increase stability for Windows Explorer client - Add support for MSOffice "online" editing - Add support for UPPER/lower case directory in media collection - Add support for [[:namespace_templates|namespace template]] (new collection ?) ===== FAQ ===== ===== Discussion ===== ===== Development ===== [[https://travis-ci.com/giterlizzi/dokuwiki-plugin-webdav|{{ https://travis-ci.com/giterlizzi/dokuwiki-plugin-webdav.png?nocache|Build Status}}]] === ChangeLog === == Main branch == {{rss>https://github.com/giterlizzi/dokuwiki-plugin-webdav/commits/master.atom 5 author date 1h }} == Develop branch == {{rss>https://github.com/giterlizzi/dokuwiki-plugin-webdav/commits/develop.atom 5 author date 1h }} === Bugs / Feature Requests === Please report bugs or feature requests at the [[https://github.com/giterlizzi/dokuwiki-plugin-webdav/issues|Bug tracker]].