DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:webdav

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:webdav [2020-11-28 18:41] – [WebDAV Plugin] bactramplugin:webdav [2024-03-01 00:28] (current) – [URL] 113.149.197.49
Line 6: Line 6:
 email      : giuseppe.diterlizzi@gmail.com  email      : giuseppe.diterlizzi@gmail.com 
 type       :  type       : 
-lastupdate : 2020-11-27 +lastupdate : 2021-01-10 
-compatible : "Hogfather""Greebo"+compatible : Greebo, Hogfather, Igor, Jack Jackrum
 depends    :  depends    : 
 conflicts  conflicts 
 similar    :  similar    : 
-tags       : webdav,share,!experimental+tags       : webdav,share,odt,tag,!experimental
  
-downloadurl: http://github.com/giterlizzi/dokuwiki-plugin-webdav/zipball/develop +downloadurl: https://github.com/giterlizzi/dokuwiki-plugin-webdav/zipball/develop 
-bugtracker : http://github.com/giterlizzi/dokuwiki-plugin-webdav/issues +bugtracker : https://github.com/giterlizzi/dokuwiki-plugin-webdav/issues 
-sourcerepo : http://github.com/giterlizzi/dokuwiki-plugin-webdav/+sourcerepo : https://github.com/giterlizzi/dokuwiki-plugin-webdav/
 donationurl: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9LJDLVSNGYSA2 donationurl: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9LJDLVSNGYSA2
  
Line 21: Line 21:
 ---- ----
  
-:!: ** Experimental Plugin **+:!: **Experimental Plugin**
  
 This plugin adds WebDAV server support for DokuWiki using Sabre DAV plugin ([[https://sabre.io/dav/]]). This plugin adds WebDAV server support for DokuWiki using Sabre DAV plugin ([[https://sabre.io/dav/]]).
Line 30: Line 30:
  
 By default WebDAV plugin expose this virtual directory: By default WebDAV plugin expose this virtual directory:
-  - ''pages''DokuWiki pages + 
-  ''media''Media files +''pages'' DokuWiki pages | 
-  ''odt''DokuWiki pages in ODT format (require [[plugin:odt]] plugin)+''media'' Media files | 
 +''odt''   | DokuWiki pages in ODT format (require [[plugin:odt]] plugin) 
 +^ ''tags''  | All tagged pages (require [[plugin:tag]] plugin) |
  
 ===== Installation ===== ===== Installation =====
  
-Install the plugin using the [[plugin:plugin|Plugin Manager]] and the download URL above, which points to latest version of the plugin. Refer to [[:Plugins]] on how to install plugins manually.+Download and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
 ===== Features ===== ===== Features =====
Line 44: Line 46:
 This is the default location of WebDAV server end-point: This is the default location of WebDAV server end-point:
  
-''<nowiki>https://[dokuwiki-server]/lib/plugin/webdav/server.php/</nowiki>''.+''<nowiki>https://[dokuwiki-server]/lib/plugins/webdav/server.php/</nowiki>''
  
 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.). 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.).
Line 54: Line 56:
 === Collections === === Collections ===
  
-  - ''pages'' +^ Collection ^ Read ^ Edit ^ Create ^ Delete ^ Rename ^ Note ^ 
-  ''media'' +''pages'' | yes | yes | yes | yes | no | DokuWiki pages | 
-  ''odt'' (require [[plugin:odt]] plugin)+''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 === === Plugins ===
  
-  Browser +  Browser 
-  Mount +  Mount 
-  Locks +  Locks 
-  TemporaryFileFilter +  TemporaryFileFilter 
-  DokuWiki (expose extra properties, see below)+  DokuWiki (expose extra properties, see below)
  
 === Events === === Events ===
Line 71: Line 75:
  
 ^ Event ^ Description ^ ^ Event ^ Description ^
-| ''PLUGIN_WEBDAV_COLLECTIONS'' | Add new collection | +| ''PLUGIN_WEBDAV_WIKI_COLLECTIONS'' | Add new Wiki collection | 
-| ''PLUGIN_WEBDAV_PLUGINS'' | Add new plugin | +| ''PLUGIN_WEBDAV_PLUGINS''          | Add new plugin          |
  
 ==== Pages collection ==== ==== Pages collection ====
Line 97: Line 100:
 ^ Windows  | yes    | yes  | yes    | no     | ^ Windows  | yes    | yes  | yes    | no     |
  
-WebDAV plugin preserve the original filename (space and upper/lower case). In media manager all files are viewed in standard DokuWiki format.+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 ==== ==== Custom properties ====
  
-WebDAV plugin expose additional properties:+WebDAV plugin expose additional DAV properties:
  
-  - ''dw:id''Page ID +^ Property           ^ Note ^ 
-  ''dw:title''Page Title +''dw:id''          Page ID | 
-  ''dw:description''Page description/summary +''dw:title''       | Page Title | 
-  ''dw:tag''[[plugin:tag]] plugin tags+''dw:description'' Page description/summary | 
 +''dw:tag''         | [[plugin:tag]] plugin tags |
  
 It's possible to view this properties using ''PROPFIND'' method: It's possible to view this properties using ''PROPFIND'' method:
  
 <code> <code>
-PROPFIND http://dokuwiki.example.org/lib/plugin/webdav/server.php/pages/wiki/syntax.txt+PROPFIND http://dokuwiki.example.org/lib/plugin/webdav/server.php/wiki/pages/wiki/syntax.txt
 </code> </code>
  
Line 118: Line 122:
 <?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
 <d:propfind xmlns:d="DAV:"> <d:propfind xmlns:d="DAV:">
-   <d:prop xmlns:dw="https://dokuwiki.org/ns">+   <d:prop xmlns:dw="http://dokuwiki.org/ns">
      <d:getlastmodified/>      <d:getlastmodified/>
      <d:getcontentlength/>      <d:getcontentlength/>
Line 135: Line 139:
 <code .xml> <code .xml>
 <?xml version="1.0"?> <?xml version="1.0"?>
-<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:dw="https://dokuwiki.org/ns">+<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:dw="http://dokuwiki.org/ns">
     <d:response>     <d:response>
         <d:href>         <d:href>
-            /wiki/lib/plugins/webdav/server.php/pages/wiki/syntax.txt+            /wiki/lib/plugins/webdav/server.php/wiki/pages/wiki/syntax.txt
         </d:href>         </d:href>
         <d:propstat>         <d:propstat>
Line 187: Line 191:
 | ''fix_msoffice_lockroot'' | ''0'' | | | ''fix_msoffice_lockroot'' | ''0'' | |
 | ''show_button'' | ''0'' | Show WebDAV button in Page Tools with WebDAV URL | | ''show_button'' | ''0'' | Show WebDAV button in Page Tools with WebDAV URL |
 +| ''browser_plugin'' | ''0'' | Enable SabreDAV Browser Plugin |
  
 === Known Bugs and Issues === === Known Bugs and Issues ===
Line 199: Line 204:
   - Increase stability for Windows Explorer client   - Increase stability for Windows Explorer client
   - Add support for MSOffice "online" editing   - Add support for MSOffice "online" editing
-  - Add support for UPPER/lower case directory in media collection+  - <del>Add support for UPPER/lower case directory in media collection</del>
   - Add support for [[:namespace_templates|namespace template]] (new collection ?)   - Add support for [[:namespace_templates|namespace template]] (new collection ?)
  
Line 208: Line 213:
 ===== Development ===== ===== Development =====
  
-[[https://travis-ci.org/giterlizzi/dokuwiki-plugin-webdav|{{  https://travis-ci.org/giterlizzi/dokuwiki-plugin-webdav.png?nocache|Build Status}}]]+[[https://travis-ci.com/giterlizzi/dokuwiki-plugin-webdav|{{  https://travis-ci.com/giterlizzi/dokuwiki-plugin-webdav.png?nocache|Build Status}}]]
  
 === ChangeLog === === ChangeLog ===
plugin/webdav.1606585296.txt.gz · Last modified: 2020-11-28 18:41 by bactram

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