Valentin Lorentz
6b7db2e9f1
test_irclib: Make use of context for maxHistoryLength.
2012-12-27 11:05:04 +00:00
James McCoy
c74e8f35ab
Fix regression in parsing 004 messages
...
This was introduced in commit 4232e40e26
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-08-26 12:59:41 -04:00
Valentin Lorentz
d2ab53cd19
Fix parsing of 004 message. (Broken in d9531d2d
).
2012-08-25 20:17:15 +02:00
James McCoy
d9531d2d29
Fix parsing of 004 message for supported umodes/chanmodes
...
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-14 01:31:28 +08:00
James McCoy
4232e40e26
Fix parsing of 004 message for supported umodes/chanmodes
...
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-11-07 05:58:27 -05:00
Valentin Lorentz
aefe980956
Fix a test case (default ident is no more supybot)
2011-06-22 21:02:47 +02:00
James Vega
a3e4fc5b1d
Change the modeline to use softtabstop instead of tabstop.
2006-02-11 15:52:51 +00:00
James Vega
bd31b7f596
src/irclib: Handle IRCds which use a MAXLIST-style value for the MAXBANS 005 key.
2005-06-29 14:20:54 +00:00
Jeremy Fincher
b48ca7ab71
Added supybot.protocols.irc.queuing.rateLimit.join, to throttle joins.
2005-04-14 01:35:35 +00:00
Jeremy Fincher
73f639b55f
Changed supybot.protocols.irc.refuseToQueueDuplicateMessages to supybot.protocols.irc.queuing.duplicates.
2005-04-14 00:56:26 +00:00
James Vega
9971e991fe
Fix the modelines.
2005-03-23 20:07:45 +00:00
Jeremy Fincher
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.
2005-02-18 18:31:44 +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
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
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
895cd3e48e
Resurrected the test suite with the new supybot-test program and RCS.
2005-01-23 19:42:25 +00:00
Jeremy Fincher
3d3b1498fe
Changed copyright years on test files
2005-01-24 21:27:34 +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
c9360c3990
I wonder what made my commit that in the first place.
2004-12-20 16:41:37 +00:00
Jeremy Fincher
3b6d40bb24
Added a test to make sure something worked.
2004-12-13 05:29:05 +00:00
Jeremy Fincher
afa182ab7c
Added another test.
2004-10-09 04:56:50 +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
James Vega
23397b44b4
Remove #! lines.
2004-09-20 15:25:47 +00:00
Jeremy Fincher
f2fd7c9e66
oops, got this reversed.
2004-08-26 04:43:19 +00:00
Jeremy Fincher
fbb348b6e7
Copyright updates. Again, more is left to be done, but this is my part.
2004-08-23 13:14:06 +00:00
Jeremy Fincher
7dbbf16dcc
Allow multiple nicks, refactored irclib.Irc a bit.
2004-07-26 06:05:39 +00:00
Jeremy Fincher
f9c61271ea
w00, less path mungingEXCLAIMEXCLAIM
2004-07-24 05:18:26 +00:00
James Vega
315810d08e
yay! no more stray whitespace
2004-07-21 19:36:35 +00:00
Jeremy Fincher
faa5a8ce13
Removed old and busted; added new hotness.
2004-05-07 11:46:41 +00:00
Jeremy Fincher
bfd5066ec9
Added some more better handling for channel modes.
2004-02-16 03:44:11 +00:00
Jeremy Fincher
6ca78924f3
HUUUUUUUUGE Configuration change.
2004-01-18 07:58:26 +00:00
Jeremy Fincher
a477824967
Removed a (now) useless test.
2004-01-01 19:48:01 +00:00
Jeremy Fincher
2a9d9d1b5d
Reworked so there's no double-import problem.
2003-12-02 12:27:45 +00:00
Jeremy Fincher
48166f4895
Huge update to the logging infrastructure.
2003-11-26 18:21:12 +00:00
Jeremy Fincher
429c90ac2a
Added __len__, __repr__, and a useful __init__ to IrcMsgQueue.
2003-11-19 16:22:46 +00:00
Jeremy Fincher
10c7b7c0c0
Made sure no messages longer than 512 bytes every leave the bot.
2003-10-23 05:53:49 +00:00
Jeremy Fincher
683ba63949
Fixed bug in IrcState.copy -- it wasn't doing deep copies.
2003-10-16 13:27:40 +00:00
Jeremy Fincher
6712760e5b
Added test to make sure MODEs came before PRIVMSGs.
2003-10-15 03:19:16 +00:00
Jeremy Fincher
3891360527
Changed irclib.Channel to irclib.ChannelState.
2003-10-01 11:15:31 +00:00
Jeremy Fincher
2da90c99d6
Guarded IrcState.doMode to work only with channels.
2003-09-29 07:46:03 +00:00
Jeremy Fincher
6169822349
Guarded IrcState.doMode to work only with channels.
2003-09-29 07:44:27 +00:00
Jeremy Fincher
fe4af22e50
Added op/halfop/voice handling in IrcState.
2003-09-29 04:30:18 +00:00
Jeremy Fincher
ce293a32cc
Added second test of 433 response.
2003-09-18 10:06:58 +00:00
Jeremy Fincher
c07468e275
Added test to make sure .sendMsg went before .queueMsg.
2003-09-07 08:28:33 +00:00
Jeremy Fincher
6d9cf3e0a2
Added test for empty topic in IrcState.
2003-09-06 03:53:23 +00:00
Jeremy Fincher
3eb86b8869
Made PRIVMSG and NOTICE low-priority so TOPIC would happen before them.
2003-09-06 02:01:44 +00:00
Jeremy Fincher
7e80782452
Added a test to make sure JOINs happen before WHOs, and changed code to make that the case.
2003-09-05 18:16:51 +00:00
Jeremy Fincher
7ae25e44b9
Removed stupid for loops that I forgot to remove when I removed the debug.printfs.
2003-09-01 06:00:38 +00:00
Jeremy Fincher
7a51fccaf9
Removed some debug.printfs.
2003-08-30 19:19:39 +00:00
Jeremy Fincher
ca646716b1
Removed spaces at the end of lines.
2003-08-20 16:26:23 +00:00
Jeremy Fincher
7fd35a1071
Made some changes to satisfy PyChecker.
2003-08-19 10:38:45 +00:00
Jeremy Fincher
2c6f505bea
Added vim modelines.
2003-08-17 22:13:10 +00:00
Jeremy Fincher
f8a54c4872
Fixed irclib.Channel to use ircutils.nick on its stuff.
2003-06-16 04:56:06 +00:00
Jeremy Fincher
0cfde66a7e
Fixed a few tests.
2003-05-29 17:07:45 +00:00
Jeremy Fincher
54788a643a
Some slightly new helper functions and stuff.
2003-04-29 07:37:54 +00:00
Jeremy Fincher
3f764eab0f
Added more tests.
2003-04-23 07:24:35 +00:00
Jeremy Fincher
984e29e9c0
Initial import; new naming scheme.
2003-04-17 08:49:14 +00:00