summaryrefslogtreecommitdiff
path: root/addons/document_webdav/webdav_server.py
AgeCommit message (Collapse)Author
2011-11-22[IMP] Added missing vim mode linesNumerigraphe - Lionel Sausin
lp bug: https://launchpad.net/bugs/524279 fixed bzr revid: ls@numerigraphe.fr-20111122085138-x6u2lcl6vrpyybp9
2011-09-09[FIX] websrv_lib: commit associated to a change in the server:Vo Minh Thu
revno 3548, revid vmt@openerp.com-20110909122856-29uhsjfe193fqdi8 bzr revid: vmt@openerp.com-20110909123005-aqbixbe7xj0nwlc9
2011-09-08[REF] document_webdav: reg_http_service accepts the HTTPDir arguments,Vo Minh Thu
renamed auth_proxy to auth_provider. bzr revid: vmt@openerp.com-20110908123115-meorb9rnc2j0rb40
2011-09-08[FIX] document_webdav: make sure the headers is a dict.Vo Minh Thu
bzr revid: vmt@openerp.com-20110908094438-rpqz2k5xn0pmhigx
2010-12-23Merge branch11 into patch18P. Christeas
Branch patch11 had somewhere been lost in bzr hell. Conflicts: account/account_move_line.py document_webdav/nodes.py document_webdav/webdav_server.py event_project/__init__.py users_ldap/users_ldap.py bzr revid: p_christ@hol.gr-20101223155444-ym8r0g4208gm88j9
2010-12-23doc webdav: revert changes, that would break httpsP. Christeas
See commit 848c3f9ad2df3. Again, read it a few times. bzr revid: p_christ@hol.gr-20101223141403-6qbj4ysz06mmvuih
2010-12-23[MERGE]: Merge with lp:~openerp-dev/openobject-addons/trunk-dev-addons1atp (Open ERP)
bzr revid: atp@tinyerp.co.in-20101223105705-xyo4vu424j3lhqlt
2010-12-09doc webdav: update copyright header, add disclaimer about python-webdavP. Christeas
Yes, I have been subclassing the DAV module and improving on the existing code, regarding that we couldn't ship our own version of the whole python-webdav library (as in v5.x). At commit b2a2c3f95416788, on 2010-04-06, we explicitly deleted our custom copies of the DAV module and linked to the upstream project, in fact. bzr revid: p_christ@hol.gr-20101209095950-qf2ppgdxw8y2lake
2010-12-07doc webdav: Implement locking supportP. Christeas
This replaces the pseydo-locking of python-webdav library with a real db-based locking. Locks are stored as DAV properties, which will effectively also be listed in the PROPFIND response of the nodes. With locking in place, Office suites can collaborate on documents online. bzr revid: p_christ@hol.gr-20101207134041-8negkvxrbscv7fs7
2010-11-25[MERGE]: Merge with lp:~openerp-dev/openobject-addons/trunk-xrg-patch5atp (Open ERP)
bzr revid: atp@tinyerp.co.in-20101125073131-zicpd0nvq7p6p635
2010-11-23Doc_webdav: port logging to pythonic, not netsvcP. Christeas
Having an allocated logging object may even speed up things. bzr revid: p_christ@hol.gr-20101123190125-0l951ev1h9dsu6lw
2010-11-23doc webdav: principals redirect feature, for i-thingsP. Christeas
iPhones etc. are preset to look into /principals/users/xx , so let's provide that path to them. bzr revid: p_christ@hol.gr-20101123185343-n1k1szxojdmcpekz
2010-11-23http-well-known: merge into the document_webdav moduleP. Christeas
Since both "well-known" urls are about webdav[1], we can safely assume that the webdav module is needed when well-known uris are used. The code is much similar, too. http://www.iana.org/assignments/well-known-uris/well-known-uris.xhtml bzr revid: p_christ@hol.gr-20101123185338-az85yl7pbc9gf76z
2010-11-23doc webdav: install a dummy DAV handler at / , for NautilusP. Christeas
The gnome gvfs component falsely requires that / will serve PROPFIND requests. We reuse the static-http capability of the server (force activation rather than opt-in default behavior) and serve pseudo-DAV properties for the root. Conflicts: document_webdav/webdav_server.py bzr revid: p_christ@hol.gr-20101123185011-besih03q4gt2atps
2010-11-12[Fix] caldav,document,document_ftp,document_webdav: fix buildbot warningssbh (Open ERP)
bzr revid: sbh@tinyerp.com-20101112114946-u19wkxzh1vj33sol
2010-11-12[MERGE]Harry (OpenERP)
bzr revid: hmo@tinyerp.com-20101112094836-qy4536d3tjvw04xc
2010-11-03doc webdav: workaround bug in KHTML's PUT method.P. Christeas
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-10-15doc webdav: match the quotes around ETagsP. Christeas
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-12doc webdav: fix against older websrv_lib that has no getsockname()P. Christeas
bzr revid: p_christ@hol.gr-20101012115534-0un3ip9jpw8hia4g
2010-10-12Document, calendar: Patch code from trunk-xrg branchP. Christeas
several fixes that hadn't been backported or applied correctly. bzr revid: p_christ@hol.gr-20101012112030-snnb4fjkya4ndqkm
2010-10-12doc webdav: switch on the DAV v2 featuresP. Christeas
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-12doc webdav: fix namespaces, propertiesP. Christeas
bzr revid: p_christ@hol.gr-20101012103830-0mfo4ecuu4lu78ia
2010-09-26Doc WebDAV: reuse address from the socket, not the bind server.P. Christeas
This should solve the following: When we reply to PROPFIND requests etc, we provide the absolute url of ourselves like: <D:href>http://our.server:8069/webdav/mydb/Documents</D:href> The problem is that if we bind to 0.0.0.0 and the interface, which the client connects through, doesn't resolve from "our.server", then we are practically redirecting the client to the wrong address. This is expected to happen at openerp servers w/o full qualified names and reverse resolution of their interfaces. Requires server patch (at websrv_lib) to function, fallbacks to old code on trouble. bzr revid: p_christ@hol.gr-20100926163210-v8scuvhg991jbbzc
2010-08-19[CLEAN]: Removed commented codes, unnecessary spaces.RHA (Open ERP)
bzr revid: uco@tinyerp.com-20100819115157-sfsmbnjdgpp4wl12
2010-08-12Doc Webdav: Don't send both ETag and Location after PUTP. Christeas
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-12Doc Webdav: at PUT, return feedback about created node.P. Christeas
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-01WebDAV: Add keep-alive in headers, fix If-MatchP. Christeas
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-07-29Doc Webdav: better exceptions, close cursors.P. Christeas
bzr revid: p_christ@hol.gr-20100729133938-fo37j2dftn7755gg
2010-07-29Doc webdav: use the new server API for http OPTIONSP. Christeas
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-12Document webdav: fix mkcol, rename, get_data (temp)P. Christeas
Conflicts: document_webdav/dav_fs.py document_webdav/webdav_server.py bzr revid: p_christ@hol.gr-20100712193236-8xde2tpmmxfp004n
2010-07-12Doc Webdav: One more workaround for python-webdav.P. Christeas
bzr revid: p_christ@hol.gr-20100712192819-7lr9zfogs6jjqq74
2010-06-24Doc WebDAV: allow auth of False db, even with user setP. Christeas
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-24Doc WebDAV: workaround py-webdav for persistent connections.P. Christeas
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-23Doc Webdav: Cleanup code, fix db listing, children paths.P. Christeas
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-22Doc webdav: temp fixesP. Christeas
Including a meaningful exception when range of data (chunked transfer) is requested. bzr revid: p_christ@hol.gr-20100622150339-e93xs3dw0kw1ni3y
2010-06-16[IMP][REF] Sql-injection changes, remove print statement, some space ↵vra
improvement. bzr revid: vra@tinyerp.com-20100616115139-cql5oiqf622spa6p
2010-04-21[IMP] caldavHarry (Open ERP)
bzr revid: hmo@tinyerp.com-20100421133402-191nwwj3nohx6zas
2010-04-12[REF+IMP] caldavHarry (Open ERP)
bzr revid: hmo@tinyerp.com-20100412105200-c3kvao81ypbh8l0g
2010-04-06[IMP] document_webdav: removed DAV and refactore codeHarry (Open ERP)
bzr revid: hmo@tinyerp.com-20100406111132-9bscvnb6aojdvioo
2009-12-29[IMP] document_webdav : webdav enable true if not specified in configuration ↵Harry (Open ERP)
file bzr revid: hmo@tinyerp.com-20091229093655-vohg3lxkzfs7zwka
2009-12-15[FIX] document_webdav : Replace <TAB> with four <WHITE SPACE>Harry (Open ERP)
bzr revid: hmo@tinyerp.com-20091215143105-3m1zuyf0fas65opf
2009-11-26[MERGE] merge from lp:~xrg/openobject-addons/doc2-5.2Panos Christeas
bzr revid: hmo@tinyerp.com-20091126135400-z32iycvadbt9so8n