Commit Graph
11 Commits
Author SHA1 Message Date
RHA (Open ERP) d5ad0b8ff1 [CLEAN]: Removed commented codes, unnecessary spaces.
bzr revid: uco@tinyerp.com-20100819115157-sfsmbnjdgpp4wl12
2010-08-19 17:21:57 +05:30
rpa (Open ERP) a566e35d20 [IMP]: document_webdav: Raise warning when PyWebDAV is not installed
bzr revid: rpa@tinyerp.com-20100812064753-xfcxcbs726oa3qtw
2010-08-12 12:17:53 +05:30
P. Christeas 2289282c8b Doc, webdav: new API for the DAV:resourcetype property.
This property is used in DAV folders, CalDAV, GroupDAV and CardDAV, with
different extensions at each one. So, it needs an extensible API for the
value it may return.

Typical response in a calendar dir:
	<D:resourcetype>
	    <D:collection>
	    <ns0:vevent-collection xmlns:ns0="http://groupdav.org"/>
	    <ns1:calendar xmlns:ns1="urn:ietf:params:xml:ns:caldav" />
	</D:resourcetype>

The last two elements have to be added by subclassing the node in the
caldav module.

Conflicts:

	document_webdav/dav_fs.py

bzr revid: p_christ@hol.gr-20100801083722-nh4ty58fy0hobrgk
2010-08-01 11:37:22 +03:00
P. Christeas 313ffd1550 Doc Webdav: fix whitespace.
bzr revid: p_christ@hol.gr-20100729133938-hk90sqo6zuzvzbks
2010-07-29 16:39:38 +03:00
P. Christeas 9e7431ba41 Doc Webdav: compact xml namespaces.
There is no reason to repeat the "DAV:" namespace as "ns0:"

bzr revid: p_christ@hol.gr-20100729133938-1gquxi4owv1r1wze
2010-07-29 16:39:38 +03:00
P. Christeas e78571ac67 Document, DAV: fix propfind/propname code
Several small fixes for the DAV responses, so that we are more conforming
to the protocol. Also fix multiple namespaces, getctag and (as always)
whitespace

bzr revid: p_christ@hol.gr-20100729133937-z6ctpn92w6mz7r9k
2010-07-29 16:39:37 +03:00
P. Christeas 6429cbe667 Doc WebDAV: fix for unicode names in paths.
example, when exporiting dynamic folders with unicode names.

bzr revid: p_christ@hol.gr-20100627201842-bor8tt5jk4vtgv6s
2010-06-27 23:18:42 +03:00
P. Christeas a26e8ae2ee Doc Webdav: Cleanup code, fix db listing, children paths.
This is a reshape of the code, since the porting. While the MultiHttpHandler
will strip the '/webdav' part of the path, the DAV code will try to
generate more paths without it. So, there must be consinstent functions
that will convert (at mk_prop_response and mk_propname_response) to the
full path or back. Also, only have one function that will strip the
db name from the path, so that we control the auth requirements (for the
purpose of database listings, which shouldn't require authentication).

bzr revid: p_christ@hol.gr-20100623105437-kmy0ccqihu5h9ydp
2010-06-23 13:54:37 +03:00
vra bf8d2a73c0 [IMP][REF] Sql-injection changes, remove print statement, some space improvement.
bzr revid: vra@tinyerp.com-20100616115139-cql5oiqf622spa6p
2010-06-16 17:21:39 +05:30
Harry (Open ERP) 37a0b05a17 [REF] caldav
bzr revid: hmo@tinyerp.com-20100412114551-pkrd135oxul8pw1u
2010-04-12 17:15:51 +05:30
Harry (Open ERP) 565d1a18c7 [REF+IMP] caldav
bzr revid: hmo@tinyerp.com-20100412105200-c3kvao81ypbh8l0g
2010-04-12 16:22:00 +05:30