Commit Graph
42644 Commits
Author SHA1 Message Date
ARA (OpenERP) 08584d04f5 [MERGE] resolve conflig of po files
bzr revid: ara@tinyerp.com-20101123105803-wklir8x8v7ri6ywp
bzr revid: ara@tinyerp.com-20101124054913-ragrrkytjad5udl0
2010-11-24 11:19:13 +05:30
ksa (Open ERP) 2ead39022e [MERGE]: Merge with lp:openobject-trunk-dev-addons2
bzr revid: ksa@tinyerp.co.in-20101124054321-yiflew26iq311v3h
2010-11-24 11:13:21 +05:30
aag (OpenERP) 894ffb043d [MERGE]: Merge with lp:openobject-trunk-dev-addons2
bzr revid: aag@tinyerp.co.in-20101124053605-8upjc44b2uinokam
2010-11-24 11:06:05 +05:30
rpa (Open ERP) 432d5ceeae [MERGE]: Merge with lp:openobject-addons
bzr revid: rpa@tinyerp.com-20101123131531-xux3r8ss858aztt6
bzr revid: rpa@tinyerp.com-20101124053028-7pclpk0y5egj5jpb
2010-11-24 11:00:28 +05:30
mtr 481ba14524 [MERGE] branch merged with lp:~openerp-dev/openobject-addons/trunk-dev-addons3
bzr revid: mtr@mtr-20101124051442-x64ymf3pyb9fcy39
2010-11-24 10:44:42 +05:30
psi (Open ERP) 14e12bffb4 [MERGE] merge with dev-addons3 branch
bzr revid: psi@tinyerp.co.in-20101123045312-yil95c7f5s5ud1it
bzr revid: psi@tinyerp.co.in-20101124051335-uoab06x8svvi777t
2010-11-24 10:43:35 +05:30
Launchpad Translations on behalf of openerp 946e03d64c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101124050727-9r80w33i8dkvyp4d
2010-11-24 05:07:27 +00:00
apa-tiny 0aa96f845e [MERGE]
bzr revid: apa@tinyerp.com-20101124050506-51qrsij9yqup1akq
2010-11-24 10:35:06 +05:30
apa-tiny 5e6bc10216 [MERGE]
bzr revid: apa@tinyerp.com-20101124043000-7ldthiwx1eze1ss7
bzr revid: apa@tinyerp.com-20101124050445-3o2szdqh6ys7xens
2010-11-24 10:34:45 +05:30
Vir (Open ERP) d528bc6f81 [Merge]
bzr revid: vir@tinyerp.com-20101119044839-8cwlqycamcae42n6
bzr revid: vir@tinyerp.com-20101122044725-weeo06d2b5s2op3f
bzr revid: vir@tinyerp.com-20101123044335-es0ltyh2128liyea
bzr revid: vir@tinyerp.com-20101124050116-dd0n5f6ypvk58gtx
2010-11-24 10:31:16 +05:30
Launchpad Translations on behalf of openerp cb34b3f368 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101124045811-vl5c0cch1o2gl9o5
2010-11-24 04:58:11 +00:00
atp (Open ERP) b74a9e35b6 [ADD]: Add Calendar Directory and also crm_caldav_data and project_caldav_data.
bzr revid: atp@tinyerp.co.in-20101124045334-j88uz5hvm11u4evo
2010-11-24 10:23:34 +05:30
apa-tiny 076355cc07 [MERGE]
bzr revid: apa@tinyerp.com-20101124044116-9347i618xj00yumy
2010-11-24 10:11:16 +05:30
Mustufa Rangwala 1db216ccc8 [MERGE] merge from trunk addons
bzr revid: mra@mra-laptop-20101124043757-3jpov3rgp41z740h
2010-11-24 10:07:57 +05:30
apa-tiny 219edf4cab [MERGE]
bzr revid: apa@tinyerp.com-20101124043258-wp0uz522nvw398b7
2010-11-24 10:02:58 +05:30
apa-tiny c18ad8cb8d [MERGE]
bzr revid: apa@tinyerp.com-20101124043203-qsg4ps01l9gq2ume
2010-11-24 10:02:03 +05:30
Xavier Morel 78ca098cf7 [FIX] share: login value and dbname key (typo) in the codepath handling sharing to existing users
bzr revid: xmo@openerp.com-20101123215242-glqx7ooqi6eadyhy
2010-11-23 22:52:42 +01:00
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 f95f47b4a9 doc webdav: refactor the mk_prop_response() for the locks
This prepares the code to be reused in the DAV lock functions.

bzr revid: p_christ@hol.gr-20101123185354-a2rjviaep3emqeez
2010-11-23 20:53:54 +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 0b77e833d5 http-well-known: Let it expand, fix body of PROPFIND request
Since this class will be used as a class name (not an object instance),
we need a per-class way to redefine the redirects. Need also to redirect
whole branches rather than path nodes (eg. /principals/... to
/webdav/db/principals/...) .

Finally, solved the problem that do_PROPFIND would not consume the body
of the requests, thus mis-aligning the http layer and breaking the next
request.

bzr revid: p_christ@hol.gr-20101123185311-o0vlo2je2pkwkg19
2010-11-23 20:53:11 +02:00
P. Christeas 6b7a0b7e42 http_well_known: try to retrieve the proto from the http server
We must know if we are http or https and redirect accordingly.

bzr revid: p_christ@hol.gr-20101123185259-k054y92ruf66n52f
2010-11-23 20:52:59 +02:00
P. Christeas 7db1504d7c http_well_known: have absolute URI at Location header
RFC-2616 suggests that the Location URI must be absolute. However, as
a server, we can not know if the client called us as "http://" or
"webdav://" or else..

Pending some more change to get the ssl scheme from the calling classes.

bzr revid: p_christ@hol.gr-20101123185251-qxjgsq2c8bl12puy
2010-11-23 20:52:51 +02:00
P. Christeas 5c6f324697 http_well_known: new module, for RFC 5785
bzr revid: p_christ@hol.gr-20101123185244-6notdzskdw8jruau
2010-11-23 20:52:44 +02:00
P. Christeas 0d051581b4 document: bring back the configuration wizard
Suggested by: FP

bzr revid: p_christ@hol.gr-20101123185147-bp41deccy9n05vwo
2010-11-23 20:51:47 +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 2aa5d026d1 document: fix access of res.users folders
We need to relax the rule of ir.attachment. Needs server patch, see
commit message there.

bzr revid: p_christ@hol.gr-20101123184938-jklijdqt0xx5u6cs
2010-11-23 20:49:38 +02:00
P. Christeas 972d09e09d doc ftp: include the db name in the browse url.
bzr revid: p_christ@hol.gr-20101123184926-8am5llm757m8uv4l
2010-11-23 20:49:26 +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
P. Christeas 213a206587 users_ldap: replace tools.debug() with logging.debug()
bzr revid: p_christ@hol.gr-20101123184316-x2chah3ijr97aab1
2010-11-23 20:43:16 +02:00
P. Christeas 0848a8dc96 Remove pos_workflow.xml.orig
A file that was incorrectly committed in the first place.

bzr revid: p_christ@hol.gr-20101123184257-t40kofpyohol51sw
2010-11-23 20:42:57 +02:00
P. Christeas 5d53dcc700 websrv_lib: update copyright and remove bogus note
The reference to the "ganeti" project has always been totally arbitrary
and false. It is true that some parts of "websrv_lib" have been based
on Python's BaseHTTPServer and SimpleHTTPServer classes, but not more
than that. Overriding and perhaps resembling to parent classes is the
most common thing in OO programming. But never copied or knew about
any "ganeti" project whatsoever. (actually, the code mentioned at the
url admits itself that it copies the BaseHTTPServer, a common
denominator)

Git history to your help, all the code evolution is clearly recorded.

bzr revid: p_christ@hol.gr-20101123183357-fjroqywizql2qdkk
2010-11-23 20:33:57 +02:00
P. Christeas 597a871470 misc: import warnings, needed for earlier patch
bzr revid: p_christ@hol.gr-20101123180824-sk28lwc298v89rr4
2010-11-23 20:08:24 +02:00
Olivier Dony 6ff627d275 [IMP] ir.model.data,res.log: allow marking res.log entries as read upon creation via context + do it during module install to avoid useless log spam
bzr revid: odo@openerp.com-20101123160506-qsxa7gm5j8scphdz
2010-11-23 17:05:06 +01:00
P. Christeas 7165010fd6 ir.translate: revert some pg84 argument from the cherry-picks
bzr revid: p_christ@hol.gr-20101123155820-ltqymky8482k8l9l
2010-11-23 17:58:20 +02:00
P. Christeas a2ee48478a websrv_lib: add quirk for Darwin 9.x.x webdav clients.
They will report "HTTP/1.0" to us, while they support (and need) the
authorisation features of HTTP/1.1 .

This makes WebDAV work for some Mac OSX versions.

bzr revid: p_christ@hol.gr-20101123154448-0z7s5o77256cj1tu
2010-11-23 17:44:48 +02:00
P. Christeas c2c264467f fields: conform some default arguments to the coding standards
Side-effects may appear, let us test.

bzr revid: p_christ@hol.gr-20101123154408-qlkittdb7ogrqq2s
2010-11-23 17:44:08 +02:00
P. Christeas ec2c32e2fe ir.model: simplify some defaults
bzr revid: p_christ@hol.gr-20101123154335-tl2jm6litwx3ysro
2010-11-23 17:43:35 +02:00
P. Christeas 0c1061e4de module: improve over previous commit, fix mutable args
Conflicts:

	bin/addons/base/module/module.py

bzr revid: p_christ@hol.gr-20101123154306-j88k617evep9napa
2010-11-23 17:43:06 +02:00
Ferdinand Gassauer 09099f1ed8 module: sorted Features
returns alphabetically sorted Menu,Views,Reports to make these lists
readable for humans.

bzr revid: p_christ@hol.gr-20101123154255-4iazp4ec7wisn2sq
2010-11-23 17:42:55 +02:00
P. Christeas c5b99753ea ir.attachment: revise the access control code, let it be overriden
There was a fundamental problem when a user, through the 'document' module
would try to write into his personal folder; the res.users model won't be
writable by normal users. So, have all this code in a _single_ function,
which will be redefined by document.

Also follow the v6 API for access control, don't just lookup at ir.model.access.

Conflicts:

	bin/addons/base/ir/ir_attachment.py

bzr revid: p_christ@hol.gr-20101123154212-pphsnyp2rsmbjf72
2010-11-23 17:42:12 +02:00
P. Christeas a62f0bede4 ir.model: mutable argument fix
bzr revid: p_christ@hol.gr-20101123154032-tuoe1aiy9wpnjp2y
2010-11-23 17:40:32 +02:00
P. Christeas 04c05faf9b yaml-import: fix working with deleted data
At some cases, ir.model.data is left with orphan entries, so ensure that
the message below is used (rather than "bool has no get()" exception).

Conflicts:

	bin/tools/yaml_import.py

bzr revid: p_christ@hol.gr-20101123153936-0cc4t4e2xwat70q1
2010-11-23 17:39:36 +02:00
P. Christeas 1fed78619f websrv_lib: abort request on partial headers.
While searching for the KTHML bug, noticed that partial http requests
would falsely be honoured. Instead, we must check if the full headers
(including the blank line) have been parsed before we dispatch the
request to the virtual handler class.

Conflicts:

	bin/service/websrv_lib.py

bzr revid: p_christ@hol.gr-20101123153558-oh44mjkhwjaebwow
2010-11-23 17:35:58 +02:00
P. Christeas 186b9190f6 tools.convert, misc: use pythonic logging
Conflicts:

	bin/tools/convert.py
	bin/tools/misc.py

bzr revid: p_christ@hol.gr-20101123153325-wicnjxt98lp03cpf
2010-11-23 17:33:25 +02:00
P. Christeas 652be11b57 rml2pdf: better message if a font is not available.
Since 91422704d965268f, specifying a font that is not registered with
pdfmetrics will raise an exception. Now, improve that exception to
help the user understand what has gone wrong.

Note: rather than hiding the fact that some font is missing, the admin
should see this error and try to either fix the report (to use a known
font), or register more fonts with the customfonts.py mechanism.

bzr revid: p_christ@hol.gr-20101123153235-c1yri33ptaydb5eo
2010-11-23 17:32:35 +02:00
P. Christeas 3a220a0214 res.user: cleanup defaults, use 1 sql query per login (from 3)
bzr revid: p_christ@hol.gr-20101123153223-2u34e4eszt5aflv1
2010-11-23 17:32:23 +02:00
P. Christeas f9f0d929e7 ir.attachment: mark 'type' and 'company_id' with change_defaults
Other fields of attachments (like the directories, in document) should
have their default properties depending on these.

bzr revid: p_christ@hol.gr-20101123153159-wpus8bxls1q03ks9
2010-11-23 17:31:59 +02:00