Commit Graph

62 Commits

Author SHA1 Message Date
Denis Ledoux 452c77c09b [FIX] 500 error on connection when using PyWebDAV 0.9.4
(and maybe others)

Courtesy of Holger Brunn (Therp)

bzr revid: dle@openerp.com-20140411134203-lxt4mnquiiclv6w3
2014-04-11 15:42:03 +02:00
Martin Trigaux 8fd6cb92e7 [IMP] use exact writing for fsf address
bzr revid: mat@openerp.com-20130514142837-jt65d8xjd1eozqst
2013-05-14 16:28:37 +02:00
Martin Trigaux 3c11652fac [IMP] trmove double space in fsf address
bzr revid: mat@openerp.com-20130514141132-610k885sxtcr8vpb
2013-05-14 16:11:32 +02:00
Martin Trigaux 7b8f704f90 [FIX] fix FSF address
bzr revid: mat@openerp.com-20130514120424-xwjzdf3mufifl90d
2013-05-14 14:04:24 +02:00
dle@openerp.com 6d49547fb6 [FIX]Remove exception
bzr revid: dle@openerp.com-20121219161840-t5jrxrtly1jzm8lh
2012-12-19 17:18:40 +01:00
Cecile Tonglet baeefa6952 [FIX] replace from/import stuffs of openerp stuffs by from/import openerp.stuffs
bzr revid: cto@openerp.com-20121217154628-0c0i8y3389yz4dxd
2012-12-17 16:46:28 +01:00
Cecile Tonglet 331fdf8675 [MERGE] From trunk (second time)
bzr revid: cto@openerp.com-20121217145921-6pk1jrktppezuq13
2012-12-17 15:59:21 +01:00
dle@openerp.com 3cce9d3569 [DEL]handle_one_request useless
bzr revid: dle@openerp.com-20121213141452-ts3a0xdcgo63pscg
2012-12-13 15:14:52 +01:00
dle@openerp.com 8256b41f0a [FIX]Try to make things work on runbot
bzr revid: dle@openerp.com-20121213095651-be2skhlkh0i4dlnz
2012-12-13 10:56:51 +01:00
dle@openerp.com d2cc57ffb6 [FIX]Copy colly of handle function of basehttpserver. Lucky guess
bzr revid: dle@openerp.com-20121212182413-kusxwx9g9qrg7jdv
2012-12-12 19:24:13 +01:00
dle@openerp.com 0d168ae647 [FIX] Wrong pywebdav lib import
bzr revid: dle@openerp.com-20121212174232-5pnme7whe9yskrj7
2012-12-12 18:42:32 +01:00
Vo Minh Thu ca89ae8f71 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206151316-u1eqx41ltjpz2lrd
2012-12-06 16:13:16 +01:00
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Antonin Bourguignon 1653332080 [MERGE] trunk
bzr revid: abo@openerp.com-20121002102915-424prxd74izb1szw
2012-10-02 12:29:15 +02:00
Antonin Bourguignon a52eeef519 [IMP] rephrase some error and warning messages in document, edi, google_base_account, mrp and mrp_repair
remove exclamation marks at the end of messages
remove unjustified capital letters

bzr revid: abo@openerp.com-20120806170841-cx9vuend1vglmsqk
2012-08-06 19:08:41 +02:00
Hardik 770dc652af [IMP]Document (ftp,webdev) : Warning Messages are changed
bzr revid: hsa@tinyerp.com-20120713052957-iie8hdqbde1g3qz9
2012-07-13 10:59:57 +05:30
Foram Katharotiya (OpenERP) 87decf703a [IMP] Add logging at the top of python files
bzr revid: fka@tinyerp.com-20120622072545-uuok6zj2jm2koxw4
2012-06-22 12:55:45 +05:30
Foram Katharotiya (OpenERP) 0c374a66bc [IMP] Add logging at the top of python files
bzr revid: fka@tinyerp.com-20120622064839-llitm8szgikxznwr
2012-06-22 12:18:39 +05:30
Numerigraphe - Lionel Sausin 2d2a44dcf2 [FIX] unmutable default in the remaining modules
[REF] coding style consistency

lp bug: https://launchpad.net/bugs/525808 fixed

bzr revid: ls@numerigraphe.fr-20120305184003-er00xtj9vtcw7gna
2012-03-05 19:40:03 +01:00
Atul Patel (OpenERP) 7f7c2d2b66 [FIX]Document_webdav: Change logger method as per server changes in logger system for caldav synchronization
bzr revid: atp@tinyerp.com-20120209090622-qoo0zfr9vjr4q0ak
2012-02-09 14:36:22 +05:30
Numerigraphe - Lionel Sausin 779fa653c1 [IMP] Added missing vim mode lines
lp bug: https://launchpad.net/bugs/524279 fixed

bzr revid: ls@numerigraphe.fr-20111122085138-x6u2lcl6vrpyybp9
2011-11-22 09:51:38 +01:00
Vo Minh Thu 6ba60770b8 [FIX] websrv_lib: commit associated to a change in the server:
revno 3548, revid vmt@openerp.com-20110909122856-29uhsjfe193fqdi8

bzr revid: vmt@openerp.com-20110909123005-aqbixbe7xj0nwlc9
2011-09-09 14:30:05 +02:00
Vo Minh Thu 1a40e51294 [REF] document_webdav: reg_http_service accepts the HTTPDir arguments,
renamed auth_proxy to auth_provider.

bzr revid: vmt@openerp.com-20110908123115-meorb9rnc2j0rb40
2011-09-08 14:31:15 +02:00
Vo Minh Thu be827a813a [FIX] document_webdav: make sure the headers is a dict.
bzr revid: vmt@openerp.com-20110908094438-rpqz2k5xn0pmhigx
2011-09-08 11:44:38 +02:00
P. Christeas 98ab6360ed Merge branch11 into patch18
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-23 17:54:44 +02:00
P. Christeas 6d38e064e2 doc webdav: revert changes, that would break https
See commit 848c3f9ad2df3. Again, read it a few times.

bzr revid: p_christ@hol.gr-20101223141403-6qbj4ysz06mmvuih
2010-12-23 16:14:03 +02:00
atp (Open ERP) 40201bfea2 [MERGE]: Merge with lp:~openerp-dev/openobject-addons/trunk-dev-addons1
bzr revid: atp@tinyerp.co.in-20101223105705-xyo4vu424j3lhqlt
2010-12-23 16:27:05 +05:30
P. Christeas 03b7cb90c4 doc webdav: update copyright header, add disclaimer about python-webdav
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-09 11:59:50 +02:00
P. Christeas 6b2c832f5f doc webdav: Implement locking support
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-12-07 15:40:41 +02:00
atp (Open ERP) 854a579f13 [MERGE]: Merge with lp:~openerp-dev/openobject-addons/trunk-xrg-patch5
bzr revid: atp@tinyerp.co.in-20101125073131-zicpd0nvq7p6p635
2010-11-25 13:01:31 +05:30
P. Christeas 369d1d110b Doc_webdav: port logging to pythonic, not netsvc
Having an allocated logging object may even speed up things.

bzr revid: p_christ@hol.gr-20101123190125-0l951ev1h9dsu6lw
2010-11-23 21:01:25 +02:00
P. Christeas 2bdc61232e doc webdav: principals redirect feature, for i-things
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-23 20:53:43 +02:00
P. Christeas 8f2e8ff36f http-well-known: merge into the document_webdav module
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-23 20:53:38 +02:00
P. Christeas ecf7b56a86 doc webdav: install a dummy DAV handler at / , for Nautilus
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-23 20:50:11 +02:00
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
P. Christeas 329c9a003c Doc WebDAV: reuse address from the socket, not the bind server.
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-09-26 19:32:10 +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