Commit Graph

5356 Commits

Author SHA1 Message Date
Jeremy Fincher
9550971042 Added ability for commands to raise callbacks.CannotNest if they are not nestable. 2003-08-27 07:45:48 +00:00
Jeremy Fincher
fff995221e Added example template to template. 2003-08-27 05:09:13 +00:00
Jeremy Fincher
f9fee97f5f Made channels description in relaywhois slightly more descriptive. 2003-08-27 04:56:08 +00:00
Jeremy Fincher
52dba88bd3 Made much more efficient. 2003-08-27 01:42:00 +00:00
Jeremy Fincher
51a474dd14 Added verbose log for spawning CommandThreads. 2003-08-27 01:39:58 +00:00
Jeremy Fincher
6b0fbdc324 Had translate instead of babelize in testBabelize. 2003-08-26 18:22:05 +00:00
Jeremy Fincher
8f4bc0c325 Fixed possible error (uncovered during test) in Irc.die. 2003-08-26 18:14:59 +00:00
Jeremy Fincher
6d8a9e9c23 Changed 'no notes' message to be more natural English. 2003-08-26 18:14:32 +00:00
Jeremy Fincher
8f33ff28bd Made --at option for lasturl be more natural with domains. 2003-08-26 18:14:13 +00:00
Jeremy Fincher
19a9804dee Added a test and fixed several bugs it found. 2003-08-26 18:10:17 +00:00
Jeremy Fincher
5491d97704 Gave a proper error message for a relaywhois is a nick that isn't online. 2003-08-26 17:55:30 +00:00
Jeremy Fincher
58d444b571 More documentation. 2003-08-26 17:18:35 +00:00
Jeremy Fincher
09c77aa234 Can catch re.error instead of sre_constants.error. 2003-08-26 17:08:46 +00:00
Jeremy Fincher
3dd176ab63 Updated a whole lot of stuff. 2003-08-26 17:07:37 +00:00
Jeremy Fincher
898b219871 Unified the ircs' histories, making lastfrom work correctly. 2003-08-26 16:40:31 +00:00
Jeremy Fincher
b1a392c691 Made the driver reset the Irc on disconnection, not connection. 2003-08-26 16:39:42 +00:00
Jeremy Fincher
c38099550e Made IrcState keep history persistent through resets. 2003-08-26 16:39:23 +00:00
Jeremy Fincher
b1e6cc53ac Added a reset method to RingBuffer and queue. 2003-08-26 16:38:28 +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
ab562416bf Added getopt.GetoptError to exceptions to return help on. 2003-08-26 13:44:32 +00:00
Jeremy Fincher
b8550ab31d Made the driver die in Irc.die. 2003-08-26 13:06:13 +00:00
Jeremy Fincher
906b83f1ec Added example. 2003-08-26 12:45:08 +00:00
Jeremy Fincher
28d81d656d Made it handle improper arguments correctly; I never noticed that it wasn't doing it already. 2003-08-26 12:44:49 +00:00
Jeremy Fincher
c9546934d5 Removed id number from randomurl output. 2003-08-26 11:54:24 +00:00
Jeremy Fincher
84c028c0dc Removed id number from randomurl output. 2003-08-26 11:52:42 +00:00
Jeremy Fincher
871d6858c0 Added an example and changed the regexp not to allow <> into the URL. 2003-08-26 11:39:18 +00:00
Jeremy Fincher
79b199cec1 Removed list of commands in module docstring. 2003-08-26 11:26:12 +00:00
Jeremy Fincher
0cf31453bc Fixed ugliness (tons of returns?) and SyntaxError (missing parenthese). 2003-08-26 11:25:43 +00:00
Jeremy Fincher
cfe4ce14a9 Fixed ugliness (tons of returns?) and SyntaxError (missing parenthese). 2003-08-26 11:24:06 +00:00
Jeremy Fincher
5289f6bc75 Renamed conf.timestampFormat to conf.logTimestampFormat and added conf.humanTimestampFormat. 2003-08-26 11:15:15 +00:00
Brett Kelly
23321ca960 adding Notes test case 2003-08-25 20:49:22 +00:00
Jeremy Fincher
79fe7d8014 Added thread, to make threaded commands in an unthreaded module. 2003-08-25 20:19:42 +00:00
Jeremy Fincher
edebbe448c Removed some debug.printfs. 2003-08-25 20:14:40 +00:00
Jeremy Fincher
95d689005a Raised the debug.minimumDebugPriority so output during tests isn't so ugly. 2003-08-25 20:14:20 +00:00
Jeremy Fincher
b3976501ff Removed spurious blank line. 2003-08-25 20:13:48 +00:00
Jeremy Fincher
075af0967c Commented out some debug.printfs. 2003-08-25 20:13:20 +00:00
Jeremy Fincher
5eafec7121 Made morehelp better for dbadd. 2003-08-25 20:13:04 +00:00
Jeremy Fincher
7932c6078f Added example, and made dice commaAndify its numbers. 2003-08-25 20:12:21 +00:00
Jeremy Fincher
5630782e85 Made CommandThread work with non-instancemethods. 2003-08-25 19:50:46 +00:00
Jeremy Fincher
e30cf69ec1 Added privmsgs.thread, and so nuked ThreadedFunCommands (subsumed into FunCommands) 2003-08-25 19:34:25 +00:00
Jeremy Fincher
17f00fbeb3 Updated PluginTestCase to allow asynchronous test cases and added test_TwistedCommands.py. 2003-08-25 18:54:37 +00:00
Jeremy Fincher
84959a1815 I can't even tell what this change is, but apparently there is one. 2003-08-25 17:48:03 +00:00
Jeremy Fincher
ad8159751f Added fortune command and some more tests. 2003-08-25 07:55:08 +00:00
Jeremy Fincher
56117a0662 Made the error message in the face of problems connecting much prettier. 2003-08-25 07:24:31 +00:00
Jeremy Fincher
eb7b696ce9 Made increase/decrease karma stuff work more like moobot (i.e., require a prefixchar and disallow spaces) 2003-08-25 07:24:11 +00:00
Jeremy Fincher
d73abebb36 Made @karma++ not return [karma++]. 2003-08-25 07:23:36 +00:00
Jeremy Fincher
a92798c9d8 Fixed relaywhois to not require the network if the relay is only relaying between two networks. Also fixed a possible later UnboundLocalError in a few places. 2003-08-25 06:48:28 +00:00
Jeremy Fincher
c6f1d74d34 Tested to make sure capitalization didn't matter. 2003-08-25 06:29:44 +00:00
Jeremy Fincher
ebabf6112f Changed Candler to delete the database as well as commit/close on die() 2003-08-25 06:27:07 +00:00
Jeremy Fincher
18260e986d Removed arg, strsplit, and fixed re to handle s/// regexps too. 2003-08-25 06:25:50 +00:00