Commit Graph

49 Commits

Author SHA1 Message Date
Jeremy Fincher 42ce8c33a6 Swapped the argument order for utils.{pluralize,nItems} 2003-12-12 15:41:33 +00:00
Jeremy Fincher 7f7562ef42 Allow ambiguous aliases. 2003-12-10 07:43:45 +00:00
Jeremy Fincher e23bf4167b Use items() intead of iteritems() because we're deleting from the dictionary. 2003-12-03 21:54:18 +00:00
Jeremy Fincher 8cbcb2e225 Added some informational logging. 2003-12-03 21:45:02 +00:00
Jeremy Fincher 7accc317a7 Fixed the 'Alias raises a buttload of exceptions' bug. 2003-12-03 21:42:48 +00:00
Jeremy Fincher 48166f4895 Huge update to the logging infrastructure. 2003-11-26 18:21:12 +00:00
Jeremy Fincher 2c779bd543 Changed Alias.freeze to Alias.lock. 2003-11-25 10:19:40 +00:00
Jeremy Fincher 5f4a541fe1 Added __revision__ strings. 2003-11-25 08:23:47 +00:00
Jeremy Fincher df0652302c Fixed help string for alias add. 2003-11-17 06:06:43 +00:00
Jeremy Fincher e4f912fc51 Made Aliases disambiguate themselves, and made that API in Owner public. 2003-11-12 02:18:22 +00:00
Jeremy Fincher 2e0b225d0c Changed the needed= keyword arg in privmsgs.getArgs to required=. 2003-11-11 13:20:06 +00:00
Jeremy Fincher 0ca15118e7 Made Aliases persistent. 2003-11-11 12:18:25 +00:00
Jeremy Fincher 405f4ab8d9 Fixed bugs #833206 and #837628. 2003-11-11 11:30:32 +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 863aeb3b4f Only throw a recursion error if the command matches the alias name exactly 2003-11-04 17:39:32 +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 fa589ac423 Fix for bug #829353; added a test for the remove command. 2003-10-24 09:10:10 +00:00
Jeremy Fincher e298f33d7e Fixed problem with new.function. 2003-10-21 20:59:51 +00:00
Jeremy Fincher 52d4767601 Added a period to the invalid alias complaint. 2003-10-21 19:20:47 +00:00
Jeremy Fincher 55ccb85542 Removed the syntax command; changed interface of callbacks.findCallbackForCommand to return a list of the matching callbacks; fix help to handle the prefixing of the plugin name. 2003-10-20 10:25:13 +00:00
Jeremy Fincher 5c1ecc2248 Better error messages in addAlias. 2003-10-11 12:48:12 +00:00
Jeremy Fincher eb01a8e99d Removed pi -> 3.14 capability. 2003-10-11 03:37:38 +00:00
Jeremy Fincher aa7efcbad9 Fix for some bad tests; added support, fixed a long-latent bug that I thought was being tested for but wasn't. 2003-10-09 05:00:56 +00:00
Jeremy Fincher 8b7b4d97ac Added wildcard support, as per RFE #817309 2003-10-08 13:53:41 +00:00
Jeremy Fincher e0184c5422 Added some more error-checking to the addAlias method. 2003-10-08 01:26:10 +00:00
Jeremy Fincher 28fb603ca0 Added some more error-checking to the addAlias method. 2003-10-07 22:19:08 +00:00
Jeremy Fincher ec0de6431d Changed baseplugin not to require 'from baseplugin import *' because fix is now munging builtins. 2003-10-05 12:56:56 +00:00
Jeremy Fincher 14459d05d8 Commented out new.function stuff for later when new.function actually works. 2003-09-29 05:41:03 +00:00
Jeremy Fincher d2ec31c45b Fixed bug in removeAlias that it wouldn't clear the frozen set. 2003-09-13 14:46:03 +00:00
Jeremy Fincher fb60da149b Added ability to specify optional arguments in aliases with @\d+. 2003-09-13 13:30:33 +00:00
Jeremy Fincher 273e4a7a0c Added removeAlias method for easy access from within other plugins. 2003-09-10 21:15:09 +00:00
Jeremy Fincher dca69510f3 Extracted alias-adding functionality out into a function usable from within other plugins. 2003-09-10 20:25:15 +00:00
Jeremy Fincher ffefdf1ab7 Added new pipe syntax to check for recursive aliases. 2003-09-10 08:15:44 +00:00
Jeremy Fincher 8a70f15e89 Fixed bug in aliases with no arguments and added test for it. 2003-09-06 21:58:42 +00:00
Jeremy Fincher b2beec0804 Forgot to remove a format character after the last commit. 2003-09-05 06:55:58 +00:00
Jeremy Fincher 20036816c8 Converted uses of utils.pluralize to utils.nItems. 2003-09-05 06:49:14 +00:00
Jeremy Fincher 7bbb893662 Fixed bug where 'alias punish lart ' would make punish raise a 'cannot nest' error. 2003-09-02 19:51:04 +00:00
Jeremy Fincher 30d3747f1d Added utils.pluralize. 2003-09-01 05:42:35 +00:00
James Vega 07d46283ef Fixed a missing parameter to an irc.error() call 2003-08-31 21:32:53 +00:00
Jeremy Fincher d0d95cd017 Fixed odd error in findAliasCommand. 2003-08-30 19:05:03 +00:00
Jeremy Fincher 336108c736 Added example string. 2003-08-28 22:24:33 +00:00
Jeremy Fincher 1342a76b95 Removed some debug.printfs. 2003-08-22 22:58:50 +00:00
Jeremy Fincher ca646716b1 Removed spaces at the end of lines. 2003-08-20 16:26:23 +00:00
Jeremy Fincher 39cce9c3af Changed from 's.find(x) != -1' to 'x in s' 2003-08-11 17:16:03 +00:00
Jeremy Fincher 1cae9664a7 Upgraded to 2.3. 2003-07-31 06:20:58 +00:00
Jeremy Fincher c46ae750f6 Removed spurious parentheses. 2003-04-20 21:56:08 +00:00
Jeremy Fincher f6a286b311 Fixed makeNewAlias to allow and better argument handling. 2003-04-12 10:26:05 +00:00
Jeremy Fincher 088e984f8f Commented out debug.printf statements. 2003-04-09 04:31:54 +00:00
Jeremy Fincher 6305958784 Initial import. 2003-04-08 07:00:39 +00:00