Commit Graph

2154 Commits

Author SHA1 Message Date
James Vega
d74a59a2f5 Cleaned up the snarfer 2003-11-02 19:46:35 +00:00
Jeremy Fincher
f27ba11741 Added test to make sure reloading sets doesn't kill the subclasses of sets.Set (which may in the future not be subclasses of sets.Set. 2003-11-02 19:01:03 +00:00
Jeremy Fincher
077fcd8d7e Added logging of regexp cache size. 2003-11-02 19:00:15 +00:00
Jeremy Fincher
d816bc6a68 Added selfstats toggle; Fixed karma to be case-insensitive but case-preserving. 2003-11-02 18:59:06 +00:00
James Vega
4d77ffc92e Added the ASPN Recipe snarfer (RFE #831028) and tests 2003-11-02 18:55:08 +00:00
Jeremy Fincher
5f55e2b589 Added a test for randomnick and fixed the bug it found. 2003-11-02 18:23:04 +00:00
Jeremy Fincher
e46e2483b7 Added a few more tests, and one for the case-preservation characteristics of karma with multiple arguments. 2003-11-02 18:04:49 +00:00
Jeremy Fincher
31ef30d961 Changed the name of some variables ('whore' doesn't partse as 'who re{gexp}') and added tests. 2003-11-02 16:45:38 +00:00
Daniel Berlin
0adde0c117 Use randint instead 2003-11-02 03:39:28 +00:00
Daniel Berlin
d557443883 Make Dunno use standardSubstitute 2003-11-02 03:18:39 +00:00
Daniel Berlin
51f80108c4 Added $randomint 2003-11-02 03:17:45 +00:00
Daniel DiPaolo
82d2d8162a Fixed a bug where addFactoid wasn't splitting on the first "is" 2003-11-01 22:08:52 +00:00
James Vega
1d1d7a87c2 Lots of changes to make it follow the format of a typical supybot plugin 2003-10-31 23:53:35 +00:00
James Vega
fcd4919bab Fix the snarfer re so that it does match extraneous text 2003-10-31 22:48:43 +00:00
Daniel DiPaolo
15b18edc11 made karma case-insensitive 2003-10-31 21:03:35 +00:00
Jeremy Fincher
07ef648e1c Made the tests for callbacks.addressed more extensive. 2003-10-31 20:04:55 +00:00
Jeremy Fincher
4e4855094c Forget to catch the actual exception instance in callCommand. 2003-10-31 19:17:26 +00:00
James Vega
9e7a37e5bf Test praise for good measure 2003-10-31 18:44:13 +00:00
James Vega
d50d435363 For some reason I was replacing the bot's name with the user's name 2003-10-31 18:43:08 +00:00
Jeremy Fincher
8c93488146 Fixed Bug #833786 (spurious brackets not handled correctly). 2003-10-31 18:18:04 +00:00
Jeremy Fincher
ca8b17f909 Made join default to admin. 2003-10-30 19:06:04 +00:00
Jeremy Fincher
c3d7efa68b Fixed bug with reload not working with non-canonicalNames. 2003-10-30 18:05:57 +00:00
Daniel DiPaolo
c318d5e384 Added the "action" command and associated tests. 2003-10-30 17:16:02 +00:00
Jeremy Fincher
9ddc7c75f5 Somehow messed this one up. 2003-10-30 05:40:39 +00:00
Jeremy Fincher
895ecf718f Fixed bug #832590. 2003-10-30 05:27:25 +00:00
Daniel Berlin
b0fd3f547c Move ircutils.standardsubttext to plugins.standardSubstitute, make it do case insensitive replacement 2003-10-30 05:14:14 +00:00
Jeremy Fincher
06ce1bcb94 Added change. 2003-10-30 04:36:40 +00:00
Jeremy Fincher
af32b12745 Added some asserts to prevent bugs like we had earlier. 2003-10-30 04:14:09 +00:00
Jeremy Fincher
3f081ee21c Added some error checking to join and part. 2003-10-30 04:06:46 +00:00
Jeremy Fincher
bc6f4bd149 Converted to not use the new module but the types module instead. 2003-10-30 03:46:31 +00:00
Jeremy Fincher
8d04bdbcb6 Refactored some stuff to be a bit cleaner. 2003-10-30 03:38:55 +00:00
Jeremy Fincher
50c18a6727 That's some ugly output there, buddy. 2003-10-30 03:19:18 +00:00
Jeremy Fincher
51c5d53259 Added defaultplugin. 2003-10-30 03:08:52 +00:00
Jeremy Fincher
f4e4233704 CanonicalNamed the toggles. 2003-10-30 02:38:11 +00:00
Jeremy Fincher
1280dbdc90 Added test, fixed a bug it found. 2003-10-30 02:33:04 +00:00
Jeremy Fincher
288dc6cf4c Changed repr to pprint.pformat. 2003-10-30 02:20:36 +00:00
Jeremy Fincher
8819240864 Added a few commented-out debug printfs and set self.__class__.toggle instead of self.toggle. 2003-10-30 02:13:17 +00:00
Jeremy Fincher
47a9d24434 Changed setconf to show what the value of the variable is if we don't give something to set it. 2003-10-30 02:13:12 +00:00
Jeremy Fincher
83e16b0d89 Fixed Google test. 2003-10-30 02:10:17 +00:00
Jeremy Fincher
29d20d2513 Changed the color command to a toggle. 2003-10-30 02:03:49 +00:00
Jeremy Fincher
b14bc6e3b7 changed testEmptyNest a slight bit. 2003-10-30 00:15:17 +00:00
Jeremy Fincher
646e41bd53 Changed the regexp for sfSnarfer to make it a little easier to read. 2003-10-30 00:13:00 +00:00
Jeremy Fincher
2ed2f6a5ff Used the wrong variable in assertNoResponse. 2003-10-30 00:12:39 +00:00
Jeremy Fincher
138c87f372 Changed to a ChannelPluginTestCase. 2003-10-30 00:12:22 +00:00
Jeremy Fincher
58cf080109 Fixed the nesting bug with testEval and testCalc. 2003-10-29 23:40:14 +00:00
Jeremy Fincher
e556e783b1 Moved ambiguous command handling to Owner; fixed handling of empty nested command. 2003-10-29 23:02:27 +00:00
Daniel DiPaolo
0011fff94e Changed all %d's to %s's 2003-10-29 22:05:53 +00:00
Jeremy Fincher
e5e507f3d9 Added adminition against using %d. 2003-10-29 22:04:57 +00:00
James Vega
afc74b96f0 Fix replacement of my/me not obeying word boundaries. Also created tests to
ensure it stays fixed.
2003-10-29 20:27:09 +00:00
Daniel DiPaolo
8cc9620a4b Fixed ordering by priority when requesting todos for a person (or self) 2003-10-29 20:12:02 +00:00