Commit Graph

3676 Commits

Author SHA1 Message Date
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
17fec22598 Removed unum from setup. 2004-01-20 16:15:35 +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
b8d73d98c6 Possibly a bit hackish, but we use registry._cache here to preset some
registry variables so directories the user doesn't want don't get created
by conf and log and to prevent log from logging anything non-critical.
2004-01-20 13:41:02 +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
6748dc22ee Converted to use a global value instead of a channel value. 2004-01-20 12:29:11 +00:00
Jeremy Fincher
201f11cc94 Updated for the new registry dealio. 2004-01-20 12:27:48 +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
9997042575 Added Sf.totalbugs and Sf.totalrfes 2004-01-20 08:00:39 +00:00
James Vega
144a5bc39e Made replyNoBugzilla a registry variable 2004-01-20 07:57:40 +00:00
James Vega
886e447c8c env is your friend 2004-01-20 07:15:37 +00:00
James Vega
5f82d72b7e Updated to use registry 2004-01-20 07:11:00 +00:00
James Vega
0b11192acf Updated to use the registry. 2004-01-20 06:27:17 +00:00
James Vega
6831dafee5 Brain fart 2004-01-20 04:36:49 +00:00
James Vega
97eadb6feb Can actually search with Google now that google.setLicense is being called.
Also, maxiumum-results -> maxiumumResults to prettify the function calls.
2004-01-20 04:32:23 +00:00
James Vega
006909b909 Converted to use the registry. 2004-01-20 04:24:21 +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
bb97cb3884 Updated not to set the supybot.plugins.Dict value when it registers the plugin. 2004-01-19 23:00:08 +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
4fa547c1c6 Updated the configure function. 2004-01-19 22:37:22 +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
946f686dfd Added an extra comment. 2004-01-19 21:54:54 +00:00
Jeremy Fincher
8424761047 Converted Dict to the new registry format. 2004-01-19 21:38:03 +00:00
James Vega
0b62247ccb self.open() needs to happen *after* self.filename is set 2004-01-19 21:16:58 +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
James Vega
24ff1a972f Except that registry has to come before conf 2004-01-19 20:36:16 +00:00
James Vega
4ea29eb3a4 Proper ordering of imports 2004-01-19 20:34:02 +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
4df10116ed Added Config to the default list of plugins loaded. 2004-01-19 20:23:03 +00:00
Jeremy Fincher
dc87ed26aa Added log.timestamp. 2004-01-19 20:22:06 +00:00
Jeremy Fincher
6950f65c98 Topic sync has broken one of our invariants. 2004-01-19 20:21:30 +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