Commit Graph

225 Commits

Author SHA1 Message Date
Jeremy Fincher
73f639b55f Changed supybot.protocols.irc.refuseToQueueDuplicateMessages to supybot.protocols.irc.queuing.duplicates. 2005-04-14 00:56:26 +00:00
Jeremy Fincher
0773aa31e5 Made Proxy Irc objects map to the same dictionary slot, so we don't need to worry about calling getRealIrc all the time. 2005-03-28 13:00:37 +00:00
James Vega
9971e991fe Fix the modelines. 2005-03-23 20:07:45 +00:00
James Vega
aefcd594df Move structures to utils/ 2005-03-12 18:01:47 +00:00
Jeremy Fincher
51637b3b00 Forgot this from the nested plugins changes. 2005-02-28 07:59:46 +00:00
James Vega
2408457221 Fix a bug with a missing argument for string formatting. 2005-02-23 16:40:21 +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
46225641bd Changed the implementation of IrcMsgQueue a bit. 2005-02-09 05:30:14 +00:00
Jeremy Fincher
476a620fe4 Fixed possible error when the returned message includes formatting characters. 2005-02-07 05:43:27 +00:00
Jeremy Fincher
6b75be6e60 Changed supybot.protocols.irc.queueDuplicateMessages.
Changed supybot.protocols.irc.queueDuplicateMessages to
supybot.protocols.irc.refuseToQueueDuplicateMessages, and changed the default
to be to allow duplicate messages, rather than to reject them.
2005-02-03 20:13:49 +00:00
Jeremy Fincher
f930913b05 Removed the sets import from irclib.py. 2005-02-03 19:17:26 +00:00
James Vega
68d3b830da Remove the use of format() in logger functions since they handle it natively. 2005-02-01 13:43:57 +00:00
James Vega
0fde2393e6 Update usage of utils.iter functions. 2005-01-31 15:22:48 +00:00
James Vega
de89bf0265 Update usage of utils.str functions. 2005-01-31 14:52:27 +00:00
James Vega
28cb5abc65 Update usage of functions in utils.gen. 2005-01-31 13:06:43 +00:00
Jeremy Fincher
c08d435267 Fixed bug in irclib.IrcState's handling of KICK messages; they wouldn't remove the channel if the bot was kicked from it. 2005-01-28 13:58:59 +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
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
James Vega
dbfec8afb9 Add supybot module 2007-04-22 20:10:26 +00:00
Jeremy Fincher
f63fa6846f Elucidating comment, XXX, and hopefully a fix for the problems with using Network.disconnect while a socketDriver is reconnecting. 2005-01-10 20:41:23 +00:00
Jeremy Fincher
bc5e7de336 Let's try this location for our placement of a dynamic channel. 2004-12-17 06:02:10 +00:00
Jeremy Fincher
aa83ab2420 Removed an XXX. 2004-12-16 09:02:55 +00:00
Jeremy Fincher
c73ca6941b Send an error message to plugins on disconnect. 2004-12-15 07:03:39 +00:00
Jeremy Fincher
265d620a0e Changed a warning log to info. 2004-12-10 06:29:23 +00:00
Jeremy Fincher
8eaec18a5e Fix for broken test_Topic. 2004-12-07 01:16:06 +00:00
Jeremy Fincher
58c631bd8f Yes, we do. 2004-12-07 00:27:47 +00:00
Jeremy Fincher
e24943b0c7 Some extra methods for ChannelState; code should now use these methods instead of directly accessing .{ops,voices,halfops}. 2004-11-30 04:43:09 +00:00
James Vega
1e159fb386 Add an XXX 2004-11-12 16:25:35 +00:00
Jeremy Fincher
89e52c3ea9 Changed a log from WARNING to DEBUG. 2004-11-05 14:56:32 +00:00
James Vega
cbd5abbab7 A bunch more %r -> %s conversions as well as wrap updates, new policy for
Channel.voice and some bug fixes for Debian
2004-10-25 22:59:03 +00:00
Jeremy Fincher
c256a3d275 Fix for uncaught exception in IrcState.addMsg. 2004-10-24 07:59:54 +00:00
Jeremy Fincher
a238ed6298 Fixed TODO #1047283. 2004-10-22 06:21:34 +00:00
Jeremy Fincher
724b612f52 Only try to ping if we're not a zombie. 2004-10-22 05:57:50 +00:00
Jeremy Fincher
678c012bc6 Looks like I just reordered some methods. 2004-10-15 11:21:20 +00:00
Jeremy Fincher
25224a79a1 Added a logging message. 2004-10-12 11:40:56 +00:00
Jeremy Fincher
c2759270ee Changed the queuing messages to DEBUG, there's no need for users to care. 2004-10-10 04:20:32 +00:00
Jeremy Fincher
04f7ff313f Commented out a bug (IrcState, actually in Irc), #1040008. 2004-10-09 04:02:22 +00:00
Jeremy Fincher
0dc88e88b9 Some source code tweakings; I still don't know why that test fails, but it's a good reminder that we should use the copy method instead of the copy.copy function. 2004-10-03 08:50:45 +00:00
Jeremy Fincher
d499628075 Refactoring of some MODE handling stuff and now we keep track of bans. 2004-09-29 18:52:15 +00:00
Jeremy Fincher
cc15862d65 Had the formatters for that log swapped. 2004-09-29 14:49:44 +00:00
Jeremy Fincher
c2445cc7db Fixed bug in IrcState.doTopic (#1033955) 2004-09-29 14:14:06 +00:00
Jeremy Fincher
e616f6973d We should return whether or not we were able to queue the message. 2004-09-28 07:17:53 +00:00
Jeremy Fincher
ec7ba362c4 Slight log message change. 2004-09-24 14:37:24 +00:00
Jeremy Fincher
243456aedd Unnecessary reset, changed logging message. 2004-09-24 02:36:34 +00:00
Jeremy Fincher
5dd099c459 CAPAB should always be an important message. 2004-09-21 18:38:20 +00:00
James Vega
50973a10fb Remove #! lines. 2004-09-20 03:01:50 +00:00
James Vega
e2bb35e02a Fix for bug #1030492, overriding IrcUser.auth's list with a tuple 2004-09-19 23:23:35 +00:00
Jeremy Fincher
f69b87a93a %.2f 2004-09-16 16:20:58 +00:00
Jeremy Fincher
9720b79a48 Changed tagging method. 2004-09-16 14:37:08 +00:00