nicobo
b75b4c536f
Create dockerhub.yml
...
Github Action to build & push image to docker hub
2020-12-20 22:59:58 +01:00
nicobo
39bcabf20f
PyYAML requires Python 3.5+
2020-12-20 22:42:04 +01:00
nicobo
aaa277e8fc
~ fixes python versions and requirements.txt not existing anymore
2020-12-20 22:21:27 +01:00
nicobo
a741194deb
+ docker build
2020-12-20 15:46:57 +01:00
nicobo
be6646c1ff
fixed : make sure python3 is used (not python 2)
2020-12-20 15:46:17 +01:00
nicobo
9deb1281d1
+ setup.py to package it
...
+ option to display the version
+ importing the version from git metadata
2020-12-20 15:45:38 +01:00
nicobo
d84298bc59
requirements.txt split in build & runtime to make it clear
2020-12-20 15:43:38 +01:00
nicobo
75840b057f
+ testing with minimum required Python version (3.4.2)
2020-05-29 08:27:31 +02:00
nicobo
707a881931
+ returns the status as a dict for simpler usage from other Python programs
2020-05-26 23:15:53 +02:00
nicobo
207ff6c394
+ comment
2020-05-26 22:39:08 +02:00
nicobo
95e142ea81
+ test on max_count
2020-05-26 22:37:08 +02:00
nicobo
6d3162cf2d
+ testing also against latest python versions
2020-05-26 22:36:53 +02:00
nicobo
ea65ac77f7
~ test/ renamed into tests/
2020-05-24 07:26:53 +02:00
nicobo
32b4ee6bdc
+ travis ci badge
2020-05-24 00:02:25 +02:00
nicobo
f91738abcb
+ unit test for askbot
...
~ removed unused class arguments
~ fixed : imports are now relative so they can be imported from tests
2020-05-23 23:42:09 +02:00
nicobo
b7215b1c1f
~ Status class replaced with a simple dict ~ Status object returned normalized betwee, askbot & transbot + transbot now returns a JSON status like askbot
2020-05-23 23:00:26 +02:00
nicobo
3848a22933
~ __main__ code moved to run() to make it easier to test
2020-05-23 13:51:45 +02:00
nicobo
fa9d238f63
Merge pull request #27 from nicolabs/jabber
...
Jabber
2020-05-22 23:21:44 +02:00
nicobo
162242bdf9
~ fixed misnamed argument
2020-05-22 22:17:17 +02:00
nicobo
312617df42
~ updated sample conf with latest changes
2020-05-22 15:02:04 +02:00
nicobo
ebeb3b7756
~ More arg parsing refactoring : centralizing code
2020-05-22 14:54:58 +02:00
nicobo
cb58f3f2a6
~ common/specific options parsing disptached into bot.py, signalcli.py and jabber.py
2020-05-22 09:15:50 +02:00
nicobo
646847e7ac
- remove ~/.xtalk support (does not look standard)
...
~ options username, password, group are now backend-specific, they only
share convenient default options
~ options names fixed for config file compatibility
2020-05-22 08:37:17 +02:00
nicobo
40419d714d
+ connect method to Chatter + jabber backend to askbot ~ fixed : config.recipient -> config.recipients
2020-05-22 07:32:03 +02:00
nicobo
ce57a9c932
+ Jabber implementation using slixmpp
2020-05-22 07:29:52 +02:00
nicobo
26aad8095a
~ minor doc update
2020-05-21 06:50:26 +02:00
nicobo
c8c4ec0c3c
Merge branch 'master' of github.com:nicolabs/nicobot
2020-05-20 22:53:16 +02:00
nicobo
e29c094a96
Full review of README
2020-05-20 22:47:55 +02:00
nicobo
a600e2a33b
Doc update
2020-05-20 20:14:05 +02:00
nicobo
afd716e00d
Merge pull request #23 from nicolabs/askbot
...
Askbot
2020-05-20 07:37:01 +02:00
nicobo
4be7b28799
+ sample conf for askbot
2020-05-20 07:29:08 +02:00
nicobo
3ba2545bc8
~ --username short option is now -U
2020-05-20 07:16:04 +02:00
nicobo
96f554b4b0
+ askbot readme
2020-05-20 07:15:33 +02:00
nicobo
f84586703d
~ Now cleany exits (let the bot treat the last messages)
2020-05-20 07:14:14 +02:00
nicobo
fc2bbf90cb
+ logs
2020-05-20 07:13:25 +02:00
nicobo
6a7058dde7
~ now returns the full status ~ options refactored a little bit ~ a few bug fixes + takes multiple patterns as options
2020-05-20 07:12:39 +02:00
nicobo
abd80401ca
~ timeouts renamed
...
~ send_timeout increased to 30s
- no need to bline.decode() (and may throw an error depending on the
encoding)
2020-05-18 23:19:19 +02:00
nicobo
3af20f9814
+ logs on exit
2020-05-18 23:15:20 +02:00
nicobo
3677fb2310
~ fixed : if keywords contained special characters they were interfering message matching (occuring false matches)
...
+ logs
2020-05-18 23:15:02 +02:00
nicobo
04846ca4cb
+ askbot initial code (to be continued)
2020-05-17 09:34:14 +02:00
nicobo
2fd0ca3859
Merge pull request #20 from nicolabs/prepare-multibot
...
Prepare multibot
2020-05-16 16:36:50 +02:00
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