urlbot
|
7d60a5861e
|
add plugin/command_decode(): translate unicode->text
|
2014-10-13 18:23:51 +02:00 |
|
urlbot
|
583e1174d6
|
ignore lines that are probably the bots own log lines
|
2014-10-11 16:31:09 +02:00 |
|
urlbot
|
94c538696f
|
warp all urlib-specific stuff in an exception
|
2014-10-11 16:22:19 +02:00 |
|
urlbot
|
76fd4645c8
|
http://a../ also triggers, remove fix, wrap exception arround
|
2014-10-10 00:01:22 +02:00 |
|
urlbot
|
e4d23e07c0
|
fix crash for https?://\..* links ('.'.encode('idna') fails)
|
2014-10-09 22:48:23 +02:00 |
|
urlbot
|
24084909a4
|
remove lev_str, sim_str from visible output
|
2014-10-09 22:07:40 +02:00 |
|
urlbot
|
663e2131ed
|
rename r->url; add obj['sim']
|
2014-10-06 00:19:47 +02:00 |
|
urlbot
|
6a916c701a
|
testing str_sim() for (title, lev_url)
|
2014-10-05 23:39:51 +02:00 |
|
urlbot
|
09f96101f0
|
Python3 post-migration: fix User-Agent
|
2014-10-05 13:58:44 +02:00 |
|
urlbot
|
6d11929e54
|
re-add image_preview; configurable
|
2014-10-03 19:18:52 +02:00 |
|
urlbot
|
6ce9e177de
|
add send error replys from urllib
|
2014-10-01 10:21:27 +02:00 |
|
urlbot
|
351da575db
|
(not in use) add string_similarity() for testing
|
2014-10-01 09:33:21 +02:00 |
|
urlbot
|
d8d5ed7461
|
move path to local_config.py, add levenshtein_test.py
|
2014-09-30 17:41:51 +02:00 |
|
urlbot
|
126b238aeb
|
levenshtein: strip domain; write to persistent struct
|
2014-09-30 17:39:52 +02:00 |
|
urlbot
|
5a7601b108
|
fix crash on 404 pages (2to3 fixup)
|
2014-09-30 17:15:43 +02:00 |
|
urlbot
|
ca715ca0f8
|
fix levenshtein() for empty strings
|
2014-09-30 16:48:17 +02:00 |
|
urlbot
|
75dd68733f
|
more precise "teatimer" help
|
2014-09-29 19:26:36 +02:00 |
|
urlbot
|
1ddd43c274
|
a "teatimer" implemented
|
2014-09-29 19:15:00 +02:00 |
|
urlbot
|
98dd94fc63
|
testing levenshtein distance for (url, title)
|
2014-09-29 00:11:40 +02:00 |
|
urlbot
|
eba70a5ed0
|
plugin debugging enabled
|
2014-09-28 22:44:42 +02:00 |
|
urlbot
|
af9e195011
|
asuming UTF-8 as git-log(1) output
|
2014-09-28 18:11:19 +02:00 |
|
urlbot
|
acc5242de0
|
Python3 migration; trashed e(); html->html_text rename
|
2014-09-28 18:08:18 +02:00 |
|
urlbot
|
ab63828019
|
fix multi-line plugin output
|
2014-09-27 16:50:19 +02:00 |
|
urlbot
|
ead248e7fa
|
fix for multi-line output, e.g. "unikot"
|
2014-09-27 16:25:29 +02:00 |
|
urlbot
|
afd79c49a6
|
fix "help" globbing
|
2014-09-27 16:15:01 +02:00 |
|
urlbot
|
c9f8237f25
|
gitignore urlbot.persistent
|
2014-09-27 16:10:00 +02:00 |
|
urlbot
|
951054aff5
|
add modul. "help"; prep "save"; add {desc}
|
2014-09-27 16:06:26 +02:00 |
|
urlbot
|
e721c328f7
|
moved VERSION stuff to common.py
|
2014-09-27 09:41:29 +02:00 |
|
urlbot
|
aae684170d
|
moved common stuff to common.py; import adjustments
|
2014-09-27 09:19:46 +02:00 |
|
urlbot
|
6563addb1b
|
ratelimit_*(): fixes after splitup
|
2014-09-27 08:43:33 +02:00 |
|
urlbot
|
f411e1be4d
|
scope fixes; moved VERSION to conf()
|
2014-09-27 06:12:34 +02:00 |
|
urlbot
|
7c9e5e154b
|
scope fixes; put request_counter to conf()
|
2014-09-27 06:08:55 +02:00 |
|
urlbot
|
c6d7e36357
|
scope fixes: request_counter
|
2014-09-27 06:03:04 +02:00 |
|
urlbot
|
2714858b1e
|
scope fixes; put uptime to conf()
|
2014-09-27 06:01:34 +02:00 |
|
urlbot
|
60285089fe
|
scope fixes; put hist_max_* to conf()
|
2014-09-27 05:56:39 +02:00 |
|
urlbot
|
013409d6d8
|
scope fixes
|
2014-09-27 05:53:09 +02:00 |
|
urlbot
|
294408c4fe
|
ratelimit fix/split up; bot_user fixes
|
2014-09-27 05:51:18 +02:00 |
|
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
|
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 |
|
urlbot
|
461d519a57
|
rate limiting implemented
|
2014-07-21 04:54:50 +02:00 |
|
urlbot
|
6715902005
|
fix parse_commands(): check array bounds added
|
2014-07-21 03:51:25 +02:00 |
|