Commit Graph

55 Commits

Author SHA1 Message Date
ivan aa3c2e49cc html parser from XRevan86 2017-06-18 17:31:35 +03:00
Alexei Sorokin 47aab1356e Escape the nick when forming a regexp 2017-06-18 12:15:29 +03:00
Alexei Sorokin 30e84cc7e6 Improve reconnecting ability
And increase timeout to 5 seconds.
2017-06-14 21:02:26 +03:00
Alexei Sorokin fd078c43ad Always display plugin errors
And fix !megakick once more.
2017-06-11 14:42:44 +03:00
Alexei Sorokin 720d17f6b9 Add basic Python plugins support 2017-06-09 18:28:28 +03:00
Alexei Sorokin 90855d4d89 Stop importing subprocess 2017-06-09 10:42:32 +03:00
Alexei Sorokin 91e05364f6 Fix !megakick broken after the slixmpp switch 2017-06-03 14:41:35 +03:00
Alexei Sorokin bea576efb3 Switch from sleekxmpp to slixmpp 2017-05-31 15:15:21 +03:00
Alexei Sorokin ee5fa7e9e2 Fix issues with reconnecting 2017-05-28 22:30:49 +03:00
Alexei Sorokin ae3312b2e2 Create a separate logger for the class 2017-05-28 20:38:41 +03:00
Alexei Sorokin 6094b074cc Before handling a message, check the sender if the bot 2017-02-22 01:17:47 +03:00
Alexei Sorokin a41e3051a0 Simplify the chat/answer example 2016-09-08 23:00:50 +03:00
Alexei Sorokin d73e10e76e Rename main class to Hptoad 2016-08-25 21:56:13 +03:00
Alexei Sorokin 938709465c Use os.path.join() instead of concatenating manually 2016-08-24 17:20:19 +03:00
Alexei Sorokin 3bb0824e75 Alias client.plugin["xep_0045"] only once 2016-08-24 17:17:33 +03:00
Alexei Sorokin 96c975233c Work in the directory where hptoad.py is located 2016-08-24 02:16:37 +03:00
Alexei Sorokin 633a023580 Refactoring of command handling 2016-08-23 20:23:53 +03:00
Alexei Sorokin 788e3a9c7f Remove a rather useless eval in the chat/answer example 2016-08-22 01:24:13 +03:00
Alexei Sorokin 2d96423021 Fix plugins stderr output 2016-08-20 21:56:39 +03:00
Alexei Sorokin 1cc9b97c39 Move chat/ and plugins/ examples to the examples/ directory 2016-08-20 19:37:57 +03:00
Alexei Sorokin d7783fbee3 Add basic README.md and requirements.txt 2016-08-20 00:06:33 +03:00
Alexei Sorokin ece9d41e25 Add COPYING with the MIT licence 2016-08-19 23:53:06 +03:00
Alexei Sorokin ca6c9cca13 Port to Python with sleekxmpp 2016-08-19 22:26:56 +03:00
Alexei Sorokin b49934972f Better plugin and answer examples 2016-08-19 21:08:03 +03:00
Alexey Derlaft 1b8b17ae8a Merge pull request #2 from betrok/master
Trim plugins output again
2015-08-19 20:59:38 +03:00
betrok 25ae83b538 Trim plugins output again 2015-08-19 20:53:56 +03:00
Alexey Derlaft e86ab7dd40 Merge pull request #1 from betrok/master
Move from "bash -c" to direct execute, little refatoring
2015-08-19 16:20:20 +03:00
betrok 908a87953d Move from "bash -c" to direct execute, little refatoring 2015-08-18 18:06:25 +03:00
Alexey Derlaft 79a839b34a Removed SkipTLS, fixed kosc's bullshit 2015-08-18 14:15:54 +03:00
Alexey Derlaft 4e91e698f3 added some external data 2015-08-13 17:52:59 +03:00
Alexey Derlaft 7c9c5ff2eb Update 2015-08-13 17:45:40 +03:00
cx uname 6aedddfdf4 lel 2014-03-04 00:46:27 +04:00
cx uname 19d89b28d8 dc refactoring 2014-02-25 17:07:44 +04:00
cx uname 06e156e9aa dc fix2 2014-02-25 16:45:58 +04:00
cx uname 1bc53e1b15 dc fix2 2014-02-25 16:45:30 +04:00
cx uname 919fc6aef5 dc fix 2014-02-25 16:14:59 +04:00
cx uname 292ff44701 gofmt 2013-12-24 13:22:15 +04:00
cx uname 247e01c20a quotes 2013-12-24 13:20:34 +04:00
cx uname 33f32920ee Please enter the commit message for your changes. 2013-06-06 14:42:05 +04:00
cx uname 1f109203c3 affiliation fix 2013-06-06 14:40:25 +04:00
cx uname 969d25fdb5 log fix 2013-05-16 11:31:23 +04:00
cx uname 709f506058 123 2013-01-29 23:55:12 +04:00
cx uname 148649e632 123 2013-01-29 23:54:05 +04:00
cx uname ca0f779fc2 blahblah 2013-01-16 16:35:43 +04:00
cx uname d9fa80796a +megakick 2013-01-14 18:26:18 +04:00
cx uname d9695fab33 ass hole >_< 2012-12-21 20:39:25 +04:00
cx uname d4f4aebce3 better dc handler. again 2012-11-14 12:20:35 +04:00
cx uname d6915f2cbb parser fix 2012-11-12 18:52:58 +04:00
cx uname 86a61cf2bf minor fixes 2012-11-01 15:59:29 +04:00
cx uname b8d9ec9e39 better dc handler 2012-10-18 14:42:10 +04:00