Commit Graph

581 Commits

Author SHA1 Message Date
Jeremy Fincher b4a56057f1 Added some much tighter error-checking to the spell command; also used select to make sure the file handle is readable before trying to read from it. 2003-11-07 12:12:47 +00:00
Daniel DiPaolo 54aec8d3b2 Added hostmask and added_at to the 'get' command, to reveal impostors! 2003-11-06 21:50:23 +00:00
Jeremy Fincher abbe99fd8c Fixed bug in seen regexp that would catch the old GK rating, too. 2003-11-06 21:33:50 +00:00
Daniel DiPaolo 3f1296a858 Fixed some text to read a bit better. Still doesn't look quite perfect though 2003-11-06 21:22:13 +00:00
Jeremy Fincher 2a33262b9e Converted to be somewhat clearer than _mostDict. 2003-11-06 21:10:47 +00:00
James Vega 3995cc3414 Switched to assertError for when no factoids exist and added testing of author
ordering
2003-11-06 20:22:02 +00:00
James Vega a55193ea62 Added @most <popular|authored|recent> (RFE #829830) 2003-11-06 17:24:49 +00:00
Daniel DiPaolo adc9e0552d Overhauled 'wordstats' to handle a plethora of argument combinations and wrote
some naaaaaaaaasty tests to make sure they work as expected.
2003-11-06 06:41:04 +00:00
Daniel DiPaolo f051166e60 Added a "quotegrabs get" command to get quotegrabs by id 2003-11-05 23:56:30 +00:00
James Vega a46476a9ca Remove @url get. Add the snarfed url when replying with the tinyurl. Tests are
updated accordingly. @random will display the corresponding tinyurl when
someone decides on the display format
2003-11-05 20:37:39 +00:00
Daniel DiPaolo b14ee76ca0 Added 'chanignores' command to list current channel ignores. 2003-11-05 17:22:38 +00:00
Jeremy Fincher 1a4780b854 Added an addword test and fixed the wordstats failures. 2003-11-05 07:59:44 +00:00
Daniel DiPaolo 5081016c2f Added some wordstats tests. 2003-11-05 07:56:05 +00:00
Jeremy Fincher 5d45c92592 Fixed the stupid DOM Element output, added test. 2003-11-05 07:10:44 +00:00
Jeremy Fincher ce212fa2cd Fixed bug #835786 -- case insensitive now. 2003-11-05 06:29:07 +00:00
Jeremy Fincher c803edc689 Added substitution and fixed ' returns the same thing all the time' bug. 2003-11-05 04:57:13 +00:00
James Vega 57e0e75c20 Finally caught Bug #835371. Also refactored the plugin and added some tests 2003-11-05 02:13:41 +00:00
James Vega f6c83b38d1 Fix insult so that it doesn't reply to the person that called it. Also fixed
the instult tests so that the check the entire response, not just a regex
2003-11-04 22:51:20 +00:00
James Vega 8b6783ea55 Apparently NoRecurse only failed when the word for the alias was a subset of
the command word.
2003-11-04 17:37:04 +00:00
James Vega 5f2f970163 Test to make sure recursiveAlias only errors when the full word matches 2003-11-04 17:32:31 +00:00
James Vega 1558635250 Added an assert to verify that a toggle without a specified channel only
toggles the value of the current channel and not the default toggle.
2003-11-04 16:14:11 +00:00
Jeremy Fincher 4d8e8807b9 Fixed karma response in the case of absolutely no karma. 2003-11-04 09:09:53 +00:00
Jeremy Fincher a456c5ea57 Changed the name to URL. 2003-11-04 08:48:05 +00:00
Jeremy Fincher d548447750 Moved Karma off into its own plugin. 2003-11-04 08:42:11 +00:00
Jeremy Fincher b35501ceb2 Commented out a test that was causing several other failures. 2003-11-04 07:02:59 +00:00
Jeremy Fincher 375789218a Fixed bug in test suite. 2003-11-04 06:39:20 +00:00
Jeremy Fincher 8e45f35946 Refactored a bit and allow 'pydoc copy'. 2003-11-04 06:26:24 +00:00
Jeremy Fincher 3f8c149047 Fixed major bugz0rs with IrcSet and IrcDict. 2003-11-04 05:50:19 +00:00
Daniel DiPaolo 6092ce484a Added the 'list' function, added code to prevent duplicate grabs being added to
the database.
2003-11-04 04:38:40 +00:00
Daniel Berlin def70e1ff5 Make different randomdates and randomints in the same string give different values
add tests to make sure it happens
2003-11-04 03:52:50 +00:00
James Vega c362784a2e Added a comment regarding a current bug in @bugs and @rfes 2003-11-03 23:15:47 +00:00
Daniel DiPaolo 33775aea0d First bit of quotegrab testing, just tests existing functionality.
More tests to come when functionality is added.
2003-11-03 19:22:06 +00:00
Jeremy Fincher 3fde50eaf9 Initial Checkin. 2003-11-03 06:59:38 +00:00
Jeremy Fincher bc5529c87d Forgot to update the second call _disambiguate to the new interface. 2003-11-03 06:55:51 +00:00
Jeremy Fincher 66797de4bf Changed the name of the quote command to get. 2003-11-03 06:36:18 +00:00
Daniel DiPaolo cc94948d10 Fixed greedniess of a few regexes and did some associated fixes. 2003-11-03 06:25:02 +00:00
James Vega bf12760108 Added tinyurl stuff 2003-11-03 05:39:14 +00:00
James Vega 526c4c3e56 setdefault -> defaultproject
defaultproject without a project name clears the default project
cleanup bugs and rfes a little (although they aren't working in the case of
'bugs #'. must use 'bugs project #')
2003-11-03 01:12:00 +00:00
James Vega 72e554350b Added support for more countries (should support all english-speaking
countries) and added support for ebay.com/.*?/ws as opposed to just
ebay.com/ws
2003-11-03 00:16:43 +00:00
Daniel DiPaolo 96f299c10c Included plugins.standardSubstitute in factoids parsing now 2003-11-02 23:45:31 +00:00
James Vega 68d36db874 Snarfer cleanups and toggle tests 2003-11-02 20:31:37 +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 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 DiPaolo 82d2d8162a Fixed a bug where addFactoid wasn't splitting on the first "is" 2003-11-01 22:08:52 +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