folder-remote.pngDisplays a WebDAV link to edit attachments
TypeXAR
Developed by

Caleb James DeLisle, Ecaterina Moraru (Valica), Eduard Moraru, Guillaume Delhumeau, Jean-Vincent Drean, Jerome Velociter, Marius Dumitru Florea, Sergiu Dumitriu, Thomas Mortagne, Vincent Massol

Rating
Rate!
1 Votes
LicenseGNU Lesser General Public License 2.1
Compatibility

XWiki 9.11.x+

Installable with the Extension Manager

Description

Starting XWiki 9.5RC1, the XWiki Core Development team has decided to stop supporting WebDAV and to move this module to XWiki Contrib.

This application provides the ability to edit attachments through WebDAV by adding a pencil icon next to attachments. Clicking the pencil icon on an attachment will open the attachment in the OS-specific editor associated with the attachment type. When you save your modifications the attachment is automatically updated.

editattachment.png

This feature is environment-dependent. It works as is on Internet Explorer 10+ on Windows 10+ and will allow to open Office documents directly in MS Office. (It does not work if no Office suite is installed, however.)

On Firefox under Windows this feature works, too, but requires the user to select the proper application when first editing an attachment for every document type.

Tested on

This extension has been tested with the following configurations.

Extension VersionXWiki FlavorNotes
9.5XWiki 9.11.7

accept with MS Edge under Windows 10

9.5XWiki 9.11.7

cancel with Firefox under Linux; the pencil icon is displayed, but clicking it gives the message: "Sorry, this feature is not supported by your browser."

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.

You can also use the following manual method, which is useful if this extension cannot be installed with the Extension Manager or if you're using an old version of XWiki that doesn't have the Extension Manager:

  1. Log in the wiki with a user having Administration rights
  2. Go to the Administration page and select the Import category
  3. Follow the on-screen instructions to upload the downloaded XAR
  4. Click on the uploaded XAR and follow the instructions
  5. You'll also need to install all dependent Extensions that are not already installed in your wiki

Important. Please read!

Please note that while this extension is installable with the Extension Manager, it depends on the WebDAV Server extension, which needs to be installed manually; without the WebDAV Server this extension is not installable with the Extension Manager and will not work if installed manually.

Release Notes

v9.5.2

This is a bugfix release for one serious issue discovered with 9.5.1:

  • Closed WEBDAV-21 Client side mime type should be ignored when saving attachments

v9.5.1

This is a bugfix release for issues discovered with 9.5.

The following issues have been included in this release:

  • Closed WEBDAV-20 Newly uploaded attachments have no "edit" icon in the attachment UI
  • Closed WEBDAV-19 GET and PUT of large attachments causes OOM
  • Closed WEBDAV-18 Cannot access attachment if the path to the attachment contains a slash in the page / space name
  • Closed WEBDAV-17 "File cannot be opened" message if the path to the attachment contains non-ascii characters

v9.5

This is the first release as a contrib extension. Also this is the first version fully supporting nested pages. Finally it is the first to add support for IE 8+. Because this involved major changes, there might be some bugs to weed out.

The following tasks have been included in this release:

  • Closed WEBDAV-16 Add Support for IE 10 and Edge
  • Closed WEBDAV-15 Bring back the "edit" icon in the attachments section
  • Closed WEBDAV-14 Move the WebDAV page to a "Code" subspace and migrate the translation keys
  • Closed WEBDAV-13 Make WebDAV build as a contrib project
  • Closed WEBDAV-7 Make webdav more scalable when there are lots of spaces + better support for Nested Spaces

In its current version it only supports editing of MS Office documents. For Internet Explorer or Edge there is seems not much better can be done. (If you have an idea how, send pull request or at least give pointers e.g. in a JIRA issue.)
For Firefox it might be able to invent new dummy protocols out of thin air for other file types and hope it will work. If you want to try if it works, edit the page WebDAV.Code.UI in the object editor and add a line to the  protocols map like:

 protocols : {
    'doc' : 'ms-word:ofe|u|',
    'dot' : 'ms-word:nft|u|',
[...]
    'dwt' : 'ms-spd:ofe|u|',
    'fwp' : 'ms-spd:ofe|u|',
    'txt' : 'x-wordpad:ofe|u|'
  },

This has not been tested, but it might cause Firefox to ask the user for some application to open the file with. Which text editors might be able to handle saving text files over WebDAV has not been tested, either.

If this extension does not work for you please remember that this is just an UI, and you can always use a WebDAV-browser to edit attachments as long as you have the WebDAV Server extension installed.

Dependencies

Dependencies for this extension (org.xwiki.contrib:xwiki-webdav-ui 9.5.2):

Created by Asiri Rathnayake on 2009/01/20 12:07
    

Get Connected