Commit Graph

97 Commits

Author SHA1 Message Date
James Vega
26a458b9ec Merge branch 'maint/0.83.4' 2010-09-20 19:46:18 -04:00
James Vega
074ded49e4 Use the plugin name for Owner.defaultplugin's error message.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-20 18:20:52 -04:00
James Vega
c53f8cd510 Rename Owner.log to Owner.logmark
Since every plugin has a log method (to do actual logging), the log command
was conflicting with that.  The attempted workaround was overly complicated
and broken.  Simply renaming the command to logmark simplifies everything.

Closes Sf #2889709

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit acaa9b1fd6)
2010-08-24 19:21:58 -04:00
James Vega
082ee59d32 Change a couple tests so they fail for real reasons instead of fake.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-11-01 19:08:34 -05:00
James Vega
acaa9b1fd6 Rename Owner.log to Owner.logmark
Since every plugin has a log method (to do actual logging), the log command
was conflicting with that.  The attempted workaround was overly complicated
and broken.  Simply renaming the command to logmark simplifies everything.

Closes Sf #2889709

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-10-31 18:22:14 -04:00
James Vega
eff20402ac Change canonize => normalize
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-08-27 16:41:34 -04:00
James Vega
614fa22038 Fix a syntax error in the last command flood commit 2009-03-11 13:37:26 -04:00
James Vega
300443c8f6 Finish the implementation of command flood prevention 2009-03-11 13:37:26 -04:00
James Vega
d39846ae68 Add a pointer to importantPlugins config var in defaultplugin's help. 2009-03-11 13:37:25 -04:00
James Vega
680473b015 If we're using python2.5, import re in place of sre. 2007-04-25 16:12:21 +00:00
James Vega
a3e4fc5b1d Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
James Vega
0af83d2e24 src/conf, plugins/Owner, plugins/Network: Add support for specifying an ssl connection via Network.connect. 2005-12-14 04:20:04 +00:00
James Vega
f926f1d5c2 plugins/Owner: Fix the bug where plugins couldn't be loaded until after the first network was connected to. 2005-09-01 22:18:30 +00:00
Jeremy Fincher
603cab6b0a Loaded plugins during __init__ rather than do001. 2005-08-15 05:37:05 +00:00
Jeremy Fincher
27656e5fef Added a few more asserts and clarified an already existing one. 2005-08-15 05:36:23 +00:00
Jeremy Fincher
08ab492c4a Fixed our NoSuitableDatabase error message not to log a traceback. 2005-05-18 17:44:28 +00:00
Jeremy Fincher
0b848199b5 Fixed some style issues with logging calls. 2005-05-18 04:18:35 +00:00
James Vega
170d735c91 plugins/Owner: Update some tests to how they should be written. Now we just need to get the code to work correctly. 2005-05-11 01:00:01 +00:00
James Vega
53cc36bd9c Really fix enable. 2005-04-21 03:27:03 +00:00
James Vega
8ccf3ade45 Fix enable so we can actually enable commands again. 2005-04-21 03:06:43 +00:00
James Vega
1dd6dc5b9e Proper fix for upkeep. 2005-03-25 18:48:49 +00:00
Jeremy Fincher
1a1a40ad1f Forgot a parenthese, resulting in a TypeError. 2005-03-25 18:13:55 +00:00
James Vega
9971e991fe Fix the modelines. 2005-03-23 20:07:45 +00:00
James Vega
7c5463dd3e Add some more assertion messages. 2005-03-22 19:03:02 +00:00
Jeremy Fincher
6756d4958c Fixed Owner.isCommand to be isCommandMethod. 2005-02-18 18:33:01 +00:00
James Vega
9ed5efaaef Fix defaultPlugin to work with jemfinch's refactoring. 2005-02-18 13:40:05 +00:00
James Vega
90c000793d utils.gen.* functions shouldn't explicitly be called since they're all in the utils namespace. 2005-02-15 13:57:57 +00:00
Jeremy Fincher
b0cb616709 Changed callbacks.Privmsg to be callbacks.Plugin, and callbacks.PrivmsgCommandAndRegexp to be callbacks.Plugin. 2005-02-09 07:04:04 +00:00
Jeremy Fincher
203491e7c3 Don't load plugins whose name doesn't start with a capital. This fixed (or at least hides) the alwaysLoadImportant warning. 2005-02-09 00:32:00 +00:00
Jeremy Fincher
70d1b1d5d0 Moved _mores to IrcObjectProxy, where it more rightfully belongs. 2005-02-07 06:28:52 +00:00
Jeremy Fincher
571ff24155 Changed canonicalize to canonize -- thanks Skorobeus! 2005-02-04 03:19:05 +00:00
Jeremy Fincher
641c5cd634 Added __version__ strings to already-converted plugins. 2005-02-01 06:15:37 +00:00
James Vega
642e88118c Unbreak the Owner tests. 2005-01-31 16:01:25 +00:00
James Vega
ec045afd9c Removed extraneous whitespace, unused imports, and converted some sets.Set() calls to set(). 2005-01-31 15:24:36 +00:00
James Vega
28cb5abc65 Update usage of functions in utils.gen. 2005-01-31 13:06:43 +00:00
Jeremy Fincher
9e83114a24 Un-break the bot. This stuff should probably go somewhere other than the Owner plugin at some point. 2005-01-29 21:43:23 +00:00
Jeremy Fincher
68b1d65d68 Plugin normalization, sanitation, etc. Removed unused imports, for the most part. 2005-01-29 21:24:17 +00:00
Jeremy Fincher
381a42d863 Added an "irc" argument to callbacks.Privmsg.__init__, so now plugins get an Irc on instantiation. 2005-01-29 19:16:29 +00:00
Jeremy Fincher
5fd6bbb52d Completely restructured our utils modules.
Tons of changes.  Here's the summary of things that matter most:

* There is no more supybot.fix.
* There is no more supybot.webutils; now there is supybot.utils.web.
  * It's no longer webutils.WebError, but just utils.web.Error.
* You shouldn't import itertools, ideally, but instead import utils.iter.
* No more using imap/ifilter in commands unless absolutely necessary.  It's
  premature optimization and annoying.
* utils.str.format isn't quite ready yet, but will be soon.  That'll be the
  next big thing to fix in our code.
2005-01-27 06:59:08 +00:00
Jeremy Fincher
7fb3b21d94 Removed src/privmsgs.py and all the accompanying crap. 2005-01-27 05:42:36 +00:00
Jeremy Fincher
badec534df Changed tests to be more independent of outside plugins. 2005-01-19 23:23:47 +00:00
Jeremy Fincher
863c0e6ad2 Moved loadPlugin{Module,Class} to its own module in src/ 2005-01-19 23:22:35 +00:00
Jeremy Fincher
8d415d7631 Updated to work with the new supybot-test. 2005-01-19 23:20:46 +00:00
Jeremy Fincher
2c31235a3e Moved docstrings in plugin packages to __init__.py instead of plugin.py; no lazy "backwards compatibility" hack. 2005-01-19 23:17:35 +00:00
Jeremy Fincher
683c2c1018 PluginDocumentation Removal 2005-01-19 18:05:53 +00:00
Jeremy Fincher
5019d10a1b Updated license years. 2005-01-19 13:33:05 +00:00
Jeremy Fincher
8ca625d339 Initial import. 2005-01-19 13:14:38 +00:00