Christophe Simonis
ada7facefe
[FIX] when runing in prefork mode, empty connection pool *after* the registry preloading
...
bzr revid: chs@openerp.com-20140422120648-2np8izn19z97e4iy
2014-04-22 14:06:48 +02:00
Christophe Simonis
efbf7632b8
[FIX] some tests need the http daemon to be available
...
bzr revid: chs@openerp.com-20140417170620-48tw5nj3jt43zxgk
2014-04-17 19:06:20 +02:00
Christophe Simonis
2024cc28b2
[FIX] when running in threaded mode with "--stop-after-init", do not spawn httpd and cron thread
...
bzr revid: chs@openerp.com-20140417162801-se9s84dsoh45sq0v
2014-04-17 18:28:01 +02:00
Christophe Simonis
95701c28c0
[FIX] test: HttpCase wait http requests to finish
...
bzr revid: chs@openerp.com-20140410123519-wngil3aghdc6llqc
2014-04-10 14:35:19 +02:00
Raphael Collet
5640f3076a
[MERGE] test_cursor: implement a cursor mockup that never commits to database, and use it for http tests
...
bzr revid: rco@openerp.com-20140409145830-rop8esgic2y435kf
2014-04-09 16:58:30 +02:00
Raphael Collet
e5e00e4c0a
[IMP] registry: now cursor() simply returns a cursor, which may itself be used as a context manager
...
bzr revid: rco@openerp.com-20140409095604-joh9dt0qkma12ykm
2014-04-09 11:56:04 +02:00
Raphael Collet
6bc60505f4
[IMP] registry: add method get_cursor() to simply retrieve a new cursor, and refactor code to use it
...
bzr revid: rco@openerp.com-20140408125122-ki0zmin3m21k2itd
2014-04-08 14:51:22 +02:00
Christophe Simonis
0161666e8b
[MERGE] forward port of branch saas-3 up to revid 5112 chs@openerp.com-20140407144238-3s38zadkh7yxpdy7
...
bzr revid: chs@openerp.com-20140407160548-ttuc877kknuycoqw
2014-04-07 18:05:48 +02:00
Christophe Simonis
4335ff0712
[FIX] force suppression of pidfile at exit of openerp.
...
[IMP] only write/delete pidfile in non-evented mode
[FIX] check if evented mode before checking in worker mode when starting server service
bzr revid: chs@openerp.com-20140404154658-6x5rxyq12guej43q
2014-04-04 17:46:58 +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
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
3168c3c1ca
[MERGE] trunk
...
bzr revid: al@openerp.com-20140316183515-fthpvudn1rbmru4q
2014-03-16 19:35:15 +01:00
Antony Lesuisse
96db6703dd
[MERGE] db dump/restore zip-based format.
...
The new format uses plain text sql and includes the filestore.
The old pg_dump format is still supported for db restore.
bzr revid: al@openerp.com-20140312174233-0ulbcwn784ujuk6p
2014-03-12 18:42:33 +01:00
Stephane Wirtel
4bbcfddc13
[MERGE] from trunk
...
bzr revid: stw@openerp.com-20140312102948-1n3b2d1vqedzojzb
2014-03-12 11:29:48 +01:00
Antony Lesuisse
c878b34c3e
[FIX] --test-file regression introduced by chs
...
bzr revid: al@openerp.com-20140306221947-ex5nk6mu2py0zinh
2014-03-06 23:19:47 +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
Christophe Simonis
447d597815
[IMP] new backup format.
...
The new backup format is a zip containing the sql dump of the
database and the filestore of this database.
Old backups can still be restored
bzr revid: chs@openerp.com-20140304175656-iu3un6q43ttnhjfz
2014-03-04 18:56:56 +01:00
Olivier Dony
4641a23d14
[FIX] server.stop: avoid traceback during shutdown if HTTP service never started (e.g. because address was already in use)
...
bzr revid: odo@openerp.com-20140304093240-0yfoe3s0xz0u0xv9
2014-03-04 10:32:40 +01:00
Christophe Simonis
ab80456fe7
[IMP] openerp/service/db.py: lint file
...
bzr revid: chs@openerp.com-20140303160805-ywbtw04jd3022jcv
2014-03-03 17:08:05 +01:00
Stephane Wirtel
5918ad323e
[MERGE] from Trunk
...
bzr revid: stw@openerp.com-20140228161338-8yjlkwacuube7vir
2014-02-28 17:13:38 +01:00
Antony Lesuisse
38d1ca1ff2
[MERGE] trunk
...
bzr revid: al@openerp.com-20140227161819-p9chmskfifo0rygs
2014-02-27 17:18:19 +01:00
Stephane Wirtel
855836e96e
[IMP] Move the netsvc.dispatch_rpc function from netsvc to openerp.http
...
bzr revid: stw@openerp.com-20140227125648-kunaefr22y28honx
2014-02-27 13:56:48 +01:00
Christophe Simonis
e027b3b447
[FIX] damn! correct import
...
bzr revid: chs@openerp.com-20140221231010-nxwqfgtn6477ewvg
2014-02-22 00:10:10 +01:00
Christophe Simonis
d81e9debbe
[IMP] openerp/service/server.py: lint file
...
bzr revid: chs@openerp.com-20140221223544-q309ioxit8tzlaki
2014-02-21 23:35:44 +01:00
Christophe Simonis
f511109440
[FIX] correct signal handler on nt
...
bzr revid: chs@openerp.com-20140221221702-5sa98qfkfh0fimct
2014-02-21 23:17:02 +01:00
Christophe Simonis
9f3417080c
[FIX] correct run of test-file via command line
...
bzr revid: chs@openerp.com-20140221221551-y168fe003k45229m
2014-02-21 23:15:51 +01:00
Christophe Simonis
40f7df4fd8
[FIX] return code is non-zero if any preloaded database failed to load
...
bzr revid: chs@openerp.com-20140221220348-vw3mll25dti1n23u
2014-02-21 23:03:48 +01:00
Christophe Simonis
186bb97638
[FIX] httpd thread must be a daemon threaded
...
bzr revid: chs@openerp.com-20140221215709-codb7b9r9n77ln7k
2014-02-21 22:57:09 +01:00
Christophe Simonis
65db3c635e
[MERGE] forward port of branch saas-2 up to revid 5014 mat@openerp.com-20140220145701-6y7s1roj88q7ys13
...
bzr revid: chs@openerp.com-20140220160548-0rhulha4cml6t08v
2014-02-20 17:05:48 +01:00
Denis Ledoux
67866db5b6
[MERGE] Forward-port of latest saas-2 bugfixes, up to rev. 5015 dle@openerp.com-20140221104908-7ytdg6xkxaza05o4
...
bzr revid: dle@openerp.com-20140220132700-hhc1nsu25j1ye257
bzr revid: mat@openerp.com-20140220150028-p6l0vnwa5q18uxiu
bzr revid: dle@openerp.com-20140221105500-t7jg037uusdloigl
2014-02-21 11:55:00 +01:00
Denis Ledoux
1b3925fadf
[FIX] service: wrong namespace for using tools
...
bzr revid: dle@openerp.com-20140220132548-fkw19c45mbnejgld
2014-02-20 14:25:48 +01:00
Martin Trigaux
c83247c38b
[MERGE] Forward-port of latest saas-2 bugfixes, up to rev.5012 revid:mat@openerp.com-20140219134943-60ssztc01cxdtk09
...
bzr revid: mat@openerp.com-20140219140617-na0q47yaloblb67i
2014-02-19 15:06:17 +01:00
Martin Trigaux
e635ebe6c1
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5238 revid:launchpad_translations_on_behalf_of_openerp-20140219053940-dvi4g7ajttoj6h9k
...
bzr revid: mat@openerp.com-20140219134943-60ssztc01cxdtk09
2014-02-19 14:49:43 +01:00
Martin Trigaux
c0308d7522
[MERGE] [FIX] databases list: allow to have entries with unicode char in the database list (opw 589765)
...
This does not allow to use a database with unicode to run openerp but does not fail (was getting an empty list of existing databases)
bzr revid: mat@openerp.com-20140214144444-0tjcz14rhlw94i50
2014-02-14 15:44:44 +01:00
Antony Lesuisse
1f67b2165c
[IMP] phantomtest helper
...
bzr revid: al@openerp.com-20140209223917-vruzjvl0mtsqoo87
2014-02-09 23:39:17 +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
Antony Lesuisse
278ed718e9
new test execution engine
...
remove deprecated zipfile support
add preload_registry option when server is running
allow registries to be used in contruction in test mode
add a rollback test case for http tests
add a phantomjs helper
bzr revid: al@openerp.com-20140209004005-p5pwym4sqc23vw5b
2014-02-09 01:40:05 +01:00
Christophe Simonis
a69f789b41
[MERGE] forward port of branch 7.0 up to revid 5224 chs@openerp.com-20140206105141-7e8bv8ordqqsswh7
...
bzr revid: dle@openerp.com-20140205105045-j95kduyjiq83e57z
bzr revid: dle@openerp.com-20140114173613-ruxye1m7fxtcjfim
bzr revid: dle@openerp.com-20140116161158-u95vcs3os4tk2zob
bzr revid: dle@openerp.com-20140121172737-gzawfi3ssg7xifef
bzr revid: chs@openerp.com-20140129094554-c3abc8x3qz9mpszr
bzr revid: chs@openerp.com-20140129140159-9vwkpr078shoonum
bzr revid: chs@openerp.com-20140206110220-myn57cryam1y4k9v
2014-02-06 12:02:20 +01:00
Christophe Simonis
46cbf22efb
[FIX] allow to use "dbname" as keyword in routes
...
bzr revid: chs@openerp.com-20140131163139-89lfordriamw9i1w
2014-01-31 17:31:39 +01:00
Christophe Simonis
378c908d4c
[MERGE] forward port of branch saas-2 up to revid 5006 chs@openerp.com-20140129140159-9vwkpr078shoonum
...
bzr revid: chs@openerp.com-20140129094847-4rsg0kjio0ed0rjk
bzr revid: chs@openerp.com-20140129141002-4p8fttm8ii0ogsse
2014-01-29 15:10:02 +01:00
Christophe Simonis
23778030cd
[FIX] forbid dropping templates databases
...
bzr revid: chs@openerp.com-20140129103538-qbm054m29y5r4hu4
2014-01-29 11:35:38 +01:00
Antony Lesuisse
9248a2db18
[FIX] multiprocess mode, empty the cursor pool before forking
...
bzr revid: al@openerp.com-20140122221525-hify023pk5i8d0jm
2014-01-22 23:15:25 +01:00
Christophe Simonis
3275de5981
[IMP] ir.attachment: filestore is now in data-dir and by default
...
bzr revid: chs@openerp.com-20140116185415-ajia02bsty9joox7
2014-01-16 19:54:15 +01:00
Christophe Simonis
5269664102
[FIX] correct uses of addons_path
...
bzr revid: chs@openerp.com-20140115180313-pqcrfmstci2w21y8
2014-01-15 19:03:13 +01:00
Stephane Wirtel
552c76c8b2
[REF] Use the contextlib.closing function instead of a couple of try/catch for
...
the release of the database cursor.
bzr revid: stw@openerp.com-20140109093258-vmr1a3gaxruo0psp
2014-01-09 10:32:58 +01:00
Christophe Simonis
d26e253edd
[IMP] dumpstack dumps greenlets when running in evented mode.
...
(forward port lost during previous commit)
bzr revid: chs@openerp.com-20131125155956-x92vq9w4r9ov4vcc
2013-11-25 16:59:56 +01:00
Antony Lesuisse
ff9e439733
[FIX] fcntl not needed on windows
...
bzr revid: al@openerp.com-20131015013700-eo0y09ft0p3w0fwe
2013-10-15 03:37:00 +02:00
Antony Lesuisse
d2eb959710
[FIX] ensure the use the registry signaling for registries loaded with -d
...
bzr revid: al@openerp.com-20131013021322-5ej7ovpcrf7ilnn5
2013-10-13 04:13:22 +02: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
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