Vo Minh Thu
d6ea526e36
[MERGE] openerp.pooler is deprecated.
...
bzr revid: vmt@openerp.com-20130327164045-ziw4lj50owdvmfbw
2013-03-27 17:40:45 +01:00
Xavier Morel
39ddcfd94d
[REM] broken functions (missing import, removed packages)
...
Also remove extract_zip_file, only used by broken functions
bzr revid: xmo@openerp.com-20130327162307-zcbbpjojo8lrwnj0
2013-03-27 17:23:07 +01:00
Vo Minh Thu
1e7e2ca753
[REF] no longer use openerp.pooler.
...
Either use openerp.modules.registry.RegistryManager when the full
new() signature is needed, or use openerp.registry().
Replaced also some pool.get() with pool[] because KeyErrors
are better than AttributeErrors on None.
bzr revid: vmt@openerp.com-20130327111014-2i0hlvpy5y5ku7hm
2013-03-27 12:10:14 +01:00
Chris Biersbach
6eefd15744
[FIX] Forwardport of issue when starting crons from 6.1 revision 4334
...
bzr revid: cbi@openerp.com-20130322140331-2trqiyuck816wj4f
2013-03-22 15:03:31 +01:00
Vo Minh Thu
1683fc7abd
[MERGE] merged trunk.
...
bzr revid: vmt@openerp.com-20130322135152-1hdlptwj1qqqfz4z
2013-03-22 14:51:52 +01:00
Mohammed Shekha
b8690e58e9
[FIX]Fixed the issue of database list retuns blank when there is name with unicode character in postgres, due to this web-client redirects user to create database screen as there is no database comes in response of db_list.
...
bzr revid: msh@openerp.com-20130319070248-57cp7drh0ry0vjz7
2013-03-19 12:32:48 +05:30
Olivier Dony
ffd258e3f0
[FIX] web_services: incorrect error message in logfile after failed DB dump, courtesy of Brendan Clune (Logic Supply)
...
lp bug: https://launchpad.net/bugs/1124440 fixed
bzr revid: odo@openerp.com-20130318144156-q7yw9qy83tngdg6x
2013-03-18 15:41:56 +01:00
Olivier Dony
8d6e91219f
[FIX] web_services: set PGPASSWORD in environment only when db_password is set in the config
...
This prevents an error when trying to set an
environment variable to `False`, and is the
second part of the regression introduced in
revision 4424. See previous partial fix
at revision 4893
lp bug: https://launchpad.net/bugs/1155523 fixed
bzr revid: odo@openerp.com-20130318141532-m2xsahh5u5pi5bth
2013-03-18 15:15:32 +01:00
Olivier Dony
8e3ba8e34e
[FIX] service.db: missing imports
...
lp bug: https://launchpad.net/bugs/1155523 fixed
bzr revid: odo@openerp.com-20130318110257-x9591dl74vu8yf2f
2013-03-18 12:02:57 +01:00
Olivier Dony
125b2a804a
[IMP] service.wsgi_server: useless import
...
bzr revid: odo@openerp.com-20130318110229-h4422zy2kcjys2ik
2013-03-18 12:02:29 +01:00
Olivier Dony
ab76b7a67f
[FIX] web_services: fix db dump/restore when authentication requires a password on non-win32 systems
...
The various pg_* utilities require the password
via a special environment variable or a special
`pgpass` file in the user home, even on Unix,
namely when the PostgreSQL connection is done
via TCP and not via a unix socket.
Setting the environment variable is relatively
safe if it is removed from the environment
immediately after the operation, and saves user
the trouble of managing the pgpass file themselves.
This had been fixed at revision 3992 but was
incorrectly removed for non win32 platforms
at revision 4424 (rev-id stw@openerp.com-20120912114651-8hcliparft1ep9tc )
lp bug: https://launchpad.net/bugs/790164 fixed
lp bug: https://launchpad.net/bugs/919100 fixed
bzr revid: odo@openerp.com-20130313152020-suo2pyrabae0ecg4
2013-03-13 16:20:20 +01:00
Olivier Dony
db81edc287
[FIX] *: fix/rationalize db logging to avoid incorrect values during logging
...
The setting/clearing of the tracking were not done
consistently, causing log messages that appeared
to come from one database while coming from another
one or none at all.
The tracker is now set at the earliest points
of request handling where we can:
- in web client, when creating WebRequests (dbname, uid)
- at RPC dispatching in server (uid)
- at cron job acquisition in CronWorker (dbname)
- at Registry acquisition in RegistryManager (dbname)
The tracker is cleared at the very entrance of
the request in the WSGI `application`, ensuring
that no logging is produced with an obsolete
db name. (It cannot be cleared at the end of
the request handling because the werkzeug
wrapper outputs more logging afterwards)
bzr revid: odo@openerp.com-20130301120744-jfitcmze2jldecod
2013-03-01 13:07:44 +01:00
Xavier Morel
fd3035021d
[FIX] missing import in wsgi_server
...
bzr revid: xmo@openerp.com-20130313161815-rcupbzq08b2wst1j
2013-03-13 17:18:15 +01:00
niv-openerp
ef2ff05d2d
[FIX] typo that caused crash in cron only when launching server with --workers
...
bzr revid: nicolas.vanhoren@openerp.com-20130226161853-26a2vz9tn8nnc44z
2013-02-26 17:18:53 +01:00
Vo Minh Thu
dee8cc8e50
[MERGE] Better exception handling in tools.convert:
...
- The exception is not logged in tools.convert. It is loggeg by the netsv layer anyway.
- The exception is re-raised instead, but with the full traceback available.
- A fix in openerp.service.db where the cr is closed twice.
bzr revid: vmt@openerp.com-20130226100243-mpns1k9odz69gpax
2013-02-26 11:02:43 +01:00
Vo Minh Thu
e2e9c0669e
[IMP] osv: removed unnecessary `except` clauses.
...
bzr revid: vmt@openerp.com-20130225152057-9ehnwo2szr4pphz3
2013-02-25 16:20:57 +01:00
Vo Minh Thu
ef127fddc7
[IMP] netsvc: removed unused import.
...
bzr revid: vmt@openerp.com-20130222145250-qd9v52tu2xt8jyb2
2013-02-22 15:52:50 +01:00
Vo Minh Thu
729d969fd9
[IMP] report: use openerp.report.render_report() instead of LocalService().create().
...
bzr revid: vmt@openerp.com-20130222124801-zhhbw2bgghhf6rg6
2013-02-22 13:48:01 +01:00
Vo Minh Thu
0cb53890df
[IMP] report: reports with custom parsers can be declared in XML files.
...
bzr revid: vmt@openerp.com-20130222093428-f1isxxqlbaj7uhuo
2013-02-22 10:34:28 +01:00
Vo Minh Thu
9412351315
[IMP] Only unhandled exceptions are logged to the console by the netsvc layer.
...
bzr revid: vmt@openerp.com-20130220115337-6319hshm4vfwlr1o
2013-02-20 12:53:37 +01:00
Vo Minh Thu
df7c209164
[FIX] Better exception handling in tools.convert:
...
- The exception is not logged in tools.convert. It is loggeg by the netsv layer anyway.
- The exception is re-raised instead, but with the full traceback available.
- A fix in openerp.service.db where the cr is closed twice.
bzr revid: vmt@openerp.com-20130219163047-3q766awd66wkzsn7
2013-02-19 17:30:47 +01:00
Vo Minh Thu
b985c7302f
[FIX] openerp namespace: the import hook was still inserting modules in sys.moduls at their shortname.
...
bzr revid: vmt@openerp.com-20130218164839-2qludhn3znpdftq5
2013-02-18 17:48:39 +01:00
Vo Minh Thu
3ee1923ca3
[MERGE] merged long-polling branch:
...
When using --workers, an evented (for longpolling) worker is started.
When passing --gevent, all the server is evented but the cron is disabled.
bzr revid: vmt@openerp.com-20130218153225-w1yft9je0b15owdv
2013-02-18 16:32:25 +01:00
Vo Minh Thu
ee256b5664
[FIX] service: call stop() instead of shutdown() in the evented case.
...
bzr revid: vmt@openerp.com-20130218153107-m5ikcn10gckk8ik3
2013-02-18 16:31:07 +01:00
Quentin (OpenERP)
0a27066e54
[REF] code review
...
bzr revid: qdp-launchpad@openerp.com-20130215143503-6a6x53gdeb6j33tm
2013-02-15 15:35:03 +01:00
niv-openerp
b30307da32
Revert 4580
...
bzr revid: nicolas.vanhoren@openerp.com-20130215123324-m10141rj595x30pl
2013-02-15 13:33:24 +01:00
niv-openerp
b5209cbf56
merge trunk
...
bzr revid: nicolas.vanhoren@openerp.com-20130215122500-p69xawqym93jauks
2013-02-15 13:25:00 +01:00
Antonin Bourguignon
74ba45d1fc
[MERGE] trunk
...
bzr revid: abo@openerp.com-20130214173522-2ama9xjn4c2hloap
2013-02-14 18:35:22 +01:00
Raphael Collet
49adee3488
[FIX] openerp/service/report: add all missing imports!
...
bzr revid: rco@openerp.com-20130214153511-r5omlvy5xa1t6rlm
2013-02-14 16:35:11 +01:00
Raphael Collet
ca175b0237
[FIX] openerp/service/report: missing import
...
bzr revid: rco@openerp.com-20130214150825-dp0twlvzc8qrkb7v
2013-02-14 16:08:25 +01:00
Raphael Collet
f78eb868fd
[IMP] remove model methods _workflow_trigger and _workflow_signal, and replace calls to new workflow methods
...
bzr revid: rco@openerp.com-20130213140046-84aa1xtlndltlhzy
2013-02-13 15:00:46 +01:00
Antonin Bourguignon
f929ebc73b
[MERGE] trunk
...
bzr revid: abo@openerp.com-20130213105620-xyez3q7ddgc0x5x8
2013-02-13 11:56:20 +01:00
Raphael Collet
53152d7bf4
[FIX] openerp.service: remove call to open_openerp_namespace
...
bzr revid: rco@openerp.com-20130212161330-kij5s3v35zzp1536
2013-02-12 17:13:30 +01:00
Raphael Collet
e76befd6c6
[MERGE] trunk-service-thu (remove the class openerp.netsvc.ExportService)
...
bzr revid: rco@openerp.com-20130212154230-y54s2rbetllwnh4q
2013-02-12 16:42:30 +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
Antonin Bourguignon
fbb51ee106
[MERGE] trunk
...
bzr revid: abo@openerp.com-20130212125650-3r8lsai6p5c8ls2h
2013-02-12 13:56:50 +01:00
Vo Minh Thu
96f7f49b3e
[MERGE] Latest bugfixes from 7.0, up to rev 4834.
...
bzr revid: vmt@openerp.com-20130212104546-v2w5k59egx1fiony
2013-02-12 11:45:46 +01:00
Antonin Bourguignon
e274ccc7cb
[MERGE] trunk
...
bzr revid: abo@openerp.com-20130211150920-c5yam3yykht1qdpn
2013-02-11 16:09:20 +01:00
Antony Lesuisse
d0392a2db0
[FIX] workers no suicide on broken pipe
...
bzr revid: al@openerp.com-20130209172932-5w8zt239tw0sirne
2013-02-09 18:29:32 +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
Vo Minh Thu
b4aedf0cc6
[FIX] cron: Looping over all existing databases seems a bad idea (when -d is not given on the command-line).
...
bzr revid: vmt@openerp.com-20130204165903-gzjghbg7bgjqn5jy
2013-02-04 17:59:03 +01:00
Vo Minh Thu
665fc8d8f1
[REF] openerp.service.{rpc,route,handler} decorators moved to openerp.http.
...
bzr revid: vmt@openerp.com-20130201093727-pgcvauuo87o2a3p6
2013-02-01 10:37:27 +01:00
Vo Minh Thu
b303bfe5a4
[REF] service: A new openerp.service.rpc decorator is provided to replace the ExportService class.
...
bzr revid: vmt@openerp.com-20130131131051-5189susswxlshp29
2013-01-31 14:10:51 +01:00
Vo Minh Thu
7b789f0865
[FIX] At the end of the database creation polling, None passwords are no more returned (for e.g. the portaluser).
...
bzr revid: vmt@openerp.com-20130131130447-3obyq2ch2omerypo
2013-01-31 14:04:47 +01:00
Vo Minh Thu
2910d5b3f6
[REF] netsvc: close_socket is only used in wsgi_server, so move it there.
...
bzr revid: vmt@openerp.com-20130130174229-myvtydv03iikt6k3
2013-01-30 18:42:29 +01:00
Vo Minh Thu
2c2b6d9506
[REF] service: killed the ExportService concept.
...
bzr revid: vmt@openerp.com-20130130165812-0hzfnfudi8im0usb
2013-01-30 17:58:12 +01:00
Vo Minh Thu
4aacad4abf
[REF] services: moved the report service to openerp.service.report.
...
bzr revid: vmt@openerp.com-20130130155624-u3vfqwd3komo3wfs
2013-01-30 16:56:24 +01:00
Vo Minh Thu
796bb74426
[REF] services: moved the common service to openerp.service.common.
...
bzr revid: vmt@openerp.com-20130130151434-1qoe9jhefge48ag3
2013-01-30 16:14:34 +01:00
Vo Minh Thu
93cdfeb86a
[REF] services: moved the object service to openerp.service.model.
...
bzr revid: vmt@openerp.com-20130130150207-fz1ueou8prul05qa
2013-01-30 16:02:07 +01:00
Vo Minh Thu
8d23b8a63a
[REF] services: moved the db service to openerp.service.db.
...
bzr revid: vmt@openerp.com-20130130145616-5hijxp9qib7i1uip
2013-01-30 15:56:16 +01:00
Vo Minh Thu
fc27a7b3a4
[REF] netrpc: removed.
...
bzr revid: vmt@openerp.com-20130130135735-pskmwbkmgfotjx1e
2013-01-30 14:57:35 +01:00
Vo Minh Thu
674056c4a5
[REF] services: somewhat clean use of openerp exceptions.
...
bzr revid: vmt@openerp.com-20130130134451-yft2y56hkpnoxgwa
2013-01-30 14:44:51 +01:00
Vo Minh Thu
19b0315f68
[REF] model service: removed the unneeded object_service class.
...
bzr revid: vmt@openerp.com-20130130113646-pviw5d6gnohk7wrb
2013-01-30 12:36: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
Antonin Bourguignon
59dc49061c
[IMP] we don't need a special type of exception anymore
...
bzr revid: abo@openerp.com-20130124154119-5283u6x1it5xvt0r
2013-01-24 16:41:19 +01:00
Antonin Bourguignon
aab0dd122a
[MERGE] trunk
...
bzr revid: abo@openerp.com-20130122122250-8pu5jycraqj435nu
2013-01-22 13:22:50 +01:00
Vo Minh Thu
6fe1c4faec
[MERGE] merged oe-related changes:
...
- added a cron command
- added a web command
- added rst documentation
- changed the read command to use the environment when --addons is not given
bzr revid: vmt@openerp.com-20130121163525-im9rt2pvljz3bs7t
2013-01-21 17:35:25 +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
Antonin Bourguignon
8bd622202b
[IMP] introduce a new type of exception: WarningConfig. Note that no corresponding RPC_FAULT_CODE has been added; WarningConfig will share the same RPC_FAULT_CODE than Warning (RPC_FAULT_CODE_WARNING = 2)
...
Also remove a few whitespaces
bzr revid: abo@openerp.com-20130118152346-5v4j94wjrq34hq4m
2013-01-18 16:23:46 +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
niv-openerp
d211ac7798
merge trunk
...
bzr revid: nicolas.vanhoren@openerp.com-20130114102410-m60y4kh8o69u00hc
2013-01-14 11:24:10 +01:00
Vo Minh Thu
8119d89200
[ADD] oe web: run an OpenERP web process.
...
bzr revid: vmt@openerp.com-20130111153113-ue2ybx33e2gh99sx
2013-01-11 16:31:13 +01:00
niv-openerp
cb33e09d1b
Socket is inited by master process
...
bzr revid: nicolas.vanhoren@openerp.com-20130110163314-449euw1z69eebtpz
2013-01-10 17:33:14 +01:00
niv-openerp
383314f273
First version working with multicorn
...
bzr revid: nicolas.vanhoren@openerp.com-20130110161936-4515hhdlamd3d25r
2013-01-10 17:19:36 +01:00
niv-openerp
4db73a4c7c
merge trunk
...
bzr revid: nicolas.vanhoren@openerp.com-20130108090624-cubi563m34f1j6ab
2013-01-08 10:06:24 +01:00
Xavier ALT
44d536d40d
[FIX] win32: use 'net' command for service start/stop operation
...
* We have to wait for complete service stop before trying to re-start
OpenERP service, otherwise service manager will complain that the
service is already running - and thus preventing to it start.
'sc' command only send a query to service manager without waiting
for completion - instead we use 'net' command which wait for complete
start/stop operation.
bzr revid: xal@openerp.com-20130107162302-xtf44nm10859203w
2013-01-07 17:23:02 +01:00
Antony Lesuisse
6c6fa1b7ee
[FIX] memory logging for cron workers
...
bzr revid: al@openerp.com-20121229133616-mbx0732l1uvyb1eo
2012-12-29 14:36:16 +01:00
Antony Lesuisse
551e6bc78d
[IMP] memory usage logging
...
bzr revid: al@openerp.com-20121229125912-rlt4g0b6xhajqxwm
2012-12-29 13:59:12 +01:00
Olivier Dony
4fd1bc7b3c
[IMP] cron: remove useless pooljobs and schedule_cron_jobs methods
...
The pooljobs and scheduled_cron_jobs stuff was only used to
delay the processing of cron jobs until after the registry
was fully loaded. However this is already the case because
RegistryManager.new() only sets the flag at the end of the
init step.
The flag was named `registry.cron` but simply meant that the
registry was fully loaded and ready, so it is simpler to
rename it to `registry.ready`.
In multiprocess mode this flag is enterily irrelevant
so there is no need to selectively set it to True or
False. `registry.ready` is simpler.
bzr revid: odo@openerp.com-20121221133751-h4x670vblfr3d09e
2012-12-21 14:37:51 +01:00
dle@openerp.com
73cb6d5321
[FIX]Try to create already existing database throws warning instead of traceback.
...
bzr revid: dle@openerp.com-20121221090925-2i82d31dc061zngn
2012-12-21 10:09:25 +01:00
Antony Lesuisse
565853b732
[MERGE] trunk
...
bzr revid: al@openerp.com-20121219030106-i59u10tml3baqvun
bzr revid: al@openerp.com-20121219150107-8l92w2bi510yem45
2012-12-19 16:01:07 +01:00
Raphael Collet
b63518345e
[FIX] web_services: fix incorrect query to set admin's password and lang
...
bzr revid: rco@openerp.com-20121219093816-atf0p0jtuwv6hd31
2012-12-19 10:38:16 +01:00
Antony Lesuisse
edef11eaaf
apps dont break protocol
...
bzr revid: al@openerp.com-20121219023226-gfceiyrmi50my80e
2012-12-19 03:32:26 +01:00
Christophe Simonis
0c7f17c0ac
merge upstream
...
bzr revid: chs@openerp.com-20121217172614-3z1pstu5th26wuuc
2012-12-17 18:26:14 +01:00
Xavier Morel
d0a377cb1c
[FIX] incorrect docstrings or docstring param names not matching actual param names
...
bzr revid: xmo@openerp.com-20121214130758-a2wp963w4djmb02k
2012-12-14 14:07:58 +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
c4fcf264c0
[IMP] workers request count on exit
...
bzr revid: al@openerp.com-20121211012436-gnr3vxhoye1xf0dh
2012-12-11 02:24:36 +01:00
Christophe Simonis
236df95b22
merge upstream
...
bzr revid: chs@openerp.com-20121210132406-9ro3amw6s6pzeez4
2012-12-10 14:24:06 +01:00
Christophe Simonis
507c02aaa2
[REV] close_socket is back in netsvc.py
...
bzr revid: chs@openerp.com-20121210132133-m1z2hb72y1r1wsei
2012-12-10 14:21:33 +01:00
Nimesh (Open ERP)
480e116b40
[MERGE] with trunk
...
bzr revid: nco@tinyerp.com-20121210070332-6h5qnlcf4whjv7p5
2012-12-10 12:33:32 +05:30
Antony Lesuisse
0801f22e04
[IMP] workers setproctitle if available
...
bzr revid: al@openerp.com-20121209215336-rvmy0dejfpmy1awi
2012-12-09 22:53:36 +01:00
Antony Lesuisse
cf31a12d94
[IMP] workers cron dont keep cursors
...
need for saas and demo
bzr revid: al@openerp.com-20121209212242-s3a91vxg8bixqls7
2012-12-09 22:22:42 +01:00
Antony Lesuisse
97ab217893
[IMP] workers cron logging and chorus
...
bzr revid: al@openerp.com-20121209204544-7w98xboxh6uytz43
2012-12-09 21:45:44 +01:00
Antony Lesuisse
099ae0f70c
[IMP] workers better logging
...
bzr revid: al@openerp.com-20121209203134-sobl1m3q53bjne2i
2012-12-09 21:31:34 +01:00
Antony Lesuisse
a4fcf06301
[FIX] temporary fix workers cron for missing openerp.addons.base
...
bzr revid: al@openerp.com-20121209200018-bvzdy7nhkyo6kaun
2012-12-09 21:00:18 +01:00
Antony Lesuisse
17ec9a3422
[FIX] workers graceful shutdown
...
bzr revid: al@openerp.com-20121209193022-r4h1ksmqrk2cfnds
2012-12-09 20:30:22 +01:00
Antony Lesuisse
ae45df93a4
misc
...
bzr revid: al@openerp.com-20121209190543-83hmvyfcu1af7wiv
2012-12-09 20:05:43 +01:00
Antony Lesuisse
3d3eac7c50
service cleanups, more wizard removal
...
bzr revid: al@openerp.com-20121209184632-hp9b9fbbn9g4h2lw
2012-12-09 19:46:32 +01:00
Antony Lesuisse
0ef9f2e4b6
[MERGE] trunk
...
bzr revid: al@openerp.com-20121209182643-9fv5ge2b2r2hrpbv
2012-12-09 19:26:43 +01:00
Antony Lesuisse
5790312d65
netsvc, netrpc, wizardcleanup
...
bzr revid: al@openerp.com-20121209181536-au8u47557i45wizl
2012-12-09 19:15:36 +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
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
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
Christophe Simonis
effec78db7
[FIX] correct reexecute. works for windows service
...
bzr revid: chs@openerp.com-20121205175630-6y8ul4ki13z0coyh
2012-12-05 18:56:30 +01:00
Christophe Simonis
097254fe00
[FIX] correct reexecute. works on windows
...
bzr revid: chs@openerp.com-20121205155209-aqra9rtvq11uq37d
2012-12-05 16:52:09 +01:00
Christophe Simonis
69d057efc5
merge upstream
...
bzr revid: chs@openerp.com-20121201003326-j6n5r8juz16752j5
bzr revid: chs@openerp.com-20121204165557-u1oxocye3la4r6gf
bzr revid: chs@openerp.com-20121205143722-olswf8gsg8mhref3
2012-12-05 15:37:22 +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
Nimesh (Open ERP)
713a9e31fe
[MERGE] merge with lp:openobject-server
...
bzr revid: nco@tinyerp.com-20121204120249-yvw89bih2ad94f3u
2012-12-04 17:32:49 +05:30
Christophe Simonis
5ec2748e04
[FIX] services: call os.abort() for killing
...
bzr revid: chs@openerp.com-20121130104505-1p2arb61jnnogeb9
2012-11-30 11:45:05 +01:00
niv-openerp
13d385fd6d
merge trunk
...
bzr revid: nicolas.vanhoren@openerp.com-20121130095319-19yuk44djj2h20m4
2012-11-30 10:53:19 +01:00
Christophe Simonis
a208447a3d
merge upstream
...
bzr revid: chs@openerp.com-20121128184100-rkr90mrx38fh9q4l
2012-11-28 19:41:00 +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
Christophe Simonis
9432574fec
[FIX] restart of server on windows when running as nt service
...
bzr revid: chs@openerp.com-20121126184733-i4blfoh0d57s5s4l
2012-11-26 19:47:33 +01:00
Christophe Simonis
bec3abd64c
[FIX] restart of server on windows
...
bzr revid: chs@openerp.com-20121126122220-38s3hla3hyl1b15p
2012-11-26 13:22:20 +01:00
Christophe Simonis
927c5635b8
[IMP] extract method to reexec server
...
bzr revid: chs@openerp.com-20121123140838-pz47cw4jtlxx8e74
2012-11-23 15:08:38 +01:00
niv-openerp
7137bb0b53
[IMP] Added configuration option for gevent
...
bzr revid: nicolas.vanhoren@openerp.com-20121122145309-bim6m10p0q7rf6wj
2012-11-22 15:53:09 +01:00
niv-openerp
468652ccf7
Had to remove the cron again
...
bzr revid: nicolas.vanhoren@openerp.com-20121116094118-ph3oxmwr5qhcp3c7
2012-11-16 10:41:18 +01:00
Jalpesh Patel (OpenERP)
b2a1d5d9b1
[Merge] Merge with lp:openobject-server
...
bzr revid: pja@tinyerp.com-20121116050347-5w5v4h7stdn9oyhp
2012-11-16 10:33:47 +05:30
niv-openerp
966cadcdd6
Put back cron thread
...
bzr revid: nicolas.vanhoren@openerp.com-20121115144728-0ts5h9m7873892fd
2012-11-15 15:47:28 +01:00
niv-openerp
0ce74b62ca
Merge gevent branch
...
bzr revid: nicolas.vanhoren@openerp.com-20121115144620-osd8or906viqcodf
2012-11-15 15:46:20 +01:00
Christophe Simonis
8200848b3f
merge upstream
...
bzr revid: chs@openerp.com-20121114174352-a0xbech8o4dav16b
2012-11-14 18:43:52 +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
6421dba009
[MERGE] trunk
...
bzr revid: al@openerp.com-20121112122944-bw83ixuot2sjvkia
2012-11-12 13:29:44 +01:00
Jalpesh Patel (OpenERP)
8e58d8d17c
[FIX] fix problem create db when already exists
...
bzr revid: pja@tinyerp.com-20121112103321-v39900rc6tu0pvmb
2012-11-12 16:03:21 +05:30
Christophe Simonis
9bb5e47baf
merge upstream
...
bzr revid: chs@openerp.com-20121107112830-fi0xu1poqt5cbb8u
2012-11-07 12:28:30 +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
Christophe Simonis
0499ba78af
[FIX] correct restart of openerp
...
bzr revid: chs@openerp.com-20121030105910-r3bol2cvs6a1mbxd
2012-10-30 11:59:10 +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
Christophe Simonis
7d3f3d475b
merge upstream
...
bzr revid: chs@openerp.com-20121010115500-xz9oqr2g8vzr79jq
2012-10-10 13:55:00 +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
Christophe Simonis
bfd0ffb694
[IMP] rpc: common/version return more info
...
bzr revid: chs@openerp.com-20121001164432-z5cqm6ffmgoocnec
2012-10-01 18:44:32 +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
1e1b85e95b
gevent first try
...
bzr revid: al@openerp.com-20120922124354-unk1u8a9anst5hwo
2012-09-22 14:43:54 +02:00
Antony Lesuisse
4679680dba
manual merge of multicorn
...
bzr revid: al@openerp.com-20120922105107-q02ogtsfudphzkl6
2012-09-22 12:51:07 +02:00
Christophe Simonis
f988ed24f6
merge upstream
...
bzr revid: chs@openerp.com-20120917124543-2nc36e0z6jb2szq4
2012-09-17 14:45:43 +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
Christophe Simonis
700d229760
merge
...
bzr revid: chs@openerp.com-20120911120807-8wvvh0tubdoqkwa0
2012-09-11 14:08: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
Christophe Simonis
8b68252da4
[WIP] restart server + update of server via apps
...
bzr revid: chs@openerp.com-20120907144102-qi35brwee3wh9fwb
2012-09-07 16:41:02 +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
Naresh (OpenERP)
2fb2cd708d
[FIX]:exception handling in netrpc
...
lp bug: https://launchpad.net/bugs/869936 fixed
bzr revid: nch@tinyerp.com-20111215064602-m1x9fflb20l5kw5a
2011-12-15 12:16:02 +05:30
Numerigraphe - Lionel Sausin
a2f4f2669b
[IMP] Added missing vim mode lines
...
lp bug: https://launchpad.net/bugs/524279 fixed
bzr revid: ls@numerigraphe.fr-20111122085848-1atcrcw8e64altcp
2011-11-22 09:58:48 +01:00
Olivier Dony
97ba7be42d
[IMP] res.users,web_services: new authenticate() API method for testing credentials
...
Provides a way to login for a given environment, passing
user agent environment parameters.
Currently used to initialize the web.base.url config
parameter based on the web host whenever the admin user
logs in.
bzr revid: odo@openerp.com-20111013104750-y0natm9v3wapn10l
2011-10-13 12:47:50 +02:00
Vo Minh Thu
b88209b499
[IMP] xmlrpc: version() moved to common, still available on /openerp/xmlrpc.
...
bzr revid: vmt@openerp.com-20110930135942-ytlxz7vlwl84myg0
2011-09-30 15:59:42 +02:00
Vo Minh Thu
22291970ba
[FIX] netrpc: forgot the removal of auth in the netrpc case in
...
the rafactoring that occured on revno 3669
(revision-id: al@openerp.com-20110928220539-5q8eujk1l0q43d4x ).
bzr revid: vmt@openerp.com-20110929071713-e29kf3ipc6lzctll
2011-09-29 09:17:13 +02:00
Olivier Dony
b971680a53
[MERGE] multi-process/multi-threaded ir.cron implementation
...
bzr revid: odo@openerp.com-20110929002157-31pgkmqc96by15ak
2011-09-29 02:21:57 +02:00
Antony Lesuisse
c71979e6ae
[MERGE] /openerp/6.1 xmlrpc compliant
...
bzr revid: al@openerp.com-20110928220539-5q8eujk1l0q43d4x
2011-09-29 00:05:39 +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
Vo Minh Thu
08cfadaff0
[IMP] xmlrpc: somewhat streamlined the exception types/
...
exception handling code.
OpenERPDispatcherException which was simply wrapping an exception together with
an exc_info is removed.
bzr revid: vmt@openerp.com-20110927102246-87ibftawukc2d8lc
2011-09-27 12:22:46 +02:00
Vo Minh Thu
e8dc0edbaa
[IMP] xmlrpc: use some commented constant symobls instead of raw numbers.
...
bzr revid: vmt@openerp.com-20110927081902-4zu2mri9zx8j27tb
2011-09-27 10:19:02 +02:00
Vo Minh Thu
157580b8e8
[IMP] xmlrpc: use proper exception type to map to xmlrpc error codes.
...
bzr revid: vmt@openerp.com-20110926151403-fhx4ph22tua2s3st
2011-09-26 17:14:03 +02:00
Vo Minh Thu
bbd10d96c0
[IMP] exceptions: replace ExceptionNoTb with AccessDenied.
...
bzr revid: vmt@openerp.com-20110926125358-8yy4tvnemfna72u7
2011-09-26 14:53:58 +02:00
Vo Minh Thu
f16e2ef10a
[IMP] websrv_lib: removed top-level http handlers.
...
We have to keep for now the sub-handler code because webdav uses it.
bzr revid: vmt@openerp.com-20110925170827-x2xvdz5pzupnu28k
2011-09-25 19:08:27 +02:00
Vo Minh Thu
a7a826b2df
[IMP] netsvc: removed unused auth param.
...
The auth param is an auth proxy/provider. The idea is that an auth proxy
is associated to some HTTP request handler. The handler can then use it
when necessary, depending on the accessed resource.
As of now, it is only used by the webdav module. But really, the caldav
module accesses the proxy directly on the handler.
Currently in web_services, authentication is simply done via
security.check().
bzr revid: vmt@openerp.com-20110925152318-i3jvimumm51e2lu4
2011-09-25 17:23:18 +02:00
Vo Minh Thu
007da7d0c7
[FIX] openerp.service: call wsgi.stop_server upon server shutdown.
...
bzr revid: vmt@openerp.com-20110925150232-qidzjypddp22el1f
2011-09-25 17:02:32 +02:00
Olivier Dony
da705a6b55
[FIX] rpc: honor *_interface options + log it
...
bzr revid: odo@openerp.com-20110925014243-0q1o67twburpga0z
2011-09-25 03:42:43 +02:00
Antony Lesuisse
404e545365
[FIX] revert 3651 al@openerp.com-20110925003322-yioqd1cdlffvr6uc http static is used by webdav
...
bzr revid: al@openerp.com-20110925012039-4hmqj2v5aaxxtxwy
2011-09-25 03:20:39 +02:00
Antony Lesuisse
eda28246ee
[REM] http static crap (you may use web controllers or /static dir)
...
bzr revid: al@openerp.com-20110925003322-yioqd1cdlffvr6uc
2011-09-25 02:33: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
58ebd45efe
[IMP] openerp.service: import at the top.
...
bzr revid: vmt@openerp.com-20110924163358-svx1yjuwdybxxr6k
2011-09-24 18:33:58 +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
Vo Minh Thu
77fbcb3c79
[FIX] websrv_lib: the auth provider was instanciated once and
...
the auth proxy was instanciated multiple times (once per handler instcance).
The previous refactoring merged the proxy and the provider in one class which
once instanciated once. Now it is instanciated once per handler, which is
better.
bzr revid: vmt@openerp.com-20110909122856-29uhsjfe193fqdi8
2011-09-09 14:28:56 +02:00
Vo Minh Thu
e643ffcc32
[REF] websrv_lib:
...
- grouped together the concept of auth proxy and auth provider
- removed the sec_realms dictionary: it was redundant as the
auth proxy was set (in one of the implementation, not all) on
the handler by setupAuth. Now the auth proxy is always set on
the handler.
- reg_http_service accepts the argument of the HTTPDir
constructor.
bzr revid: vmt@openerp.com-20110908123818-suc53zebgv9kcy3c
2011-09-08 14:38:18 +02:00
Vo Minh Thu
1cd7804374
[REF] websrv_lib: moved vdirs mangement code to websrv_lib
...
(from service.http_server). The vdirs list is now a global variable, containing
both secure-only and non-necessarily-secure handlers. This makes it possible
to register handlers without being too tied to the multi http request handler.
The goal is obviously to make it possible to serve those handlers by other
means than the multi handler.
bzr revid: vmt@openerp.com-20110907154217-f30nrzgvw45ga2q8
2011-09-07 17:42:17 +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
3c8571ead0
[IMP] wsgi: added new (still to be refined) routes for XMLRPC dispatching.
...
bzr revid: vmt@openerp.com-20110901130450-ub41ey4s0060vucg
2011-09-01 15:04:50 +02:00
Vo Minh Thu
efd281a21f
[MERGE] merged trunk.
...
bzr revid: vmt@openerp.com-20110901130339-0epw03nlkwo29125
2011-09-01 15:03:39 +02:00
Vo Minh Thu
6fdadb04f5
[IMP] tools.cache: added missing clean_caches_for_db replacement.
...
bzr revid: vmt@openerp.com-20110825124711-y2uckmvcoa0arz4h
2011-08-25 14:47:11 +02:00
Vo Minh Thu
848838526e
[MERGE] merged trunk.
...
bzr revid: vmt@openerp.com-20110823142644-3a8pjbi7geo9udx7
2011-08-23 16:26:44 +02:00
Vo Minh Thu
7226046707
[MERGE] some cleaning in module loading code, especially logging.
...
bzr revid: vmt@openerp.com-20110809120057-h5x68x1gd1ykeu36
2011-08-09 14:00:57 +02:00
Xavier Morel
1e904fe6ad
[IMP] db creation: cleanup logging and exception traceback reification
...
traceback.format_exc was introduced in Python 2.5, no need to muck around with StringIO and print_exc to get a traceback as a string
bzr revid: xmo@openerp.com-20110801085446-8t4oiiccinf9frvs
2011-08-01 10:54:46 +02:00
Xavier Morel
92a9836bbb
[IMP] use dict.update instead of __setitem__ sequences
...
bzr revid: xmo@openerp.com-20110801073050-xr37h37sc8w8xhi5
2011-08-01 09:30:50 +02:00