Commit Graph

  • 51637b3b00 Forgot this from the nested plugins changes. Jeremy Fincher 2005-02-28 07:59:46 +00:00
  • fc2a18bdb3 Added a name= keyword argument for commands.wrap, to override the name of the method being wrapped. Jeremy Fincher 2005-02-28 07:58:46 +00:00
  • 7c2bbeb638 Forgot the tests for source-nested plugins. Jeremy Fincher 2005-02-25 10:00:42 +00:00
  • 65fbb08c7f Started using source-nested plugins. Jeremy Fincher 2005-02-24 12:49:25 +00:00
  • 574e9509b7 Added support for source-nested plugins. Jeremy Fincher 2005-02-24 12:49:08 +00:00
  • 09eecf5a4e Fix ranking display. James Vega 2005-02-26 16:24:26 +00:00
  • 72edc74fbd Show the person's part message (if there is one). James Vega 2005-02-25 18:53:36 +00:00
  • d43828ecfa Added split throttling to the Herald plugin. Jeremy Fincher 2005-02-25 10:01:00 +00:00
  • 13e1f7ccb9 Added isSplit, a function for checking whether a given QUIT message is a split quit. Jeremy Fincher 2005-02-25 09:59:39 +00:00
  • 50d390ece4 Added a reset method, a couple more tests, and fixed a slight bug (IndexError being raised from the wrong place) Jeremy Fincher 2005-02-25 09:44:51 +00:00
  • b0e006ab12 Fixed help to show the full command. Jeremy Fincher 2005-02-24 12:50:09 +00:00
  • b272bd7752 Goodbye debug log. James Vega 2005-02-25 04:58:40 +00:00
  • 919f9e0915 Grammar nazi of DOOM! James Vega 2005-02-25 00:06:16 +00:00
  • 80c53dcea3 Make automatic announcement errors not: a) poll every time __call__ is called, b) respond with the errors. James Vega 2005-02-25 00:04:39 +00:00
  • 4648360a04 Added op, halfop, and voice converters, and converted Channel to use them. Jeremy Fincher 2005-02-24 09:59:21 +00:00
  • 1e56f0df7e Forgot to have a case for a disabled channel :) Jeremy Fincher 2005-02-24 09:54:48 +00:00
  • 74e4299636 Forgot a dot. Jeremy Fincher 2005-02-24 09:13:33 +00:00
  • e863999e16 Accidentally changed this from an error to a reply when refactoring. Jeremy Fincher 2005-02-24 04:25:28 +00:00
  • 48c472d493 Check for the unknown author and special case accordingly Kevin Murphy 2005-02-23 18:17:01 +00:00
  • 5e5e2f3336 Fixed some typos Kevin Murphy 2005-02-23 17:40:44 +00:00
  • 2408457221 Fix a bug with a missing argument for string formatting. James Vega 2005-02-23 16:40:21 +00:00
  • 181c623703 Make our error message for the Plugin.__init__ changes better and try to prevent spurious, invalid error messages. James Vega 2005-02-23 00:04:07 +00:00
  • 527a6e1834 Fix the problem with RSS complaining about invalid feed names. James Vega 2005-02-23 00:03:09 +00:00
  • db36e979db Wrap Plugin.list. James Vega 2005-02-22 23:51:01 +00:00
  • 98199fe693 Forgot to add Limiter to setup.py James Vega 2005-02-22 23:50:21 +00:00
  • 234beab9aa Add Limiter in the new plugin format. James Vega 2005-02-22 19:35:35 +00:00
  • 25ae2a52cf Use get to avoid a KeyError. James Vega 2005-02-22 14:28:45 +00:00
  • 3f94bf6dae Fix an exception in RSS.announce. James Vega 2005-02-22 14:27:59 +00:00
  • 9f6fcf260f Add Todo in the new plugin format. The db format has been changed to a single flat file per user. James Vega 2005-02-21 01:27:12 +00:00
  • 07814fc808 Fix for bug in first.__repr__. Jeremy Fincher 2005-02-21 01:04:45 +00:00
  • 06a6656dc7 Updated Status to use some of the new methods. Jeremy Fincher 2005-02-19 23:44:50 +00:00
  • 66036c344f Oops, forgot a format. Jeremy Fincher 2005-02-19 19:48:48 +00:00
  • 1c10d4cd20 Fixed help. Jeremy Fincher 2005-02-19 19:44:49 +00:00
  • ee7ca1668c Fix for the new refactoring in callbacks. Jeremy Fincher 2005-02-19 08:43:37 +00:00
  • aff8f8636e Disallow retrieving other people's capabilities and make the response private so we don't leak channel information. James Vega 2005-02-19 00:23:34 +00:00
  • 21970da9f0 Make use of format() in a few more places. James Vega 2005-02-19 00:22:23 +00:00
  • 5985562a31 Put the monkey patch in the wrong place. Jeremy Fincher 2005-02-18 23:53:11 +00:00
  • c9408a95f5 Re-added capability checking stuff. Boo. This needs refactored. Jeremy Fincher 2005-02-18 23:44:38 +00:00
  • ff3b03973f Let's not try to call getCommand on callbacks that don't have it. Jeremy Fincher 2005-02-18 23:01:41 +00:00
  • 7ff9463f9b A little refactoring, a few more cases where we should ignore messages. Jeremy Fincher 2005-02-18 23:00:59 +00:00
  • 6756d4958c Fixed Owner.isCommand to be isCommandMethod. Jeremy Fincher 2005-02-18 18:33:01 +00:00
  • ff8728b6c1 Moved the titleSnarfer to Web, so we need to insist that we're called before that instead. Jeremy Fincher 2005-02-18 18:46:57 +00:00
  • 08b4359be0 Fix for bug #1143733. Jeremy Fincher 2005-02-18 18:41:38 +00:00
  • 06feea3ae7 Fixed test failures caused after test_irclib.py runs, and added a couple extra asserts and some commented out lines for more predictable test order. Jeremy Fincher 2005-02-18 18:31:44 +00:00
  • cf760c0401 Changed Karma's tokenizedCommand to an invalidCommand. Jeremy Fincher 2005-02-18 16:24:48 +00:00
  • b0df87ed7d Fixed addressedRegexps handling in PluginRegexp. Jeremy Fincher 2005-02-18 16:19:44 +00:00
  • 568ebcdf96 Add tests for utils.iter.choice. James Vega 2005-02-18 13:40:29 +00:00
  • 9ed5efaaef Fix defaultPlugin to work with jemfinch's refactoring. James Vega 2005-02-18 13:40:05 +00:00
  • f50edbe008 Added our hacked shlex.py, prior to the 2.3 bastardization that made it unsuitable for our purposes. Jeremy Fincher 2005-02-18 08:30:59 +00:00
  • e6645df9aa Removed the generated value, which is less than useful. Jeremy Fincher 2005-02-18 08:30:35 +00:00
  • 34e4891bbc Changed to use getattr again; getCommandMethod is pretty much reserved for, well, commands. Jeremy Fincher 2005-02-18 08:26:28 +00:00
  • 9327be4b59 Added an assert to make sure findCallbacksForArgs is used correctly. Jeremy Fincher 2005-02-18 08:26:02 +00:00
  • e926198c8f Forgot to remove this with the rest of the Babelfish removal. Jeremy Fincher 2005-02-18 07:36:32 +00:00
  • fe353df39f Removed Babelfish, sending it to supybot-plugins. Jeremy Fincher 2005-02-18 07:34:18 +00:00
  • bd23fd647b Fixed to make the tests run again with the new refactoring. Jeremy Fincher 2005-02-18 07:31:51 +00:00
  • 3fc1553fc8 Added an option to clean the log/conf/data directories to supybot-test. Jeremy Fincher 2005-02-18 07:31:19 +00:00
  • 6aca01bafb Made utils.file.mktemp a little more stochastic. Jeremy Fincher 2005-02-18 07:04:48 +00:00
  • 8756b79cc4 Moved the appropriate commands from Misc to Plugin, and fixed the test failures in the process. Jeremy Fincher 2005-02-18 06:31:26 +00:00
  • 180291dd34 Cleaned up listCommands a bit. Jeremy Fincher 2005-02-18 06:30:46 +00:00
  • 2f928e9888 Added default-to-important-plugins behavior back. Jeremy Fincher 2005-02-18 06:30:22 +00:00
  • 2a75f4b83d Added a classModule attribute to plugins to have easy access to it (the new plugin format made that significantly harder for us; this is an easy workaround). Jeremy Fincher 2005-02-18 06:14:17 +00:00
  • ed0b91c3df Tweaked some methods to fix some bugs (yes, it's ambiguous, I know). Jeremy Fincher 2005-02-18 06:13:47 +00:00
  • 0e86d75ed7 Fixed apropos and help to work with the newly refactored command change. Jeremy Fincher 2005-02-18 05:21:15 +00:00
  • c864836a2f Finally refactored to make commands be "lists of strings" rather than just strings. This is preliminary to allowing nested plugins. Jeremy Fincher 2005-02-18 05:17:23 +00:00
  • 5b3b616671 Forgot to remove the tests for getCommands. Jeremy Fincher 2005-02-18 02:44:52 +00:00
  • 4808a68f7d Added utils.iter.startswith. Jeremy Fincher 2005-02-17 23:30:54 +00:00
  • 4f99f41266 Removed a useless comment. Jeremy Fincher 2005-02-18 00:23:53 +00:00
  • c1c46495b3 Added a canonicalName method to plugins. Jeremy Fincher 2005-02-18 00:16:06 +00:00
  • c3e1d1daca Another elucidating comment. Jeremy Fincher 2005-02-17 23:39:21 +00:00
  • e26d46f416 Added some elucidating comments and asserts. Jeremy Fincher 2005-02-17 23:26:11 +00:00
  • 849b12ec8b Removed getCommands, which isn't being used by anything. Jeremy Fincher 2005-02-17 23:14:54 +00:00
  • c2dbe9d8ae Another callbacks.Privmsg => callbacks.Plugin conversion. Jeremy Fincher 2005-02-17 22:42:02 +00:00
  • 156084c225 Fixed some bugs introduced with the latest refactoring of callCommand, etc. Jeremy Fincher 2005-02-17 22:39:44 +00:00
  • cb886de87e Move Weather to supybot-plugins. James Vega 2005-02-17 11:45:15 +00:00
  • 544e965605 Now we can try to setup a proper environment for our Supybot. Jeremy Fincher 2005-02-17 09:27:01 +00:00
  • 587689f1bf Move Weather to supybot-plugins. James Vega 2005-02-17 03:08:48 +00:00
  • 2693d404b4 Refactored _callCommand to put it in its appropriate place. Jeremy Fincher 2005-02-16 02:17:05 +00:00
  • 7389f1757c Forgot an import which broke choice. Jeremy Fincher 2005-02-16 02:15:51 +00:00
  • ada52c729d Needed to re-raise ArgumentError in order to prevent a spurious test failure. Jeremy Fincher 2005-02-15 07:40:03 +00:00
  • 90c000793d utils.gen.* functions shouldn't explicitly be called since they're all in the utils namespace. James Vega 2005-02-15 13:57:57 +00:00
  • 0ba3b076a5 Forgot to remove log.stat calls from drivers stuff. Jeremy Fincher 2005-02-15 07:18:01 +00:00
  • e97f111042 Removed the checkCapabilities keyword argument because it wasn't used anywhere in our source code. Jeremy Fincher 2005-02-15 06:56:24 +00:00
  • 99d723802e Changed the name of getCommand to getCommandMethod in preparation for a major refactoring. Jeremy Fincher 2005-02-15 06:53:30 +00:00
  • c09a7cace1 Removed log.stat, it was dumb. Jeremy Fincher 2005-02-15 06:49:51 +00:00
  • 1193890c36 Moved the progstats function directly into the command, since we don't need it from configure() anymore. Jeremy Fincher 2005-02-15 06:49:14 +00:00
  • b13a607e2c Fix some test failures. James Vega 2005-02-13 02:53:31 +00:00
  • 1e5332ff97 Update Karma for the utils restructuring. James Vega 2005-02-13 02:25:00 +00:00
  • dd1c287655 Added progstats and environ commands. Jeremy Fincher 2005-02-12 07:18:59 +00:00
  • e8c6e6f978 Let's try a sh -cl to act like a login shell. Jeremy Fincher 2005-02-12 07:02:47 +00:00
  • 34d20cab44 Fix a bug in Weather.wunder due to improperly ordered arguments to re.search James Vega 2005-02-11 17:13:46 +00:00
  • e3b039b2e3 Add Weather.rsswunder James Vega 2005-02-11 17:12:59 +00:00
  • 32dce478c5 Let's be honest about what we accept. Jeremy Fincher 2005-02-10 07:35:49 +00:00
  • fdbecfd1d4 Changed the name of the strlen command just to be 'len'. Jeremy Fincher 2005-02-10 07:04:08 +00:00
  • afd53f212d Removed commands that were moved to String. Jeremy Fincher 2005-02-10 07:01:08 +00:00
  • 68ef3d86a4 Fix some grammar in the help string. James Vega 2005-02-10 03:16:54 +00:00
  • 4030026c4c Catch the proper errors when a field isn't found. James Vega 2005-02-10 03:15:02 +00:00
  • 9f6e826481 Make Weather.weather less complicated and fix the bug where it wouldn't be listed as a command until it had been called once. James Vega 2005-02-10 03:14:09 +00:00
  • ad35c62568 Refactored to split up Plugin into Commands and PluginMixin. Jeremy Fincher 2005-02-10 02:46:18 +00:00
  • 181d0d59c6 Had the more and the messages reversed. Jeremy Fincher 2005-02-10 01:28:38 +00:00
  • f7917bce77 Update class names. James Vega 2005-02-09 21:50:12 +00:00