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

144 Commits

Author SHA1 Message Date
438eb13ec2 wp: make the code a little bit nicer 2015-02-08 21:57:23 +01:00
3fa94d79b4 wp, now with umlaute 2015-02-08 21:57:23 +01:00
5a2623b93f small fixes 2015-02-08 21:57:23 +01:00
35f35865be finsih major rework of plugin.py
* We can give any number of arguments to command plugins
* now the pluginfunction decorator is used instead args == "register"
* wp plugin now joins arguments with whitespaces
2015-02-08 21:57:23 +01:00
3560e0b386 parse plugins now usable again (command to come) 2015-02-08 21:57:22 +01:00
e89bcf26f4 register plugins using the new scheme (but no plugins get used so far) 2015-02-08 21:57:20 +01:00
feb30b7ff5 Add pluginfunction decorator to plugins, unused for now 2015-02-08 21:57:18 +01:00
f0a1ec3c56 print trace on failed plugin load, rename command_else to else_command 2015-02-08 21:57:11 +01:00
65cbd81c38 Implement plugin autoloading 2015-02-08 21:56:29 +01:00
urlbot
5800756c87 fix long info msg: moreinfo["command"->"help"] 2015-02-05 01:16:52 +01:00
urlbot
fcfe2aca19 split command_wp to seperate 'wp' and 'wp-en' commands 2015-02-05 01:16:17 +01:00
urlbot
9a5c0d585c command_wp: add language selection 2015-02-05 01:04:52 +01:00
urlbot
403bcec68f command_wp: cleanup; fix empty string, de.|en., &explaintext 2015-02-05 00:52:33 +01:00
urlbot
daf82ec06b add command_wp: ask Wikipedia API for stuff 2015-02-05 00:48:02 +01:00
urlbot
8dd576b364 add 'src' alias for 'source' 2015-01-04 07:39:58 +01:00
urlbot
2761a94dcd merge command_command to command_help 2015-01-03 19:04:01 +01:00
urlbot
21f87ac8ac mv 'enable'|'disable' to own commands 2015-01-03 18:59:44 +01:00
urlbot
2fd63821a1 cleanup; avoid locking out via 'plugin disable plugin' 2015-01-03 18:42:12 +01:00
urlbot
2a44244413 add is_enabled flag; 'plugin enable' works 2015-01-03 18:17:54 +01:00
urlbot
7a86cffcc9 add command_plugin_activation; 'enable' broken 2015-01-03 18:00:28 +01:00
urlbot
3131f823cd remember() feedback changed: 'ok' -> to_remember 2014-12-27 14:55:24 +01:00
urlbot
c6246eda7c add commands remember, recall (probably hacky) 2014-12-23 19:54:05 +01:00
urlbot
277a93f89f add 'limited to' msg to command_show_blacklist() output 2014-12-22 21:06:23 +01:00
urlbot
49a36df11f command_dice: fix random() calls, compress output to single line 2014-12-20 17:10:26 +01:00
urlbot
ab02c3e59a patch command_dice to roll N dices 2014-12-20 17:02:26 +01:00
urlbot
c0381a7bf4 all plugins: cleanup, early return, use argv0 instead of data 2014-12-16 08:48:03 +01:00
urlbot
80ea4e899a add command_cake 2014-12-16 07:58:35 +01:00
urlbot
5c5072b36a cleanup; pylint suggestions 2014-12-14 16:26:48 +01:00
urlbot
e2e16896b5 send_reply accepts message lists now 2014-12-14 15:54:57 +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
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
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
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
6ba3dc9038 adjustments to pass msg to data_parse_* 2014-12-02 15:48:13 +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