Commit Graph
27 Commits
Author SHA1 Message Date
sbh (Open ERP) 3389c99ee6 [Fix] caldav,document,document_ftp,document_webdav: fix buildbot warnings
bzr revid: sbh@tinyerp.com-20101112114946-u19wkxzh1vj33sol
2010-11-12 17:19:46 +05:30
Harry (OpenERP) ca33cf5313 [MERGE]
bzr revid: hmo@tinyerp.com-20101112094836-qy4536d3tjvw04xc
2010-11-12 15:18:36 +05:30
P. Christeas 21847b3864 doc webdav: workaround bug in KHTML's PUT method.
This isn't our fault, but KDE is bound to remain broken for quite some
time, we'd better support it.

bzr revid: p_christ@hol.gr-20101103112604-78mdkva38dx1vm9k
2010-11-03 13:26:04 +02:00
P. Christeas 788ed06b80 doc webdav: match the quotes around ETags
In commit e7eede397c8a84, quotes were re-introduced around ETags. At the
http "If-Match" header, we have to follow that.

bzr revid: p_christ@hol.gr-20101015092758-3wajkzjo0bm5z60g
2010-10-15 12:27:58 +03:00
P. Christeas 8ce30bcea6 doc webdav: fix against older websrv_lib that has no getsockname()
bzr revid: p_christ@hol.gr-20101012115534-0un3ip9jpw8hia4g
2010-10-12 14:55:34 +03:00
P. Christeas 305b48abe3 Document, calendar: Patch code from trunk-xrg branch
several fixes that hadn't been backported or applied correctly.

bzr revid: p_christ@hol.gr-20101012112030-snnb4fjkya4ndqkm
2010-10-12 14:20:30 +03:00
P. Christeas 1b30170525 doc webdav: switch on the DAV v2 features
The underlying python-webdav supports some emulation for lock/unlock, so
try to use that.

bzr revid: p_christ@hol.gr-20101012104035-jffog0w1dco2lo9i
2010-10-12 13:40:35 +03:00
P. Christeas 96499ac6ce doc webdav: fix namespaces, properties
bzr revid: p_christ@hol.gr-20101012103830-0mfo4ecuu4lu78ia
2010-10-12 13:38:30 +03:00
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
P. Christeas bcba71f779 Doc Webdav: Don't send both ETag and Location after PUT
An ETag should refer to the requested uri, so a Location header will
render it invalid anyway. Gnome's evolution has an if-else block that
first checks ETag and then Location.

bzr revid: p_christ@hol.gr-20100812111025-xoilqlb956moovgv
2010-08-12 14:10:25 +03:00
P. Christeas 5df0b8cf8c Doc Webdav: at PUT, return feedback about created node.
Used in caldav, the final location of the node and its ETag must be
returned after creation.

bzr revid: p_christ@hol.gr-20100812111023-s6dv0g24enfghki9
2010-08-12 14:10:23 +03:00
P. Christeas c02cd022e4 WebDAV: Add keep-alive in headers, fix If-Match
We must check the "If-Match" header. Its value is quoted, so try to
remove quotes (crude way), and also consume any body before we respond
with 4xx.

Conflicts:

	document_webdav/webdav_server.py

bzr revid: p_christ@hol.gr-20100801083828-lh9htiqlwewvhloh
2010-08-01 11:38:28 +03:00
P. Christeas 71ae841d45 Doc Webdav: better exceptions, close cursors.
bzr revid: p_christ@hol.gr-20100729133938-fo37j2dftn7755gg
2010-07-29 16:39:38 +03:00
P. Christeas 4ab6bf860c Doc webdav: use the new server API for http OPTIONS
Since a063f7e441f910f, server has a better API for the http options,
use that instead of the ill-written do_OPTIONS handler.'

bzr revid: p_christ@hol.gr-20100729133936-e0laz7p3j1l2zodo
2010-07-29 16:39:36 +03:00
P. Christeas 83ff0d6757 Document webdav: fix mkcol, rename, get_data (temp)
Conflicts:

	document_webdav/dav_fs.py
	document_webdav/webdav_server.py

bzr revid: p_christ@hol.gr-20100712193236-8xde2tpmmxfp004n
2010-07-12 22:32:36 +03:00
P. Christeas 136398f175 Doc Webdav: One more workaround for python-webdav.
bzr revid: p_christ@hol.gr-20100712192819-7lr9zfogs6jjqq74
2010-07-12 22:28:19 +03:00
P. Christeas 4b30a47879 Doc WebDAV: allow auth of False db, even with user set
This is another workaround for nautilus, that descends into the db (=does
authorization) and then requests info for the parent again
(causing db=False later).

bzr revid: p_christ@hol.gr-20100624150122-tntum07kgth2ogup
2010-06-24 18:01:22 +03:00
P. Christeas 665103115d Doc WebDAV: workaround py-webdav for persistent connections.
Python-webdav does not follow the http protocol for persistent connections,
nor does it accept patches. So, override their functions.

bzr revid: p_christ@hol.gr-20100624150054-iwuvgehsyjr7qghv
2010-06-24 18:00:54 +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
P. Christeas 4fd5e6b514 Doc webdav: temp fixes
Including a meaningful exception when range of data (chunked transfer)
is requested.

bzr revid: p_christ@hol.gr-20100622150339-e93xs3dw0kw1ni3y
2010-06-22 18:03:39 +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) 5c3cf27f2f [IMP] caldav
bzr revid: hmo@tinyerp.com-20100421133402-191nwwj3nohx6zas
2010-04-21 19:04:02 +05:30
Harry (Open ERP) 565d1a18c7 [REF+IMP] caldav
bzr revid: hmo@tinyerp.com-20100412105200-c3kvao81ypbh8l0g
2010-04-12 16:22:00 +05:30
Harry (Open ERP) aa70854c09 [IMP] document_webdav: removed DAV and refactore code
bzr revid: hmo@tinyerp.com-20100406111132-9bscvnb6aojdvioo
2010-04-06 16:41:32 +05:30
Harry (Open ERP) 892e40f0c9 [IMP] document_webdav : webdav enable true if not specified in configuration file
bzr revid: hmo@tinyerp.com-20091229093655-vohg3lxkzfs7zwka
2009-12-29 15:06:55 +05:30
Harry (Open ERP) 6082127d5d [FIX] document_webdav : Replace <TAB> with four <WHITE SPACE>
bzr revid: hmo@tinyerp.com-20091215143105-3m1zuyf0fas65opf
2009-12-15 20:01:05 +05:30
Panos Christeas 8d0b4a7418 [MERGE] merge from lp:~xrg/openobject-addons/doc2-5.2
bzr revid: hmo@tinyerp.com-20091126135400-z32iycvadbt9so8n
2009-11-26 19:24:00 +05:30