Commit Graph

712 Commits

Author SHA1 Message Date
Vo Minh Thu 9ca78ea013 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110909074820-o89mwdulwx8an13m
2011-09-09 09:48:20 +02:00
Vo Minh Thu 4a1597ab16 [FIX] typo, removed wsg_modules entry point (redundant with "module_handlers").
bzr revid: vmt@openerp.com-20110909073145-vqnjhdu0xwb8wurt
2011-09-09 09:31:45 +02:00
Launchpad Translations on behalf of openerp e65666493d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110908043626-5c0ixnnwl79nkotp
bzr revid: launchpad_translations_on_behalf_of_openerp-20110909043730-o6s4fx8rueje9h3j
2011-09-09 04:37:30 +00:00
Vo Minh Thu 5b20065d78 [FIX] wsgi: missing argument to start_response, add "/" prefix only when needed.
bzr revid: vmt@openerp.com-20110908153700-ppfqhf7v5l9s3m65
2011-09-08 17:37:00 +02:00
Vo Minh Thu e643ffcc32 [REF] websrv_lib:
- grouped together the concept of auth proxy and auth provider
- removed the sec_realms dictionary: it was redundant as the
auth proxy was set (in one of the implementation, not all) on
the handler by setupAuth. Now the auth proxy is always set on
the handler.
- reg_http_service accepts the argument of the HTTPDir
constructor.

bzr revid: vmt@openerp.com-20110908123818-suc53zebgv9kcy3c
2011-09-08 14:38:18 +02:00
Vo Minh Thu 17c54e1217 [IMP] wsgi: cleaner code, moar comments.
bzr revid: vmt@openerp.com-20110908094830-kls32ewruywepjmm
2011-09-08 11:48:30 +02:00
Vo Minh Thu 1cd7804374 [REF] websrv_lib: moved vdirs mangement code to websrv_lib
(from service.http_server). The vdirs list is now a global variable, containing
both secure-only and non-necessarily-secure handlers. This makes it possible
to register handlers without being too tied to the multi http request handler.
The goal is obviously to make it possible to serve those handlers by other
means than the multi handler.

bzr revid: vmt@openerp.com-20110907154217-f30nrzgvw45ga2q8
2011-09-07 17:42:17 +02:00
Vo Minh Thu 14a82cdf9f [IMP] wsgi: WSGI-to-BaseHTTPRequestHandler, there are
probably some shortcomings but the document_webdav/test/webdav_test1.yml
tests pass.

bzr revid: vmt@openerp.com-20110907141318-4gxmyztv1zp6sk7q
2011-09-07 16:13:18 +02:00
Olivier Dony 7d3d3a6aba [FIX] fields.function: type=binary: workaround for the low byte values (<=0x1f) unsupported in XML
We have a workaround in place for fields.function of binary type
that may return values that are invalid in XML documents, and thus
in our XML-RPC protocol. But out workaround failed to care for the
invalid XML codepoints (below 0x1f) that are well valid in UTF-8
encoding.
Added a sanity check for that as well, using a terrible workaround
for this last resort case: b64-encode the bytes, to avoid crashing
the request.

bzr revid: odo@openerp.com-20110906173140-vc4tl6wstzt8h06o
2011-09-06 19:31:40 +02:00
Olivier Dony eab6a77a26 [IMP] ir.model.data: usability - rename `XML ID` -> `External ID`
bzr revid: odo@openerp.com-20110906075711-lev8g5tkfhc9j3c1
2011-09-06 09:57:11 +02:00
Vo Minh Thu c126c107c3 [MERGE] merged the kanban view rng definition.
bzr revid: vmt@openerp.com-20110905150942-987hlgchx2tg3c8n
2011-09-05 17:09:42 +02:00
Olivier Dony d462066939 [MERGE] res.users: make set-only password field more user-friendly
lp bug: https://launchpad.net/bugs/798681 fixed

bzr revid: odo@openerp.com-20110905090936-s84b6dc18gr6p6gl
2011-09-05 11:09:36 +02:00
Yogesh (OpenERP) 004a92829e [MERGE] Merge with trunk server upto revision no 3569.
bzr revid: ysa@tinyerp.com-20110905045551-jp9fwif57xbma3d3
2011-09-05 10:25:51 +05:30
Antony Lesuisse ef3935553c [FIX] ir_translation cache invalidation
bzr revid: al@openerp.com-20110902155834-rmno5z7aavj71fk5
2011-09-02 17:58:34 +02:00
Vo Minh Thu 0a6fe4d1f7 [IMP] wsgi: added exception handling.
bzr revid: vmt@openerp.com-20110902150226-223gkl4efb8o8jhs
2011-09-02 17:02:26 +02:00
Vo Minh Thu 9aeba4fece [REF] netsvc.OpenERPDispatcher: that class is gone, replaced by a simple function.
bzr revid: vmt@openerp.com-20110902141232-umpscnz2cot468hy
2011-09-02 16:12:32 +02:00
Vo Minh Thu 8ca1a87201 [IMP] wsgi: modules can be pre-loaded and expose a WSGI handler.
An option --load is added to list the modules to pre-load.
sys.path and sys.modules are initialized when the config is
parsed.

bzr revid: vmt@openerp.com-20110902133136-4v7fgptyd0g1kc5s
2011-09-02 15:31:36 +02:00
Vo Minh Thu 79d0e39c4c [FIX] loading: load base only once.
bzr revid: vmt@openerp.com-20110902132712-j9bgfnzbmddarr7h
2011-09-02 15:27:12 +02:00
Olivier Dony 52f6e15e5c [FIX] ir.ui.menu: typo during merge of simplified cache
bzr revid: odo@openerp.com-20110901143038-dpuehbd8p1e0o3qz
2011-09-01 16:30:38 +02:00
Vo Minh Thu 3c8571ead0 [IMP] wsgi: added new (still to be refined) routes for XMLRPC dispatching.
bzr revid: vmt@openerp.com-20110901130450-ub41ey4s0060vucg
2011-09-01 15:04:50 +02:00
Vo Minh Thu efd281a21f [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110901130339-0epw03nlkwo29125
2011-09-01 15:03:39 +02:00
Xavier Morel eac94dd2c9 [FIX] diagram view schema: diagram children are a single 'node' and a single 'arrow', in this order. Also require at least one 'field' in both node and arrow
bzr revid: xmo@openerp.com-20110901114349-c279654t361ta3q5
2011-09-01 13:43:49 +02:00
Launchpad Translations on behalf of openerp 24536a8e74 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110901044607-258xb4cenlrgh16h
2011-09-01 04:46:07 +00:00
Antony Lesuisse d4dc332b2f [FIX] res_lang clear cache remove kwargs, typo
bzr revid: al@openerp.com-20110831182216-afohhdmshv60y3g3
2011-08-31 20:22:16 +02:00
Fabien Meghazi 10e06c2300 [IMP] Improved rng for kanban view
bzr revid: fme@openerp.com-20110831153933-jvpnrysi5hc42z04
2011-08-31 17:39:33 +02:00
Olivier Dony 8add1d7459 [REM] view.rng: remove unused 'default' attribute, as planned in bug 687272
lp bug: https://launchpad.net/bugs/687272 fixed

bzr revid: odo@openerp.com-20110831153012-0tnrtgvar4hccnvr
2011-08-31 17:30:12 +02:00
Antony Lesuisse 519068f60a [FIX] res_lang clear cache remove kwargs
bzr revid: al@openerp.com-20110831142213-0kdmcgmt02tq4gse
2011-08-31 16:22:13 +02:00
Fabien Meghazi 37d7ccdd3f [MERGE} Merge with trunk
bzr revid: fme@openerp.com-20110830140814-ek68i2033zls1cc6
bzr revid: fme@openerp.com-20110831134240-gu3l0nul165hdiyi
2011-08-31 15:42:40 +02:00
Xavier Morel ddadb2ce75 [FIX] issue in splitting field paths for export: would create empty path sections because too eager
do replacement in two passes of re-base replacement: replace old-style 'field:id' and 'field.id' in resp. 'field/id' and 'field/.id', don't touch anything else (especially not 'field/.id') and leave them through instead.

bzr revid: xmo@openerp.com-20110831094547-8evd7ecm5qojspnr
2011-08-31 11:45:47 +02:00
Vo Minh Thu 2e7927331d [FIX] registry: forgot the self/cls args.
bzr revid: vmt@openerp.com-20110831075639-0ywrg01e6zdff7l7
2011-08-31 09:56:39 +02:00
Vo Minh Thu 1300ac804d [MERGE] res.currency: added res.currency.rate.type model.
bzr revid: vmt@openerp.com-20110830140936-pnmtt6f8jsvw32m4
2011-08-30 16:09:36 +02:00
Quentin (OpenERP) 399de9724c [IMP] base, res.currency: code cleaning
bzr revid: qdp-launchpad@openerp.com-20110830132035-x2gs62lft5o19u6i
2011-08-30 15:20:35 +02:00
Quentin (OpenERP) 9c6fcf06d2 [IMP] base, res.currency: code cleaning
bzr revid: qdp-launchpad@openerp.com-20110830125521-1kt54s56865388ch
2011-08-30 14:55:21 +02:00
Quentin (OpenERP) 13b2db3631 [FIX] base, res.currency: ProgrammingError. When giving a context value like {'currency_rate_type_id': False}, it crashed because the value False was kept instead of None. Thanks Guewen (c2c) for the clue.
bzr revid: qdp-launchpad@openerp.com-20110830122701-yrcpo19lokkgrpcc
2011-08-30 14:27:01 +02:00
Vo Minh Thu bdd0c7cf3f [IMP] simplified cache implementation (and stored on the osv), does not support contexts.
bzr revid: vmt@openerp.com-20110830121541-abov2wezdn6kl2dc
2011-08-30 14:15:41 +02:00
Quentin (OpenERP) 999efde443 [MERGE] merged with main addons branch
bzr revid: qdp-launchpad@openerp.com-20110830120839-2e6gbk2c5hestd1r
2011-08-30 14:08:39 +02:00
Quentin (OpenERP) 17156bd16a [IMP] base, res.currency: fixes
bzr revid: qdp-launchpad@openerp.com-20110830120727-82z1fn0msp7m5096
2011-08-30 14:07:27 +02:00
Quentin (OpenERP) b8b78c43dd [IMP] base, res.currency: by default, don't show the currency_rate_type_id field, and don't display its menuitem. Both should be added by specific module using it
bzr revid: qdp-launchpad@openerp.com-20110830120644-lwuv3h1vrqjhu32y
2011-08-30 14:06:44 +02:00
Fabien Meghazi 757353a0a9 [IMP] Improved rng for kanban view
bzr revid: fme@openerp.com-20110829152757-juq5aaryom6dtc12
2011-08-29 17:27:57 +02:00
Fabien Meghazi 535cc9a862 [MERGE] Merge with trunk
bzr revid: fme@openerp.com-20110829152720-055wnqlm6vbfl7ta
2011-08-29 17:27:20 +02:00
Antony Lesuisse 0712964066 [MERGE] partner hide categories in simplified view
bzr revid: al@openerp.com-20110828014454-8xbfck4kffsdtvrn
2011-08-28 03:44:54 +02:00
Antony Lesuisse e6db9e4b71 [IMP] renames in base/res
bzr revid: al@openerp.com-20110828001314-roc7o38bz22mr580
2011-08-28 02:13:14 +02:00
Antony Lesuisse 3f691a6c49 [IMP] res.partner.canal into crm.case.channel
bzr revid: al@openerp.com-20110827233222-cy0w9z3jdm8ye1b2
2011-08-28 01:32:22 +02:00
Quentin (OpenERP) 9421188847 [IMP] base/res_currency: improved res.currency.rate.type. Added search view and help tooltip. Made some code cleaning
bzr revid: qdp-launchpad@openerp.com-20110827225330-3ng37d8yg31psgsd
2011-08-28 00:53:30 +02:00
Quentin (OpenERP) 7064bd53de [MERGE] merge with main server trunk
bzr revid: qdp-launchpad@openerp.com-20110827220157-xatzm3sm7zib1670
2011-08-28 00:01:57 +02:00
Olivier Dony 3f00bfc405 [FIX] registry: use a unique list of models to load per module
This is necessary to preserve the model loading order
as defined in the module. This was broken when the 
metaclass was introduced to make the explicit model
constructor call optional.
One consequence is that the order in which the classes
are declared in the module really defines their
initialization order, even if the constructors are 
later called explcitly in a different order.
This latter case should be fairly rare, and easy to
fix too - simply putting the class declaration in the
right order.

bzr revid: odo@openerp.com-20110826161736-lgnpurtbcqtbseey
2011-08-26 18:17:36 +02:00
Vo Minh Thu 4253a5f798 [MERGE] openerp-server is rewritten in a slightly better way.
Doing so, it is now not possible to both start the server and test a YAML file.
That is, testing a YAML file is similar in the translation import/export options
and does not start the server.

bzr revid: vmt@openerp.com-20110826134013-sfnlowg5xuhqxet2
2011-08-26 15:40:13 +02:00
Vo Minh Thu 174e25e66f [IMP] tools.cache: removed unused variable.
bzr revid: vmt@openerp.com-20110826121639-irm0g0eh5yec1c88
2011-08-26 14:16:39 +02:00
Vo Minh Thu dad3528ab7 [FIX] registry.py: typos (invalid syntax).
I wonder how come I made the previous commit.

bzr revid: vmt@openerp.com-20110826121026-da90yx3iapj6y1v1
2011-08-26 14:10:26 +02:00
Mustufa Rangwala (OpenERP) 46f690d64c [IMP] Base: added currency rate type on tree view
bzr revid: mra@tinyerp.com-20110825173651-5rn1vsukicpdo331
2011-08-25 23:06:51 +05:30