Olivier Dony
14b7e37bf5
[FIX] osv.obj_list is broken via RPC and should not be available anymore
...
lp bug: https://launchpad.net/bugs/632195 fixed
bzr revid: odo@openerp.com-20101208131328-gycbi36423txdnc1
2010-12-08 14:13:28 +01:00
P. Christeas
1f380f0504
web-services: new "get_sqlcount" call
...
Useful for automated statistics, returns the global SQL counter of queries.
It does not affect any counters, and will print a warning if debug_sql
is not enabled (counter would be zero, then).
bzr revid: p_christ@hol.gr-20101117115232-olq747j4vmauqgy8
2010-11-17 13:52:32 +02:00
P. Christeas
cfdd34d511
web_services: implement os timestamp query.
...
The os user and sys elapsed times are very useful for performance metrics,
they can tell us how much did the openerp server try for some operation.
Conflicts:
bin/service/web_services.py
bzr revid: p_christ@hol.gr-20101116162025-go5lx4qs658pt7t5
2010-11-16 18:20:25 +02:00
Olivier Dony
6f5eb0b5b4
[IMP] web_services: better error reporting for report generation issues
...
bzr revid: odo@openerp.com-20101014135854-ecidlal4qj42ul89
2010-10-14 15:58:54 +02:00
Christophe Simonis
7cf31b4869
[IMP] display database name in the logger
...
bzr revid: chs@openerp.com-20100903074132-nrhd3p2i53hmtt9j
2010-09-03 09:41:32 +02:00
P. Christeas
077e387bb6
[MERGE] service/http: merged some mixed HTTPd changes by xrg, fixes pending
...
bzr revid: odo@openerp.com-20100809180832-n5ft8a8q2ixm99f2
2010-08-09 20:08:32 +02:00
P. Christeas, Olivier Dony
7666ac14a7
[MERGE+IMP] logging: merged xrg's branch to set selective logger level + added new 'debug_sql' loglevel to avoid having to modify sql_db.py to enable SQL logging
...
bzr revid: odo@openerp.com-20100804134900-dfupojmgcj0rjhd2
2010-08-04 15:49:00 +02:00
Olivier Dony
a736c6e17f
[ADD] tools.misc: added method to compute client timestamp according to timezone, for example for inclusion in strings where it will not be formatted by the client (do NOT use it when returning date[time] field values to the client!) + refactored timezone_get service method to make it accessible in tools.
...
bzr revid: odo@openerp.com-20100727152211-mupv9tdhbpv48nvu
2010-07-27 17:22:11 +02:00
P. Christeas
40758b5222
httpd, netrpcd: do not catch any exceptions
...
always only catch Exception.
Conflicts:
bin/service/netrpc_server.py
bin/service/web_services.py
bin/service/websrv_lib.py
bzr revid: p_christ@hol.gr-20100726093335-08uzfv3cr9ffx1ue
2010-07-26 12:33:35 +03:00
P. Christeas
7d1f26cdd2
Export command to list the http services.
...
For debugging reasons, we should know what services we have registered
in our multi-dir http server.
Conflicts:
bin/service/web_services.py
bzr revid: p_christ@hol.gr-20100726093334-7074r91i63e4g7jg
2010-07-26 12:33:34 +03:00
P. Christeas
09db16f527
Logger: use optional kwargs instead of positional args.
...
bzr revid: p_christ@hol.gr-20100622111549-sff9q43ahcihgq91
2010-06-22 14:15:49 +03:00
P. Christeas
285e307f25
Logging: Allow rpc to set individual log levels.
...
bzr revid: p_christ@hol.gr-20100622093547-jax4vg7vp0o6zfz2
2010-06-22 12:35:47 +03:00
Christophe Simonis
e5588c57d3
[FIX] rename database: set the cursor in autocommit mode
...
bzr revid: chs@openerp.com-20100527141347-rusf72102qic1pvb
2010-05-27 16:13:47 +02:00
Jay (Open ERP)
47c1d21759
[FIX] Document : It should be allowed to browse through FTP,disregard to --no-databse-list option
...
bzr revid: jvo@tinyerp.com-20100512130756-2mtjv7k4kfpdckkg
2010-05-12 18:37:56 +05:30
Chris Halls
e5ee85c745
[FIX] renamed function name db_exist -> exp_db_exist
...
Fixes problem when trying to restore a database.
See p_christ@hol.gr-20090829152346-7i1iiqs8skdddamq for the function rename
bzr revid: chris.halls@credativ.co.uk-20100409113823-4xuc1bm8zdyfiq32
2010-04-09 12:38:23 +01:00
Christophe Simonis
c95bd0a29e
[FIX] export the method check_connectivity
...
bzr revid: chs@tinyerp.com-20100301171921-1nwhknyba0cmsb2e
2010-03-01 18:19:21 +01:00
HDA (OpenERP)
a0ba43d800
Merged with stable
...
bzr revid: hda@tinyerp.com-20100216063114-d2crv3zayarq2vk6
2010-02-16 12:01:14 +05:30
Christophe Simonis
054cc4aa1f
[IMP] osv: log (in debug) access errors
...
[IMP] web_service: remove log (debug) when creating database
bzr revid: chs@tinyerp.com-20100204172610-hm6ofa8cf2letwlj
2010-02-04 18:26:10 +01:00
Jay (Open ERP)
a223624606
[REF] Minor edit
...
bzr revid: jvo@tinyerp.com-20100127144910-l7boiga2m3zvk1ke
2010-01-27 20:19:10 +05:30
Christophe Simonis
fecc3a360d
[FIX] remove the lock on database connections
...
[ADD] exported method check_connectivity
[REF] better logging of the Connection and ConnectionPool objects
[REF] use template0 as template when create new database
bzr revid: chs@tinyerp.com-20100120163913-5ftbs7e85lwqb1et
2010-01-20 17:39:13 +01:00
HDA (OpenERP)
dadc20e9d1
FIXed merging bugs
...
bzr revid: hda@tinyerp.com-20100113125341-69djvqrd7rkn6wj9
2010-01-13 18:23:41 +05:30
HDA (OpenERP)
8a887ad4e0
Merged
...
bzr revid: hda@tinyerp.com-20100112104830-x35l4g08og2gacwo
2010-01-12 16:18:30 +05:30
HDA (OpenERP)
0325cd04e9
merged
...
bzr revid: hda@tinyerp.com-20100111071312-0a3c69af3s4kpj6x
2010-01-11 12:43:12 +05:30
Jay (Open ERP)
f5ec8210a5
[FIX] Report : Proper Message notification when RML file is not found
...
lp bug: https://launchpad.net/bugs/499501 fixed
bzr revid: jvo@tinyerp.com-20100106063308-dh5ktjs7mkvvhky1
2010-01-06 12:03:08 +05:30
Olivier Dony
50dca46b0f
[FIX] Made timezone detect more robust and added a config option to override it.
...
Stay backwards-compatible by using time.tzname[0] as we did before if no config option is provided, but only if it is a valid timezone (in the pytz sense).
If no config option is set and time.tzname does't work, fallback, in this order, to:
- environment variable 'TZ'
- /etc/timezone on Unix platforms
- Windows registry on win32 systems
- if nothing works, default to UTC (because we MUST provide a valid timezone to clients)
lp bug: https://launchpad.net/bugs/389544 fixed
bzr revid: odo@openerp.com-20100105152312-fgayeaks12ed3no8
2010-01-05 16:23:12 +01:00
Christophe Simonis
32f239fa6b
[FIX] better locking when accessing to template1 database
...
bzr revid: chs@tinyerp.com-20091208172759-wncaqjguglwgf634
2009-12-08 18:27:59 +01:00
Christophe Simonis
a04aba460d
[IMP] add option to disable the database listing
...
bzr revid: chs@tinyerp.com-20091203125908-98rwtrslkzes2lxq
2009-12-03 13:59:08 +01:00
Xavier Morel
cf13b6c36e
[merge] fix-shebang from 5.0 to trunk
...
bzr revid: hmo@tinyerp.com-20091202091102-r509b0bgogyul6yx
bzr revid: xmo@tinyerp.com-20091202101458-6a1mo240grkld6do
2009-12-02 11:14:58 +01:00
Christophe Simonis
e345e91365
[FIX] db_exist method works as expected
...
bzr revid: chs@tinyerp.com-20091201133214-8c6i1ohk5t5u79dz
2009-12-01 14:32:14 +01:00
Harry (Open ERP)
dd1d607f3a
[MERGE] merge with master branch
...
bzr revid: hmo@tinyerp.com-20091125070844-1mt6908hm40t03hq
2009-11-25 12:38:44 +05:30
Harry (Open ERP)
d8ce3f1e2a
[FIX] replaced <TAB> with four white space.
...
bzr revid: hmo@tinyerp.com-20091124144405-9mzd91chohvf0uu7
2009-11-24 20:14:05 +05:30
Christophe Simonis
86beb91507
[IMP] better connection pool
...
bzr revid: chs@tinyerp.com-20091123170734-usmmwc5uzoik73hs
2009-11-23 18:07:34 +01:00
Christophe Simonis
3dbbb61c0d
[IMP] better connection pool (global)
...
bzr revid: chs@tinyerp.com-20091123170509-qe5keihqjoa71ppd
2009-11-23 18:05:09 +01:00
xrg
dad1ff955b
[merge] merge from lp:~xrg/openobject-server/optimize-5.0 and removed some confilts
...
bzr revid: hmo@tinyerp.com-20091120143104-tb6136unkdw7yfy9
2009-11-20 20:01:04 +05:30
RPA(OpenERP)
b69f95fa60
Added functionality to prevent database list while server hase list_db=False
...
bzr revid: hda@tinyerp.com-20091028062220-11i2s85pqrfjs4c2
2009-10-28 11:52:20 +05:30
P. Christeas
879199c6b7
Server: get_stats() RPC call for any extended info.
...
With this call, we can learn about the internals of the OpenObject server
in runtime.
At the moment, designed to give info on the running servers (RPC).
bzr revid: p_christ@hol.gr-20091028003033-b5hzgcjy9kncyc0d
2009-10-28 02:30:33 +02:00
pap(openerp)
251b6720ca
Changed encoding to coding ref: PEP: 0263
...
bzr revid: hda@tinyerp.com-20091020105223-2o94yr2iv2v10axr
2009-10-20 16:22:23 +05:30
PSO(OpenERP)
4d7134cd99
Changed licencing
...
bzr revid: hda@tinyerp.com-20091014123215-nuyqs18090whzt5o
2009-10-14 18:02:15 +05:30
HDA (OpenERP)
a3920319f0
Improvements
...
bzr revid: hda@tinyerp.com-20091006091904-ydd0s9d08vu5076w
2009-10-06 14:49:04 +05:30
HDA (OpenERP)
c68600cc53
[Merged]
...
bzr revid: hda@tinyerp.com-20090917072712-l7220bbv1gq4uckc
2009-09-17 12:57:12 +05:30
P. Christeas
b64ee551ba
Web services: fix database operations (create, drop etc.) for new API.
...
bzr revid: p_christ@hol.gr-20090913142942-0h8qtnz9d47ktdco
2009-09-13 17:29:42 +03:00
P. Christeas
483e133ee8
Fix dispatching of reports after API change.
...
bzr revid: p_christ@hol.gr-20090830145331-29ffrhf228defnl2
2009-08-30 17:53:31 +03:00
P. Christeas
4abaf2763e
[MAJOR IMP] Rewrite the http/RPC engine and let HTTP/1.1 features.
...
This patch attempts a major change in the structure of the XML-RPC
framework. There is one http server, capable of multiple services
(except XML-RPC). That server could handle authentication, and is also
HTTP/1.1 capable, which means it supports **persistent connections** !
At this commit, the old behaviour of the XML-RPC protocol is merely
working. The netsvc.Service is split, so expect wizard/report breakages.
External modules (koo) also break with this API.
The net-svc code is crippled and gone FTM.
bzr revid: p_christ@hol.gr-20090829152346-7i1iiqs8skdddamq
2009-08-29 18:23:46 +03:00
P. Christeas
2e77de275a
[IMP] remove irritating call to bzr.
...
bzr revid: p_christ@hol.gr-20090828142011-9ree0qumovrx9wt6
2009-08-28 17:20:11 +03:00
P. Christeas
00d15e79fe
[IMP]: allow Log level to be changed in runtime.
...
Export an RPC method and let a simple client change the log level. This
helps when we want to debug the server without restarting it.
bzr revid: p_christ@hol.gr-20090814101822-pu2ed3249b6m30v8
2009-08-14 13:18:22 +03:00
Christophe Simonis
adddd25799
[IMP] new method that ollow the server to return a message that will be display on login page
...
bzr revid: christophe@tinyerp.com-20090803100843-6oepu5zi8tycifvu
2009-08-03 12:08:43 +02:00
Joël Grand-Guillaume,Jvo
68785e3579
[FIX] DB operations(backup,restore) process corrected,were blocked if db_port was supplied
...
lp bug: https://launchpad.net/bugs/405721 fixed
bzr revid: jvo@tinyerp.com-20090730110552-irgeazuaqw0mhw49
2009-07-30 16:35:52 +05:30
sme
cff642e6f7
[IMP]:Environment info
...
bzr revid: nch@tinyerp.com-20090730073645-63ob3em1vt10ggg1
2009-07-30 13:06:45 +05:30
Naresh Choksy
034f8a3c10
[FIX]:Bug:403652
...
bzr revid: nch@tinyerp.com-20090724045825-nln03qk0ecx1fmg9
2009-07-24 10:28:25 +05:30
Naresh Choksy
7af3226ecf
[FIX]:missing Import
...
bzr revid: nch@tinyerp.com-20090714124132-ttu18qz1t8abg2xt
2009-07-14 18:11:32 +05:30