Commit Graph

64 Commits

Author SHA1 Message Date
Antony Lesuisse 13cdc34b65 openerp apps main moved to cli ready for new commands
bzr revid: al@openerp.com-20121127005513-vi9viu4oafbrze6y
2012-11-27 01:55:13 +01:00
Christophe Simonis a9094cc3ce [IMP] move main script into openerp dir
bzr revid: chs@openerp.com-20121123105120-m1h2uiwk8baa8kin
2012-11-23 11:51:20 +01:00
Olivier Dony 6dd4a1ae5f [FIX] openerp-server: missing variable in startup script for --test-file option
bzr revid: odo@openerp.com-20121029173321-clq0p2z2dh3ld8mu
2012-10-29 18:33:21 +01:00
Antony Lesuisse 2fdccd40c3 fix command line installation
bzr revid: al@openerp.com-20120922111714-moxkguy729vout9x
2012-09-22 13:17:14 +02:00
Antony Lesuisse 4679680dba manual merge of multicorn
bzr revid: al@openerp.com-20120922105107-q02ogtsfudphzkl6
2012-09-22 12:51:07 +02:00
Stephane Wirtel f55028de4d [MERGE] server: remove unused imports (Thanks to Florent Xicluna)
bzr revid: stw@openerp.com-20120910144609-ad3gupkf3oseb8yy
2012-09-10 16:46:09 +02:00
Stephane Wirtel f56863c672 [FIX] Reset the right python environment
bzr revid: stw@openerp.com-20120904073502-xce3wn064f8e0pru
2012-09-04 09:35:02 +02:00
Vo Minh Thu f3742f0558 [FIX] test_ir_sequence: reduce the number of call to next() (to reduce test time).
bzr revid: vmt@openerp.com-20120903145929-p4kp6eotkcflletk
2012-09-03 16:59:29 +02:00
Christophe Simonis 610c8d8078 [IMP] yaml import: log as TEST only for test files
bzr revid: chs@openerp.com-20120822101156-v5w2kljumas2cyq0
2012-08-22 12:11:56 +02:00
Olivier Dony 4af38cc64a [IMP] attempt to dump uid performing operation along with thread stacks
bzr revid: odo@openerp.com-20120316111218-o963t7xm4r4honoy
2012-03-16 12:12:18 +01:00
Olivier Dony 4238bc991e [FIX] openerp-server: allow missing thread names in dump_stacks
Report-printing threads don't seem to be included
in the list of active threads, but do need to
be dumped as well.

bzr revid: odo@openerp.com-20120315181355-phtkn2uhy638ei1e
2012-03-15 19:13:55 +01:00
Stephane Wirtel ebb46f71ef [FIX] babel: Set the right path for the localedata of Babel when we use it via the py2exe app.
lp bug: https://launchpad.net/bugs/917565 fixed

bzr revid: stw@openerp.com-20120214114447-f8k2ze9kszfxvlw1
2012-02-14 12:44:47 +01:00
Vo Minh Thu 01449bfb37 [IMP] post_load: factored common code. This also fix bug lp:929466
lp bug: https://launchpad.net/bugs/929466 fixed

bzr revid: vmt@openerp.com-20120209152732-24ud1f70krliv2k5
2012-02-09 16:27:32 +01:00
Vo Minh Thu d14a3e9df0 [IMP] loading: call post-load hook in non-server-wide-module too.
bzr revid: vmt@openerp.com-20120209141444-12261k6zd2ovnltd
2012-02-09 15:14:44 +01:00
Florent Xicluna d8b25ca182 [MRG] merge trunk.
bzr revid: florent.xicluna@gmail.com-20120208141358-emgwspa0s58gtsez
2012-02-08 15:13:58 +01:00
Vo Minh Thu 23eb63f139 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120206203151-3snkz7usngwtv1xt
2012-02-06 21:31:51 +01:00
Florent Xicluna 111d8b76f7 [REF] one unused import and one redundant import.
bzr revid: florent.xicluna@gmail.com-20120201123311-yvljvcj0luly77qt
2012-02-01 13:33:11 +01:00
Vo Minh Thu 084af04092 [FIX] import-hook: correctly import the server-wide-module (i.e
use the openerp.addons namespace), and correctly set the submodules in
sys.modules (instead of only the top-level package).

bzr revid: vmt@openerp.com-20120201152710-s7sxlgibwd3lwr5l
2012-02-01 16:27:10 +01:00
Vo Minh Thu 0b301cce7e [IMP] openerp-server: use a global (at the module level) _logger.
bzr revid: vmt@openerp.com-20120124105333-moq92a20za31m132
2012-01-24 11:53:33 +01:00
Vo Minh Thu 0ed4377cf8 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120112155027-u3bagec0g9fqr0yi
bzr revid: vmt@openerp.com-20120116110434-ckhp01ze83cwm32y
2012-01-16 12:04:34 +01:00
Olivier Dony 356e4ed9bd [FIX] translation: remove calls to trans_update_res_ids
Calling this method is no longer required since the
merge of the new code for loading translations using
a temporary table. The method itself has been removed
at revision 3919, so all calls to it should have been
cleaned up as well.
Rev.3919 = rco@openerp.com-20111223104824-fup1cjbjni1fsty1

bzr revid: odo@openerp.com-20120109140958-10i1ti16tw327580
2012-01-09 15:09:58 +01:00
Vo Minh Thu d348a0de79 [IMP] import hook: moved to a proper location (openerp.modules.module instead of openerp-server).
bzr revid: vmt@openerp.com-20120109125243-qhtr070dvtc3akb5
2012-01-09 13:52:43 +01:00
Vo Minh Thu 455e47e5e8 [IMP] openerp.addons: openerp.addons is used instead of
openerp.modules as the namespace of the OpenERP addons.

bzr revid: vmt@openerp.com-20120109124120-06gguu3lzxv49i3j
2012-01-09 13:41:20 +01:00
Vo Minh Thu 1560538f8a [IMP] module: use the `openerp.addons.` namespace to load addons.
(openerp.modules will be changed in openerp.addons in the next commit).

bzr revid: vmt@openerp.com-20120109123123-jt3canjbg0ozs05j
2012-01-09 13:31:23 +01:00
Vo Minh Thu f24a29717e [FIX] orm: correctly set the module name on the model, even when imported with
`import openerp.modules.<module_name>`.

bzr revid: vmt@openerp.com-20120109101647-4hvy3n6eifzeozzq
2012-01-09 11:16:47 +01:00
Vo Minh Thu e50025945a [FIX] modules: removed temporary line/print.
bzr revid: vmt@openerp.com-20120109090333-8ptsvj3yokjd59rm
2012-01-09 10:03:33 +01:00
Vo Minh Thu 64ec5f36df [IMP] modules: began to replace sys.path appending with an import hook.
bzr revid: vmt@openerp.com-20120109081206-p10yack8lhip11gt
2012-01-09 09:12:06 +01:00
Vo Minh Thu d1d47a3ff2 [FIX] Hitting ^C on Windows is broken, this patch
should address the situation. This patch is adapted for trunk from the one provided by
Olivier Ligot from Group S for 6.0.

bzr revid: vmt@openerp.com-20111110134123-9sxi1s86pp242wbe
2011-11-10 14:41:23 +01:00
Vo Minh Thu d239f6bcd1 [IMP] openerp-server: start services, load any server-wide module, then preload some registries.
bzr revid: vmt@openerp.com-20111007131902-bcq26tpmc2u6iwlh
2011-10-07 15:19:02 +02:00
Vo Minh Thu 9f11dfe53c [IMP] startup script: added little reminder when the `web` module can not be imported.
bzr revid: vmt@openerp.com-20111007073330-t0mh6x7ohv82i1g6
2011-10-07 09:33:30 +02:00
Olivier Dony e7601e68cb [MERGE] sync with latest trunk
bzr revid: odo@openerp.com-20110928211326-0e51q7zlw4h2528z
2011-09-28 23:13:26 +02:00
Olivier Dony fbb36c547c [IMP] openerp-server: handle more startup exceptions w/o exiting main thread
bzr revid: odo@openerp.com-20110926121122-uecfrv53x731k5ey
2011-09-26 14:11: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 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 008cc8e385 [IMP] openerp-server: catch db init errors to avoid exiting main thread
bzr revid: odo@openerp.com-20110923143223-4c9gofbml7w2gimo
2011-09-23 16:32:23 +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
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
Fabien Pinckaers cc2df187e7 nope
bzr revid: fp@tinyerp.com-20110918142220-jv4bdbiyn1vvm0xg
2011-09-18 16:22:20 +02:00
Vo Minh Thu d743353e16 [IMP] wsgi: provide the start- and stop-server functions.
bzr revid: vmt@openerp.com-20110914150603-zu6zh4v7pmnchvf3
2011-09-14 17:06:03 +02:00
Vo Minh Thu 46ad605226 [IMP] wsgi:
- added Microsoft specific header for webdav.
- serve WSGI handlers with werkzeug when available.
- effectively use WSGI instead of netsvc HTTP stack.

bzr revid: vmt@openerp.com-20110914104300-n0l3dnmdu3jau7w2
2011-09-14 12:43:00 +02:00
Vo Minh Thu d593e484c4 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110913144916-er9fnuj00cj93cev
2011-09-13 16:49:16 +02:00
Olivier Dony 8a2bc42c3c [IMP] openerp-server: setup signal handlers earlier, spellcheck
bzr revid: odo@openerp.com-20110913131042-neaa6zwudwxwdded
2011-09-13 15:10:42 +02:00
Vo Minh Thu 995a037f2d [IMP] wsgi: set the config via gunicorn config file.
bzr revid: vmt@openerp.com-20110912102147-yxgv9hpm4fvoxqn6
2011-09-12 12:21:47 +02:00
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 98c4a1a972 [FIX] startup: when preloading a registry with the -d option, document_webdav
could not register itself because the refactoring of the startup
script run the services after the registry preloading. I would
still prefer to start the services after, but we first need the
required hooks in the addons, which would allow us to remove any
side-effecting code from them.

bzr revid: vmt@openerp.com-20110905103619-vhp1goqy7w1nmefu
2011-09-05 12:36:19 +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 b8d25dc2b8 [FIX] openerp-server: forgot to remove the utf-8 quote as stated on the merge prop by xrg.
bzr revid: vmt@openerp.com-20110826134311-446b2gwkuyy5i1r1
2011-08-26 15:43:11 +02:00