Cédric Krier
d80abe4548
Fix missing closing of database cursor
2011-05-16 12:22:43 +02:00
Nicolas Évrard
75d22650a9
Separate option handling in two methods for issue1911
2011-05-05 10:53:56 +02:00
Cédric Krier
8687b8914d
Handle closing of file objects
2011-01-08 20:29:00 +01:00
Phillip Heller
91184b1173
Factored out common daemon code from services to new trytond.protocols.com
...
Suppress Errno 57 when attempting to close an already shut socket, fixes issue1624
Revert from join() on enumerated threads to join() on individual service threadsto preserve debugging environments
2010-10-06 16:53:00 -04:00
Cédric Krier
483afed26a
Catch only Exception according to PEP 352
2010-07-08 19:53:39 +02:00
Cédric Krier
d80ac90dda
Fix logging formatter of logfile for issue1457
2010-03-26 19:01:26 +01:00
Cédric Krier
9eedc60aa0
Improve unittest to run test_suite inside setuptools
2010-03-12 17:47:49 +01:00
Cédric Krier
b5fb4d1ef3
Refactoring by validation with pylint
2010-02-18 18:50:35 +01:00
Cédric Krier
a964e4ac9e
Add JSON-RPC
2010-01-20 10:33:44 +01:00
Cédric Krier
cae0a76a3d
Remove egenix-mx-base and replace it by python-dateutil
2009-12-17 11:39:54 +01:00
Cédric Krier
90f3f5b16c
Rename HttpDaemon into XMLRPCDaemon
2009-11-13 12:41:43 +01:00
Cédric Krier
e3c01b43f8
Don't import trytond module before CONFIG parse to load the right database
...
engine.
2009-10-20 18:53:17 +02:00
Cédric Krier
f581e8997e
Parse option only if TrytonServer is instanciated for issue1182
2009-09-23 13:59:14 +02:00
Cédric Krier
c81c4f99a8
Add reload of modules if files have changed
2009-08-07 10:42:23 +02:00
Cédric Krier
2a47e4d95b
Fix SIGUSR1 to use database_list instead of connected_list
2009-07-31 19:22:03 +02:00
Cédric Krier
ab45d85e78
Add salt to sha of password
2009-07-29 16:27:18 +02:00
Cédric Krier
bd02e85cee
Don't use hardcoded true/false in SQL queries to be more database independant
2009-07-07 19:22:56 +02:00
Cédric Krier
1a10e5ffaa
Fix warnings for python 2.6 for issue915
2009-04-08 17:55:24 +02:00
Cédric Krier
11661e4418
Be more restrictive with error in configuration file for issue903
...
Add logging message when there is no configuration file
2009-03-27 17:15:47 +01:00
Cédric Krier
1e0deea686
Use threading enumerate function instead of a list with threads
2009-03-25 01:29:25 +01:00
Cédric Krier
bab0ad457e
Don't start the server if init or update without database option
2009-03-24 01:14:48 +01:00
Cédric Krier
53cc250bca
Fix typo and guidelines
2009-03-24 01:08:53 +01:00
Cédric Krier
1a94930de6
Don't start the server if bad database given
2009-03-24 01:08:34 +01:00
Cédric Krier
23d74a0469
Move webdav in protocols
2009-02-12 18:46:43 +01:00
Cédric Krier
a4455679bd
Move xmlrpc into protocols
2009-02-12 18:31:42 +01:00
Cédric Krier
73feb75837
Import netrpc only if needed
2009-02-12 18:31:22 +01:00
Cédric Krier
a83dbe80bb
Unify logging message from server
2009-02-11 20:57:42 +01:00
Cédric Krier
dc118bedea
Convert port number into config and fix rpc_paths for XML-RPC
2009-02-11 20:53:37 +01:00
Cédric Krier
5a94693494
Move netrpc into protocols
2009-02-11 20:37:24 +01:00
Cédric Krier
418682c9f5
Add check if ir.cron is in the pool for issue775
2009-02-11 19:23:36 +01:00
Cédric Krier
5594bb4e11
join ir.cron threads on SIGTERM for issue604
2009-02-11 19:02:52 +01:00
Cédric Krier
b75d10cd20
Use a new pool for object
...
Move workflow method in ModelWorkflow
Move workflow service in workflow module
Remove Service and LocalService
Remove web_service and use a dispatcher in protocols
New netrpc/xmlrpc syntax to be easier to introspect
2009-02-11 14:52:22 +01:00
Cédric Krier
bb5d16ca3e
Remove psycopg2 from server.py
2009-02-06 10:26:38 +01:00
Cédric Krier
f63aaa316d
Remove sql_db and add database in backend
2009-02-04 15:29:28 +01:00
Cédric Krier
3ca1bef5cf
Improve ir.cron call, let sleep longer for green computing compliance.
2009-01-14 14:25:18 +01:00
Cédric Krier
775cbadc77
Add logging shutdown before exit
2008-12-30 20:42:02 +01:00
Cédric Krier
dfaed546bc
Improve test on SIGUSR1
2008-12-23 19:06:26 +01:00
Cédric Krier
19b8ebf56c
Add test on SIGQUIT and SIGUSR1 as it is not defined on win32
2008-12-23 19:03:59 +01:00
Cédric Krier
ec23c57d3a
Use the creation date of the log file as starting point for rotation
2008-11-27 14:06:28 +01:00
Cédric Krier
f51d81cccc
Unsure to fill init for every database for issue610
2008-11-24 19:27:34 +01:00
Cédric Krier
a6e3174166
Handle SIGQUIT
2008-11-23 22:56:37 +01:00
Cédric Krier
2fda1a9332
Add 'stop server' logging
2008-11-23 16:48:54 +01:00
Cédric Krier
9ff90ce067
Allow egg installation working
2008-11-18 17:40:30 +01:00
Cédric Krier
78fe7f92d9
Add test on database for Tryton database
...
Prevent server to connect to non Tryton database
2008-10-29 15:49:54 +01:00
Cédric Krier
fb14e6abbe
Put the mx.DateTime.strptime fix globaly
2008-10-13 16:13:03 +02:00
Cédric Krier
7875d54854
Improve cron call delay
2008-10-01 15:59:34 +02:00
Cédric Krier
4df3110ead
Run cron directly after startup
2008-10-01 15:48:53 +02:00
Cédric Krier
3369b3f897
Handle SIGUSR1 to restart pool
2008-09-20 20:46:02 +02:00
Cédric Krier
d54bfc94d3
Handle secure configuration by services
2008-09-20 12:12:36 +02:00
Cédric Krier
6f784758e9
Move module into modules
2008-09-13 19:41:02 +02:00