summaryrefslogtreecommitdiff
path: root/addons/document_webdav/webdav.py
AgeCommit message (Collapse)Author
2014-03-26[REM] move document_webdav to openerp-extraAntony Lesuisse
bzr revid: al@openerp.com-20140326130146-up8geys9qzh4jhc8
2012-12-17[MERGE] From trunk (second time)Cecile Tonglet
bzr revid: cto@openerp.com-20121217145921-6pk1jrktppezuq13
2012-12-17[MERGE] From trunkCecile Tonglet
bzr revid: cto@openerp.com-20121217144306-tkodwpox30cuvb28
2012-12-12[FIX] Wrong pywebdav lib importdle@openerp.com
bzr revid: dle@openerp.com-20121212174232-5pnme7whe9yskrj7
2012-12-10[FIX] document_webdav graceful importAntony Lesuisse
bzr revid: al@openerp.com-20121210151725-t4bc08hyitf54y3u
2012-12-06[IMP] use the openerp namespace.Vo Minh Thu
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-10-02[MERGE] trunkAntonin Bourguignon
bzr revid: abo@openerp.com-20121002102915-424prxd74izb1szw
2012-07-13[IMP]Document (ftp,webdev) : Warning Messages are changedHardik
bzr revid: hsa@tinyerp.com-20120713052957-iie8hdqbde1g3qz9
2012-03-05[FIX] unmutable default in the remaining modulesNumerigraphe - Lionel Sausin
[REF] coding style consistency lp bug: https://launchpad.net/bugs/525808 fixed bzr revid: ls@numerigraphe.fr-20120305184003-er00xtj9vtcw7gna
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-01-18webdav: ';' in name not handled correctly [Bug 704444]P. Christeas
Reported by: Dr. Ferdinand Gassauer Locations that contain a semicolon are split by the urlparse.urlparse(), thus setting their 'path' and 'params' return fields (rather than just the 'path'). In our syntax, there is no params, so the part after the semicolon needs to be appended back to the patch. bzr revid: p_christ@hol.gr-20110118165021-4knt76njdqnt1eln
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-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-23doc webdav: refactor the mk_prop_response() for the locksP. Christeas
This prepares the code to be reused in the DAV lock functions. bzr revid: p_christ@hol.gr-20101123185354-a2rjviaep3emqeez
2010-10-27[FIX]: Fixed translation of warning messagesrpa (Open ERP)
lp bug: https://launchpad.net/bugs/660494 fixed bzr revid: rpa@tinyerp.com-20101027133524-2mijip7zskzwevnh
2010-10-14Doc Webdav: reply with relative URIs when the request was relative.P. Christeas
If the DAV client requests properties for a relative URI (without the protocol:ip:port part), it means it can also understand responses with relative notation, so don't bother calculating the prefix (non-trivial). This fixes the REPORT responses to Mozilla Sunbird. bzr revid: p_christ@hol.gr-20101014125118-3x5ivmrbaqwb1nsx
2010-10-12Doc webdav, caldav: fix support for the calendar-multiget reportP. Christeas
This report is a request to fetch multiple calendar entries. The request contains a range of URIs to fetch, which must be processed at the dav_fs.Report level. The report is being called with Depth: 0 , for which the library could not perform an iterator. Hack over it and explictly set Depth:1 in our case. bzr revid: p_christ@hol.gr-20101012104103-eu156146jy4a75af
2010-10-12Doc webdav: hack minidom to put proper quotes at ETag. Status first.P. Christeas
bzr revid: p_christ@hol.gr-20101012104044-1uq9x7k93aku7ls1
2010-10-12Doc webdav: enhance the property notation structureP. Christeas
When DAV-aware nodes want to return properties, they might need to have xml attributes or single instances of sub-elements. Example: return ('aprop', 'D:', ('foo', 'D:', None, { 'name': 'bar'})) will result in xml: <D:prop> <D:aprop><D:foo name="bar"/></D:aprop> </D:prop> bzr revid: p_christ@hol.gr-20101012104029-gq6hhjki4i52n8qh
2010-10-12doc webdav: fix namespaces, propertiesP. Christeas
bzr revid: p_christ@hol.gr-20101012103830-0mfo4ecuu4lu78ia
2010-08-19[CLEAN]: Removed commented codes, unnecessary spaces.RHA (Open ERP)
bzr revid: uco@tinyerp.com-20100819115157-sfsmbnjdgpp4wl12
2010-08-12[IMP]: document_webdav: Raise warning when PyWebDAV is not installedrpa (Open ERP)
bzr revid: rpa@tinyerp.com-20100812064753-xfcxcbs726oa3qtw
2010-08-01Doc, webdav: new API for the DAV:resourcetype property.P. Christeas
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-07-29Doc Webdav: fix whitespace.P. Christeas
bzr revid: p_christ@hol.gr-20100729133938-hk90sqo6zuzvzbks
2010-07-29Doc Webdav: compact xml namespaces.P. Christeas
There is no reason to repeat the "DAV:" namespace as "ns0:" bzr revid: p_christ@hol.gr-20100729133938-1gquxi4owv1r1wze
2010-07-29Document, DAV: fix propfind/propname codeP. Christeas
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-06-27Doc WebDAV: fix for unicode names in paths.P. Christeas
example, when exporiting dynamic folders with unicode names. bzr revid: p_christ@hol.gr-20100627201842-bor8tt5jk4vtgv6s
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-16[IMP][REF] Sql-injection changes, remove print statement, some space ↵vra
improvement. bzr revid: vra@tinyerp.com-20100616115139-cql5oiqf622spa6p
2010-04-12[REF] caldavHarry (Open ERP)
bzr revid: hmo@tinyerp.com-20100412114551-pkrd135oxul8pw1u
2010-04-12[REF+IMP] caldavHarry (Open ERP)
bzr revid: hmo@tinyerp.com-20100412105200-c3kvao81ypbh8l0g