Commit Graph
74782 Commits
Author SHA1 Message Date
Thibault Delavallée b0d16d0fcc [MERGE] Sync with trunk until revision 4967
bzr revid: tde@openerp.com-20131011091605-79yhy54spnenf21u
2013-10-11 11:16:05 +02:00
Xavier Morel dd066f3c29 [REM] slugify dependency by request of fp
bzr revid: xmo@openerp.com-20131011074858-13sjso9le07ppiyj
2013-10-11 09:48:58 +02:00
Launchpad Translations on behalf of openerp 8c3f19d913 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131011044915-qxutw9o1lhyymj8l
2013-10-11 04:49:15 +00:00
Antony Lesuisse a3fffe3b15 [REM] chorus on multiprocessing cron, it doesnt really helps
bzr revid: al@openerp.com-20131010231628-b81uhmhg14aj85tq
2013-10-11 01:16:28 +02:00
Christophe Matthieu e455e70b62 [IMP] qweb: add xmlid in value for xml render
bzr revid: chm@openerp.com-20131010113407-8rwtqhgi437n33r2
2013-10-10 13:34:07 +02:00
Christophe Matthieu 6423609f86 [IMP] tools.safe_eval_qweb: remove all private attributes from the global and local dict start with underscore
bzr revid: chm@openerp.com-20131010082933-l8n2c08xgnz6y9fu
2013-10-10 10:29:33 +02:00
Xavier Morel 963eab8908 [ADD] slugify dependency
bzr revid: xmo@openerp.com-20131010072753-vrxjpr2kv3jh35he
2013-10-10 09:27:53 +02:00
Xavier Morel 7537157519 [REV] broken commit
bzr revid: xmo@openerp.com-20131010070857-svf0oh7qk9xw0goi
2013-10-10 09:08:57 +02:00
Frédéric van der Essen 7976d4aa89 [FIX] point_of_sale: fix orderline selection
bzr revid: fva@openerp.com-20131009132944-x8st6n2etzcammig
2013-10-09 15:29:44 +02:00
Christophe Matthieu a7a2241bca [IMP] tools.safe_eval_qweb: methods intended to provide more restricted alternatives to evaluate simple and/or untrusted code, objects and browse record.
Methods in this module are typically used as alternatives to eval() to parse OpenERP domain strings, conditions and expressions, mostly based on locals condition/math builtins and browse record values. (use jinja sandboxed environment)

This is done on purpose: it prevents incidental or malicious execution of Python code that may break the security of the server.

bzr revid: chm@openerp.com-20131009124032-elygz03eg23uq1yp
2013-10-09 14:40:32 +02:00
Thibault Delavallée 00532ab64e [MERGE] [MOV] portal: moved group_portal from portal module to base. First step towards including portal stuff directly into server.
bzr revid: tde@openerp.com-20131009092658-xizi3ltbrvx35vsb
2013-10-09 11:26:58 +02:00
Thibault Delavallée 4fa93e29b8 [MERGE] Sync with main website branch
bzr revid: tde@openerp.com-20131008152345-bbr6csg6z9m0q52z
2013-10-08 17:23:45 +02:00
Christophe Matthieu 1f5f1006fd [IMP] ir.rule: add the http secure session in the eval context.
bzr revid: chm@openerp.com-20131008151937-ox3ktq8uq9mxnpvp
2013-10-08 17:19:37 +02:00
niv-openerp c1e33b4d88 [IMP] project: minor modification in a view, uses a new type of field instead of a button
bzr revid: nicolas.vanhoren@openerp.com-20131008135650-lvhbo0e0stkx3is2
2013-10-08 15:56:50 +02:00
niv-openerp 877d9f1914 [IMP] added new field x2many_counter
bzr revid: nicolas.vanhoren@openerp.com-20131008135238-jylu7il2qadzjf9r
2013-10-08 15:52:38 +02:00
niv-openerp 8b0193a3bc added doc
bzr revid: nicolas.vanhoren@openerp.com-20131008135143-8qjqwi3s23ld0wks
2013-10-08 15:51:43 +02:00
Thibault Delavallée fe57ed6f8d [MOV] portal: moved group_portal from portal module to base. First step towards including portal stuff directly into server.
bzr revid: tde@openerp.com-20131008113338-mrkae8rwv4jif1x6
2013-10-08 13:33:38 +02:00
Raphael Collet 8c32ff49e9 [FIX] hr_timesheet: missing positional argument in call to default_get()
bzr revid: rco@openerp.com-20131008112422-ebgj08a4emmhjghp
2013-10-08 13:24:22 +02:00
Christophe Matthieu 1a0b74d033 [IMP] ir_ui_view: improve security dev. Log a warning message if the browse record used in the views have a SUPERUSER access.
bzr revid: chm@openerp.com-20131008095805-8ek62kl4k0spw9b8
2013-10-08 11:58:05 +02:00
Launchpad Translations on behalf of openerp e7a83a5f53 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131008055732-dz3bzp0hw6yworgn
2013-10-08 05:57:32 +00:00
Launchpad Translations on behalf of openerp cd6c0474d1 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131008054212-xrvtgernz3i9uy1j
2013-10-08 05:42:12 +00:00
niv-openerp 8d2f37ec8b wip
bzr revid: nicolas.vanhoren@openerp.com-20131007115638-9b82rw1azwjtp5fr
2013-10-07 13:56:38 +02:00
niv-openerp 7bbf319ec2 wip
bzr revid: nicolas.vanhoren@openerp.com-20131007115606-lw4cw2p7qu84epfx
2013-10-07 13:56:06 +02:00
Xavier Morel e5d67ad2e0 [REM] broken tests
expectation of view validation errors when creating view referencing
non-existent fields or models, but in website branch models and views
have become independents, these are not context-free errors anymore.

Also fix shit code.

bzr revid: xmo@openerp.com-20131007093328-gjrktqbsoe48ikol
2013-10-07 11:33:28 +02:00
Thibault Delavallée b94389dfca [FIX] ir_ui_view: MOVABLE_BRANDING back, was deleted by error when merging trunk
bzr revid: tde@openerp.com-20131007090206-f0y2vtv84113tbcd
2013-10-07 11:02:06 +02:00
Thibault Delavallée b74c255168 [MERGE] Sync with trunk until revision 4967 (including al cleaning)
bzr revid: tde@openerp.com-20131007081039-adyay7oy1tpx4g2k
2013-10-07 10:10:39 +02:00
Antony Lesuisse 49bca35eba [IMP] cleanup in base/res and base/ir, removed unsed code, moved files.
bzr revid: al@openerp.com-20131006154508-8eav2gkdds06azu2
2013-10-06 17:45:08 +02:00
Antony Lesuisse df230e07e4 move workflow
bzr revid: al@openerp.com-20131006151827-oevn6uuv005qbsu8
2013-10-06 17:18:27 +02:00
Antony Lesuisse e14ec807d2 fix xml order for change password wizard
bzr revid: al@openerp.com-20131006150857-6jm5jpjl1u4p0vo7
2013-10-06 17:08:57 +02:00
Antony Lesuisse 08c2fe46f1 fix manifest
bzr revid: al@openerp.com-20131006150525-stso6goforsxsnjl
2013-10-06 17:05:25 +02:00
Antony Lesuisse 8e688b8ac6 missing import
bzr revid: al@openerp.com-20131006150425-m7xjwji6xncxdum3
2013-10-06 17:04:25 +02:00
Antony Lesuisse 6e2e77beec fix res_group rename, move files to clean up res
bzr revid: al@openerp.com-20131006150309-fg8vuvaq9hmvi9oh
2013-10-06 17:03:09 +02:00
Antony Lesuisse 6488849191 [REM] res.config and res.users cleanups.
removed deprecated configuration wizards
removed deprecated busniess card report
moved change password wizard to res_users.py

bzr revid: al@openerp.com-20131006144020-zyp2jz5vy28m9q3f
2013-10-06 16:40:20 +02:00
Antony Lesuisse 31a8dc36e5 [REM] shortcuts, deprecated by bookmarks
bzr revid: al@openerp.com-20131006132424-bpd8w0zzuf42s55l
2013-10-06 15:24:24 +02:00
Antony Lesuisse 097dc15ded [REM] shortcuts, deprecated by bookmarks
bzr revid: al@openerp.com-20131006132310-rrycbi10x441i2ef
2013-10-06 15:23:10 +02:00
Antony Lesuisse 4c84a49afe [REM] shortcuts, deprecated by browser bookmarks
bzr revid: al@openerp.com-20131006131225-jguvkys2ngwsd6er
2013-10-06 15:12:25 +02:00
Antony Lesuisse 36b103d83f [REM] web_shortcut
bzr revid: al@openerp.com-20131006124813-nkw1iw72os5bsk22
2013-10-06 14:48:13 +02:00
Antony Lesuisse 80df504ed1 [REM] web_shortcut
bzr revid: al@openerp.com-20131006124655-kxjp9kbzc07j9584
2013-10-06 14:46:55 +02:00
Antony Lesuisse a0deeede5b [REM] remove res.request, factorize _get_links
bzr revid: al@openerp.com-20131006122922-zimbltznxvsqlbz4
2013-10-06 14:29:22 +02:00
Antony Lesuisse 3014ae3cd4 [REM] remove res.request, reorg technical menu.
bzr revid: al@openerp.com-20131006122843-r6k0i0aj0yzz50j5
2013-10-06 14:28:43 +02:00
Antony Lesuisse 9757c08872 use referencable models instead of _get_links
bzr revid: al@openerp.com-20131006115808-etkyq34ar1pqh2pb
2013-10-06 13:58:08 +02:00
Antony Lesuisse f1faa55cb6 rename links get, allow reference fields without size.
bzr revid: al@openerp.com-20131006114704-mkbheq3l355u21jb
2013-10-06 13:47:04 +02:00
Antony Lesuisse 881a76dbcf [IMP] Technical menu reorg, remove depreacted requests.
Moved low levels object to database structure.
Removed res.request models bu keep res.request.link, res.request.link is used
to flag models worth to be linked by references fields.
Moved currency and state to the approriate directory.

bzr revid: al@openerp.com-20131006112608-3qucrevmkf43kq20
2013-10-06 13:26:08 +02:00
Antony Lesuisse a32bf724f2 [IMP] ir_actions cleanups.
Remove deprecated old style wizards.
Remove unsed get_model() function.
Move crons into Actions menuitem.
Move todos into Actions menuitem.

bzr revid: al@openerp.com-20131006102404-s46md70ahydihiih
2013-10-06 12:24:04 +02:00
Antony Lesuisse 780ae08294 [IMP] add an easier to use XML-RPC faultCode compliant protocol
remove the /openerp/* routes, they were never used because the protocol was too 
different from the historical /xmlrpc/ routes. Instead we introduce a
/xmlrpc/2/ route identical to /xmlrpc/ with the only difference that it returns
int faultCodes making it compliant with the XML-RPC specification.

bzr revid: al@openerp.com-20131006102131-707kxc9zyd1mvlps
2013-10-06 12:21:31 +02:00
Antony Lesuisse 156094df3d [FIX] preliminary code for socket activation, to avoid connection refused during restart
bzr revid: al@openerp.com-20131005235639-vifvbhu4o17lf780
2013-10-06 01:56:39 +02:00
Antony Lesuisse 40ba925691 [IMP] --auto-reload to enable code and xml auto reload, service cleanup.
Added an autoreload mecanism based on pyinotify that restart the server as soon
as a .py or .xml file change is detected, for xml updates the relevant -u are
automatically added to exec(2).

pyinotify is linux specific and should be replaced by a cross plaform library
such as watchdog. Unfortunatly watchdog is not yet packaged in debian. We could
support both libraries, patches are welcome.

Refactored the code in cli/* and service/*. The 3 running modes of openerp
(threaded, prefork, gevent) are now in openerp/service/server.py, one class per
mode, and they share the same interface.

Added a signal handler to increase or decrase the number of HTTP workers in
prefork mode (SIGTTIN, SIGTTOU).

bzr revid: al@openerp.com-20131005225740-hrxwy50ldi5yql0e
2013-10-06 00:57:40 +02:00
Antony Lesuisse e6b18fc7aa rename server
bzr revid: al@openerp.com-20131005221829-a18vx5ag6ef4ufee
2013-10-06 00:18:29 +02:00
Antony Lesuisse 2170da5e1e merge trunk
bzr revid: al@openerp.com-20131005220411-l1op0sya6h515m5b
2013-10-06 00:04:11 +02:00
Antony Lesuisse c52df72706 fix signal name
bzr revid: al@openerp.com-20131005215821-r60pgkgsrp1lo2ug
2013-10-05 23:58:21 +02:00