Commit Graph

136 Commits

Author SHA1 Message Date
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
P. Christeas 7e9d338e7f Security: check_creds is not really needed, use "check"
The "check" function would not return a False value anyway, so don't use
wrapping one.

bzr revid: p_christ@hol.gr-20090813115126-hv1uz009ltcnid2y
2009-08-13 14:51:26 +03:00
Christophe Simonis 06c062e6cf [FIX] security issue: avoid access to inactive users
[FIX] security issue: avoid access with 'None' password (Thanks to P. Christeas for the bug report)

bzr revid: christophe@tinyerp.com-20090813111224-f05a3z5i0wvewy85
2009-08-13 13:12:24 +02:00
P. Christeas c6e4214daa [SEC] [CRITICAL] Forbid RPC calls w/o credentials.
This is a major security fix.

bzr revid: p_christ@hol.gr-20090813081646-yr0ghe5uu80my7d3
2009-08-13 11:16:46 +03:00
SME,JVO 93636db0c3 [FIX] Login : Login and password accepting accented characters
lp bug: https://launchpad.net/bugs/409343 fixed

bzr revid: jvo@tinyerp.com-20090806085328-os4ymz6mjjp0qw2d
2009-08-06 14:23:28 +05:30
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
Naresh Choksy 02cb96454e [IMP]:OS Locale for environment Info
bzr revid: nch@tinyerp.com-20090714123809-t8i4d3akkcjlu76q
2009-07-14 18:08:09 +05:30
Naresh Choksy 6926d61d73 [IMP]:ENvironment INFO
bzr revid: nch@tinyerp.com-20090714053117-2c3aoviemgv0zwae
2009-07-14 11:01:17 +05:30
Olivier Laurent 9b8f222fd9 [MERGE]
bzr revid: olt@tinyerp.com-20090709083913-0jkpicud1kdq01um
2009-07-09 10:39:13 +02:00
Olivier Laurent bf135aa980 [FIX] supply password problem with pg_dump, pg_restore on win32
bzr revid: olt@tinyerp.com-20090709083804-5k6czusnzrmb0ppx
2009-07-09 10:38:04 +02:00
NCH b4ce6fc837 [IMP] Improved environment information message
bzr revid: hda@hda-20090708111232-9jgxvv1id35t9q26
2009-07-08 16:42:32 +05:30
Naresh Choksy a545d53fdd [IMP]
bzr revid: nch@tinyerp.com-20090708094351-70vyfsutktr3lyjf
2009-07-08 15:13:51 +05:30
Naresh Choksy 897c51264b [IMP]:Environment:INFO
bzr revid: nch@tinyerp.com-20090708071416-x6fal8uij0wthj3f
2009-07-08 12:44:16 +05:30
Naresh Choksy 8f300df195 [IMP]:Environment Information
bzr revid: nch@tinyerp.com-20090707100207-kmfwmpks7kis1v7b
2009-07-07 15:32:07 +05:30