Commit Graph

140 Commits

Author SHA1 Message Date
P. Christeas 7168a11f68 Fix reading the log_level config setting.
bzr revid: p_christ@hol.gr-20090106093606-er3cioflqjccebg5
2009-01-06 11:36:06 +02:00
Stephane Wirtel 7fdf5188af [REF] Cleanup
bzr revid: stephane@tinyerp.com-20090105191456-26c6brzxqbjvfb7o
2009-01-05 20:14:56 +01:00
Stephane Wirtel 6d1312b739 [REF] Clean the old code
bzr revid: stephane@tinyerp.com-20090105185520-ctkecsx6dagy3jkk
2009-01-05 19:55:20 +01:00
Stephane Wirtel 9d293d1f00 [IMP] Update the copyright to 2009
bzr revid: stephane@tinyerp.com-20090104221329-rem11cbgwu30xnji
2009-01-04 23:13:29 +01:00
Stephane Wirtel f85e820297 [IMP] Shutdown all handlers of the logger
bzr revid: stephane@tinyerp.com-20081230175825-tp4zb02tj7py0pb4
2008-12-30 18:58:25 +01:00
Christophe Simonis dfa35ce376 [IMP] better exception handling in netscv
bzr revid: christophe@cobalt-20081230173046-ise36mjkxdi69q4x
2008-12-30 18:30:46 +01:00
P. Christeas 12bcce44c4 Merge branch 'master' of openobject-server into mdv-gpl3
Conflicts:
	bin/openerp-server.py

bzr revid: p_christ@hol.gr-20081230132911-6d9bfzlx8j9osj2q
2008-12-30 15:29:11 +02:00
Christophe Simonis b86bfc4e61 [FIX] all loggers are exclusives -> python 2.4 compatible
bzr revid: christophe@cobalt-20081229102451-m9my1c0dezd7wk8q
2008-12-29 11:24:51 +01:00
P. Christeas cb42fd7a59 Merge branch 'master' of /home/panos/tmp/tinyerp/openobject-server/ into mdv-gpl3
Conflicts:
	bin/addons/base/ir/ir_actions.py
	bin/report/interface.py
	bin/tools/config.py

bzr revid: p_christ@hol.gr-20081228102522-po9ix8j0l6f5akxp
2008-12-28 12:25:22 +02:00
Christophe Simonis 2bc319d919 [FIX] encoding problems with the logger
lp bug: https://launchpad.net/bugs/311528 fixed

bzr revid: christophe@taupe-20081226150551-bk3rfyzba2lq2emu
2008-12-26 16:05:51 +01:00
P. Christeas a89ae314d2 Bring the changes from SecureXMLRPCServer.py
bzr revid: p_christ@hol.gr-20081223161823-xq6npt18t19hegri
2008-12-23 18:18:23 +02:00
P. Christeas a8229141bc Merge branch 'master' of openobject-server into mdv-gpl3-fwd
Conflicts:
	bin/netsvc.py
	bin/sql_db.py
	bin/ssl/SecureXMLRPCServer.py (note: fixes are lost now)

bzr revid: p_christ@hol.gr-20081223154608-fs0830k7vyo81m5u
2008-12-23 17:46:08 +02:00
Stephane Wirtel d0e988dc8f [IMP] Use the command line to get the filenames for the certficiate and private key files (SSL)
lp bug: https://launchpad.net/bugs/310703 fixed

bzr revid: stephane@tinyerp.com-20081222233528-20q3oiwpmlc5a2ik
2008-12-23 00:35:28 +01:00
Stephane Wirtel 933641d50c [FIX] Workaround for the use of the log level notset
bzr revid: stephane@tinyerp.com-20081222231956-lqhpz6r1g568hbpu
2008-12-23 00:19:56 +01:00
Stephane Wirtel cfc56e0b38 [IMP] Add a syslog handler
[IMP] Add an atexit callback to tell "Goodbye"
[IMP] Group the option for the logging
[IMP] Capability to disable the output to console with --log-level=notset

bzr revid: stephane@tinyerp.com-20081222230418-3ll0mqno8yz9z3jw
2008-12-23 00:04:18 +01:00
Stephane Wirtel b1f715419c [FIX] To please Tryton Devels
bzr revid: stephane@tinyerp.com-20081219151011-sen5qlzjohy7sau0
2008-12-19 16:10:11 +01:00
Stephane Wirtel 52291b2931 [FIX] Add the copyright from Tryton for a bugfix in the OpenSSL support
bzr revid: stephane@tinyerp.com-20081219145812-jsoid8lmuiqpgny9
2008-12-19 15:58:12 +01:00
Christophe Simonis 2b23749417 [FIX] OpenSSL is no longer required
bzr revid: christophe@cobalt-20081219105528-geqgxmzdx9grz34t
2008-12-19 11:55:28 +01:00
Stephane Wirtel 12e2aef08c [FIX] XML-RPC SSL
bzr revid: stephane@tinyerp.com-20081218235433-cnsc5a4iyfzqvbdx
2008-12-19 00:54:33 +01:00
Stephane Wirtel 70bd7ea91a [REF] Rename the variables
bzr revid: stephane@tinyerp.com-20081218214831-hbje1kxhmkblz82i
2008-12-18 22:48:31 +01:00
Christophe Simonis 65f7d198ec [IMP] I don't like the duplicated code
bzr revid: christophe@taupe-20081218202801-xnin2g0yd2njwmk9
2008-12-18 21:28:01 +01:00
Stephane Wirtel 6cede6020b [REF] Remove unused code
bzr revid: stephane@tinyerp.com-20081218193225-k517sb10l4qdzrbk
2008-12-18 20:32:25 +01:00
Stephane Wirtel c843e6a8c2 [REF] Refactoring
bzr revid: stephane@tinyerp.com-20081218191826-9s3ubtahbnj120eq
2008-12-18 20:18:26 +01:00
Stephane Wirtel 20e82c3cf9 [REF] Refactoring
bzr revid: stephane@tinyerp.com-20081218191314-jono5ck1rucut52p
2008-12-18 20:13:14 +01:00
Stephane Wirtel cfd194c028 [REF] Refactoring
bzr revid: stephane@tinyerp.com-20081218181341-dshfntv4olwgcbyx
2008-12-18 19:13:41 +01:00
P. Christeas 18b1a8a843 Merge commit 'origin/master' into mdv-gpl3-fwd
Conflicts:

	bin/addons/base/ir/ir_actions.py
	bin/netsvc.py
	bin/report/report_sxw.py
	bin/tools/translate.py

bzr revid: p_christ@hol.gr-20081218164925-uarehzvo3ocu0x2w
2008-12-18 18:49:25 +02:00
Christophe Simonis 7f1ead5a54 [IMP] add a new log-level to allow debug netrpc messages
[IMP] change the log level to CRITICAL when then address can not be bind.

bzr revid: christophe@cobalt-20081218101043-aornsyiulhm0teue
2008-12-18 11:10:43 +01:00
Christophe Simonis b53c23bce0 [FIX] fix python2.4 compatibility
bzr revid: christophe@cobalt-20081218090701-n7acd0nmsilygkjy
2008-12-18 10:07:01 +01:00
P. Christeas bf1d0a2535 Merge commit 'origin/master' into mdv-gpl3-fwd
bzr revid: p_christ@hol.gr-20081215182709-rusb3oq7npwecnt7
2008-12-15 20:27:09 +02:00
Mantavya Gajjar 66a6c4d10a improvement in the server action
bzr revid: mga@tinyerp.com-20081215130008-9aecetcvx93vav2w
2008-12-15 18:30:08 +05:30
Mantavya Gajjar c0e1fc3452 merginf from the trunk
bzr revid: mga@tinyerp.com-20081215123034-1gnqhxeteza8e183
2008-12-15 18:00:34 +05:30
P. Christeas 087f5bc171 Merge commit 'origin/master' into mdv-gpl3
Conflicts:
	bin/report/interface.py
	bin/tools/translate.py

bzr revid: p_christ@hol.gr-20081215095422-9jc4m1qrknku6ux8
2008-12-15 11:54:22 +02:00
Stephane Wirtel e2e28edc2e [IMP] Remove print statements
bzr revid: stephane@tinyerp.com-20081215085128-4bug8e2yq5io3bvp
2008-12-15 09:51:28 +01:00
Fabien Pinckaers 8cb88b6054 improvements_bugfixes
bzr revid: fp@tinyerp.com-20081214164647-hku6dlqkd65fe8ry
2008-12-14 17:46:47 +01:00
Stephane Wirtel 38df72d010 [FIX] Check if dirname is empty or not
lp bug: https://launchpad.net/bugs/301983 fixed

bzr revid: stephane@tinyerp.com-20081212002815-hcc325x6gjp66lpg
2008-12-12 01:28:15 +01:00
Christophe Simonis 7b19f3ef8a [FIX] convert message to string before stripping
bzr revid: christophe@tinyerp.com-20081211085825-24fmjnkjn0db0y8q
2008-12-11 09:58:25 +01:00
Christophe Simonis 720126aeec [IMP] add a command line switch allowing to filter the log on the level
bzr revid: christophe@tinyerp.com-20081210235053-v54zj54vu3jebvib
2008-12-11 00:50:53 +01:00
Stephane Wirtel 2d4a21f9f2 [IMP] Change the presentation of the logger
bzr revid: stephane@tinyerp.com-20081210212354-zox0dl3v85yo6754
2008-12-10 22:23:54 +01:00
P. Christeas 281c7c980a Merge commit 'origin/master' into mdv-gpl3
bzr revid: p_christ@hol.gr-20081207195509-2tb8fb3d7qr2xigt
bzr revid: p_christ@hol.gr-20081210075901-97mt6chs3ljokpsx
2008-12-10 09:59:01 +02:00
Christophe Simonis 299627a144 [IMP] use psycopg2 instead of psycopg1
bzr revid: christophe@tinyerp.com-20081208140342-qstsqxm0xr5rppzz
2008-12-08 15:03:42 +01:00
Stephane Wirtel 59f316df19 [IMP] Improve the logging of error for LocalService
bzr revid: stephane@tinyerp.com-20081127082720-zoqwogtk09l0dipw
2008-11-27 09:27:20 +01:00
Stephane Wirtel 07f8f4943d [FIX] Use the logger for the message 'Address already in use'
bzr revid: stephane@tinyerp.com-20081125114300-xb0cprmc9ked3pr5
2008-11-25 12:43:00 +01:00
Stephane Wirtel 008c0f0ee9 [FIX] Use makedirs to create the directory for the file handler for the logging
lp bug: https://launchpad.net/bugs/301865 fixed

bzr revid: stephane@tinyerp.com-20081125103500-4txmseev1fp8m7vf
2008-11-25 11:35:00 +01:00
P. Christeas 8220e0ad02 Merge commit 'origin/master' into mdv-gpl3
Conflicts:
	bin/tools/convert.py

bzr revid: p_christ@hol.gr-20081025224421-g367ati5b2eeplw6
bzr revid: p_christ@hol.gr-20081104201238-oy0vgsunt2jxgu2p
2008-11-04 22:12:38 +02:00
Christophe Simonis e404e54e38 passing in GPL-3
bzr revid: christophe@tinyerp.com-20081103182716-6c6xyeewubx4uas0
2008-11-03 19:27:16 +01:00
Christophe Simonis 0649604ee1 merge syleam branch
bzr revid: christophe@tinyerp.com-20081020120537-ncgcqa2vzlo6of0j
2008-10-20 14:05:37 +02:00
P. Christeas c97ce70ba7 Fix logger issues.
First, we have to import logger.handlers. Second, the logic behind
enabling the colors was reversed, so that escapes don't show up in
the file.

bzr revid: p_christ@hol.gr-20080928163334-pibi94nvkan0xr9e
2008-09-28 19:33:34 +03:00
Jay Vora 34fcda731a Added Groups option for report,wizard and act_window.
bzr revid: jvo@tinyerp.com-20080918140205-dod9qocp1n1u9q0b
2008-09-18 19:32:05 +05:30
Christophe Simonis f163eb5624 add color in logger
bzr revid: christophe@tinyerp.com-20080912084521-3zn8klcq3c37bg22
2008-09-12 10:45:21 +02:00
mga@tinyerp.com 7e5aa37c67 * add comment to the netsvc
bzr revid: mga@tinyerp.com-20080820190912-wbmp3hnuuc5lc4fh
2008-08-21 00:39:12 +05:30
mga@tinyerp.com 73c21a4237 * add colum which is used in the orm `group_name`
* add field in to the ir_model_fields `group_name`
* add method state_change in to the `ir.module.module`

bzr revid: mga@tinyerp.com-20080820190608-kne60tnsltzdnsfl
2008-08-21 00:36:08 +05:30
Fabien Pinckaers a7b0cfd6f5 Fix From C2C:
~c2c/openobject-server/openobject-server-log-bug
Bugfixes in Expression

bzr revid: fp@tinyerp.com-20080819225254-6gg6j2dalz666oti
2008-08-20 00:52:54 +02:00
Christophe Chauvet d7d204b65b Exit properly when port is already used
bzr revid: christophe.chauvet@syleam.fr-20080812163216-h9mcf053tl1101wx
2008-08-12 18:32:16 +02:00
Olivier Laurent cc5a062faf pep8
bzr revid: olt@tinyerp.com-20080812144456-xvh2y1ybziok9twi
2008-08-12 16:44:56 +02:00
Christophe Simonis 2eb6b8265b add encoding comment and vim comment
bzr revid: christophe@tinyerp.com-20080723150127-fmitw7zgeokcualh
2008-07-23 17:01:27 +02:00
Christophe Simonis 2dd9723b8b convert tabs to 4 spaces
bzr revid: christophe@tinyerp.com-20080722142436-143iu4ryy47w3av0
2008-07-22 16:24:36 +02:00
stw fa973350b9 add the copyright
bzr revid: stw-6e4c16268c7d6111a353b94a6a629d2ca53d0474
2008-06-16 07:24:04 +00:00
Christophe Simonis 12febba1af bugfix: now all xmlrpc services are available on the server
bzr revid: chs@tinyerp.com-6d1dda3cfd9a7f71eec78ae198f0922b245a7ffb
2008-06-05 13:48:12 +00:00
ced e9b7a4ef12 Don't launch server in non secure if secure have been ask.
bzr revid: ced-2502a6622822d5eb7f639abd6b6ac3f5334fed5d
2007-11-27 15:43:56 +00:00
ced c844422d20 Improve exception: don't log exception_{osv, orm, wizard}
bzr revid: ced-6bdaf4ebdab2dcded046448506f94daa0edc4c70
2007-09-05 14:02:26 +00:00
ced d7ee32028d Log message format like for apache
bzr revid: ced-85364a5f6ad1fed55aa455fe5896203bba0960d3
2007-08-30 14:22:15 +00:00
Fabien Pinckaers 37246631d6 Modifs
bzr revid: fp@tinyerp.com-1970125c74e5934e759bbb62eb5d77e20d404d48
2007-08-13 20:34:13 +00:00
ced c96337643d Improve threads in netrpc
bzr revid: ced-c0433cae35f57fe36fde662450cad35130324953
2007-08-13 07:50:01 +00:00
ced 2b9c12af43 Fix stop server with ssl enable
bzr revid: ced-1315f63f508c4e7ad1fcfbdfb73ee10af5a9b894
2007-08-13 07:49:59 +00:00
ced 1cee6d32cf improve tiny_socket exception
bzr revid: ced-26049a63bda7b1543a0b2b8f4efbcb94006604ab
2007-08-09 08:17:48 +00:00
ced 74ec4e421e kernel: remove print
bzr revid: ced-dcc5c751867eb07ba9867ded5755d1c6578f7ab4
2007-07-26 08:31:24 +00:00
ced d9d0678328 kernel: don't use mutable as default value in function defintion.
bzr revid: ced-824ee7e22dca5a4b4f2d8d5095aa20650f5a2469
2007-07-23 05:16:03 +00:00
ced df93906a9e kernel: remove print and use logger
bzr revid: ced-14412798a4e99f6e4ac267a7f5b85b62ec740562
2007-07-17 08:28:25 +00:00
ced feddc3e6e7 KERNEL: fix ir.cron must start only once instance when server run with update args
bzr revid: ced-bd7423814d9f1526baa475e379e897de732dd768
2007-06-26 09:43:20 +00:00
ced 6f524993c3 KERNEL: add test for duplicate report and wizard
Remove/Fix all the duplicate report and wizard
Don't instanciate auto report when update as there are already
Instanciate auto report only if it don't exist in netsvc

bzr revid: ced-f59b375f6fc502b8a3e6009162502e2becfc82f7
2007-06-07 12:00:30 +00:00
ced b1a5b029a7 KERNEL: fix compatibility for python2.5
bzr revid: ced-78889d847db53c5736858fd3c423d20e7ee23ba7
2007-06-05 08:19:14 +00:00
bch 95aef51ee5 Bugfix Concunrrency write : increased the db precision for the write date + update read_time value very shortly after the write on the server side. This ovoid some problem when somebody clic on save button very nervously
bzr revid: bch-31a0315e15c40fed080843b1f5f0d9499eda0b04
2007-05-09 10:37:59 +00:00
Husen Daudi 40bed640be bzr revid: hda@tinyerp.com-4429532dbe7569da981caa4538b5488b7f7d10ac 2007-05-03 08:01:49 +00:00
ced 3f2603b3a7 KERNEL: remove print
bzr revid: ced-4310d0f0745a4857e05c65eee3dc9b78c5eb8244
2007-04-16 13:46:47 +00:00
ced 881fa80438 CLIENT,SERVER: improve error message on client side
bzr revid: ced-6733fdd8bfd68743d3edaedf0d36da74287f11b8
2007-04-16 11:42:46 +00:00
Dhara Shah 5d5069b294 bzr revid: dsh@tinyerp.com-e52c02f5293c88ec4dcfc8b4cc5d0005dedf74af 2007-04-16 08:42:32 +00:00
ced 45674fbabe KERNEL: use python 2.3 format_exception
bzr revid: ced-55c0c6a6a649faa6488447f6db42175131f4af2d
2007-03-26 06:51:54 +00:00
ced 82eeab710a CLIENT/SERVER: improve tiny_socket for exception and remove some bad print
bzr revid: ced-5911d9548ae7c671f8c41718d1ca4459fb9c1f52
2007-03-13 15:11:29 +00:00
ced fa881c99cb KERNEL: fix log of backtrace
bzr revid: ced-5fcc911f81bf6d0af47afa0415d7e95aa8d7edc8
2007-03-13 13:10:51 +00:00
ced c699c3c54f KERNEL: fix for compatibility with python2.3
bzr revid: ced-5018cb134ef8e707946aa014f6115488f8c233b3
2007-03-08 20:11:50 +00:00
ced ed25abf408 KERNEL; USERS_LDAP: fix for compatibility with python2.3
bzr revid: ced-e0c147ba38a4f1e84aef1e5c470ea80d56dcfad0
2007-03-08 20:10:05 +00:00
ced e2e065ce5b KERNEL,CLIENT: add right-click for translate label
bzr revid: ced-394d547d53fe085331431661ae7568dc792665e6
2007-02-28 21:50:24 +00:00
ced 840953821b CLIENT-SERVER: improve netrpc
bzr revid: ced-228717f183c1bf3b42dbe1e9df452bde0fb3645c
2007-02-03 22:58:57 +00:00
ced 740ce14be3 CLIENT-SERVER: improve socket connection
bzr revid: ced-11241ea0399272de36ac109cb6f40edf0668aa6a
2007-01-30 13:21:44 +00:00
ced 009458b21f CLIENT-SERVER: improve tinysocket
bzr revid: ced-3d982a7e0d38ab5f02fe518fd26b0806b36be6ba
2007-01-30 08:15:20 +00:00
ced bc3c024113 KERNEL & CLIENT: add socket to client
bzr revid: ced-03b3c4b66589c71ef47e688002e648c7887b94ae
2007-01-27 18:04:04 +00:00
ced 2160a47330 KERNEL: fix multisocket
bzr revid: ced-c8ed85742923230161fe7e3d43ad5f20d417ed71
2007-01-26 15:31:20 +00:00
ced 4376abed3f KERNEL: initial add of tinysocket
bzr revid: ced-46197cd2df22dc3b22288be8053614f71a95bf05
2007-01-25 12:30:41 +00:00
ced 956bcbf987 KERNEL: re-add pidfile
bzr revid: ced-59ecbbfaf459dc6c48dd065029510d57f1c5867a
2006-12-22 13:07:53 +00:00
pinky 004a0b996f New trunk
bzr revid: pinky-3f10ee12cea3c4c75cef44ab04ad33ef47432907
2006-12-07 13:41:40 +00:00