Commit Graph

68 Commits

Author SHA1 Message Date
Ryan Hitchman cb8c437772 flake8 + autopep8 (whitespace fixes) 2014-01-14 13:12:37 -08:00
Ryan Hitchman 1281756d49 security: strip newlines embedded in parameters to prevent arbitrary command execution 2013-07-19 13:01:34 -05:00
Ryan Hitchman a29dffbfb7 refactor apikey retrieval, fix lastfm with empty input 2013-01-27 16:40:31 -06:00
Jim Porter 508dc11cbf Ensure that if a @hook.singlethread hook throws, we keep running it 2012-08-24 15:31:38 -05:00
Ryan Hitchman a4d70df463 reconnect on socket.error, PEP8 2011-05-11 15:40:04 -05:00
melonhead 339d853258 Added Rotten Tomatoes command 2011-05-04 10:08:14 +08:00
Chris Skalenda d826e2ad83 Add a censored strings list feature.
Censored strings are defined by a censored_strings array in the config
file. An offending string will be replaced with [censored] in the bot's
output.
2011-01-02 11:00:06 +08:00
Ryan Hitchman bc05053d8a docstring snopes, don't respond to "<botnick> <command>" (can still do "<botnick>: <command>", PEP8 2010-11-11 23:21:27 -06:00
Ryan Hitchman c2a607198c PEP8 2010-08-29 22:35:27 -05:00
Ryan Hitchman 713b21d9f7 undo some bad changes 2010-08-24 17:14:55 -05:00
Ryan Hitchman 12035fee94 Merge github.com:rmmh/skybot
Conflicts:
	plugins/misc.py
2010-08-24 17:08:52 -05:00
Ryan Hitchman ea097aad7f redirect links to github 2010-08-24 16:59:47 -05:00
Patrick Hurst c5f1fccd29 fix stupid PM bug
the bot wouldn't respond in PMs to people with uppercase letters in their name
2010-08-22 21:33:24 -04:00
Patrick Hurst 91124d1f8a allow nick changing in commands
now you can change nick via input.set_nick
2010-08-22 20:15:24 -04:00
Ryan Hitchman 93fbe408b5 fix core/config.py infinite reloading loop reported by monokrome 2010-08-22 17:24:57 -05:00
Nathan Manzi 5bae80789f Added 'me' function for action strings.
Example:
def foo(input, me=None):
  me("is doing %s" % input)
2010-07-14 14:57:43 +08:00
Ryan Hitchman ee69022baa fixing bug in dispatch made by last commit 2010-07-08 12:27:37 -06:00
Ryan Hitchman b0259336cd report options when given ambiguous command, make .dict report which word the definition is for 2010-07-08 11:22:43 -06:00
Ryan Hitchman 3e9708cc79 fix crash with empty docstring 2010-06-29 01:02:48 -06:00
Ryan Hitchman 6452c1169c disable !command, enable fuzzy command matching, make help automatic, add disabled_command (for fuzzy command match disabling), misc bugs 2010-05-07 17:16:44 -06:00
Ryan Hitchman f61895fdc3 pep8 2010-04-22 21:50:56 -06:00
Ryan Hitchman 04b1a718f1 fix remember, make tell use notices, remove re because of abuse 2010-04-13 15:39:40 -06:00
Ryan Hitchman 2a11825779 PEP8 compliance, reduce munging on tagged names 2010-03-27 02:42:27 -06:00
Ryan Hitchman d4ad562a5a improve quote retrieval regex and some exception handling 2010-03-18 15:11:20 -06:00
Ryan Hitchman dcfea9f496 remember: accept "? word" form, tell: do communications in pm, main: don't prefix replies with nickname if pm 2010-03-16 13:56:51 -06:00
Ryan Hitchman 7888ce1314 rename hook.thread to hook.singlethread, make singlethread plugins cache db connections 2010-03-13 07:24:19 -07:00
Ryan Hitchman 30baa6c49c make persistent db name include bot nick 2010-03-13 07:02:05 -07:00
Ryan Hitchman b69bd212a3 make events take param lists intead of param strings 2010-03-11 17:28:17 -07:00
Ryan Hitchman 24a837c606 add hook.regex -- regex search against private messages 2010-03-11 17:19:36 -07:00
Ryan Hitchman 4e0da10b37 remove some useless imports 2010-03-11 16:39:28 -07:00
Ryan Hitchman 1e6c08fb30 rewrite hooking and dispatcher 2010-03-11 16:34:54 -07:00
Ryan Hitchman b1d5753304 try to keep vm size down by reducing thread stack size (thanks sklnd) 2010-03-06 12:41:54 -07:00
Ryan Hitchman 61c2f3e65c oops 2010-03-04 22:15:29 -07:00
Ryan Hitchman 1ea6594785 fix memory leak (see http://bugs.python.org/issue1469629) 2010-03-04 22:04:57 -07:00
Ryan Hitchman 253881f4b4 PEP8 compliance + clean dotnetpad 2010-02-28 19:32:41 -07:00
Ryan Hitchman 40bb91bb88 make config file use json now, remove pyyaml and various other cruft 2010-02-22 20:32:09 -07:00
Ryan Hitchman e706d5aad8 fix PONG echoing broken by paramlist abstraction 2010-02-22 17:07:08 -07:00
Ryan Hitchman 9b25bc524f typos~ 2010-02-22 16:49:30 -07:00
Ryan Hitchman 923fdead1c fix slowness when connected to multiple networks & misc. stylistic changes 2010-02-22 16:24:01 -07:00
melonhead 4c147f2402 Add support for SSL and server passwords 2010-02-22 14:33:03 -05:00
Ryan Hitchman 9b47d394ad add fake IRC class to help tracking leaks 2010-02-11 16:29:45 -07:00
Ryan Hitchman 1dd86babc2 change calling convention 2010-02-01 21:42:34 -07:00
Ryan Hitchman 9eb5b236a6 rewrite tell, simplify db access in quote, seen, urlhistory. fix wolframalpha for the last time 2010-02-01 00:29:50 -07:00
Ryan Hitchman dd723eafe0 wolframalpha.py: gets results from WA (not using the commercial API)-- works pretty well 2010-01-31 22:49:52 -07:00
Ryan Hitchman 7663b3e5d3 simple acls (deny-except and allow-except), force config rewrite on start 2010-01-24 17:30:00 -07:00
Ryan Hitchman 977c62f7ef commenting Input() more 2010-01-18 19:42:35 -07:00
Ryan Hitchman 92c6d798b5 improve windows compatibility 2010-01-17 13:38:37 -07:00
Ryan Hitchman 1bc0a3497a make user/realname/port possible to change in config file 2010-01-17 13:20:11 -07:00
Ryan Hitchman bb29b225c6 add basic autoreconnect functionality -- reconnects if no messages in 5 minutes 2009-12-12 12:11:04 -07:00
Ryan Hitchman 238f1e0951 fix socket timeouts in irc 2009-11-21 15:55:52 -07:00