Commit Graph
153 Commits
Author SHA1 Message Date
Xavier Morel f99cf9a615 [fix] very badly broken HttpSDaemon
bzr revid: xmo@tinyerp.com-20100131155508-3uh7b9ahkwrsusat
2010-01-31 16:55:08 +01:00
Fabien Pinckaers 99bca6d3ac merge
bzr revid: fp@tinyerp.com-20100129075516-yy6bb2pei0kj0utn
2010-01-29 08:55:16 +01:00
Harry (Open ERP) 401b6c536d [IMP] security : move login, access, check method into res.users object
bzr revid: hmo@tinyerp.com-20100129060644-q846msahr5mtqvsr
2010-01-29 11:36:44 +05:30
HDA (OpenERP) dadc20e9d1 FIXed merging bugs
bzr revid: hda@tinyerp.com-20100113125341-69djvqrd7rkn6wj9
2010-01-13 18:23:41 +05:30
HDA (OpenERP) 2e183dc153 merged
bzr revid: hda@tinyerp.com-20100112105042-6p5v4yluo29o075l
2010-01-12 16:20:42 +05:30
HDA (OpenERP) 8a887ad4e0 Merged
bzr revid: hda@tinyerp.com-20100112104830-x35l4g08og2gacwo
2010-01-12 16:18:30 +05:30
Christophe Simonis 1ae5d6288a [MERGE]
bzr revid: chs@tinyerp.com-20100112100431-u3xjsffq8xcpk3e2
2010-01-12 11:04:31 +01:00
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
Xavier Morel eca47ce8b6 [imp] replace hasattr usages with getattr in socket shutdowns
bzr revid: xmo@tinyerp.com-20100103141457-uff2ss505npnkoti
2010-01-03 15:14:57 +01:00
Xavier Morel b90e33726c [merge] from trunk
bzr revid: xmo@tinyerp.com-20091215114912-3zt13paq2tne1ul0
2009-12-15 12:49:12 +01:00
Stephane Wirtel 27a28fdfcc [FIX] Fix broken format string
bzr revid: stephane@openerp.com-20091215114014-5pc57vgaqmzksuor
2009-12-15 12:40:14 +01:00
Harry (Open ERP) 055e2de6ed [FIX+REVERT] service: bad security issue revid:jvo@tinyerp.com-20090626061715-bn1k859v5wp1k9i1
bzr revid: hmo@tinyerp.com-20091211110312-cw393q16y1pmvubu
2009-12-11 16:33:12 +05:30
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 ff890fe234 [fix] actually fix hang in OSX when trying to shutdown server via SIGINT lost during moves/merges from 5.0 to trunk
bzr revid: xmo@tinyerp.com-20091202111516-enut1n34gtyvwic7
2009-12-02 12:15:16 +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) fda2b950eb [IMP] change copyright with AGPL
bzr revid: hmo@tinyerp.com-20091127072348-5ktqotiyxhh99wh7
2009-11-27 12:53:48 +05:30
Harry (Open ERP) 68120f6438 [FIX] service : convert port into integer
bzr revid: hmo@tinyerp.com-20091126093812-okdbgtuy7y6qwhwb
2009-11-26 15:08:12 +05:30
Harry (Open ERP) 32c1411ebd [FIX] service: used default http port and net rpc port from config
bzr revid: hmo@tinyerp.com-20091126093155-k8wdgq4elnlk1aag
2009-11-26 15:01:55 +05:30
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 1956e79494 Net-RPC: armor the thread, provide stats and inf. timeout.
This fixes near-persistent connections where the client will take
long to respond. It is better to keep the connection open, than to launch
more threads and use ports.

bzr revid: p_christ@hol.gr-20091028004002-8y5iprfizzsktlkv
2009-10-28 02:40:02 +02:00
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
P. Christeas 6affaee1ab [IMP] Convert: two minor typos and tab expansion.
bzr revid: p_christ@hol.gr-20091027201244-1qiwghq61o3a6cq8
2009-10-27 22:12:44 +02:00
P. Christeas 870afd7445 [IMP] If SSL connection fails, close the socket.
Happened when a non-ssl client tried to connect to an ssl socket: the negotiation
would fail and then the socket hanged open until the client would decide to
disconnect.

bzr revid: p_christ@hol.gr-20091026152518-xvi8zyk02iiwy460
2009-10-26 17:25:18 +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 be011d4302 Two hacks to make it python2.5 compatible..
.. but still, the http server lib in 2.5 is broken and won't respond
right.

bzr revid: p_christ@hol.gr-20090908163914-xb3i1ojwrl53bv29
2009-09-08 19:39:14 +03:00
P. Christeas 214eb96758 HTTPSd: fix crash of server when no ssl available.
bzr revid: p_christ@hol.gr-20090908081516-hnbdn0mvqfy06qws
2009-09-08 11:15:16 +03:00
P. Christeas a17a31abe1 Remove debuggint print's
bzr revid: p_christ@hol.gr-20090903215338-0z39w3mp1iqxlwv8
2009-09-04 00:53:38 +03:00
P. Christeas feca055dea Implement basic-authenticated services. Log messages.
bzr revid: p_christ@hol.gr-20090903210802-7bmexrzduofhhxm2
2009-09-04 00:08:02 +03:00
P. Christeas 643b76682a Don't print messages, log them..
bzr revid: p_christ@hol.gr-20090903130145-iybg1xtmxg6xylhk
2009-09-03 16:01:45 +03:00
P. Christeas 69b1313fbb Bring back net-rpc service.
This commit re-enables net-rpc, using a port of the old code.

bzr revid: p_christ@hol.gr-20090903130038-4a0jq10x6dhb9qxx
2009-09-03 16:00:38 +03:00
P. Christeas 0a838fba3a Fix https transports, certificates etc.
Now we can serve https: the send_error() must be fixed so that
content-lenth is specified, certificates are configurable and
connections get properly shutdown so that the client won't wait
forever.

bzr revid: p_christ@hol.gr-20090831132956-00atxsfcy3qkdw4j
2009-08-31 16:29:56 +03:00
P. Christeas a267ef5d05 [IMP] reorder the imports in websrv_lib.
bzr revid: p_christ@hol.gr-20090831093703-vysodh51eczb1hcd
2009-08-31 12:37:03 +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
P. Christeas 2c638055db Merge commit 'origin/master' into xrg
Conflicts:
	bin/service/security.py

bzr revid: p_christ@hol.gr-20090813120414-hzfsqq90kr7or65n
2009-08-13 15:04:14 +03:00