Commit Graph

7016 Commits

Author SHA1 Message Date
Jeremy Fincher
9092fb7b83 Fixed bug with lines not ending in \n because of the optimization added earlier, storing the original string form as originally received. 2003-09-22 11:04:39 +00:00
Jeremy Fincher
d39475b528 Made sure PluginDocumentation didn't check PrivmsgRegexp instances. 2003-09-22 10:27:15 +00:00
Jeremy Fincher
d2eff8fdaf RFE #810366: --private option to MiscCommands.list. 2003-09-22 10:22:06 +00:00
Jeremy Fincher
3a329b04f9 Added the uptimeEnder to world.flushers instead of just running it atexit. 2003-09-22 09:55:00 +00:00
Jeremy Fincher
a1da1ba14d Made IrcObjectProxy.error respect conf.errorReplyPrivate. 2003-09-22 09:45:23 +00:00
Jeremy Fincher
babe4cc230 Added documentation for the interface to the IrcMsg class. 2003-09-22 09:34:18 +00:00
Jeremy Fincher
e75b92853b Fixed bug with channel capabilities for channels with . in their name. 2003-09-22 09:18:13 +00:00
Jeremy Fincher
1ac029a54c Added rsplit function. 2003-09-22 09:13:40 +00:00
Jeremy Fincher
cae8905594 RFE #807340: OwnerCommands command for setting conf variables. 2003-09-22 08:36:12 +00:00
Jeremy Fincher
f137b21dcf Added extra logging to Enforcer in the case where it's not started. 2003-09-22 02:46:36 +00:00
Jeremy Fincher
90d1a55f6c Had an addCapability where I should've had a removeCapability. 2003-09-22 02:14:40 +00:00
Jeremy Fincher
fd568a7f48 Made echo not prefixName. 2003-09-19 17:25:38 +00:00
Jeremy Fincher
f13aa41e1b Added error reporting for unmet capability checks. 2003-09-19 06:24:38 +00:00
Jeremy Fincher
d6854355be Added error reporting for unmet capability checks. 2003-09-19 05:57:46 +00:00
Jeremy Fincher
287c9028a5 Forgot a return after an irc.error. 2003-09-18 15:45:43 +00:00
Jeremy Fincher
a02282c957 Changed how logging through the debug module is handled. 2003-09-18 10:25:47 +00:00
Jeremy Fincher
1ad12d2fcf Fixed an oversight. 2003-09-18 10:25:20 +00:00
Jeremy Fincher
76cb2a05d1 Added test for behavior. 2003-09-18 10:20:00 +00:00
Jeremy Fincher
f4d7b28a95 Added test for unregister. 2003-09-18 10:16:20 +00:00
Jeremy Fincher
ce293a32cc Added second test of 433 response. 2003-09-18 10:06:58 +00:00
Jeremy Fincher
4ab9dc7718 Added changeusername command and fixed the framework so tests could run. 2003-09-18 07:52:34 +00:00
Jeremy Fincher
476ef32f47 Changed conf.py to remove some useless files (rawlogfile and ignoresfile weren't used) and changed ircdb to do the os.path.join itself. 2003-09-18 07:44:25 +00:00
Jeremy Fincher
3af8f1c790 Added private and action keywords to IrcObjectProxy.reply and converted FunDB to use them. 2003-09-18 07:26:21 +00:00
Jeremy Fincher
0a2539c199 Fixed bug where ChannelPluginTestCase would try to chop off the first word of an ACTION. 2003-09-18 07:19:47 +00:00
Jeremy Fincher
40de833c24 Converted test framework to use the new functions in OwnerCommands. 2003-09-18 05:59:08 +00:00
Jeremy Fincher
ab302e5742 Oops, left a random.choice with the arguments of a random.shuffle. 2003-09-18 05:58:24 +00:00
Jeremy Fincher
a16bb77cba Extracted loadPlugin{Module,Class} behavior into separate functions that can be exported to all modules. 2003-09-18 05:52:55 +00:00
Jeremy Fincher
a765308cbd Extracted loadPlugin{Module,Class} behavior into separate functions that can be exported to all modules. 2003-09-18 05:47:42 +00:00
Jeremy Fincher
411289e625 Made privmsgs wrappers stackable. 2003-09-17 23:31:45 +00:00
Jeremy Fincher
fad77c9545 Forgot to change a topicget to a gettopic. 2003-09-17 22:49:00 +00:00
Jeremy Fincher
d227111b0c Added privmsgs.name, privmsgs.channel, and privmsgs.checkChannelCapability. Converted the Topic plugin to use some of them. 2003-09-17 22:38:03 +00:00
Jeremy Fincher
fd1aacbd64 Fixed snarfer for drawn games. 2003-09-17 21:31:04 +00:00
Jeremy Fincher
70b80f0622 Added configuration variable to determine whether pipe syntax is accepted. 2003-09-17 19:19:38 +00:00
Jeremy Fincher
1c99146f41 Added some try/finallies to make sure replyWhenNotCommand always got reset properly. 2003-09-17 19:16:56 +00:00
Jeremy Fincher
41339e80e7 Added an exception for malformed IRC messages and a little more error checking to the string parsing for IrcMsgs. 2003-09-17 18:21:35 +00:00
Jeremy Fincher
5ace516fb1 Reworked some callCommand stuff to centralize some code. 2003-09-17 08:12:59 +00:00
Jeremy Fincher
457de48be4 Made sure no information is leaked with last being able to return private messages. 2003-09-17 08:07:24 +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
288f6179d6 Fixed a bug in the handling of the msg keyword argument in IrcMsg. 2003-09-17 07:53:11 +00:00
Jeremy Fincher
e02589c204 Added small optimization. 2003-09-17 07:32:02 +00:00
Jeremy Fincher
bd800365ec Made sure to canonicalName the capabilities that are added. 2003-09-17 07:27:11 +00:00
Jeremy Fincher
2bc60c9dab Added some stuff, though it still needs much more. 2003-09-17 07:26:43 +00:00
Jeremy Fincher
3016b98ce5 setdefaultcapability and unsetdefaultcapability were behind the times. 2003-09-16 19:01:23 +00:00
James Vega
b95985c3aa dbchange now updates the added_by field 2003-09-16 18:53:09 +00:00
James Vega
292bb2550e Removed requested_by and use_count from {lart,excuse,insult,praise} tables 2003-09-16 18:11:16 +00:00
Jeremy Fincher
9ed2dcbc31 Fixed bug #807245, changetopic reorders topics. 2003-09-16 18:08:33 +00:00
James Vega
7719b8dad3 Fixed a couple typos in dbinfo 2003-09-16 17:16:11 +00:00
James Vega
32b0b65475 plugins/FunDB.py: added support for dbchange
test/test_FunDB.py: added testing for dbchange
2003-09-16 16:49:17 +00:00
Jeremy Fincher
aee02ddd81 Fix for jamessan's bug. 2003-09-16 05:59:07 +00:00
Jeremy Fincher
e368e90723 Um, yeah...strings are immutable in Python. I should know that. 2003-09-16 05:58:56 +00:00