Commit graph

24 commits

Author SHA1 Message Date
nicobo
2deae285b5
~ Doc fixes / enhancement 2020-05-16 16:33:44 +02:00
nicobo
9eec6a5d70
~ renamed sample-conf into transbot-sample-conf 2020-05-16 16:17:18 +02:00
nicobo
624680c049
+ timestamp in logs (fixes #16)
- logger name from logs
2020-05-16 00:25:00 +02:00
nicobo
e6a1a7b729
Merge branch 'master' of github.com:nicolabs/nicobot 2020-05-16 00:13:35 +02:00
nicobo
c40967909a
+ uses unicode's likely subtags to find the best country flag matching a given language ; fixes #8
+ stripping strings in a few places to remove possible empty new lines
+ logging a few exceptions just in case
2020-05-16 00:13:19 +02:00
nicobo
f4464aa0e3
Fixed: not all messages in a batch were returned to the bot engine 2020-05-16 00:09:55 +02:00
nicobo
4da5d98877
+ allows empty hello and goodbye banners (fixes #18) 2020-05-15 22:36:01 +02:00
nicobo
cfcce9123a Minor doc fix 2020-05-15 13:58:55 +02:00
nicobo
9706304cda Doc update 2020-05-15 13:55:52 +02:00
nicobo
7eb085ba3a
+ stealth mode both generic and signal-specific (fixes #19)
+ TRACE log level
~ disabling __main__ in signal code for now (in relation with #10)
2020-05-15 08:07:29 +02:00
nicobo
b3cf12b838
Merge branch 'master' of github.com:nicolabs/nicobot 2020-05-15 00:54:22 +02:00
nicobo
d651539341
Fixed : timestamp was wrongly set at the first sent message (which revealed a bug when an initial message is not sent, being None) 2020-05-15 00:54:02 +02:00
nicobo
1ecfe58f55
+ allows disabling hello and goodbye if they're empty
~ fixed wrong log
2020-05-15 00:52:26 +02:00
nicobo
bd817f3691
~ fixed : compatibility with raspbian (older) pyyaml version
~ cleaner locale handling
~ updated installation 
+ a few more logs
2020-05-14 23:58:19 +02:00
nicobo
eba95ce20c Typo fix 2020-05-14 07:06:53 +02:00
nicobo
698335d3b9
+ helpers.py (filter_files)
- --language (only --language-file is really useful)
+ specific case to translate into a given langaue (fixes #3)
2020-05-13 23:53:12 +02:00
nicobo
d2545b2f0c
+ Adding a template for all messages : fixes #15 2020-05-13 07:33:13 +02:00
nicobo
4b57c1107d
Fixes #13 : using \b word boundaries to better isolate keywords in messages 2020-05-12 23:57:08 +02:00
nicobo
9466e8378c
+ allowed multiple times --keywords-file
~ keywords.json replaced with others *.keywords.json
2020-05-12 23:33:49 +02:00
nicobo
a68935e402
~ Fixed : loadKeywords would crash with the new return format of translate() 2020-05-12 22:33:50 +02:00
nicobo
bf6a56d5df
+ manually added "Hi" to the keywords
+ hello keywords moved to a separate file
+ goodbye keywords
2020-05-12 22:33:02 +02:00
nicobo
1133d6c213
+ increased number of attempts to 5 because it doesn't find a translation too often with only 3
+ fixes #7 : increased logs (not truncating anymore + added full 
translation response + added winner language)
~ translate now returns the full JSON answer rather than only the text
2020-05-12 22:06:20 +02:00
nicobo
bfe3cda1e0
+ working code with console and signal backend 2020-05-12 07:46:27 +02:00
nicobo
f158af1fc6
Initial commit 2020-05-05 08:05:32 +02:00