Cédric Krier
2b2001f1ca
Force UTC as timezone
...
issue3444
review1411002
2013-11-15 02:26:58 +01:00
Cédric Krier
263f8e57aa
Fix set password by refactoring
...
review1079003
2013-09-25 19:21:50 +02:00
Cédric Krier
02c69b629f
Use Transaction in TrytonServer to set correct Flavor
...
issue3372
review1070002
2013-09-18 13:39:14 +02:00
Cédric Krier
fc6c6cfdda
Migration to python-sql
...
* Use python-sql
* Add convert_domain method on Fields
* Add sql_format and sql_type methods on Fields
* Allow to return a full domain for Function.searcher
* Replace static backend by dynamic get method
* Replace order_field by order_<field name> method
review1001002
2013-09-06 22:32:37 +02:00
Cédric Krier
5e01f5c068
Fix flake8
2013-02-27 22:50:31 +01:00
Cédric Krier
d220d6460b
Add missing call to set_timezone
...
review599006
2012-12-05 13:40:49 +01:00
Nicolas Évrard
85ef891ffd
remove use of sha module
2012-11-08 16:57:58 +01:00
Cédric Krier
ea770e34b2
psyco is dead
...
issue2659
2012-10-09 11:12:27 +02:00
Cédric Krier
545aac3bf7
merge
2012-09-25 12:59:06 +02:00
Cédric Krier
0fe1b93864
Active Record
2012-09-24 22:16:53 +02:00
Pierre-Louis Bonicoli
301c6c8b20
When a database is initialized, admin password could be read from a file.
...
issue2780
review519002
2012-09-14 16:10:41 +02:00
Cédric Krier
ee3be37a36
Fix pep8 and pyflakes
2012-04-01 23:08:15 +02:00
Cédric Krier
423983c5de
Speed up bootstrap of the server (and remove sql import)
...
review292001
2012-03-20 17:50:17 +01:00
Cédric Krier
1b0a713dad
New autoreload that restarts the server instead of reloading modules
...
issue2417
review283001
2012-03-12 22:27:59 +01:00
Cédric Krier
eb6f2d754d
Default logging level should be INFO not DEBUG
2012-01-04 16:27:30 +01:00
Craig Barnes
f1d141d4bc
Disable cron for new database during initialisation
...
During database creation CRON error can be observed in the error log.
In slower machines the timing of the errors can cause a deadlock state as
the database is added to the cron while the cron tables are being initialised.
This leaves the database in an inconsistent and unusable state for the user.
To correct this I have exposed the pool lock by adding a lock property, and
required the server to acquire a lock on the database pool before it can start a
thread for it.
issue2234
review173001
2011-11-13 21:29:09 +00:00
Cédric Krier
18f69b825d
Allow to specify more than one interface
...
review58001
2011-08-09 12:24:34 +02:00
Cédric Krier
d5efbc62ad
Drop NetRPC and activate JSON-RPC by default
2011-08-06 14:31:24 +02:00
Cédric Krier
852f04dc51
Remove support of Python2.5 and fix py3 warnings
2011-07-12 00:16:15 +02:00
Cédric Krier
641cb99440
Improve cron
...
- Fix racing condition with long job
- Add user restriction for issue1817
- Remove unuseful fields:
- priority (all cron must be runned)
- running (never visible outside the transaction)
- Rename some field according to their label
- Remove "Work Days" interval type
- Add cron option to activate or not the cron
review38008
2011-06-14 11:28:51 +02:00
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