Commit Graph
34 Commits
Author SHA1 Message Date
Cédric Krier 57fd329250 Use threads to initialize pool at startup
This speeds up when the server starts listening or working.

issue8370
review261531002
2019-06-16 19:19:30 +02:00
Cédric Krier d07f279557 Remove global variables in cron startup
It is better to follow the same startup design than other service.

issue8200
review259131002
2019-03-22 12:17:50 +01:00
Cédric Krier 28b2f1129d Add console
issue8126
review47821002
2019-03-15 12:53:20 +01:00
Cédric Krier 0d15afb90e Add coroutine concurrency option
issue8010
review53501002
2019-02-05 19:09:53 +01:00
Udo Spallek c5829cbee9 Only use existing config files in werkzeug reloader
issue7727
review66401002
2018-09-27 22:19:33 +02:00
Cédric Krier ae06a8bca2 Add transactional queue and workers
issue7406
review45461002
2018-07-27 09:32:28 +02:00
Cédric Krier d2a461390a Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:19 +02:00
Cédric Krier e85a4891ac Serve index.html for static directory
This allows to have shorter sao URL because it is without index.html.
Also this adds the support of static web root when launching WSGI app from a
different WSGI server.

issue6677
review45501002
2018-05-22 23:44:10 +02:00
Sergi Almacellas Abellana 6e92c8e3ba Add environment variables to wsgi script
issue6344
review32131002
2017-07-19 10:10:04 +02:00
Sergi Almacellas Abellana b37dd9706b Import cron after application is configured
Otherwise logging messages are not correctly emited

issue6532
review41341002
2017-05-30 17:07:12 +02:00
Sergi Almacellas Abellana 1484d6382f Allow to pass many configuration files
issue4780
review27471002
2016-08-22 11:28:25 +02:00
Cédric Krier 4923eb4baf Move as much as possible import after the configuration
issue5564
review25321002
2016-05-25 11:15:54 +02:00
Cédric Krier 8a4ba59b2d Switch to WSGI API
issue4646
review20541003
2016-03-15 16:57:26 +01:00
Cédric Krier 01a7cc59a8 Remove execfile from setup.py
issue4654
review15131002
2015-03-19 21:25:20 +01:00
Cédric Krier a8fcf1fc88 Remove old reference to -i option 2014-09-30 11:09:06 +02:00
Nicolas Évrard c9b20c3216 Define a default value for configfile
issue4164
review7571002
2014-09-19 11:55:55 +02:00
Cédric Krier 1fa2b084d9 Remove init option
issue4177
review6521003
2014-09-17 00:43:44 +02:00
Cédric Krier 7b3757f5a1 Merge update and init options and improve help message
- deprecates the init option
- replace the keyword "all" by an option "--all"
- rename debug into dev like in the client

issue4165
review7571003
2014-09-13 12:17:13 +02:00
Cédric Krier e0b995abbe Refactore configuration to allow easy extention
issue3627
review7401002
2014-09-03 23:32:01 +02:00
Pierre-Louis Bonicoli 3a8373db6e Use a configuration file for logging
issue4040
review10441002
2014-08-26 16:50:25 +02:00
Cédric Krier bc6acd08ee Drop support of Python 2.6
review2691002
2014-01-31 00:02:03 +01:00
Vincent van der Leun 90e019e01b Read config file path from TRYTOND_CONFIG env variable if no config file is specified.
issue3323
review1004002
2013-08-30 15:26:17 +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 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
Nicolas Évrard 75d22650a9 Separate option handling in two methods for issue1911 2011-05-05 10:53:56 +02:00
Cédric Krier b5fb4d1ef3 Refactoring by validation with pylint 2010-02-18 18:50:35 +01:00
Cédric Krier 8f34992d65 Remove strip and limit on print profile stats 2010-01-08 10:32:09 +01:00
Cédric Krier 7970e906c7 Fix profile mode and use --profile argv 2010-01-07 23:37:26 +01:00
Cédric Krier b46c5fd424 Guidelines 2009-08-28 15:01:15 +02:00
Bertrand Chenal cb4971ac6e Logging refectoring:
* simplified mechanism

* reverted color on error, warning and critical messages in
  console. (inspired by openerp rev. 1085)
2008-09-12 19:57:33 +02:00
Cédric Krier 918a845446 Rename trytond into server to avoid duplicate trytond module name 2008-08-27 11:19:17 +02:00
Cédric Krier 0232c66506 Fix COPYRIGHT 2008-06-23 20:18:54 +02:00
Cédric Krier 825533ab7b move trytond.py to bin for better script installation 2008-06-01 20:10:11 +02:00