Commit Graph

111 Commits

Author SHA1 Message Date
Christophe Simonis 80a932479b FIX] packaging: odoo-ification 2014-09-04 16:27:58 +02:00
Simon Lejeune 7e41903110 [FIX] config.py: do not use appsdir to define the user's data dir when he has no home directory on unix
Force it to be '/var/lib/(appname)' in this case
2014-09-02 14:13:00 +02:00
rlu-odoo 8b67a7202d [REF] OpenERP --> Odoo in various UI texts
Rebranding has been done in:
- data/demo files
- html templates
- help notices
- comments
- logger messages
- and other various messages

(Commit taken from odoo-dev:8.0-improve-openerp-odoo-rlu at rev 7deaa08)

Closes #1260
2014-07-18 13:45:41 +02:00
Christophe Simonis e5b0933743 [FIX] data-dir management
- sessions are now shared between series.
- use site data dir instead of user data dir if user has no home dir.
- in http and module handling, `data-dir` was used before being
initialized, using the default value instead of user input

(fixes #308, #904)
2014-07-07 15:49:24 +02:00
Fabien Meghazi 05f376e310 If no addons-path provided, include the main addons 2014-05-20 22:33:49 +02:00
Fabien Meghazi cf87afbe0a [FIX] configuration file dbfilter's option has no effect
lp bug: https://launchpad.net/bugs/940439 fixed

bzr revid: fme@openerp.com-20140508075025-yszqmzie1z4n7l4j
2014-05-08 09:50:25 +02:00
Antony Lesuisse 483bc96682 [IMP] wsgi and http cleanups, static http is now handled in http.py
bzr revid: al@openerp.com-20140326132057-scuiqvqma9dhyorl
2014-03-26 14:20:57 +01:00
Christophe Simonis 5b2634bd6e [FIX] init logger earlier, right after config loading
bzr revid: chs@openerp.com-20140325154627-cmodvx26jayj3k4a
2014-03-25 16:46:27 +01:00
Christophe Simonis fdd1f69294 [FIX] duplicate/rename/drop database: handle filestore
bzr revid: chs@openerp.com-20140321155659-gvg4br76214lur4l
2014-03-21 16:56:59 +01:00
Antony Lesuisse e73230d0fc ir_logging fix logger names
bzr revid: al@openerp.com-20140320000912-1a5hngnw8ilq22k8
2014-03-20 01:09:12 +01:00
Antony Lesuisse 6e4db0a0a6 ir_logging fix config option
bzr revid: al@openerp.com-20140320000524-gs98xy6iqh2ceev6
2014-03-20 01:05:24 +01:00
Antony Lesuisse e9d047e611 sql loggin cleanups
- prepare for netsvc will be renamed to logging
- move back log from http.py has it's used by the cron
- move sql handler to netsvc, simplify to use sql_db
- remove unused handler
- close plaform specific #ifdef pandora's box

bzr revid: al@openerp.com-20140316182933-jkcji9yqfbsokcmg
2014-03-16 19:29:33 +01:00
Stephane Wirtel 4bbcfddc13 [MERGE] from trunk
bzr revid: stw@openerp.com-20140312102948-1n3b2d1vqedzojzb
2014-03-12 11:29:48 +01:00
Christophe Simonis ec36a494fe [FIX] do not expose posix only config options on windows
bzr revid: chs@openerp.com-20140306115214-8wrfivy4runpzoar
2014-03-06 12:52:14 +01:00
Stephane Wirtel 5918ad323e [MERGE] from Trunk
bzr revid: stw@openerp.com-20140228161338-8yjlkwacuube7vir
2014-02-28 17:13:38 +01:00
Stephane Wirtel 047d071a48 [IMP] Add a new Logging Handler, where we will store in the database of OpenERP.
this database can be overrided via the --log-pgsql-database

bzr revid: stw@openerp.com-20140228161147-s9nnrfq2tc94vq5p
2014-02-28 17:11:47 +01:00
Antony Lesuisse 8fec899f9b [FIX] move appsdirs to tools
bzr revid: al@openerp.com-20140227163259-asal833qjv3gylit
2014-02-27 17:32:59 +01:00
Antony Lesuisse 38d1ca1ff2 [MERGE] trunk
bzr revid: al@openerp.com-20140227161819-p9chmskfifo0rygs
2014-02-27 17:18:19 +01:00
openerp-sle 3ef93918a8 [FIX] Increased allowed virtual memory per worker
bzr revid: openerp-sle@openerp-sle.home-20140212225240-nhu8dj68z84rm9u5
2014-02-12 23:52:40 +01:00
Antony Lesuisse 002ac937c1 add python --test-file support
bzr revid: al@openerp.com-20140209014636-2fbl15q8wrubmiup
2014-02-09 02:46:36 +01:00
Christophe Simonis c48f11041b [IMP] chmod data-dir
bzr revid: chs@openerp.com-20140116164406-p2gtb2uziwhchp68
2014-01-16 17:44:06 +01:00
Christophe Simonis db10e1d3a5 [FIX] http: store sessions in data-dir
bzr revid: chs@openerp.com-20140116164142-ikcw82lyfopoj46k
2014-01-16 17:41:42 +01:00
Christophe Simonis a73c02075a [FIX] ensure data-dir (and subdirs) exists
bzr revid: chs@openerp.com-20140116100243-ltp6yunvm1bnvn5q
2014-01-16 11:02:43 +01:00
Christophe Simonis 5d87753ef2 [ADD] new cli argument: -D/--data-dir
bzr revid: chs@openerp.com-20140115171323-eiy2h61qi098n0q3
2014-01-15 18:13:23 +01: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 0a75a6b5ff simplier autoreload working
bzr revid: al@openerp.com-20131005212240-5lp8tgwukeg5wwdq
2013-10-05 23:22:40 +02:00
Antony Lesuisse 2a6d0299d9 revert to use a separate executable for gevent, add --dev option
bzr revid: al@openerp.com-20130909200825-sm5c3invmg7tt70j
2013-09-09 22:08:25 +02:00
Vo Minh Thu c3aae0abdb [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20130328095006-o01omst9g0uhm0iz
2013-03-28 10:50:06 +01:00
Vo Minh Thu 34e8deeb4e [REM] common: removed login_message() which is not used.
bzr revid: vmt@openerp.com-20130328093018-c4s19buicwwol8y2
2013-03-28 10:30:18 +01:00
Vo Minh Thu c313b4073a [REF] logging: removed pseudo log-level TEST.
When --test-enable is used, it is expected that test output is visible,
thus using log-level INFO is natural.

On the down side you lose the nice blue hint that tests did actually
run when --log-level test was given.

bzr revid: vmt@openerp.com-20130326155844-83e2tcqokvblr0ln
2013-03-26 16:58:44 +01:00
Antony Lesuisse acb17855f9 [IMP] logrotation is now disabled by default
bzr revid: al@openerp.com-20130228011811-1700jfnavo37dyqr
2013-02-28 02:18:11 +01:00
Skrillex de03f4d670 [REM] netrpc: KILL EVERYBODY
bzr revid: vmt@openerp.com-20130221121825-dvpacxajwztslukj
2013-02-21 13:18:25 +01:00
niv-openerp b5209cbf56 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20130215122500-p69xawqym93jauks
2013-02-15 13:25:00 +01:00
Vo Minh Thu c99c4091ce [REM] Deleted .apidoc lines.
They were probably used by some tools. How sad.

bzr revid: vmt@openerp.com-20130212142410-zqdjd8jw3gtvxab0
2013-02-12 15:24:10 +01:00
Vo Minh Thu 69fefde965 [IMP] The open openerp namespace is removed.
bzr revid: vmt@openerp.com-20130209060246-o7qs51c2uc0kecjo
2013-02-09 07:02:46 +01:00
niv-openerp 7010e8543e Merge Thu branch
bzr revid: nicolas.vanhoren@openerp.com-20130129150525-bcbh9b5jp8l2yath
2013-01-29 16:05:25 +01:00
niv-openerp 613775dd41 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20130128105556-cxifj7m5zpay4bmv
2013-01-28 11:55:56 +01:00
Vo Minh Thu ed0a292f5d [IMP] gevent: no longer a command-line flag (always used in multi-process, never otherwise)
The internal flag is in openerp.__init__ (as the multi_process flag).

bzr revid: vmt@openerp.com-20130118152511-57u4gxyolz0hd4y8
2013-01-18 16:25:11 +01:00
Vo Minh Thu a4120a879a [IMP] long polling: disable the watchdog for the WorkerLongPolling, added command-line option for its port.
bzr revid: vmt@openerp.com-20130117103057-12ez48kj48pntb1g
2013-01-17 11:30:57 +01:00
Olivier Dony 4eac510461 [FIX] ir.mail_server: properly handle the --smtp-ssl command-line option + map it to STARTTLS as a safer default
bzr revid: odo@openerp.com-20130115124058-81kgv0cy9jp96ln4
2013-01-15 13:40:58 +01:00
niv-openerp d211ac7798 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20130114102410-m60y4kh8o69u00hc
2013-01-14 11:24:10 +01:00
niv-openerp 4db73a4c7c merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20130108090624-cubi563m34f1j6ab
2013-01-08 10:06:24 +01:00
Antony Lesuisse 2e01a395db [FIX] workers memory limits better help
bzr revid: al@openerp.com-20121229132216-zfk4ipw4p6mbgxnj
2012-12-29 14:22:16 +01:00
dle@openerp.com 355dac7356 [FIX]Kanban view js not loaded when db created through command line
bzr revid: dle@openerp.com-20121220101511-679v8e6ijsbaxj0y
2012-12-20 11:15:11 +01:00
Xavier Morel c6079dd6bb [REM] unnecessary parens
bzr revid: xmo@openerp.com-20121214123803-6xu2s1ndnoyj4i3e
2012-12-14 13:38:03 +01:00
Antony Lesuisse 96f632224f [IMP] workers document defaults
bzr revid: al@openerp.com-20121209225349-k0f9jpg7n0nxc70t
2012-12-09 23:53:49 +01:00
Antony Lesuisse c41d63f300 netrpc flip default, backward compatible for a few days
bzr revid: al@openerp.com-20121209185651-7i4vlvul5b3jgnmy
2012-12-09 19:56:51 +01:00
Antony Lesuisse 0cfa89dff7 netrpc flip default
bzr revid: al@openerp.com-20121209185442-1kgtc0hvds4fpng0
2012-12-09 19:54:42 +01:00
Antony Lesuisse 42f292af93 cron cleanup, back to the Kernighan KISS roots 1min poll time, rely only on database, multiprocess/multiserver ready.
Nota: If we replace sequence signaling for cache invalidation with pg
listen/notify in the future, we will use the same mechanism for more accurate
cron timing.

bzr revid: al@openerp.com-20121209170447-zs0k3jazokylwvar
2012-12-09 18:04:47 +01:00
niv-openerp 36cc0540cb merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20121203135026-d3wri3z1uxwk60z4
bzr revid: nicolas.vanhoren@openerp.com-20121206101800-5ypnpd02iolh2fsd
2012-12-06 11:18:00 +01:00