1
0
Fork 0
Commit Graph

30 Commits

Author SHA1 Message Date
nemunaire 30ec912162 daemonize: fork client before loading context 2018-01-14 19:19:00 +01:00
nemunaire 67cb3caa95 main: new option -A to run as daemon 2017-07-19 10:36:27 +02:00
nemunaire e8809b77d2 When launched in daemon mode, attach to the socket 2017-07-19 10:36:27 +02:00
nemunaire cde4ee05f7 Local client now detects when server close the connection 2017-07-19 10:36:27 +02:00
nemunaire 7791f24423 modulecontext: use inheritance instead of conditional init 2017-07-16 21:17:48 +02:00
nemunaire 7cf73fb84a Remove reload feature
As reload shoudl be done in a particular order, to keep valid types, and because maintaining such system is too complex (currently, it doesn't work for a while), now, a reload is just reload configuration file (and possibly modules)
2017-07-16 21:17:48 +02:00
nemunaire 24eb9a6911 Can attach to the main process 2017-07-16 21:17:48 +02:00
nemunaire 38fd9e5091 Remove legacy prompt 2017-07-14 12:35:55 +02:00
nemunaire a7d7013639 Fix and improve reload process 2017-07-14 12:35:55 +02:00
nemunaire 9dc385a32a New argument: --socketfile that create a socket for internal communication 2017-07-14 12:35:55 +02:00
nemunaire 150d069dfb New CLI argument: --pidfile, path to store the daemon PID 2017-07-14 12:35:55 +02:00
nemunaire b0678ceb84 Extract deamonize to a dedicated function that can be called from anywhere 2017-07-14 12:35:55 +02:00
nemunaire c06fb69c8b Extract tools.config as config module 2015-11-03 16:53:49 +01:00
nemunaire ea9829b341 Check command keywords using keyword help (passed in @hook) 2015-11-03 07:23:21 +01:00
nemunaire c6aa38147b Include some forgotten module in reload process 2015-11-03 07:21:49 +01:00
nemunaire ac33ceb579 Remove dead or useless code 2015-11-03 07:20:52 +01:00
nemunaire 7400957ac2 Bump version 4.0.dev3 2015-10-20 18:02:02 +02:00
nemunaire e925c47961 New function requires_version if module want to restrict to some version for compatibility 2015-10-20 18:00:31 +02:00
nemunaire 1b9395ca37 Doc 2015-05-25 16:44:27 +02:00
nemunaire 806ff1d4a0 Move main code to __main__.py 2015-05-25 16:44:24 +02:00
nemunaire e588c30044 Optimize imports 2015-05-25 16:44:16 +02:00
nemunaire 2e7a4ad132 Save timestamp in UTC format 2015-02-18 01:48:02 +01:00
nemunaire dacb618069 Increasing version number due to significant changes 2015-02-13 12:58:45 +01:00
nemunaire 1f5364c387 Reduce importance of importer; new tiny context for each module, instead of having entire bot context 2015-02-11 18:11:57 +01:00
nemunaire bafc14bd79 add_server can now be used before context start 2015-02-10 00:42:38 +01:00
nemunaire f66d724d40 Introducing data stores 2015-02-10 00:30:04 +01:00
nemunaire 55b1eb5075 Allow data_path to be None (don't load or save data) 2015-02-09 17:31:32 +01:00
nemunaire 38aea5dd37 Lock the data directory to avoid concurent modification of XML files 2015-01-05 02:49:21 +01:00
nemunaire 5a6230d844 [wip] changes import to reflect new directory structure 2015-01-05 02:48:49 +01:00
nemunaire 41f7dc2456 [wip] move files in order to have a clean directory structure 2015-01-04 15:14:35 +01:00