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
Mustufa Rangwala
b4de88c478
[IMP] All modules: Translation POT+PO Files with project reviesion date
...
bzr revid: mra@mra-laptop-20100810093725-i2y5rq90h6qkfxlu
2010-08-10 15:07:25 +05:30
rpa (Open ERP)
e0246c400b
[Merge]: Merge with lp:openobject-addons
...
bzr revid: rpa@tinyerp.com-20100804051414-p3by3jbxg0ouc74w
2010-08-04 10:44:14 +05:30
Launchpad Code Hosting
09f96311ff
Launchpad automatic translations update.
...
bzr revid: codehost@crowberry-20100804034744-8i4cc3pb30jo6kr0
2010-08-04 04:47:44 +01: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
2289282c8b
Doc, webdav: new API for the DAV:resourcetype property.
...
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-08-01 11:37:22 +03:00
P. Christeas
313ffd1550
Doc Webdav: fix whitespace.
...
bzr revid: p_christ@hol.gr-20100729133938-hk90sqo6zuzvzbks
2010-07-29 16:39:38 +03:00
P. Christeas
9e7431ba41
Doc Webdav: compact xml namespaces.
...
There is no reason to repeat the "DAV:" namespace as "ns0:"
bzr revid: p_christ@hol.gr-20100729133938-1gquxi4owv1r1wze
2010-07-29 16:39:38 +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
f536feba96
Doc WebDAV: fix match_prop() to work like get_prop()
...
Some properties (like the getetag) are handled in the interface, so
match_prop has to use that algorithm.
bzr revid: p_christ@hol.gr-20100729133938-1frjiz3kqqc12hjz
2010-07-29 16:39:38 +03:00
P. Christeas
6987e89efe
Doc Webdav, caldav: get the create/write dates w. perm_read(). convert.
...
create_date, write_date may not be specified as object fields, so we
cannot always call them. Use the perm_read() instead (which works for
all objects). However, the datetime returned may have fractional secs,
in which case a better conversion function shall be used.
bzr revid: p_christ@hol.gr-20100729133937-fslzb5xba2pq5grj
2010-07-29 16:39:37 +03:00
P. Christeas
080e951518
Doc WebDAV: fix http options re-occurring
...
bzr revid: p_christ@hol.gr-20100729133937-uic42ifltpq0yp8r
2010-07-29 16:39:37 +03:00
P. Christeas
628651c6aa
Doc WebDAV: modified date should be in en_US
...
I guess most clients would bork if we try to send them localized time
strings.
bzr revid: p_christ@hol.gr-20100729133937-fcbxam1i05zbx5du
2010-07-29 16:39:37 +03:00
P. Christeas
e78571ac67
Document, DAV: fix propfind/propname code
...
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-07-29 16:39:37 +03:00
P. Christeas
449da75e4e
Doc Webdav: fix bug with DAV propname namespaces
...
Since the self.PROPS hadn't been copied, subsequent propname requests
would try to fetch all the properties of previous ones.
bzr revid: p_christ@hol.gr-20100729133937-yyfm1wb33vxh96ew
2010-07-29 16:39:37 +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
dbr(Open ERP)
c860708a9c
[RENAME] Tiny ERP to OpenERP SA in all places
...
bzr revid: vir@tinyerp.com-20100728114344-u2cm97mk6gnfpp13
2010-07-28 17:13:44 +05:30
Harry (OpenERP)
fa3e08b9df
[MERGE]
...
bzr revid: hmo@tinyerp.com-20100717051300-ljwadjoh4jy6m1r1
2010-07-17 10:43:00 +05:30
P. Christeas
403a71fbaa
Document webdav: fix errors for get_data, mkcol
...
bzr revid: p_christ@hol.gr-20100713102946-peksq27q3bxzgtnx
2010-07-13 13:29:46 +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
3fe8bf10a8
Doc WebDAV: More consistent exceptions
...
The NotFound one should properly parse the list uri2. Define a helper
function that will wrap around usual calls and handle their exceptions.
bzr revid: p_christ@hol.gr-20100712192930-necdd0z9d2j6w4ut
2010-07-12 22:29:30 +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
0e5dbb787c
Merge remote branch 'origin/dms-bugfix' into trunk-fix-webdav
...
bzr revid: p_christ@hol.gr-20100628074745-dj2ly9gsfvs6pifw
2010-06-28 10:47:45 +03:00
P. Christeas
6429cbe667
Doc WebDAV: fix for unicode names in paths.
...
example, when exporiting dynamic folders with unicode names.
bzr revid: p_christ@hol.gr-20100627201842-bor8tt5jk4vtgv6s
2010-06-27 23:18:42 +03:00