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
P. Christeas
91a0bbf1c5
doc webdav: Fix putting of utf-8 names
...
We had a mix of unicode and utf-8 encoded strings, which broke the join
at line 700.
bzr revid: p_christ@hol.gr-20101123184905-9t7v1jrx257oog27
2010-11-23 20:49:05 +02:00
P. Christeas
a7cc6e51a4
doc webdav: fix typos at get_dav_props
...
bzr revid: p_christ@hol.gr-20101123184858-fdws4qtjfswiahra
2010-11-23 20:48:58 +02:00
Launchpad Translations on behalf of openerp
9ce4c19ddb
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20101113045543-gq76fkq68gr8ztn4
bzr revid: launchpad_translations_on_behalf_of_openerp-20101114050617-nexh3bn94sursrgz
bzr revid: launchpad_translations_on_behalf_of_openerp-20101115050022-k7zlh9jzqc8beyz4
bzr revid: launchpad_translations_on_behalf_of_openerp-20101116050554-aaipk5pslwtpiv7i
bzr revid: launchpad_translations_on_behalf_of_openerp-20101116050822-70xxlgdqeenfg117
2010-11-16 05:08:22 +00:00
Launchpad Translations on behalf of openerp
ed96a68c17
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20101113045740-ri0zzbis11gzhoej
bzr revid: launchpad_translations_on_behalf_of_openerp-20101114050841-xhjhxe3kwbpnt845
2010-11-14 05:08:41 +00: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
Launchpad Translations on behalf of openerp
306d4d26e7
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20101112044927-624d4nd8q0hoo4ox
2010-11-12 04:49:27 +00:00
Launchpad Translations on behalf of openerp
9e1849f897
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20101106045316-zff7y01djqruda2y
bzr revid: launchpad_translations_on_behalf_of_openerp-20101107044934-tfbi3s4f5lopxdgx
bzr revid: launchpad_translations_on_behalf_of_openerp-20101108051319-swd4a0gpprpry47a
2010-11-08 05:13:19 +00:00
xrg@hellug.gr
c8533820f9
[Merge] from trunk-dev-addons1 branch
...
bzr revid: xrg@hellug.gr-20101104073113-4znngwy096nlhdcv
2010-11-04 09:31:13 +02:00
Launchpad Translations on behalf of openerp
bb161a1a18
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20101104045208-g7vomg4hhy37mrp6
2010-11-04 04:52:08 +00:00
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
2645423e54
doc webdav: Enable yaml test, lint fixes
...
bzr revid: p_christ@hol.gr-20101103112604-qbrkbmg81aj1d2vx
2010-11-03 13:26:04 +02:00
P. Christeas
1c5c26a8af
doc webdav: move to the node_descriptor API
...
We need to support chunked transfers, as well as Ranges, so we should no
longer use the node.get_data() but node.open_data('r').
bzr revid: p_christ@hol.gr-20101103112535-34sr4dhd3neunfv1
2010-11-03 13:25:35 +02:00
P. Christeas
deffd9703d
doc webdav: support for GET and PUT at yaml tests
...
bzr revid: p_christ@hol.gr-20101103112534-9xyjp4xup0pjoxwm
2010-11-03 13:25:34 +02:00
P. Christeas
872f6be340
doc webdav: more tests in lib, yaml
...
bzr revid: p_christ@hol.gr-20101103112534-7vdnxjxr9wb3736t
2010-11-03 13:25:34 +02:00
P. Christeas
23103d89cf
doc webdav: use credentials at tests
...
bzr revid: p_christ@hol.gr-20101103112534-ig2s9ijq0qlrw4ug
2010-11-03 13:25:34 +02:00
P. Christeas
97a1f09deb
doc webdav: form the testing class, implement options test.
...
bzr revid: p_christ@hol.gr-20101103112534-868gjh5eqseb7voo
2010-11-03 13:25:34 +02:00
P. Christeas
4cc8404d36
doc webdav: copy code from http-client.py, for testing
...
bzr revid: p_christ@hol.gr-20101103112534-albm51p5cfidisop
2010-11-03 13:25:34 +02:00
Launchpad Translations on behalf of openerp
8c073c3c98
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20101103045904-bp74yxj1qhrx37q7
bzr revid: launchpad_translations_on_behalf_of_openerp-20101103050114-xf1zmv7buebcxyez
2010-11-03 05:01:14 +00:00
Launchpad Translations on behalf of openerp
b09e253870
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20101030055500-cfnudo9jdc2xdc67
bzr revid: launchpad_translations_on_behalf_of_openerp-20101031050524-lkw0mrbsz97myy0j
bzr revid: launchpad_translations_on_behalf_of_openerp-20101101051147-bsyo3gv9dgg7dv0c
bzr revid: launchpad_translations_on_behalf_of_openerp-20101102045123-ik9e4974excrv3ng
2010-11-02 04:51:23 +00:00
Launchpad Translations on behalf of openerp
fac99cdf1e
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20101029052928-qq1pbvq59gff4z9y
2010-10-29 05:29:28 +00:00
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
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