Jeremy Fincher
da3c0634a9
Changed eval/exec so that they never even get defined if conf.allowEval isn't True.
2004-01-20 16:16:25 +00:00
Jeremy Fincher
39856a6172
Tried to make sure Ircs and Drivers get nuked appropriately when they die sadly.
2004-01-20 16:07:03 +00:00
Jeremy Fincher
d77bd968ae
Oops\! Made supybot.replies.success into supybot.replies.error. That's one way to confuse people :)
2004-01-20 15:55:33 +00:00
Jeremy Fincher
67db74e500
Made sure to catch exceptions in takeMsg.
2004-01-20 15:41:42 +00:00
Jeremy Fincher
68c4ca6895
Factored invariant checking into setValue as appropriate.
2004-01-20 15:08:08 +00:00
Stéphan Kochen
7837ee2824
name() is defined in IrcCallback, parent Class of plugins. Can't be used.
2004-01-20 13:37:56 +00:00
Jeremy Fincher
3936afc419
I don't know what the difference is, but CVS tells me something's different.
2004-01-20 12:32:21 +00:00
Jeremy Fincher
28a79d4591
Whoa...really dynamic class stuff just to make sure a default-created-but-not-overidden value in a GroupWithDefault doesn't not get set blah blah blah...
2004-01-20 12:27:29 +00:00
Jeremy Fincher
5d21f6967a
Reordered stuff for the LogLevel change.
2004-01-20 12:10:18 +00:00
Jeremy Fincher
81a40ee782
Updated for the registry._cache change.
2004-01-20 12:09:54 +00:00
Jeremy Fincher
17804c91a4
Updates!
2004-01-20 11:53:34 +00:00
Jeremy Fincher
a3c1b87f3b
Cache is not a public variable and should not be used.
2004-01-20 11:41:53 +00:00
Jeremy Fincher
894c9d687f
Revert accidental rollback of name to username.
2004-01-20 10:56:32 +00:00
Jeremy Fincher
fe23675caa
Made setting supybot.log.minimumPriority set the actual level being logged.
2004-01-20 10:46:18 +00:00
James Vega
886e447c8c
env is your friend
2004-01-20 07:15:37 +00:00
James Vega
6831dafee5
Brain fart
2004-01-20 04:36:49 +00:00
Stéphan Kochen
a7559f3686
More work on the wizard. Removed allowEval. (somewhere else?)
...
Still a couple of FIXME's. Added a function to prompt and set registry
values to questions.py.
2004-01-20 00:21:15 +00:00
Jeremy Fincher
9ce0e7dc7d
Updated PositiveInteger.
2004-01-19 23:45:11 +00:00
James Vega
a8c3d67cfc
Convert Google to using the registry which required adding PositiveInteger
...
Class to the registry.
2004-01-19 23:42:50 +00:00
Jeremy Fincher
cc672b882a
Changed the order to its original order.
2004-01-19 22:39:13 +00:00
Jeremy Fincher
8228f7d7a1
Forgot to update when registerPlugin moved to conf.
2004-01-19 22:38:09 +00:00
Jeremy Fincher
fd132f20ad
Added setdefault and get to IrcDict.
2004-01-19 22:29:55 +00:00
Jeremy Fincher
0081c27812
Check that channels are valid before trying to join them.
2004-01-19 22:20:48 +00:00
Jeremy Fincher
9c0b26ebb0
Updated to make setting channel values and global values easier.
2004-01-19 22:07:41 +00:00
Jeremy Fincher
224cacc966
Fixed several bugs and added the replies rich reply method.
2004-01-19 20:51:04 +00:00
Jeremy Fincher
fca57c95de
Unneeded, w00t!
2004-01-19 20:38:26 +00:00
Jeremy Fincher
6ff6fba09c
Made an error message a bit clearer.
2004-01-19 20:27:04 +00:00
Jeremy Fincher
c96b0f6ca9
Reduced several log.infos to log.debugs.
2004-01-19 20:26:20 +00:00
Jeremy Fincher
dc87ed26aa
Added log.timestamp.
2004-01-19 20:22:06 +00:00
Stéphan Kochen
fccf2c44de
Modified supybot-wizard to work with the new registry... somewhat.
...
It seems to work and generate the config file which right now defaults to
supybot.conf in the current directory (which will be changed, ofcourse).
Moved some of the wizard's stuff to questions.py and cleaned up.
2004-01-19 17:44:50 +00:00
Jeremy Fincher
9aede17efd
Changed not even to define eval/exec when conf.allowEval is False.
2004-01-18 19:35:36 +00:00
Jeremy Fincher
b63d48f526
Reduced maxDelay from 10 minutes to 5 minutes.
2004-01-18 08:20:44 +00:00
Jeremy Fincher
9f2013d8f0
Changed username to just name.
2004-01-18 08:18:44 +00:00
Jeremy Fincher
bc789d67fb
Forgot to import ircdb.
2004-01-18 08:16:15 +00:00
Jeremy Fincher
f12c1ba8ff
Made tell not tell lobotomized channels.
2004-01-18 08:14:56 +00:00
Jeremy Fincher
6ca78924f3
HUUUUUUUUGE Configuration change.
2004-01-18 07:58:26 +00:00
Jeremy Fincher
5b120d3276
Initial checkin.
2004-01-18 05:39:03 +00:00
Stéphan Kochen
dddf1d2a08
Removed a debug message.
2004-01-16 23:28:29 +00:00
Stéphan Kochen
1572ccf452
Typo I presume :)
2004-01-16 21:12:56 +00:00
Jeremy Fincher
29426e2f1d
Moved isIP* to utils from ircutils.
2004-01-16 17:33:51 +00:00
Jeremy Fincher
b2f23c6f63
Updated the rest of the code to use utils.changeFunctionName.
2004-01-16 16:39:00 +00:00
Jeremy Fincher
f5ec8f1467
Refactored, and made sure Privmsg.callCommand doesn't catch exceptions.
2004-01-16 16:14:46 +00:00
Jeremy Fincher
27100c6a2a
Fixed to make sure all spawned threads set the callback's threaded attribute in the meantime, as well as changed to use utils.changeFunctionName.
2004-01-16 16:14:14 +00:00
Jeremy Fincher
cd5a1cb14b
Added changeFunctionName to be used elsewhere.
2004-01-16 16:13:24 +00:00
Jeremy Fincher
1e15c4ca75
Partial fix for bug #877601 , I'll do the rest in class.
2004-01-16 12:50:32 +00:00
Jeremy Fincher
8164f5bb1f
Partial fix for bug #877601 , I'll do the rest in class.
2004-01-16 12:42:52 +00:00
Jeremy Fincher
38e8c33422
Stylistic updates.
2004-01-15 19:09:40 +00:00
Jeremy Fincher
4cd70bbdd4
Added years and weeks to seconds.
2004-01-15 17:34:05 +00:00
Jeremy Fincher
fd294faeee
Added special 'me' handling to tell.
2004-01-15 17:21:06 +00:00
Jeremy Fincher
942d67cc21
Changed a %s to a %r.
2004-01-15 14:27:22 +00:00
Jeremy Fincher
69f8c40119
Added deprecation support.
2004-01-15 14:08:14 +00:00
Jeremy Fincher
11908f5f2c
Simplified quit.
2004-01-15 12:55:37 +00:00
Jeremy Fincher
a7ba5a0f25
Made world cleanup drivers, too.
2004-01-15 12:55:19 +00:00
Jeremy Fincher
63c64af2e4
Fixed double-killing ircs problem.
2004-01-15 12:54:31 +00:00
Jeremy Fincher
3c25e6f41f
Make _make... __make...
2004-01-15 12:54:10 +00:00
Jeremy Fincher
da0cf9b921
Added a few more methods. I think we're going to have to make Group.__getattr__ return the Value holder, not its .value attribute.
2004-01-15 12:17:50 +00:00
Jeremy Fincher
d283985405
Removed tempvars.
2004-01-15 12:16:55 +00:00
Jeremy Fincher
2a60ba61c5
Clear exception info to make sure things get collected, just in case.
2004-01-15 11:54:41 +00:00
Jeremy Fincher
74961db20e
An attempt to prevent the ugly exceptions from being raised on quit.
2004-01-15 11:48:23 +00:00
Jeremy Fincher
4a28fd91f5
Tweaked an error message, hopefully fixed the reconnecting problem.
2004-01-15 11:33:35 +00:00
Jeremy Fincher
cbb015a56e
Handled the ugly "timed out" error message.
2004-01-15 11:32:25 +00:00
Jeremy Fincher
d33c5333c5
Removed set and unset, since they're not used at all by anyone.
2004-01-15 00:27:46 +00:00
Jeremy Fincher
a61b5b8dca
Added storing of the default value to Values and GroupsWithDefault.
2004-01-15 00:26:31 +00:00
Jeremy Fincher
9f1af0d95c
Fixed quit to note that it doesn't *really* take an argument, and to say who the bot was quit by.
2004-01-14 23:51:58 +00:00
Jeremy Fincher
eee9b5aaf2
Made revision accept a .py at the end of the filenames.
2004-01-14 15:50:45 +00:00
Jeremy Fincher
0ddb356c0b
Changed the sorting function.
2004-01-14 14:18:56 +00:00
Jeremy Fincher
3319e2562d
Added writing!
2004-01-14 06:05:58 +00:00
Jeremy Fincher
82249961a3
Bugfix!
2004-01-14 03:27:45 +00:00
Jeremy Fincher
1a824e4c2e
Added loglevel RFE.
2004-01-13 18:03:01 +00:00
Jeremy Fincher
2ea181073b
Updated to allow help-getting.
2004-01-13 15:56:58 +00:00
Jeremy Fincher
3d0b8dc870
Updated to let GroupWithDefault have a .set() that works.
2004-01-13 06:26:35 +00:00
Jeremy Fincher
f90adb5325
Initial checkin.
2004-01-13 06:07:31 +00:00
Jeremy Fincher
bed5624e86
Oops, had to change a self.log to just a log.
2004-01-12 19:19:47 +00:00
Jeremy Fincher
13e0447ea5
Added bug #874038 .
2004-01-11 15:17:00 +00:00
Jeremy Fincher
4452ca879e
Added functions for reading non-comment or empty lines of a file.
2004-01-11 14:33:38 +00:00
Jeremy Fincher
3e93599419
Fixed bugz0r in errorNoCapability.
2004-01-09 14:20:00 +00:00
Jeremy Fincher
e5689daf6d
Changed the logging of actual messages to debug, not info.
2004-01-09 00:03:38 +00:00
Jeremy Fincher
f453d10e9a
Added a few asserts (the same one three times, actually) to catch old code with a clearer error message.
2004-01-08 23:14:40 +00:00
Jeremy Fincher
1c03464fd9
Huge commit to finish refactoring of replies.
2004-01-08 23:03:48 +00:00
Jeremy Fincher
845142e688
Updated replyNotRegistered stuff.
2004-01-08 21:49:10 +00:00
Jeremy Fincher
2846b4ab2f
Updated more replies.
2004-01-08 15:47:38 +00:00
Jeremy Fincher
099b8bc14b
Updated some capabilities stuff.
2004-01-08 15:24:56 +00:00
Jeremy Fincher
530aec2be0
Updated the reply infrastructure. No more msg, it's just not necessary.
2004-01-08 03:12:14 +00:00
Jeremy Fincher
731b95a146
Changed a few Nones to 'unsets'.
2004-01-08 00:47:48 +00:00
Jeremy Fincher
ed7748492f
Fix for isIPV6 on platforms that don't support IPV6.
2004-01-07 22:48:01 +00:00
Jeremy Fincher
aa7408c09b
Changed over to the cool new RichReplyMethods stuff, mostly.
2004-01-07 19:09:24 +00:00
Jeremy Fincher
d6e9eafbf2
Don't call invalidCommand with CTCP messages.
2004-01-07 12:00:59 +00:00
Jeremy Fincher
989783c07c
Just in case, let's add a reset in connectionMade.
2004-01-06 18:57:14 +00:00
Jeremy Fincher
85e0783cb9
Added RFE #871165 , doInvite for Admin.
2004-01-06 03:32:21 +00:00
Jeremy Fincher
e8f3b6468c
Fixed some bugz0rs.
2004-01-05 12:03:54 +00:00
Jeremy Fincher
09dfe24573
Fixed bugz0r with nested commands in Scheduler.repeat.
2004-01-04 19:35:02 +00:00
Jeremy Fincher
f1a68ff16f
Moved seconds command to Misc from Scheduler.
2004-01-04 15:19:41 +00:00
Jeremy Fincher
b2c156609f
Fixed!
2004-01-04 15:16:20 +00:00
Jeremy Fincher
8fc6502ed3
Added a bit of extra protectedness in PeriodicFileDownloader._downloadFile.
2004-01-04 14:44:53 +00:00
Jeremy Fincher
80bab37e98
Oops, gotta self it.
2004-01-04 13:54:14 +00:00
Jeremy Fincher
ab27174428
Essential canonicalNaming was not being done.
2004-01-04 13:54:00 +00:00
Jeremy Fincher
22767c2ed7
Added an extra log message or two.
2004-01-04 13:53:33 +00:00
Jeremy Fincher
a4507d0d9d
Set dying during quit.
2004-01-04 13:51:11 +00:00
Jeremy Fincher
da1d09d9e3
Added a few more types, fixed help to include the current value again.
2004-01-04 12:23:10 +00:00
Jeremy Fincher
c88a7c3609
Backing out canonicalName in isCommand.
2004-01-04 11:52:12 +00:00