Commit Graph
428 Commits
Author SHA1 Message Date
rpa (Open ERP) d6ba50f386 [FIX]: Fixed translation of warning messages
lp bug: https://launchpad.net/bugs/660494 fixed

bzr revid: rpa@tinyerp.com-20101027133524-2mijip7zskzwevnh
2010-10-27 19:05:24 +05:30
P. Christeas cccdc06d06 webdav, caldav: Let folders be public, restrict users' folders.
bzr revid: p_christ@hol.gr-20101027102429-yzwaf3qh3e97k7po
2010-10-27 13:24:29 +03:00
P. Christeas 7539d4051c document: fix recursive (tree) resource directories
The 'node_res_obj' has been the right class to use for the intermediate
nodes, ever since. The assertion that it should only apply to static
dirs was wrong.

bzr revid: p_christ@hol.gr-20101027102323-qewjjzzudj0zz643
2010-10-27 13:23:23 +03:00
Numerigraphe - Lionel Sausin c1cb4b70d0 [IMP] wording: children intead of childs (again)
bzr revid: ls@numerigraphe.fr-20101025084851-3ri17e8ct5x7lue0
2010-10-25 10:48:51 +02:00
Numerigraphe - Lionel Sausin ae6b790237 [MERGE] upgraded to v6.0.0-RC1
bzr revid: ls@numerigraphe.fr-20101025084446-w4pv2twvms9zlyxx
2010-10-25 10:44:46 +02:00
Harry (OpenERP) eb40acb2db [FIX] document_webdav: add detail of configuration parameter in module description
lp bug: https://launchpad.net/bugs/511394 fixed

bzr revid: hmo@tinyerp.com-20101020080253-yrc61hljix0r77j3
2010-10-20 13:32:53 +05:30
Olivier Dony b53197b424 [IMP] all: updated *.pot translation templates files to latest module versions
bzr revid: odo@openerp.com-20101018175939-82c6iy2kgvo9q5kt
2010-10-18 19:59:39 +02:00
Launchpad Translations on behalf of openerp aeda125c09 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101018045608-kt4jfhbjkzfrkcyk
2010-10-18 04:56:08 +00:00
Launchpad Translations on behalf of openerp 8d662b4992 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101017045400-jjnv7ydqseuecyuq
2010-10-17 04:54:00 +00:00
Harry (OpenERP) 824042bb1c [MERGE]
bzr revid: hmo@tinyerp.com-20101015131459-k969h71ybafv5kib
2010-10-15 18:44:59 +05:30
P. Christeas 5dcc42aa37 Doc webdav: fix Report for rel+abs URIs
At Evolution, the request is absolute, so make sure it matches our
relative representation of the URL.

bzr revid: p_christ@hol.gr-20101015092759-ahhiygd1u9dcny8s
2010-10-15 12:27:59 +03: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 b275fc4601 Doc Webdav: reply with relative URIs when the request was relative.
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-14 15:51:18 +03:00
P. Christeas d690bec1cb Doc Webdav: close cursor when dav_get_eprop raises Exceptions.
bzr revid: p_christ@hol.gr-20101014114159-ek4fp05fvjygobr2
2010-10-14 14:41:59 +03:00
P. Christeas 732ca8b5cf Doc webdav: fix typo in case of exception.
If user rights are not setup for the user that connects to WebDAV, this
exception will occur and the typo would not help debug the problem.
(still, the user won't see the items at either case)

bzr revid: p_christ@hol.gr-20101014110323-zxj5oha0u96e2l1t
2010-10-14 14:03:23 +03:00
Launchpad Translations on behalf of openerp 150a880bfd Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101014044533-83rsj0azy18v1g4k
2010-10-14 04:45:33 +00:00
Launchpad Translations on behalf of openerp d54048c6d7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101013045918-hlirree3j3xy4ga9
2010-10-13 04:59:18 +00: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 60f2488feb Document, caldav: inhibit features not found on trunk server.
bzr revid: p_christ@hol.gr-20101012112733-sqcnvobi5q8ztj3l
2010-10-12 14:27:33 +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 849548ccf1 WebDAV, CalDAV: setup data for folders, calendars, properties
bzr revid: p_christ@hol.gr-20101012104121-e5k6f4vg8rnktiqh
2010-10-12 13:41:21 +03:00
P. Christeas d697bd94e5 Doc webdav, caldav: fix support for the calendar-multiget report
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-12 13:41:03 +03:00
P. Christeas 51bf88f478 Doc WebDAV: pass the user-agent as a context to the nodes.
It is unavoidable. Some user agents (i-#$^%) have serious trouble with
protocol extensions they don't support. So, we have to hide a few of
our capabilities with quirk code.

bzr revid: p_christ@hol.gr-20101012104102-xakiyykjqsu16q2o
2010-10-12 13:41:02 +03:00
P. Christeas f7ce71c475 Doc webdav: hack minidom to put proper quotes at ETag. Status first.
bzr revid: p_christ@hol.gr-20101012104044-1uq9x7k93aku7ls1
2010-10-12 13:40:44 +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 f4bc837143 Doc webdav: enhance the property notation structure
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-12 13:40:29 +03:00
P. Christeas f842ccc1ec Doc webdav: context for DAV properties, dynamic folders
bzr revid: p_christ@hol.gr-20101012104020-izmzgobc2kbxb2cj
2010-10-12 13:40:20 +03:00
P. Christeas d7f96fd603 Doc webdav: Fix, implement node_res_obj for latest document.
bzr revid: p_christ@hol.gr-20101012104019-nhoqnvgpr9ecjjky
2010-10-12 13:40:19 +03:00
P. Christeas b8c7bb81a9 Doc webdav: expand tabs at __openerp__.py
bzr revid: p_christ@hol.gr-20101012103900-9jt6wn6gmy224yrj
2010-10-12 13:39:00 +03:00
P. Christeas 58a95955ba Doc Webdav: implement model for DAV properties (at dirs)
In normative setups of WebDAV, we need to place some extra properties
on selected directories.

bzr revid: p_christ@hol.gr-20101012103859-dcwsrzylxwpzbpq1
2010-10-12 13:38:59 +03:00
P. Christeas c52b73b587 doc webdav: initial override of nodes.py
bzr revid: p_christ@hol.gr-20101012103858-hykw2g2ezbwaobmn
2010-10-12 13:38:58 +03:00
P. Christeas 2655d0e091 Doc Webdav: when scanning children, protect the cursor against exceptions.
bzr revid: p_christ@hol.gr-20101012103831-36qutrtz7avzb2ny
2010-10-12 13:38:31 +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
Launchpad Translations on behalf of openerp 9df9281b00 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101009121348-auo95q0gwebhlzzn
2010-10-09 12:13:48 +00:00
Launchpad Translations on behalf of openerp 6d3d608750 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101008044002-5tq08qdkcv6vf3fj
2010-10-08 04:40:02 +00:00
Launchpad Translations on behalf of openerp 97546e5b06 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20100930044423-jl0kqf9w3u57xdjc
2010-09-30 04:44:23 +00:00
Launchpad Translations on behalf of openerp 417879f83a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20100929051813-dmrwrwhdjmxy72qr
2010-09-29 05:18:13 +00: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
Launchpad Code Hosting 0c5e7d35ac Launchpad automatic translations update.
bzr revid: codehost@crowberry-20100903034912-06mip50xi1q1s16y
2010-09-03 04:49:12 +01:00
Launchpad Code Hosting 3b5d0cec6d Launchpad automatic translations update.
bzr revid: codehost@crowberry-20100902035510-057ii8q0iqdke9bn
2010-09-02 04:55:10 +01: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
Launchpad Code Hosting b46aedf80c Launchpad automatic translations update.
bzr revid: codehost@crowberry-20100819034915-7hzl5wl6afjpanf4
2010-08-19 04:49:15 +01:00
Launchpad Code Hosting 38eba98a06 Launchpad automatic translations update.
bzr revid: codehost@crowberry-20100818103421-395pbz0hv7e8g1wr
2010-08-18 11:34:21 +01:00
Launchpad Code Hosting c5847081c9 Launchpad automatic translations update.
bzr revid: codehost@crowberry-20100818065816-llt0bhzo86e5lvr0
2010-08-18 07:58:16 +01:00
XRG 2743ee0b97 [FIX] WebDAV: fix the displayname property, for /webdav and /webdav/dbname
bzr revid: hmo@tinyerp.com-20100818060048-eg5d58e30ey0tir6
2010-08-18 11:30:48 +05:30
P. Christeas 2777bd4d5c Doc Webdav: close cursor on misc exceptions
bzr revid: p_christ@hol.gr-20100812162120-q6q2z3tqqy1nsr95
2010-08-12 19:21:20 +03:00
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
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
Launchpad Code Hosting dbdec40cdb Launchpad automatic translations update.
bzr revid: codehost@crowberry-20100812040824-gfm58mvv106myq8h
2010-08-12 05:08:24 +01:00