Commit Graph

100 Commits

Author SHA1 Message Date
Jeremy Fincher
89a535e8c1 Until we can safely load Karma, this test is staying commented out. 2009-11-25 09:17:52 -06:00
James Vega
a3e4fc5b1d Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
Jeremy Fincher
4dcc4dea87 Fixed PrivmsgTextCase not to require Karma, which requires SQLite. 2006-01-12 19:08:39 +00:00
James Vega
0880a07b72 test/test_callbacks: Fix a test failure. 2005-06-29 14:16:31 +00:00
James Vega
0027916214 test/test_callbacks.py: Added a test for multiple, nested invalidCommands not being recognized. 2005-06-08 14:28:48 +00:00
Jeremy Fincher
490fb0b140 Changed prefixName to prefixNick, which is more appropriate, and has always bothered me. Better now than later. 2005-06-01 21:08:30 +00:00
Jeremy Fincher
4fb15198a0 Properly fixed bugs where plugins expected strings and got non-strings. 2005-05-23 11:51:22 +00:00
Jeremy Fincher
a1992b55ec Fixed the bug that caused "reply reply" to be necessary instead of just "reply". 2005-05-23 11:23:53 +00:00
James Vega
8698eafd64 Add tests to clarify how source-nested commands work. 2005-04-14 01:47:21 +00:00
James Vega
8ce5a18120 Add tests for "command named same as nested command class". 2005-04-13 15:51:50 +00:00
Jeremy Fincher
0773aa31e5 Made Proxy Irc objects map to the same dictionary slot, so we don't need to worry about calling getRealIrc all the time. 2005-03-28 13:00:37 +00:00
James Vega
9971e991fe Fix the modelines. 2005-03-23 20:07:45 +00:00
Jeremy Fincher
0e68a44513 Fixed bug with nested plugins having the same name as themselves. 2005-03-09 08:05:24 +00:00
Jeremy Fincher
52fabfdaf7 Added a test for nested plugins having the same command name as the plugin name. It fails right now. 2005-03-09 07:28:35 +00:00
Jeremy Fincher
7c2bbeb638 Forgot the tests for source-nested plugins. 2005-02-25 10:00:42 +00:00
Jeremy Fincher
5b3b616671 Forgot to remove the tests for getCommands. 2005-02-18 02:44:52 +00:00
Jeremy Fincher
b0cb616709 Changed callbacks.Privmsg to be callbacks.Plugin, and callbacks.PrivmsgCommandAndRegexp to be callbacks.Plugin. 2005-02-09 07:04:04 +00:00
Jeremy Fincher
a3ebea6edd Commented out a test that will probably never work again. 2005-02-07 06:05:37 +00:00
Jeremy Fincher
381a42d863 Added an "irc" argument to callbacks.Privmsg.__init__, so now plugins get an Irc on instantiation. 2005-01-29 19:16:29 +00:00
Jeremy Fincher
5fd6bbb52d Completely restructured our utils modules.
Tons of changes.  Here's the summary of things that matter most:

* There is no more supybot.fix.
* There is no more supybot.webutils; now there is supybot.utils.web.
  * It's no longer webutils.WebError, but just utils.web.Error.
* You shouldn't import itertools, ideally, but instead import utils.iter.
* No more using imap/ifilter in commands unless absolutely necessary.  It's
  premature optimization and annoying.
* utils.str.format isn't quite ready yet, but will be soon.  That'll be the
  next big thing to fix in our code.
2005-01-27 06:59:08 +00:00
Jeremy Fincher
895cd3e48e Resurrected the test suite with the new supybot-test program and RCS. 2005-01-23 19:42:25 +00:00
Jeremy Fincher
3d3b1498fe Changed copyright years on test files 2005-01-24 21:27:34 +00:00
Jeremy Fincher
8ca625d339 Initial import. 2005-01-19 13:14:38 +00:00
James Vega
dbfec8afb9 Add supybot module 2007-04-22 20:10:26 +00:00
James Vega
7217b01cd2 Tag addressed messages with the results of callbacks._addressed. Also,
reorder the calling of addressedRes and res in PrivmsgCommandAndRegexp so
that addressedRes are run first.
2004-12-29 06:15:19 +00:00
James Vega
e89e5402ca Add a test for dynamic.channel 2004-12-17 06:33:45 +00:00
Jeremy Fincher
040888405c Refactoring of error-related configuration variables. 2004-11-04 05:34:24 +00:00
Jeremy Fincher
d20381336a Bugfix for nick.atEnd taking precedence over prefixChars. 2004-10-23 19:26:53 +00:00
Jeremy Fincher
3dceea823d Added supybot.reply.whenAddressedByNick.atEnd. 2004-10-09 02:48:08 +00:00
Jeremy Fincher
f15129adec Added test for maximum nesting. 2004-09-28 07:40:58 +00:00
Jeremy Fincher
78da84e4cb Configurable quotes, w00t. 2004-09-24 01:13:17 +00:00
Jeremy Fincher
3e58419338 Various minor refactorings, moved supybot.reply.{brackets,pipeSyntax} to supybot.commands.nested. 2004-09-23 23:15:27 +00:00
Jeremy Fincher
998f61cce8 Moved disambiguation stuff to callbacks.IOP. Also fixed rename-persistence. 2004-09-22 21:38:20 +00:00
James Vega
23397b44b4 Remove #! lines. 2004-09-20 15:25:47 +00:00
Jeremy Fincher
daca76bfc8 Elucidating comment. 2004-09-09 15:35:05 +00:00
Jeremy Fincher
ee70224aa3 Changed callCommand to give a name rather than a method; added invalidCommand throttling, ctcp throttling, and whole bunch of other crap. 2004-09-08 23:34:48 +00:00
Jeremy Fincher
3aedb305f9 Fix for possible bugz0r with reply.withNoticeWhenPrivate. 2004-08-30 04:35:51 +00:00
James Vega
6b59933673 Let's make sure nested commands don't immediately nest commands (aka using a
nested command to determine what the outer nested command is going to call)
2004-08-28 22:28:44 +00:00
Jeremy Fincher
6b1f742e71 prefixChars == reply.whenAddressedBy.chars. 2004-08-25 23:03:42 +00:00
James Vega
2a040b475f actually implement reply.withNoticeWhenPrivate 2004-08-24 19:48:01 +00:00
Jeremy Fincher
fbb348b6e7 Copyright updates. Again, more is left to be done, but this is my part. 2004-08-23 13:14:06 +00:00
Jeremy Fincher
06131461da We should call our parents more often. 2004-08-23 13:04:22 +00:00
Jeremy Fincher
8a4e79e007 Let's try to respect some channel values, shall we? 2004-08-08 17:48:33 +00:00
Jeremy Fincher
3fa477dc90 Removed reply.withPrivate notice, replaced with two separate variables, reply.withNotice and reply.inPrivate. 2004-08-08 17:34:59 +00:00
Jeremy Fincher
3db50c1a2b Fix for bug about reply.withPrivateNotice overriding stuff. 2004-08-08 00:41:13 +00:00
James Vega
d47d54bc82 Almost out entire testsuite works, yet again. Yay! 2004-08-01 14:38:37 +00:00
Jeremy Fincher
f9c61271ea w00, less path mungingEXCLAIMEXCLAIM 2004-07-24 05:18:26 +00:00
Jeremy Fincher
88b966306a Removed final remnants of bracketSyntax. 2004-07-23 04:59:41 +00:00
James Vega
315810d08e yay! no more stray whitespace 2004-07-21 19:36:35 +00:00
James Vega
d8b7254021 Revert a reply() change and fix some tests. 2004-06-09 23:48:33 +00:00