Commit Graph

2171 Commits

Author SHA1 Message Date
James Vega 12c52807f8 Default displaying of usage examples to False until we put the example strings
back in
2003-11-06 20:49:37 +00:00
James Vega 5a6f3ee7bb Removed the example strings until we figure out what to do with them 2003-11-06 20:42:27 +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
Daniel DiPaolo e00852b5ce Updated wordstats to default to checking for a word first instead of a user in
the case where there's only one arg supplied.
2003-11-06 20:21:59 +00:00
James Vega ea81e966ff ddipaolo suggested switching from a tuple to a dictionary to make things more
intuitive (if we even decide to keep this format)
2003-11-06 18:31:56 +00:00
James Vega ac97573d92 Well, now @most has one set of commands that it will run, but it required a
big dictionary.
2003-11-06 18:19:41 +00:00
James Vega a55193ea62 Added @most <popular|authored|recent> (RFE #829830) 2003-11-06 17:24:49 +00:00
Daniel DiPaolo 6ea38aeffc Changed wordstats to use accessor ircdb.users.getUser instead of accessing the
ircdb.users.users data structure directly.
2003-11-06 16:41: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
Jeremy Fincher c746f9459b Optimization to hostmaskPatternEqual. 2003-11-05 22:21:43 +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
James Vega 84bff2f755 @tiny should be specifying cmd=True when I call _getTinyUrl. That was the
whole point of having a cmd parameter.
2003-11-05 19:45:55 +00:00
Daniel DiPaolo b14ee76ca0 Added 'chanignores' command to list current channel ignores. 2003-11-05 17:22:38 +00:00
Jeremy Fincher 6de6fb863b Changed the initial value of threadsSpawned to 1. 2003-11-05 08:32:26 +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 9e94295d34 Fixed possible raised KeyError. 2003-11-05 07:43:48 +00:00
Jeremy Fincher 5d45c92592 Fixed the stupid DOM Element output, added test. 2003-11-05 07:10:44 +00:00
Jeremy Fincher 76ad28918f Fixed the stupid DOM Element output, added test. 2003-11-05 06:56:03 +00:00
Jeremy Fincher ed94dd44ca Fixed freshmeat command, changed it to use xml.dom.minidom. Also removed example string. 2003-11-05 06:50:06 +00:00
Jeremy Fincher ce212fa2cd Fixed bug #835786 -- case insensitive now. 2003-11-05 06:29:07 +00:00
Jeremy Fincher 71791ab60b Added wordstats and whatnot. 2003-11-05 06:09:17 +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 09a64b7bea Bastages changed the format of their page! (fixed a regexp for getStats) 2003-11-04 23:04:38 +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 4a1a662b6d Add a better help description to identify 2003-11-04 22:50:22 +00:00
James Vega 863aeb3b4f Only throw a recursion error if the command matches the alias name exactly 2003-11-04 17:39:32 +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
Jeremy Fincher 8474b10f32 Made Relay not ignore, and added a check to Owner.doPrivmsg to make sure commands can't get called by ignored people (even if noIgnore is True on the plugin with the commands. 2003-11-04 17:34:48 +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 afa0cb8f41 Fixed bug in relay whois; chopping characters off the end of the channel rather than the beginning. 2003-11-04 08:50:10 +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 93f02aa959 Added curry to fix.py, converted some code to use it. 2003-11-04 08:26:54 +00:00
Jeremy Fincher c1e9205545 Stylistic update; there are things better than lambdas... 2003-11-04 08:26:52 +00:00
Jeremy Fincher 28753856eb __parented some classes. 2003-11-04 08:13:22 +00:00
Jeremy Fincher 65e469ba38 Removed crazy-buggy rate limiting stuff. 2003-11-04 08:05:16 +00:00
Jeremy Fincher 94e3726b82 Added a checkIgnored to Owner.doPrivmsg. 2003-11-04 07:05:25 +00:00
Jeremy Fincher 91b01f9fe3 Reduced some lines to fewer than 80 characters. 2003-11-04 07:03:18 +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
Jeremy Fincher ff57e4b67b Made proper super calls. 2003-11-03 23:25:04 +00:00