Commit Graph

826 Commits

Author SHA1 Message Date
02838658b0 Fix communication over unix socket 2017-07-18 00:42:11 +02:00
1a813083e5 Handle multiple SIGTERM 2017-07-18 00:42:11 +02:00
3fbeb49a6c suivi: add fedex 2017-07-18 00:42:11 +02:00
f5f13202c5 suivi: use getURLContent instead of call to urllib 2017-07-18 00:42:11 +02:00
aeba947877 tools/web: fill a default Content-Type in case of POST 2017-07-18 00:42:11 +02:00
b27e01a196 tools/web: improve redirection reliability 2017-07-18 00:42:11 +02:00
4d68410777 tools/web: forward all arguments passed to getJSON and getXML to getURLContent 2017-07-18 00:42:11 +02:00
384fbc6717 Update weather module: refleting forcastAPI changes 2017-07-18 00:42:11 +02:00
63e65b2659 modulecontext: use inheritance instead of conditional init 2017-07-18 00:42:11 +02:00
bdf8a69ff0 Avoid stack-trace and DOS if event is not well formed 2017-07-18 00:42:11 +02:00
4f1dcb8524 [nextstop] Use as system wide module 2017-07-18 00:42:11 +02:00
6d2f90fe77 Allow module function to be generators 2017-07-18 00:42:10 +02:00
2e5834a89d Parse server urls using parse_qs 2017-07-18 00:42:10 +02:00
26d1f5b6e8 Format and typo 2017-07-18 00:42:10 +02:00
40fc84fcec Implement socket server subparse 2017-07-18 00:42:10 +02:00
449cb684f9 Refactor file/socket management (use poll instead of select) 2017-07-18 00:42:08 +02:00
6d8dca211d Use fileno instead of name to index existing servers 2017-07-16 21:17:48 +02:00
1c21231f31 Use super() instead of parent class name 2017-07-16 21:17:48 +02:00
2a3cd07c63 Documentation 2017-07-16 21:17:48 +02:00
b5d5a67b2d In debug mode, display running thread at exit 2017-07-16 21:17:48 +02:00
4c11c5e215 Handle case where frm and to have not been filled 2017-07-16 21:17:48 +02:00
a0c3f6d2b3 Review consumer errors 2017-07-16 21:17:48 +02:00
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
6cd299ab60 New keywords class that accepts any keywords 2017-07-16 21:17:48 +02:00
fc14c76b6d [rnd] Add new function choiceres which pick a random response returned by a given subcommand 2017-07-16 21:17:48 +02:00
24eb9a6911 Can attach to the main process 2017-07-16 21:17:48 +02:00
38fd9e5091 Remove legacy prompt 2017-07-14 12:35:55 +02:00
a7d7013639 Fix and improve reload process 2017-07-14 12:35:55 +02:00
9dc385a32a New argument: --socketfile that create a socket for internal communication 2017-07-14 12:35:55 +02:00
150d069dfb New CLI argument: --pidfile, path to store the daemon PID 2017-07-14 12:35:55 +02:00
f160411f71 Catch SIGUSR1: log threads stack traces 2017-07-14 12:35:55 +02:00
b0678ceb84 Extract deamonize to a dedicated function that can be called from anywhere 2017-07-14 12:35:55 +02:00
57275f5735 Catch SIGHUP: deep reload 2017-07-14 12:35:55 +02:00
ec512fc540 Do a proper close on SIGINT and SIGTERM 2017-07-14 12:35:55 +02:00
7bc37617b0 Remove prompt at launch 2017-07-14 12:35:55 +02:00
1858a045cc Introducing daemon mode 2017-07-14 12:35:55 +02:00
1b108428c2 Fix issue with some non-text messages 2017-07-14 12:35:55 +02:00
08a7701238 whois: add @lookup keyword to perform research in the list 2017-07-14 12:35:55 +02:00
be9492c151 weather: don't show expire date if not provided 2017-07-14 12:35:30 +02:00
679f50b730 alias: fix lookup replacement when empty list 2017-07-14 12:30:21 +02:00
2334bc502a alias: add syntax to handle default variable replacement 2017-07-14 12:30:21 +02:00
c3f2c89c7c alias: only perform alias expansion on Command 2017-07-14 12:30:15 +02:00
920506c702 wolframalpha: avoid content that is not plaintext 2017-07-14 09:33:34 +02:00
aefc0bb534 event: don't forward d_init if None 2017-07-14 09:32:41 +02:00
52b3bfa945 suivi: add postnl tracking 2017-07-14 09:23:57 +02:00
c8c9112b0f syno: CRISCO now speaks utf-8 2017-07-14 08:56:37 +02:00
7a48dc2cef whois: new URL to pick picts 2016-09-19 01:01:44 +02:00
0efee0cb83 [mediawiki] parse Infobox 2016-07-30 21:11:38 +02:00
3301fb87c2 [more] line_treat over an array 2016-07-30 21:11:25 +02:00
3f2b18cae8 [mediawiki] Permit control of ssl and absolute path through keywords 2016-07-30 21:09:18 +02:00