Commit Graph

937 Commits

Author SHA1 Message Date
Vo Minh Thu e8dc0edbaa [IMP] xmlrpc: use some commented constant symobls instead of raw numbers.
bzr revid: vmt@openerp.com-20110927081902-4zu2mri9zx8j27tb
2011-09-27 10:19:02 +02:00
Vo Minh Thu 157580b8e8 [IMP] xmlrpc: use proper exception type to map to xmlrpc error codes.
bzr revid: vmt@openerp.com-20110926151403-fhx4ph22tua2s3st
2011-09-26 17:14:03 +02:00
Vo Minh Thu bbd10d96c0 [IMP] exceptions: replace ExceptionNoTb with AccessDenied.
bzr revid: vmt@openerp.com-20110926125358-8yy4tvnemfna72u7
2011-09-26 14:53:58 +02:00
Vo Minh Thu f16e2ef10a [IMP] websrv_lib: removed top-level http handlers.
We have to keep for now the sub-handler code because webdav uses it.

bzr revid: vmt@openerp.com-20110925170827-x2xvdz5pzupnu28k
2011-09-25 19:08:27 +02:00
Vo Minh Thu b7a0c1061e [IMP] xmlrpc: correctly use int fault code instead of string.
bzr revid: vmt@openerp.com-20110925162925-7d0p807u6h087whk
2011-09-25 18:29:25 +02:00
Vo Minh Thu a7a826b2df [IMP] netsvc: removed unused auth param.
The auth param is an auth proxy/provider. The idea is that an auth proxy
is associated to some HTTP request handler. The handler can then use it
when necessary, depending on the accessed resource.
As of now, it is only used by the webdav module. But really, the caldav
module accesses the proxy directly on the handler.
Currently in web_services, authentication is simply done via
security.check().

bzr revid: vmt@openerp.com-20110925152318-i3jvimumm51e2lu4
2011-09-25 17:23:18 +02:00
Vo Minh Thu a254a13dc3 [IMP] xmlrpc: versioned API.
bzr revid: vmt@openerp.com-20110925150923-au0u0nply8lriise
2011-09-25 17:09:23 +02:00
Vo Minh Thu 007da7d0c7 [FIX] openerp.service: call wsgi.stop_server upon server shutdown.
bzr revid: vmt@openerp.com-20110925150232-qidzjypddp22el1f
2011-09-25 17:02:32 +02:00
Fabien Pinckaers dee06af4b1 [FIX] YAML empty records
bzr revid: fp@tinyerp.com-20110925140802-gnyr92iepj73ceg0
2011-09-25 16:08:02 +02:00
Launchpad Translations on behalf of openerp e33f8abf7c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110925044050-bjkzm7pf2t39mxwn
bzr revid: launchpad_translations_on_behalf_of_openerp-20110925044108-geoyxpt8oeooq8op
2011-09-25 04:41:08 +00:00
Olivier Dony da705a6b55 [FIX] rpc: honor *_interface options + log it
bzr revid: odo@openerp.com-20110925014243-0q1o67twburpga0z
2011-09-25 03:42:43 +02:00
Antony Lesuisse 404e545365 [FIX] revert 3651 al@openerp.com-20110925003322-yioqd1cdlffvr6uc http static is used by webdav
bzr revid: al@openerp.com-20110925012039-4hmqj2v5aaxxtxwy
2011-09-25 03:20:39 +02:00
Antony Lesuisse d3b76ea7f1 [IMP] temporary web dbfilter before metaoptions
bzr revid: al@openerp.com-20110925005437-7jdgrzl7i4ihx44y
2011-09-25 02:54:37 +02:00
Antony Lesuisse eda28246ee [REM] http static crap (you may use web controllers or /static dir)
bzr revid: al@openerp.com-20110925003322-yioqd1cdlffvr6uc
2011-09-25 02:33:22 +02:00
Antony Lesuisse b91d70a42d [MERGE] trunk
bzr revid: al@openerp.com-20110925000038-qwfvcrmndstygt2d
2011-09-25 02:00:38 +02:00
Vo Minh Thu 58ebd45efe [IMP] openerp.service: import at the top.
bzr revid: vmt@openerp.com-20110924163358-svx1yjuwdybxxr6k
2011-09-24 18:33:58 +02:00
Antony Lesuisse 02ee5ee64c [FIX] remove old-style test wsgi hook
bzr revid: al@openerp.com-20110924152401-5ilujqvg6gnhdrbz
2011-09-24 17:24:01 +02:00
Antony Lesuisse 73cdf6159e [FIX] wsgi server listen to ipv4 0.0.0.0
bzr revid: al@openerp.com-20110924151831-7nra57wpqq6oqose
2011-09-24 17:18:31 +02:00
Vo Minh Thu 4268ca38b7 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110924145449-1lfkhix60fdsucoy
2011-09-24 16:54:49 +02:00
Antony Lesuisse 7a88d9058d [MERGE] trunk
bzr revid: al@openerp.com-20110924145258-16r9qi7hr3dip1jz
2011-09-24 16:52:58 +02:00
Olivier Dony dfccbaf28b [FIX] orm,expression: special-case previous commit for osv_memory
This will soon be obsolete and deleted, as soon
as osv_memory will be removed and merged inside
normal osv.

bzr revid: odo@openerp.com-20110924024928-awgncvhcyfkmnak5
2011-09-24 04:49:28 +02:00
Olivier Dony 67dcd97ea6 [FIX] orm,expression: sanity checks for domain terms, cleanup, tests
bzr revid: odo@openerp.com-20110924020303-2amkx95ij1yp8ofk
2011-09-24 04:03:03 +02:00
Olivier Dony e85f246469 [IMP] sql_db: auto-exception-logging can now be turned off per cursor, not only per query
bzr revid: odo@openerp.com-20110924015852-9vru7cdsmzbvault
2011-09-24 03:58:52 +02:00
Vo Minh Thu cc26f2b5d2 [IMP] tests: added a simple test case to create a database via XML-RPC.
The test setup starts an OpenERP server similarly to the
openerp-server script. For this to be possible, some of
its code is moved to openerp.services.

bzr revid: vmt@openerp.com-20110923133408-qqf4i5l86pkk7xn5
2011-09-23 15:34:08 +02:00
Vo Minh Thu 0c123711c5 [FIX] It is possible to mention an undeclared column in a domain.
Actually, this seems to be used for the logging columns
which are in database but not necessarily in _columns.
This is ugly and a warning is now issued.

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

bzr revid: vmt@openerp.com-20110923101839-ko0s7ekt4dlyvrx2
2011-09-23 12:18:39 +02:00
Launchpad Translations on behalf of openerp fc0ce2430c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110923043833-1a97lxlpim7mlfnj
2011-09-23 04:38:33 +00:00
Olivier Dony 1edacff497 [MERGE] unaccent support + domain parsing cleanup/improvements
bzr revid: odo@openerp.com-20110922140856-p8q0ib1lirgv1g02
2011-09-22 16:08:56 +02:00
Xavier Morel 36b947c425 [IMP] use same fieldpath-splitting function in data_import and data_export, document it a bit
bzr revid: xmo@openerp.com-20110922122542-eradrjva23894wpr
2011-09-22 14:25:42 +02:00
niv-openerp e42256c478 [imp] switched the dates to UTC. I'm so happy.
bzr revid: nicolas.vanhoren@openerp.com-20110922095443-3pzaup9ryb2vb25m
2011-09-22 11:54:43 +02:00
niv-openerp 2508d7b985 [fix] problem when creating a new user without specifying any groups
bzr revid: nicolas.vanhoren@openerp.com-20110922093819-zzz9y9rt1seklhr1
2011-09-22 11:38:19 +02:00
Olivier Dony 0e55cc6cce [MERGE] sync with latest trunk
bzr revid: odo@openerp.com-20110922071006-axaf12qvvw486z3e
2011-09-22 09:10:06 +02:00
Olivier Dony 9497814729 [IMP] expression: fix [(o2m,not in,...)] domains, re-enable tests, cleanup
bzr revid: odo@openerp.com-20110922005431-gnym5pormtjkfu8q
2011-09-22 02:54:31 +02:00
Antony Lesuisse c1026977ab [MERGE] currency position dsh
bzr revid: al@openerp.com-20110921232150-c1rpri2650363fkd
2011-09-22 01:21:50 +02:00
Olivier Dony c856d70bf5 [MERGE] sync latest trunk, including fixes for =like/=ilike
bzr revid: odo@openerp.com-20110921225225-zk98p2w1asoi2csl
2011-09-22 00:52:25 +02:00
Olivier Dony 6652943cd2 [IMP] minor cosmetic changes to improve readability and ease reviewing process
bzr revid: odo@openerp.com-20110921224423-h5hjnqrqgrp5hhau
2011-09-22 00:44:23 +02:00
Olivier Dony 886b7407de [FIX] osv.expression: fix =like/=ilike operators, broken by r.3631
Revision 3631 = vmt@openerp.com-20110920124252-l5snbvb7ywfogw1o

bzr revid: odo@openerp.com-20110921224208-mji81to3g4kpmkuq
2011-09-22 00:42:08 +02:00
Antony Lesuisse 7080c6cde5 [MERGE] res_currency add search view qdp
bzr revid: al@openerp.com-20110921213910-r96iwmc4bkcqoahs
2011-09-21 23:39:10 +02:00
Olivier Dony 6e4a93cd22 [MERGE] sync w/ latest trunk
bzr revid: odo@openerp.com-20110921162128-22sp59cn4xv983q5
2011-09-21 18:21:28 +02:00
Olivier Dony 90043e5b09 [FIX] res.users: fix user preferences form, broken by r.3526
bzr revid: odo@openerp.com-20110921155648-07bprt01zeuy9vm4
2011-09-21 17:56:48 +02:00
Quentin (OpenERP) 65c0649f70 [IMP] base, res_currency: added search view
bzr revid: qdp-launchpad@openerp.com-20110921112328-o2htuetcopy4jqj5
2011-09-21 13:23:28 +02:00
Vo Minh Thu 9ac094fe5b [MERGE] ir.xml: ir.model ir.rule changed to use child_of instead of = for the company_id.
lp bug: https://launchpad.net/bugs/812843 fixed

bzr revid: vmt@openerp.com-20110921083041-gyl19c4elsge1ku0
2011-09-21 10:30:41 +02:00
Vo Minh Thu 2bd4708023 report_sxw: formating classes should return strings.
bzr revid: vmt@openerp.com-20110920132323-m9tjo3akasqlr0eg
2011-09-20 15:23:23 +02:00
Vo Minh Thu 73ea84b4e8 [MERGE] base_data.xml: change the VEB currency in VEF (which was needed since January 2008).
bzr revid: vmt@openerp.com-20110920125804-fezbk2vbkdl7eeam
2011-09-20 14:58:04 +02:00
Vo Minh Thu b4582815bc [MERGE] expression: support for =like/=ilike.
lp bug: https://launchpad.net/bugs/788106 fixed

bzr revid: vmt@openerp.com-20110920124252-l5snbvb7ywfogw1o
2011-09-20 14:42:52 +02:00
Vo Minh Thu e5c95611b3 [MERGE] orm: better exception messsages.
lp bug: https://launchpad.net/bugs/777472 fixed

bzr revid: vmt@openerp.com-20110920122411-iykenv7sq7r710vy
2011-09-20 14:24:11 +02:00
Vo Minh Thu bbd90612bc [MERGE] report/preprocess: make sure to remove the quotes of repeatIn third argument.
Also add docstrings to the workflow_service classes.

bzr revid: vmt@openerp.com-20110920120436-txwspf556lolbibv
2011-09-20 14:04:36 +02:00
Vo Minh Thu 8a83f57888 [MERGE] orm: properly handle multi-level _inherits.
lp bug: https://launchpad.net/bugs/823691 fixed

bzr revid: vmt@openerp.com-20110920075401-50z6crlhj7a8sv1g
2011-09-20 09:54:01 +02:00
Olivier Dony 54078c6394 [MERGE] trml2pdf: don't reassign a reused node.text value (additional fix)
lp bug: https://launchpad.net/bugs/640677 fixed

bzr revid: odo@openerp.com-20110919233407-gdna8j4gll0lm4um
2011-09-20 01:34:07 +02:00
Olivier Dony d66e4e6013 [MERGE] zipped module import wizard improvements, courtesy of Boris Timokhin
bzr revid: odo@openerp.com-20110919230538-mffhxr4e5y2jihk7
2011-09-20 01:05:38 +02:00
Olivier Dony 64d6989794 [MERGE] diagram view: properly handle non-ASCII arrow labels
lp bug: https://launchpad.net/bugs/727263 fixed

bzr revid: odo@openerp.com-20110919224850-ttok95g3eku7psqe
2011-09-20 00:48:50 +02:00