You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by th...@apache.org on 2006/03/14 12:09:30 UTC
svn commit: r385788 - in /lenya/trunk/src: modules/webdav/sitemap.xmap
modules/webdav/usecases/webdav/propfind.jx
pubs/default/content/authoring/doctypes/opendocument/index_de.xml.meta
pubs/default/content/authoring/doctypes/opendocument/index_en.xml.meta
Author: thorsten
Date: Tue Mar 14 03:09:28 2006
New Revision: 385788
URL: http://svn.apache.org/viewcvs?rev=385788&view=rev
Log:
ASF Bugzilla Bug 38926
[WebDAV] in the file listing, all files have the .html file extension
Patch submitted by renaud richardet.
Applied, thx Renaud. :)
Modified:
lenya/trunk/src/modules/webdav/sitemap.xmap
lenya/trunk/src/modules/webdav/usecases/webdav/propfind.jx
lenya/trunk/src/pubs/default/content/authoring/doctypes/opendocument/index_de.xml.meta
lenya/trunk/src/pubs/default/content/authoring/doctypes/opendocument/index_en.xml.meta
Modified: lenya/trunk/src/modules/webdav/sitemap.xmap
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/modules/webdav/sitemap.xmap?rev=385788&r1=385787&r2=385788&view=diff
==============================================================================
--- lenya/trunk/src/modules/webdav/sitemap.xmap (original)
+++ lenya/trunk/src/modules/webdav/sitemap.xmap Tue Mar 14 03:09:28 2006
@@ -223,7 +223,7 @@
<map:serialize type="xml" status-code="201" />
</map:match>
- <map:match pattern="PUT/**.html">
+ <map:match pattern="PUT/**.*">
<map:call function="put" />
</map:match>
Modified: lenya/trunk/src/modules/webdav/usecases/webdav/propfind.jx
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/modules/webdav/usecases/webdav/propfind.jx?rev=385788&r1=385787&r2=385788&view=diff
==============================================================================
--- lenya/trunk/src/modules/webdav/usecases/webdav/propfind.jx (original)
+++ lenya/trunk/src/modules/webdav/usecases/webdav/propfind.jx Tue Mar 14 03:09:28 2006
@@ -58,7 +58,7 @@
<!-- create a file for each document, the href is the path to the file and the
display name is what will appear in the webdav folder -->
<D:response>
- <D:href>/${doc.getPublication().getId()}/webdav${doc.getId()}_${doc.getLanguage()}.${doc.getExtension()}</D:href>
+ <D:href>/${doc.getPublication().getId()}/webdav${doc.getId()}_${doc.getLanguage()}.${doc.getSourceExtension()}</D:href>
<D:propstat>
<D:prop>
<D:displayname>${doc.getName()}_${doc.getLanguage()}.${doc.getExtension()}</D:displayname>
Modified: lenya/trunk/src/pubs/default/content/authoring/doctypes/opendocument/index_de.xml.meta
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/pubs/default/content/authoring/doctypes/opendocument/index_de.xml.meta?rev=385788&r1=385787&r2=385788&view=diff
==============================================================================
--- lenya/trunk/src/pubs/default/content/authoring/doctypes/opendocument/index_de.xml.meta (original)
+++ lenya/trunk/src/pubs/default/content/authoring/doctypes/opendocument/index_de.xml.meta Tue Mar 14 03:09:28 2006
@@ -10,6 +10,7 @@
<lenya:internal>
<lenya:resourceType>opendocument</lenya:resourceType>
<lenya:contentType>odt</lenya:contentType>
+ <lenya:extension>odt</lenya:extension>
</lenya:internal>
</lenya:meta>
</lenya:document>
Modified: lenya/trunk/src/pubs/default/content/authoring/doctypes/opendocument/index_en.xml.meta
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/pubs/default/content/authoring/doctypes/opendocument/index_en.xml.meta?rev=385788&r1=385787&r2=385788&view=diff
==============================================================================
--- lenya/trunk/src/pubs/default/content/authoring/doctypes/opendocument/index_en.xml.meta (original)
+++ lenya/trunk/src/pubs/default/content/authoring/doctypes/opendocument/index_en.xml.meta Tue Mar 14 03:09:28 2006
@@ -10,6 +10,7 @@
<lenya:internal>
<lenya:resourceType>opendocument</lenya:resourceType>
<lenya:contentType>odt</lenya:contentType>
+ <lenya:extension>odt</lenya:extension>
</lenya:internal>
</lenya:meta>
</lenya:document>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org