Commit Graph

103 Commits

Author SHA1 Message Date
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
Antony Lesuisse 603009f5bc [FIX] duplicate database
bzr revid: al@openerp.com-20121209030348-iyh2zz6oseuu14c6
2012-12-09 04:03:48 +01:00
Antony Lesuisse 3d2a09a973 multiprocessing signaling manually backported from 6.1
bzr revid: al@openerp.com-20121208181151-lfy956ysnok5b5hf
2012-12-08 19:11:51 +01:00
Christophe Simonis 8dbee5c473 [FIX] service/__init__.py: do not join() main thread
bzr revid: chs@openerp.com-20121205143222-vrasdnzhdtdr307c
2012-12-05 15:32:22 +01:00
Olivier Dony 080fe746f5 [FIX] db.drop service: PostgreSQL 9.2 renamed pg_stat_activity.procpid to pid
bzr revid: odo@openerp.com-20121128153423-yducsjb91g8kjcae
2012-11-28 16:34:23 +01:00
Vo Minh Thu 136363aff3 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20121114113507-o73jwcdow07daoho
2012-11-14 12:35:07 +01:00
Vo Minh Thu 7dcb31bcde [IMP] duplicate_database: better logging.
bzr revid: vmt@openerp.com-20121114112521-g9q2n88ql9qwvlum
2012-11-14 12:25:21 +01:00
Antony Lesuisse e77725eb89 [IMP] improve experience on for openerp developers on windows, notes in setup.py and fix some imports
bzr revid: al@openerp.com-20121107015708-o9l893ll9f32wjcy
2012-11-07 02:57:08 +01:00
Vo Minh Thu e0e1aa5d15 [IMP] database management: added `duplicate` operation.
bzr revid: vmt@openerp.com-20121019101349-dt43p6da7avdsmk2
2012-10-19 12:13:49 +02:00
Fabien Meghazi 79b2a0f6c6 [IMP] Do not start cron master thread if max_cron_threads == 0
bzr revid: fme@openerp.com-20121002120111-nrmetmskns2ompgc
2012-10-02 14:01:11 +02:00
Antony Lesuisse 26780da2ef [FIX] fcntl not available on windows
bzr revid: al@openerp.com-20120925000946-7qikupf5rt2hiwx4
2012-09-25 02:09:46 +02:00
Antony Lesuisse d77fe9c185 [FIX] restore poxy-mode command line option to prevent ip address impersonation
bzr revid: al@openerp.com-20120924105622-nb3iwe1vnuffqrbm
2012-09-24 12:56:22 +02:00
Antony Lesuisse 6c60619a2b [FIX] wsgi wrapper
bzr revid: al@openerp.com-20120924103648-uhxteeu6nd8batvd
2012-09-24 12:36:48 +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 c680236e8f [IMP] openerp.service.web_services.db: Use a contextmanager for the backup/restore functions.
Ported from lp:~openerp-dev/openobject-server/trunk-dump_and_restore_improvements-xmo

bzr revid: stw@openerp.com-20120912114651-8hcliparft1ep9tc
2012-09-12 13:46:51 +02:00
Stephane Wirtel 4da5c9ef63 [MERGE] use the postgres db instead of template1 for the creation of a database
bzr revid: stw@openerp.com-20120912111910-b092erlzv2g7wh1u
2012-09-12 13:19:10 +02:00
Stephane Wirtel 97278d6ed5 [MERGE] base: fix some address formats and some English
bzr revid: stw@openerp.com-20120911150724-yh4kvtstv8fehaj1
2012-09-11 17:07:24 +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 b3988436cb [REF] Replace the user id 1 by openerp.SUPERUSER_ID
bzr revid: stw@openerp.com-20120831135309-o4plzf5wp0kyuzgf
2012-08-31 15:53:09 +02:00
Thibault Delavallée 0e554c738d [FIX] Fixed last revision, about name removel in base.sql and so on.
bzr revid: tde@openerp.com-20120813100622-jhqv244dskhlh2er
2012-08-13 12:06:22 +02:00
Thibault Delavallée d0b4f8413c [REF] base.sql, web_services: propagated changes in res.users model (lang, not context_lang anymore; tz, not context_tz.
bzr revid: tde@openerp.com-20120810081836-y4f2nsft9g7p4hl6
2012-08-10 10:18:36 +02:00
Olivier Dony 975c65860f [MERGE] Latest bugfixes from 6.1
bzr revid: odo@openerp.com-20120322150506-vo7r1k65phlotaa2
2012-03-22 16:05:06 +01:00
Olivier Dony 224dc24dac [MERGE] Try to terminate psql connections before dropping database
bzr revid: odo@openerp.com-20120316160216-enjjiyw8t6457tqj
2012-03-16 17:02:16 +01: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
Vo Minh Thu d85da03314 [IMP] tests: xml-rpc test drops the created database (which has its own name, not clashing with the main db name).
bzr revid: vmt@openerp.com-20120301105419-8ik3z5eikwjnackk
2012-03-01 11:54:19 +01:00
Christophe Simonis 3df9fa50fb [IMP] try to terminate all postgresql backends connected to a database before dropping it
bzr revid: chs@openerp.com-20120222102639-q19kiykopb3b3qu0
2012-02-22 11:26:39 +01:00
Antony Lesuisse c6ad066b59 [FIX] database restore dont prepend a space before the tempfile
lp bug: https://launchpad.net/bugs/859720 fixed

bzr revid: al@openerp.com-20120214193030-uhqyuo70l527ypsn
2012-02-14 20:30:30 +01:00
Bogdan Stanciu d52e838455 [IMP] some English corrections & 'encoding' into 'coding' for several py files. No code change.
bzr revid: bogdanovidiu.stanciu@gmail.com-20120212114509-yrw86zewyv70dow7
2012-02-12 12:45:09 +01:00
Vo Minh Thu 4890c95447 [FIX] wsgi: use wsgi.core instead of wsgi, remove unused variable.
bzr revid: vmt@openerp.com-20120210151715-5vei5cbpdlimlqj5
2012-02-10 16:17:15 +01:00
Antony Lesuisse a1e5c645d9 postgres use postgres instead of template1 and template1 instead of template0
bzr revid: al@openerp.com-20120209213317-3tt4o0sj87764ocn
2012-02-09 22:33:17 +01:00
Florent Xicluna ab9db3f622 [REM] more unused imports.
bzr revid: florent.xicluna@gmail.com-20120208213313-1v0dugc59ch1fnnu
2012-02-08 22:33:13 +01:00
Florent Xicluna 1ef81548ba [REF] additional cleanup after vmt's logging refactoring.
bzr revid: florent.xicluna@gmail.com-20120208142248-p63odfqo673yqqml
2012-02-08 15:22:48 +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 876c61b052 [MERGE] merged logging changes: use a top-level `openerp` name space. Similar changes for the addons will be done after 6.1.
bzr revid: vmt@openerp.com-20120208105913-habqxas406osaz9z
2012-02-08 11:59:13 +01:00
Antony Lesuisse 8289a2869e [FIX] remove useless decodes that break on pg9.0
lp bug: https://launchpad.net/bugs/917030 fixed

bzr revid: al@openerp.com-20120208003800-whnxjgw2n2v0ea2i
2012-02-08 01:38:00 +01:00
Vo Minh Thu f54cf18d22 [IMP] logging: re-add the HttpLogHandler class needed in addons (when left unchanged for 6.1).
bzr revid: vmt@openerp.com-20120207214604-lbdrvh66tj71iz7u
2012-02-07 22:46:04 +01:00
Vo Minh Thu 81ee705498 [IMP] logging: use logging.exception() instead of manually formatting the traceback.
bzr revid: vmt@openerp.com-20120202125442-h73uaga3vu2s8upv
2012-02-02 13:54:42 +01:00
Antony Lesuisse 91ef8c1c51 [FIX] review according to xmo :)
bzr revid: al@openerp.com-20120201235604-tr5iq676pzk8bi1m
2012-02-02 00:56:04 +01:00
Antony Lesuisse 1a62602c86 [MERGE] trunk
bzr revid: al@openerp.com-20120131211744-whzzo0dh6w1kptng
2012-01-31 22:17:44 +01:00
Olivier Dony b281791ff5 [IMP] db dump: correct reference URL in comments
bzr revid: odo@openerp.com-20120131113642-z6z4vs11fcwkyaqq
2012-01-31 12:36:42 +01:00
Olivier Dony f11e1de5eb [FIX] db dump: report errors due to missing password + pass PGPASSWORD even on Unix
Even on Unix systems the PGPASSWORD env var
is necessary when Postgres is configured to
deny unix socket connections or to require
a password anyway. This avoids asking admins
to manually create a ~/.pgpass file in order
to use the dump/restore tools.
Also did some cleanup to ensure the PGPASSWORD
var is removed from the environment as soon
as the operation is done.

lp bug: https://launchpad.net/bugs/790164 fixed
lp bug: https://launchpad.net/bugs/919100 fixed

bzr revid: odo@openerp.com-20120131110849-tji6ipjovxc9oi4v
2012-01-31 12:08:49 +01:00
Vo Minh Thu 97b75ce3f5 [IMP] openerp.service.http_server: unneeded indirection for logging.
bzr revid: vmt@openerp.com-20120125125151-cxrsosvx9hefikeq
2012-01-25 13:51:51 +01:00
Vo Minh Thu f057f2afa5 [IMP] openerp.loglevels: removed calls to openerp.loglevels.Logger().
bzr revid: vmt@openerp.com-20120124173017-c66z3kq11wmbrrke
2012-01-24 18:30:17 +01:00
Vo Minh Thu cc081b5482 [IMP] openerp.service: remove the so called `uniform log handling` of the HttpLogHandler class.
bzr revid: vmt@openerp.com-20120124160231-1ig7utu5brojnw0f
2012-01-24 17:02:31 +01:00
Vo Minh Thu ada52a1beb [IMP] openerp.service: _logger with fully qualified module name.
bzr revid: vmt@openerp.com-20120124150750-0bn7nagjx9k3bi6j
2012-01-24 16:07:50 +01:00
Florent Xicluna e7838dfbc4 [REF] fix weird indentation, not multiple of four.
bzr revid: florent.xicluna@gmail.com-20120119191756-niny262vp1nvmpp8
2012-01-19 20:17:56 +01:00
Vo Minh Thu 418739cf3e [MERGE] cleaned some imports, removed some code for older python versions.
bzr revid: vmt@openerp.com-20120118160305-ucennaoqehjuut1z
2012-01-18 17:03:05 +01:00
nicolas.bessi@camptocamp.com 8d826cc07d [IMP] database template in commande line, you can now use --db_template=my_template, default is template0
bzr revid: nicolas.bessi@camptocamp.com-20120117164940-i3g1zcu49x0g60t5
2012-01-17 17:49:40 +01:00
Florent Xicluna 40c1de87d8 [REF] remove unused import, always import literal_eval from tools.safe_eval.
bzr revid: florent.xicluna@gmail.com-20120115214214-0rjwn80choc9g0fs
2012-01-15 22:42:14 +01:00
niv-openerp 4d3387c54c [imp] added service in object_service to be able to call a method specifying kwargs
bzr revid: nicolas.vanhoren@openerp.com-20120105160351-0xy697sjeihplx6v
2012-01-05 17:03:51 +01:00