Commit Graph
100 Commits
Author SHA1 Message Date
urlbot 5c5072b36a cleanup; pylint suggestions 2014-12-14 16:26:48 +01:00
urlbot 54c590051c fix loop bug on multiple URL given 2014-12-14 16:01:09 +01:00
urlbot e2e16896b5 send_reply accepts message lists now 2014-12-14 15:54:57 +01:00
urlbot f315e61f5b actually honor 'spoiler' settings 2014-12-14 03:57:46 +01:00
urlbot 2e8df26a66 re-order locking; add working user setting editing 2014-12-14 03:41:57 +01:00
urlbot ed0fb9baf2 add command_usersetting; push argvN to #2 2014-12-14 01:27:13 +01:00
urlbot 294dfbab3c cleanup; test .reply().send() 2014-12-14 01:21:30 +01:00
urlbot 75d2b712fb simple 1v1 chat; thread-safe persistent db; remove levenshtein; cleanup 2014-12-13 23:29:51 +01:00
urlbot a2e33a6c2f fix event_trigger() func pointer calls 2014-12-13 22:57:15 +01:00
urlbot 25896a771a handle multiple rooms; rename chat_write->send_reply, msg->msg_obj 2014-12-13 22:46:23 +01:00
urlbot 894f19f16e remove unused str_sim part 2014-12-07 14:06:58 +01:00
urlbot 8d31036e0d move stuff out of the way 2014-12-06 10:34:27 +01:00
urlbot bbee90f041 parse_debbug: add calculated URL to title 2014-12-06 10:19:30 +01:00
urlbot 413e13824d add optional filtering for show-blacklist 2014-12-05 15:05:37 +01:00
urlbot 697ce97c2b hook command_command() to command_help() with empty arg 2014-12-02 17:31:06 +01:00
urlbot 836ef1aa1b remove debugging output of chatlog 2014-12-02 17:16:19 +01:00
urlbot 95473602e5 re-add event_trigger() calls; enable threading 2014-12-02 17:15:22 +01:00
urlbot 417e55e52b data_parse_commands(): fix argv offsets 2014-12-02 17:09:46 +01:00
urlbot 01ea2d3d6c whitespace fixes according to pep8; cleanup
pep8 --ignore=W191,E225,E501,E401,E302,E122,E123 *.py
2014-12-02 17:01:40 +01:00
urlbot ba60379c76 re-add bot_user check and actually fix it 2014-12-02 16:37:35 +01:00
urlbot 83d6ecff37 remove obsolete bot_user check; decrease debug logging 2014-12-02 16:32:53 +01:00
urlbot 1dd4637820 fix chat_write() 2014-12-02 16:25:10 +01:00
urlbot 5922d1b489 Merge branch 'master' of major fuckup #2 2014-12-02 15:55:05 +01:00
urlbot 6ba3dc9038 adjustments to pass msg to data_parse_* 2014-12-02 15:48:13 +01:00
urlbot b6b66c608f Merge branch 'master' of major fuckup 2014-12-02 15:26:36 +01:00
urlbot cb712d9645 port urlbot: remove mcabber specific output stuff 2014-12-02 15:22:02 +01:00
urlbot 77a6322d66 port urlbot: remove mcabber specific input stuff 2014-12-02 15:21:48 +01:00
urlbot 93dbc5b109 port urlbot: remove mcabber specific input stuff 2014-12-02 15:04:53 +01:00
urlbot d3ac21a58e use blocking and muc_message() 2014-12-02 14:49:12 +01:00
urlbot 13bd53247e add abort for unmodified local_config 2014-12-02 14:26:41 +01:00
urlbot 9f6a4c793c add debug logging 2014-12-02 14:00:43 +01:00
urlbot 2484f32b5b add simple sleekXMPP bot for testing 2014-12-02 13:55:11 +01:00
urlbot 8e93cb0a17 adjust local_config from urlbot-mcabber/ 2014-12-02 13:31:46 +01:00
urlbot 5a6848f9be Merge merge urlbot-mcabber to subdir 2014-12-02 13:16:10 +01:00
urlbot 74909f496f add parse_cve: print sec-tr.d.o links 2014-12-01 17:50:24 +01:00
urlbot 94aaa824f1 cleanup; use a more reasonable config{} definition method 2014-12-01 11:59:29 +01:00
urlbot 924ecb0109 use a more reasonable config{} definition method 2014-12-01 11:55:28 +01:00
urlbot 397fc4730c mainloop works; ping/pong works 2014-12-01 11:44:10 +01:00
urlbot b3bebedd47 url_blacklist: unloosen the heise regex 2014-11-29 14:17:56 +01:00
urlbot 9f6078a314 remove blacklist message from output 2014-11-28 19:36:15 +01:00
urlbot cb6873c2f6 add version id counter in get_version_git() 2014-11-28 19:33:52 +01:00
urlbot df471859d0 fix multi-item 'msg' for plugins 2014-11-28 19:18:45 +01:00
urlbot 31f1e285c6 add URL blacklist; add command_show_blacklist() 2014-11-28 19:13:45 +01:00
urlbot 368469ec7d fix karl klammer naming m( 2014-11-17 19:56:35 +01:00
urlbot 79b6b8a6f4 fix plugin karl klammer 2014-11-17 19:51:08 +01:00
urlbot 7cdb2e3012 add plugin karl klammer 2014-11-17 19:50:25 +01:00
urlbot 00febaf2cc get_reply_data: fix crash for empty data 2014-11-14 09:15:00 +01:00
urlbot 691db08e50 add plugin parse_debbug 2014-11-09 17:08:30 +01:00
urlbot 3a8fecd8f9 fix crash on empty args 2014-10-29 13:51:00 +01:00
urlbot 65681bcc61 get_reply_data: split on anything, remove strip(\n) 2014-10-29 13:47:26 +01:00
urlbot d571926fd5 chat_write: don't print strange chars; get_reply_data: strip \n 2014-10-29 13:25:09 +01:00
urlbot e85cc3a148 fix time_t exceeding 2014-10-29 13:12:41 +01:00
urlbot 0811e30b82 add plugin argv0; fix wrong offset on argv1 2014-10-29 13:05:23 +01:00
urlbot 76fd48485c add plugin argv; add user-settable teatimer timeout 2014-10-29 13:02:27 +01:00
urlbot 02105b7f13 don't drop exception descriptions anymore 2014-10-21 18:51:55 +02:00
urlbot 0b56d21101 bugfixing as pylint, pyflakes suggest 2014-10-20 07:46:05 +02:00
urlbot 29981b776a "decode": add hex value to output 2014-10-14 16:38:12 +02:00
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