Commit Graph

  • 028b23d41c Allowed abbrev to accept the dictionary object (good for passing in shelves or PersistentDictionaries). Jeremy Fincher 2003-11-11 14:16:27 +00:00
  • 94041acb9b Changed to use utils.abbrev to allow any unambiguous abbreviation. Jeremy Fincher 2003-11-11 14:14:34 +00:00
  • e0cfe722c7 Added an assert for easier debugging. Jeremy Fincher 2003-11-11 14:06:19 +00:00
  • 2e0b225d0c Changed the needed= keyword arg in privmsgs.getArgs to required=. Jeremy Fincher 2003-11-11 13:20:06 +00:00
  • 86e2110010 Changed the name of Notes to Note and changed some command names in Note. Jeremy Fincher 2003-11-11 12:59:27 +00:00
  • 0ca15118e7 Made Aliases persistent. Jeremy Fincher 2003-11-11 12:18:25 +00:00
  • 225ee0ed6a Oops, SyntaxError. Jeremy Fincher 2003-11-11 12:11:13 +00:00
  • fdde2759df Reordered superclasses so the proper die() method is called. Jeremy Fincher 2003-11-11 11:45:44 +00:00
  • 0a3b05f1fb Moved action to Misc from Utilities. Jeremy Fincher 2003-11-11 11:43:51 +00:00
  • 754978850c Give a proper error message for possibly uncaught exception: bug #839653. Jeremy Fincher 2003-11-11 11:37:17 +00:00
  • 3b6b478aac Moved action to Misc from Utilities. Jeremy Fincher 2003-11-11 11:32:09 +00:00
  • 405f4ab8d9 Fixed bugs #833206 and #837628. Jeremy Fincher 2003-11-11 11:30:32 +00:00
  • c50e27a278 Fixed bug #838900. Jeremy Fincher 2003-11-10 23:39:44 +00:00
  • 4cc9579582 Fixed bug in tests; it was caused by the prefix character being snarfed in along with the URL. Jeremy Fincher 2003-11-10 23:24:19 +00:00
  • 8c10948d2e Fixed bug in tests; it was caused by the prefix character being snarfed in along with the URL. Jeremy Fincher 2003-11-10 23:24:19 +00:00
  • bb9cb5d67c Fixed some bugs, tested some more and fixed those two. Boomshakalaka! Jeremy Fincher 2003-11-10 22:43:19 +00:00
  • 473ce16776 Added more tests for the lexer, to make sure stuff within dangling parens is left alone. Daniel DiPaolo 2003-11-10 20:25:24 +00:00
  • 9d8d47bbe7 Fix the @seen --user bug and add a test to keep it fixed James Vega 2003-11-10 16:02:17 +00:00
  • 8f1329b20e Refactored a touch. Jeremy Fincher 2003-11-10 15:26:55 +00:00
  • 973cc66793 Didn't have a .users before the getUser. Jeremy Fincher 2003-11-10 15:21:08 +00:00
  • 2c78876a5e Add a url that tinyurl had some problems with James Vega 2003-11-10 14:49:27 +00:00
  • 9dd2680a9f Fix for bug #839053 (parens without bars not handled correctly). Jeremy Fincher 2003-11-10 10:46:57 +00:00
  • 830301570f Added ignore, unignore, and ignores to be complete with Channel. Jeremy Fincher 2003-11-09 14:34:23 +00:00
  • afeba84113 Added a test for a bug I thought was there but turns out isn't. Jeremy Fincher 2003-11-09 14:19:50 +00:00
  • 717fcab297 Removed the 'chan' from commands. Jeremy Fincher 2003-11-09 14:11:15 +00:00
  • 8580b6a44e Made Owner complain if there is more than one src/ plugin with a given command. Jeremy Fincher 2003-11-09 14:01:36 +00:00
  • 4b94ebe146 Add handling of 'Invalid Item' pages. Update tests to check 'Invalid Item' handling and to parse another active .ca page James Vega 2003-11-09 03:15:24 +00:00
  • 234728b322 Changed to Configurable. Jeremy Fincher 2003-11-08 09:51:05 +00:00
  • 783b56bbed Removed Toggle stuff. Jeremy Fincher 2003-11-08 09:47:48 +00:00
  • 9b6bbd5087 Forgot to commit this for the Configurable update. Jeremy Fincher 2003-11-08 09:46:50 +00:00
  • 0435ff00dc Added ConfigurableTypes.{str,int}. Jeremy Fincher 2003-11-08 09:46:23 +00:00
  • 024f462361 Converted to Configurable. Jeremy Fincher 2003-11-08 09:44:04 +00:00
  • 6519d08ed4 Removed the Toggleable subclass, since it wasn't being used at all (accidentally committed earlier, I'm sure). Jeremy Fincher 2003-11-08 09:28:02 +00:00
  • 3275859597 Converted to Configurable. Also reverted the _urlRe back to the old version, which works better. I don't care that parentheses are valid URL characters, they simply never happen in practice. Practicality beats Purity. Jeremy Fincher 2003-11-08 09:26:33 +00:00
  • c434925798 Updated to use Configurable. Jeremy Fincher 2003-11-08 09:02:30 +00:00
  • f2d3e99346 Converted to Configurable. Jeremy Fincher 2003-11-08 08:12:25 +00:00
  • 3ed58d9115 Updated to use Configurable. Jeremy Fincher 2003-11-08 08:07:44 +00:00
  • 64e664e0bc Converted to use Configurable instead of Toggleable. Jeremy Fincher 2003-11-08 08:01:34 +00:00
  • 367d561d10 Removed the test for ToggleDictionary, pending the complete removal of Toggleable. Jeremy Fincher 2003-11-08 07:47:12 +00:00
  • 2058d50eb3 Converted to Configurable. Jeremy Fincher 2003-11-08 07:37:41 +00:00
  • 5fb5533e49 Hopefully fixed bugs in Unix.spell once and for all. Jeremy Fincher 2003-11-08 07:29:45 +00:00
  • 4711e227f4 Fixed a few more metacharacter DoS bugs. Daniel DiPaolo 2003-11-08 03:16:24 +00:00
  • e5249c859d Updated to use Configurable. Jeremy Fincher 2003-11-08 00:10:38 +00:00
  • b4e12a10bc Fixed some bugs. Jeremy Fincher 2003-11-08 00:10:09 +00:00
  • 143295104a Updated. Jeremy Fincher 2003-11-08 00:09:54 +00:00
  • 362ca56305 Fixed some bugs, added a test for ConfigurableDictionary. Jeremy Fincher 2003-11-07 23:36:46 +00:00
  • 248312fe05 Added a test for lithp. Jeremy Fincher 2003-11-07 22:31:52 +00:00
  • cbe13abbf8 Added a ConfigurableTypes class for various type converters. Jeremy Fincher 2003-11-07 20:16:14 +00:00
  • 69adce4a57 Added Configurable class and changed Ebay to use it (as an example). Jeremy Fincher 2003-11-07 20:11:37 +00:00
  • 901a225619 Added safeEval. Jeremy Fincher 2003-11-07 19:40:03 +00:00
  • 900f2a97f9 Make sure '@action' works James Vega 2003-11-07 19:09:55 +00:00
  • 646cbe4c32 Fixed stupid syntaxerror. Jeremy Fincher 2003-11-07 18:59:55 +00:00
  • ee7ce27b61 @echo should reply with help when it receives no arguments James Vega 2003-11-07 18:51:49 +00:00
  • ca8ed7204b Added a colorize command James Vega 2003-11-07 18:49:26 +00:00
  • df88fc99d3 Removed an assertion that was asserting a condition that didn't need to be true. Jeremy Fincher 2003-11-07 18:44:18 +00:00
  • 9b6dce4961 Committed partial Configurable implementation (gotta go back home and hack on it more later). Jeremy Fincher 2003-11-07 15:42:15 +00:00
  • 7d5a7bf7f0 The purpose of help has changed and morehelp is no longer a valid command. help -> syntax, morehelp -> help James Vega 2003-11-07 15:10:00 +00:00
  • c32939ffb1 Using 'was url)' caused problems since () are legal characters in a url. Switched to 'was <url>)' for tinysnarf replies. James Vega 2003-11-07 14:59:33 +00:00
  • 25aacc3cd7 Add name ordering and mode-characters for relay names. Name ordering is also done by mode (ops sorted, then voices, etc) James Vega 2003-11-07 14:54:48 +00:00
  • 4200349aea Forgot to actually creat the _snarfedUrls attribute. Jeremy Fincher 2003-11-07 14:10:28 +00:00
  • 867814eb1d Oops, forgot to commit this. Jeremy Fincher 2003-11-07 12:47:36 +00:00
  • 5dd35ea601 Untested, but I wanted to get urlSnarfer in there. Jeremy Fincher 2003-11-07 12:40:18 +00:00
  • 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. Jeremy Fincher 2003-11-07 12:12:47 +00:00
  • 54aec8d3b2 Added hostmask and added_at to the 'get' command, to reveal impostors! Daniel DiPaolo 2003-11-06 21:50:23 +00:00
  • abbe99fd8c Fixed bug in seen regexp that would catch the old GK rating, too. Jeremy Fincher 2003-11-06 21:33:50 +00:00
  • 3f1296a858 Fixed some text to read a bit better. Still doesn't look quite perfect though Daniel DiPaolo 2003-11-06 21:22:13 +00:00
  • 2a33262b9e Converted to be somewhat clearer than _mostDict. Jeremy Fincher 2003-11-06 21:10:47 +00:00
  • 12c52807f8 Default displaying of usage examples to False until we put the example strings back in James Vega 2003-11-06 20:49:37 +00:00
  • 5a6f3ee7bb Removed the example strings until we figure out what to do with them James Vega 2003-11-06 20:42:27 +00:00
  • 3995cc3414 Switched to assertError for when no factoids exist and added testing of author ordering James Vega 2003-11-06 20:22:02 +00:00
  • 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. Daniel DiPaolo 2003-11-06 20:21:59 +00:00
  • ea81e966ff ddipaolo suggested switching from a tuple to a dictionary to make things more intuitive (if we even decide to keep this format) James Vega 2003-11-06 18:31:56 +00:00
  • ac97573d92 Well, now @most has one set of commands that it will run, but it required a big dictionary. James Vega 2003-11-06 18:19:41 +00:00
  • a55193ea62 Added @most <popular|authored|recent> (RFE #829830) James Vega 2003-11-06 17:24:49 +00:00
  • 6ea38aeffc Changed wordstats to use accessor ircdb.users.getUser instead of accessing the ircdb.users.users data structure directly. Daniel DiPaolo 2003-11-06 16:41:49 +00:00
  • adc9e0552d Overhauled 'wordstats' to handle a plethora of argument combinations and wrote some naaaaaaaaasty tests to make sure they work as expected. Daniel DiPaolo 2003-11-06 06:41:04 +00:00
  • f051166e60 Added a "quotegrabs get" command to get quotegrabs by id Daniel DiPaolo 2003-11-05 23:56:30 +00:00
  • c746f9459b Optimization to hostmaskPatternEqual. Jeremy Fincher 2003-11-05 22:21:43 +00:00
  • 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 James Vega 2003-11-05 20:37:39 +00:00
  • 84bff2f755 @tiny should be specifying cmd=True when I call _getTinyUrl. That was the whole point of having a cmd parameter. James Vega 2003-11-05 19:45:55 +00:00
  • b14ee76ca0 Added 'chanignores' command to list current channel ignores. Daniel DiPaolo 2003-11-05 17:22:38 +00:00
  • 6de6fb863b Changed the initial value of threadsSpawned to 1. Jeremy Fincher 2003-11-05 08:32:26 +00:00
  • 1a4780b854 Added an addword test and fixed the wordstats failures. Jeremy Fincher 2003-11-05 07:59:44 +00:00
  • 5081016c2f Added some wordstats tests. Daniel DiPaolo 2003-11-05 07:56:05 +00:00
  • 9e94295d34 Fixed possible raised KeyError. Jeremy Fincher 2003-11-05 07:43:48 +00:00
  • 5d45c92592 Fixed the stupid DOM Element output, added test. Jeremy Fincher 2003-11-05 07:10:44 +00:00
  • 76ad28918f Fixed the stupid DOM Element output, added test. Jeremy Fincher 2003-11-05 06:56:03 +00:00
  • ed94dd44ca Fixed freshmeat command, changed it to use xml.dom.minidom. Also removed example string. Jeremy Fincher 2003-11-05 06:50:06 +00:00
  • ce212fa2cd Fixed bug #835786 -- case insensitive now. Jeremy Fincher 2003-11-05 06:29:07 +00:00
  • 71791ab60b Added wordstats and whatnot. Jeremy Fincher 2003-11-05 06:09:17 +00:00
  • c803edc689 Added substitution and fixed ' returns the same thing all the time' bug. Jeremy Fincher 2003-11-05 04:57:13 +00:00
  • 57e0e75c20 Finally caught Bug #835371. Also refactored the plugin and added some tests James Vega 2003-11-05 02:13:41 +00:00
  • 09a64b7bea Bastages changed the format of their page! (fixed a regexp for getStats) James Vega 2003-11-04 23:04:38 +00:00
  • 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 James Vega 2003-11-04 22:51:20 +00:00
  • 4a1a662b6d Add a better help description to identify James Vega 2003-11-04 22:50:22 +00:00
  • 863aeb3b4f Only throw a recursion error if the command matches the alias name exactly James Vega 2003-11-04 17:39:32 +00:00
  • 8b6783ea55 Apparently NoRecurse only failed when the word for the alias was a subset of the command word. James Vega 2003-11-04 17:37:04 +00:00
  • 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. Jeremy Fincher 2003-11-04 17:34:48 +00:00
  • 5f2f970163 Test to make sure recursiveAlias only errors when the full word matches James Vega 2003-11-04 17:32:31 +00:00
  • 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. James Vega 2003-11-04 16:14:11 +00:00