Commit Graph

157 Commits

Author SHA1 Message Date
Jeremy Fincher
89fa7855da Added command timing to the verbose log. 2003-04-07 15:23:12 +00:00
Jeremy Fincher
6e0aff9fb2 Added more support for passworded servers. 2003-04-07 03:45:05 +00:00
Jeremy Fincher
16374c53d6 Fixed bug (and added test) in distance. 2003-04-06 15:10:14 +00:00
Jeremy Fincher
1b79a300f9 Added check for owner capability in IrcUser.checkCapability 2003-04-06 12:32:12 +00:00
Jeremy Fincher
02ba0176b2 Added joinModes function; docstring to bold; assert to separateModes. 2003-04-06 12:27:34 +00:00
Jeremy Fincher
584237d818 Added exception list support for ban and bans; changed the order of arguments in user; added password command 2003-04-06 12:26:35 +00:00
Jeremy Fincher
7d2a096e7a Added check for rateLimiting in Privmsg.doPrivmsg (didn't check before) 2003-04-06 12:23:35 +00:00
Jeremy Fincher
66236e1f34 Added support for PASS command on connect. 2003-04-06 12:22:34 +00:00
Jeremy Fincher
83dd73a643 Fixed bug #715340, nested commands not parsed correctly. 2003-04-06 10:36:31 +00:00
Jeremy Fincher
ec88721cb2 Made queue pickle-able. 2003-04-05 14:00:40 +00:00
Jeremy Fincher
6d3c060208 Made sure all authentication was removed on bot exit. 2003-04-05 13:54:12 +00:00
Jeremy Fincher
f078d7fe1b Changed IrcState.history to a queue(). 2003-04-05 13:46:44 +00:00
Jeremy Fincher
d9263c835d Initial import; pulled out of scripts/setup.py and put here for public use. 2003-04-05 13:38:48 +00:00
Jeremy Fincher
b6608b9643 Added flatten. 2003-04-05 13:35:25 +00:00
Jeremy Fincher
277a1a356d Changed conf.minHistory to conf.maxHistory. 2003-04-05 12:25:39 +00:00
Jeremy Fincher
e4715d4d3f Added length=0 handling to soundex to return the everything. 2003-04-05 11:29:29 +00:00
Jeremy Fincher
b8f2bbb1bb Another go at fixing the looping bug. 2003-04-05 11:25:38 +00:00
Jeremy Fincher
a50643c025 Added soundex to utils (along with a test) and to FunCommands. 2003-04-05 11:23:28 +00:00
Jeremy Fincher
d708a6f6d4 Re-enabled __slots__ and added __getstate__, __setstate__ 2003-04-05 10:40:36 +00:00
Jeremy Fincher
d6059ac71e Added proper ValueError raising when there's no command in IrcMsg.__init__. 2003-04-05 10:28:30 +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
a3c4b9bc0b Lots of updates; most importantly, queue() and set() now take iterables as their single argument. Note that this will cause configuration file breakages. 2003-04-05 10:26:26 +00:00
Jeremy Fincher
e962cc1d77 Added test for abbrev and fixed a bug it found. 2003-04-04 16:14:58 +00:00
Jeremy Fincher
100d0fa016 Added levenshtein distance 2003-04-04 15:49:24 +00:00
Jeremy Fincher
ae18871f7f Fixed bug found in IrcChannel.checkCapability 2003-04-04 09:12:42 +00:00
Jeremy Fincher
061f2e0a78 Added __ne__ method to IrcMsg 2003-04-04 09:12:00 +00:00
Jeremy Fincher
a46ce6b109 Changed the way Irc handles unresponded-to PINGs. 2003-04-04 08:30:16 +00:00
Jeremy Fincher
29effdf8cc Made sure the bot responds with uneven quotations or brackets. 2003-04-04 08:29:13 +00:00
Jeremy Fincher
8d2ac8c359 Changed nickToLower to toLower (it works for channels too 2003-04-04 07:07:19 +00:00
Jeremy Fincher
40b8eb3956 Changed ircutils.reply to ircutils.replyTo 2003-04-04 06:59:39 +00:00
Jeremy Fincher
20032a089a Added __len__ to set. 2003-04-04 06:15:34 +00:00
Jeremy Fincher
ea787b8441 Fixed bug in printf 2003-04-04 06:08:57 +00:00
Jeremy Fincher
46eb87808f Changed validArgument to isValidArgument 2003-04-04 06:08:36 +00:00
Jeremy Fincher
771f07529f Fixed new bugs caused by assertions 2003-04-04 06:06:33 +00:00
Jeremy Fincher
ebdd969c7c Added docstrings and assertions. 2003-04-03 22:06:24 +00:00
Jeremy Fincher
33b4aa052c Changed debug.debugMsg to debug.msg. 2003-04-03 10:06:11 +00:00
Jeremy Fincher
e88a5a3ae0 Added logging line to scheduleReconnect 2003-04-03 10:00:29 +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
689f44028a Had safeArgument logic flipped 2003-04-03 09:17:19 +00:00
Jeremy Fincher
e186cd043d Changed drivers.close() to .die() 2003-04-03 09:17:03 +00:00
Jeremy Fincher
1eb088de21 Added timeElapsed and converted FunCommands to use it. 2003-04-03 09:11:57 +00:00
Jeremy Fincher
eb9e5c87f2 Changed drivers.close() to .die(). 2003-04-03 08:52:41 +00:00
Jeremy Fincher
d5c5e1240b Removed funkyArgument; now we use safeArgument which does the repr() itself. 2003-04-03 08:31:47 +00:00
Jeremy Fincher
10e8965f5d Fixed some bugs found by PyChecker 2003-04-03 08:30:28 +00:00
Jeremy Fincher
36f7c77132 Added needed import and change debug.printfs to debug.debugMsg. 2003-04-03 08:29:21 +00:00
Jeremy Fincher
1dc82ec02c Made set more in line with the sets that will be released in 2.3 2003-04-03 08:17:57 +00:00
Jeremy Fincher
981c21617d Added some asserts. 2003-04-03 08:17:21 +00:00
Jeremy Fincher
336c6fdff9 Added period (yeah, I'm anal) 2003-04-03 07:33:30 +00:00
Jeremy Fincher
16a16a0f85 Removed PyChecker warning 2003-04-03 07:00:51 +00:00
Jeremy Fincher
9e05519660 Changed driver.die() to driver.close() 2003-04-03 06:58:30 +00:00