Commit Graph

249 Commits

Author SHA1 Message Date
Jeremy Fincher
29b0e20b2d Added followIdentificationThroughNickChanges for RFE #845346. 2003-12-17 13:39:05 +00:00
Jeremy Fincher
c922957655 Changed got376 to afterConnect. 2003-12-12 12:47:23 +00:00
Jeremy Fincher
c432a93afb Try to prevent the ping loops we got in earlier. 2003-12-12 12:29:02 +00:00
Jeremy Fincher
4c64ffb4c7 Changed some logging messages. 2003-12-09 04:46:51 +00:00
Jeremy Fincher
a23fbcfb1c Handled the case where nickmods got all run out. 2003-12-06 13:20:59 +00:00
Jeremy Fincher
da92309ba4 Fixed bug #851661. 2003-12-02 11:55:26 +00:00
Jeremy Fincher
f23d8b0b1e Added some extra logging. 2003-12-02 11:40:46 +00:00
Jeremy Fincher
3aa6faa82a Some code accidentally code committed, a useless function. 2003-12-01 12:04:26 +00:00
Jeremy Fincher
48166f4895 Huge update to the logging infrastructure. 2003-11-26 18:21:12 +00:00
Jeremy Fincher
a763674d83 Added server attribute to Irc objects. 2003-11-25 11:53:09 +00:00
Jeremy Fincher
a4284e7924 Added __revision__ strings. 2003-11-25 08:38:19 +00:00
Jeremy Fincher
429c90ac2a Added __len__, __repr__, and a useful __init__ to IrcMsgQueue. 2003-11-19 16:22:46 +00:00
Jeremy Fincher
8a2e50baf1 Should fix jamessan's bug. 2003-11-18 14:22:54 +00:00
Jeremy Fincher
c37b775867 Prevented a possible raised exception in IrcMsgQueue. 2003-11-17 08:35:50 +00:00
Jeremy Fincher
da3be6b624 Made sure the bot doesn't clobber an already-existing user in the user database when it changes nick. 2003-11-12 23:56:26 +00:00
Jeremy Fincher
93f02aa959 Added curry to fix.py, converted some code to use it. 2003-11-04 08:26:54 +00:00
Jeremy Fincher
3f8c149047 Fixed major bugz0rs with IrcSet and IrcDict. 2003-11-04 05:50:19 +00:00
Jeremy Fincher
c3d7efa68b Fixed bug with reload not working with non-canonicalNames. 2003-10-30 18:05:57 +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
f917053150 Didn't update nickmods to match conf.nickmods when Irc.reset is called, in case we're on a dumb network like Freenode. 2003-10-19 13:59:00 +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
76c4b7ed4c Converted the Irc class to use IrcCommandDispatcher. 2003-10-14 04:48:45 +00:00
Jeremy Fincher
9eff6d997e Removed/commented out some debug.printfs. 2003-10-12 12:42:43 +00:00
Jeremy Fincher
657db2c1f7 Changed the uses of queue to a smallqueue. 2003-10-09 04:01:27 +00:00
Jeremy Fincher
970c819e79 Changed fix.py to munge __builtins__ rather than requiring a "from fix import *" statement. 2003-10-05 12:47:19 +00:00
Jeremy Fincher
f5807381a9 Removed unused import atexit. 2003-10-04 12:18:36 +00:00
Jeremy Fincher
9053310ef1 Added docstrings. 2003-10-04 12:17:31 +00:00
Jeremy Fincher
3891360527 Changed irclib.Channel to irclib.ChannelState. 2003-10-01 11:15:31 +00:00
Jeremy Fincher
1c2a090b28 Added NICK to high priority messages but not PASS. Baaad. 2003-10-01 11:11:49 +00:00
Jeremy Fincher
2821527706 Made NICK a high priority message. 2003-09-30 21:19:42 +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
d97698d315 Missing a return. 2003-09-24 07:26:22 +00:00
Jeremy Fincher
71bba5d28c I was setting the prefix for the message to be added to the IrcState object, but I don't know why. We'll find out soon enough. 2003-09-17 07:54:02 +00:00
Jeremy Fincher
41d266f207 Updated ircdb to have persistent user ids. 2003-09-12 20:06:58 +00:00
Jeremy Fincher
8dc457961a Added a bit better diagnostic to IrcCallback.__call__ except clause. 2003-09-07 06:08:16 +00:00
Jeremy Fincher
7d01f9eeb3 Made IrcState handle empty TOPIC correctly. 2003-09-06 02:09:02 +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
0719bdec92 Added priority stuff for RFE #799899 2003-09-05 19:28:04 +00:00
Jeremy Fincher
dd6f5de32e Minor cosmetic changes. 2003-09-05 18:54:35 +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
f65829b768 Moved several things from fix.py to utils.py. 2003-09-04 20:42:37 +00:00
Jeremy Fincher
b29da50397 Hopefully got the prefix thing right. 2003-08-29 08:09:09 +00:00
Jeremy Fincher
8f4bc0c325 Fixed possible error (uncovered during test) in Irc.die. 2003-08-26 18:14:59 +00:00
Jeremy Fincher
c38099550e Made IrcState keep history persistent through resets. 2003-08-26 16:39:23 +00:00
Jeremy Fincher
ed92fcad2b Changed to make 'too long a message' error messages less inaccurate. 2003-08-26 15:03:34 +00:00
Jeremy Fincher
b8550ab31d Made the driver die in Irc.die. 2003-08-26 13:06:13 +00:00
Jeremy Fincher
5289f6bc75 Renamed conf.timestampFormat to conf.logTimestampFormat and added conf.humanTimestampFormat. 2003-08-26 11:15:15 +00:00
Jeremy Fincher
68b9b5f378 Guard against an error on exit. 2003-08-23 10:59:28 +00:00
Jeremy Fincher
8e068ce8c0 Made configuration commands persistent, yay! 2003-08-22 23:15:29 +00:00
Jeremy Fincher
ca646716b1 Removed spaces at the end of lines. 2003-08-20 16:26:23 +00:00
Jeremy Fincher
2a4c2ea185 Nuked ircutils.nick. Good riddance. 2003-08-12 19:12:12 +00:00
Jeremy Fincher
5f7656c781 Made throttling properly respect world.testing. 2003-08-11 05:07:07 +00:00
Jeremy Fincher
1cae9664a7 Upgraded to 2.3. 2003-07-31 06:20:58 +00:00
Jeremy Fincher
c6a8cebc2d Slight optimization in getCallback. 2003-07-30 11:04:29 +00:00
Jeremy Fincher
725da854ce TyopError 2003-06-18 07:19:27 +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
d9b994f6fe Fixed bug in Irc.reset. 2003-06-06 04:47:18 +00:00
Jeremy Fincher
90409d0e19 Braino. 2003-06-04 04:48:49 +00:00
Jeremy Fincher
f2ae4b5f34 Finally found the underlying cause of the relaynames bug. 2003-06-04 03:56:59 +00:00
Jeremy Fincher
f35c9e8d05 Had wrong channel argument in IrcStat.do332. 2003-06-02 07:27:43 +00:00
Jeremy Fincher
ec8011347c Fixed bug in Channel. 2003-06-02 07:21:08 +00:00
Jeremy Fincher
f40780156e Added IrcCommandDispatcher as base class for IrcCallback and IrcState. 2003-05-29 17:03:42 +00:00
Jeremy Fincher
54788a643a Some slightly new helper functions and stuff. 2003-04-29 07:37:54 +00:00
Jeremy Fincher
6eacfb6c26 Changed IrcState.history to a RingBuffer instead of a MaxLengthQueue. 2003-04-22 11:18:57 +00:00
Jeremy Fincher
8fa7c95067 Somehow these didn't get updated when I moved queue to structures. 2003-04-22 11:13:03 +00:00
Jeremy Fincher
d9ca1637d7 Had to change PING/PONG handling to workaround non-RFC-compliant servers. 2003-04-21 04:37:35 +00:00
Jeremy Fincher
2227f5caae Fix for bug in Irc.removeCallback. 2003-04-20 17:18:34 +00:00
Jeremy Fincher
15f7dfe430 Make Irc.removeCallback shorter and more readable. 2003-04-16 17:53:55 +00:00
Jeremy Fincher
7f90fdc712 Added log of PING-based disconnect. 2003-04-12 12:21:21 +00:00
Jeremy Fincher
f1ee8b1bbd Typoed variable in class Irc. 2003-04-12 11:55:25 +00:00
Jeremy Fincher
019a648617 Changed dictionaries in IrcState to use ircutils.IrcDict. 2003-04-11 20:46:23 +00:00
Jeremy Fincher
f4d187b1f1 Added __getstate__ and __setstate__ to set and Channel. 2003-04-09 18:57:25 +00:00
Jeremy Fincher
79a1d351ad Added and started using MaxLengthQueue. 2003-04-09 18:12:38 +00:00
Jeremy Fincher
896ce38514 Added __getstate__ and __setstate__ to IrcState 2003-04-09 17:59:13 +00:00
Jeremy Fincher
66236e1f34 Added support for PASS command on connect. 2003-04-06 12:22:34 +00:00
Jeremy Fincher
f078d7fe1b Changed IrcState.history to a queue(). 2003-04-05 13:46:44 +00:00
Jeremy Fincher
277a1a356d Changed conf.minHistory to conf.maxHistory. 2003-04-05 12:25:39 +00:00
Jeremy Fincher
cf8c5c01cf Changed Channel to make it more in-line with future sets.Set. 2003-04-05 10:27:02 +00:00
Jeremy Fincher
a46ce6b109 Changed the way Irc handles unresponded-to PINGs. 2003-04-04 08:30:16 +00:00
Jeremy Fincher
33b4aa052c Changed debug.debugMsg to debug.msg. 2003-04-03 10:06:11 +00:00
Jeremy Fincher
a30ee6cd0b Changed IrcMsgQueue a bit to make it even more smarter; Added reconnection on ERROR disconnect; Added reconnect on returned PINGs. 2003-04-03 09:59:57 +00:00
Jeremy Fincher
eb9e5c87f2 Changed drivers.close() to .die(). 2003-04-03 08:52:41 +00:00
Jeremy Fincher
9e05519660 Changed driver.die() to driver.close() 2003-04-03 06:58:30 +00:00
Jeremy Fincher
818f01e206 Converted Irc.fastqueue to a fix.queue 2003-04-02 09:26:16 +00:00
Jeremy Fincher
d7e3b18046 Added more intelligence to IrcMsgQueue 2003-04-02 09:07:52 +00:00
Jeremy Fincher
df77cfaccf Fixed minor bug in IrcMsgQueue and removed needless if statement 2003-03-31 22:21:42 +00:00
Jeremy Fincher
c700f3c6e5 Straightened out some IrcState inconsistencies. 2003-03-31 09:23:32 +00:00
Jeremy Fincher
68440bd83a Added proper NICK handling to IrcState 2003-03-31 08:12:50 +00:00
Jeremy Fincher
ce03a98ae9 Fixed a few errors found by PyChecker 2003-03-28 07:55:21 +00:00
Jeremy Fincher
0dbab5b0fc Fixed stupid nick-handling bugs 2003-03-28 03:01:14 +00:00
Jeremy Fincher
30591187ad A little better error reporting 2003-03-28 02:33:40 +00:00
Jeremy Fincher
41aa44ee78 Fixed bug in handling of outFilters returning None 2003-03-27 20:59:05 +00:00
Jeremy Fincher
7d44088223 Fixed IndexError in Irc.removeCallback 2003-03-27 20:38:40 +00:00
Jeremy Fincher
714de6bfae Irc.callbacks is always mutated, never replaced, helping the Relay module out. 2003-03-27 11:29:42 +00:00
Jeremy Fincher
1623c594d7 Added __eq__ and __hash__ to the Irc class (necessary for the Relay module) 2003-03-26 06:56:02 +00:00
Jeremy Fincher
17815fbeda Don't complain about not adding messages to the message queue when world.startup is in effect. 2003-03-25 23:44:22 +00:00
James Vega
c803e5e9d8 Added vim:set ... : strings to source in order to keep file formatting
consistent between developers. Jeremy should be adding the equivalent
settings for emacs soon.
2003-03-24 08:41:19 +00:00
Jeremy Fincher
7801c84d84 Initial revision 2003-03-12 06:26:59 +00:00