1
0
mirror of http://aero2k.de/t/repos/urlbot-native.git synced 2017-09-06 15:25:38 +02:00
Commit Graph

156 Commits

Author SHA1 Message Date
urlbot
c3ddeaecdc rename eventlooper.py -> urlbot.py 2014-09-27 05:34:49 +02:00
urlbot
8a73625e3c fixed stuff; dynamic plugin reg; debugging infrastructure 2014-09-27 05:32:35 +02:00
urlbot
798fb6d572 first try with plugins. untested, might crash 2014-09-27 03:41:29 +02:00
urlbot
5302fd6eca "skynet" reaction added 2014-09-24 23:23:41 +02:00
urlbot
e6950657b8 enhanced random mode for the "dice" command 2014-09-24 21:45:08 +02:00
urlbot
d70c0161d5 add check for cmdfifo at startup 2014-09-21 20:10:37 +02:00
urlbot
2295a8e1a8 fix critical typo 2014-09-21 19:52:49 +02:00
urlbot
ab5f211345 "".decode() from content-type charset; HTMLParser caching for interactive import 2014-09-21 17:40:26 +02:00
urlbot
cbb602ad4f "dice" added 2014-09-18 19:13:26 +02:00
urlbot
288e41efaf "nospoiler" pseudo command added 2014-09-17 15:49:52 +02:00
urlbot
16c1b1aa4d "ping": variant added ("leave me alone") 2014-09-17 15:40:51 +02:00
urlbot
c5a73aaf62 conf() added; source command added 2014-09-14 12:26:39 +02:00
urlbot
3b1783011f parse_pn(); some fixups for upcoming relaunch 2014-09-14 12:08:16 +02:00
urlbot
23d467dcb4 fix "".encode("utf8") for unicode input 2014-08-20 18:34:23 +02:00
urlbot
e2149dc6d6 "info" now points to "command" overview 2014-08-20 03:19:35 +02:00
urlbot
bbf5f3f77f "version" added; print_version_git()->get_version_git() 2014-08-20 03:14:08 +02:00
urlbot
a70515ad6a workaround error in HTMLParser with unicode input 2014-08-20 02:44:11 +02:00
urlbot
1f3d2577f0 wrapped unicode() and ''.encode('utf8') inside exception 2014-08-11 23:32:40 +02:00
urlbot
9b66386f25 cleanup, ratelimit_exceeded() calls and other 2014-08-10 22:26:53 +02:00
urlbot
bc2af668cf fix multiple mcabber cmds to fifo; 'unikot' cmd added 2014-08-10 22:19:48 +02:00
urlbot
0e7e53feb3 decode HTML entities in <title>s 2014-08-10 22:10:00 +02:00
urlbot
dd951c31d0 init(). testing for a native bot using python-xmpp 2014-08-10 12:14:03 +02:00
Dino
9d8e5983a9 Merge remote-tracking branch 'origin/master'
Conflicts:
	eventlooper.py
2014-08-10 00:32:44 +02:00
Dino
762a2618bc minor compability changes to code base, add simple unit test for totally critical bug 2014-08-10 00:30:58 +02:00
urlbot
7fbc00d0cd __main__ check added 2014-08-09 23:50:40 +02:00
urlbot
be0dc8af62 fixed some code style complaints 2014-08-09 23:39:00 +02:00
urlbot
4994faaac8 fix crash on non-resolveable URLs 2014-08-09 22:39:19 +02:00
urlbot
2a39a810d6 timestamps added to log 2014-08-09 22:26:13 +02:00
urlbot
236a393a80 command 'command' added 2014-08-09 21:09:39 +02:00
urlbot
1daa49d690 print special message for 'repo/urlbot.git' 2014-08-09 20:29:38 +02:00
urlbot
b904246c14 case insensitive <title> matching 2014-08-09 13:12:42 +02:00
urlbot
4bd04e767d don't write anything for non text/* URLs 2014-08-08 10:03:48 +02:00
urlbot
ca3a1715eb using actual pseudo-random instead of just the time 2014-08-07 09:14:07 +02:00
urlbot
0b00ecb8ce fake User-Agent to FF/31/Linux because Reddit drops us otherwise 2014-08-04 19:32:40 +02:00
urlbot
4e1b1b4ecd escape non-printable chars (and ') in local version info 2014-08-04 15:11:54 +02:00
urlbot
01a23f6628 default answer shortened; 'info' as new command 2014-08-04 15:08:40 +02:00
urlbot
ffa4dae9da only run parse_* if no URL detected 2014-08-02 20:48:06 +02:00
urlbot
8377bc3b3a when rate limited, report for how long 2014-08-02 17:33:28 +02:00
urlbot
c2ebe0d3eb added 'uptime' statistics 2014-08-02 09:20:52 +02:00
urlbot
4244e1eee2 'no title' added 2014-08-01 20:49:07 +02:00
urlbot
3e2c9e4fcf s/;$// ... this is not C 2014-08-01 20:16:32 +02:00
urlbot
6a5a90eafc mental illness test (!!!) added 2014-08-01 20:15:23 +02:00
urlbot
5ee9628edd recognize image/* as content-type 2014-07-27 12:21:32 +02:00
urlbot
0f45024f92 alternative pong; version info on startup 2014-07-27 08:04:25 +02:00
urlbot
6b1e46dd54 parse_commands() tuned; ping/pong implemented 2014-07-27 07:18:22 +02:00
urlbot
ca1dc35222 ignore whitespace, \n in output 2014-07-22 22:23:10 +02:00
urlbot
512d082738 URLs may have a trailing '>' now 2014-07-21 09:59:09 +02:00
urlbot
f9dac725f2 visible message for rate limiting added 2014-07-21 09:49:13 +02:00
urlbot
d6cba6bd74 hangup, 'ignore topic' added; chat_write(prefix=) added; off-by-one fixed 2014-07-21 09:39:59 +02:00
urlbot
4a61fa9a90 cleanup 2014-07-21 08:28:46 +02:00