Jeremy Fincher
82a4d96ca7
Oops, didn't have an __revision__.
2004-02-04 18:01:55 +00:00
Jeremy Fincher
5e3fae4dbb
Robustified\!
2004-02-04 18:01:00 +00:00
Jeremy Fincher
a7c7cc2841
Minor stylistic changes.
2004-02-04 15:55:56 +00:00
Jeremy Fincher
952aa0e395
Fix0red the groupz0rs.
2004-02-04 15:55:03 +00:00
Jeremy Fincher
285ac5ef6d
At least import the plugin module, so configuration is preserved.
2004-02-04 05:56:51 +00:00
Jeremy Fincher
ee6107d016
Added an extra caveat to the supybot.flush help.
2004-02-04 05:11:31 +00:00
Jeremy Fincher
9f33b4c1bd
Oops, didn't give the appropriate namespace.
2004-02-04 04:56:37 +00:00
Jeremy Fincher
5d98b1a5bc
Converted ignores to a separate file, rather than a registry value.
2004-02-04 00:39:52 +00:00
Jeremy Fincher
3deab7b599
Added a defaultplugin for ignore to Admin.
2004-02-04 00:34:42 +00:00
Jeremy Fincher
43af36e5f5
Strike's a tard.
2004-02-03 23:55:31 +00:00
Jeremy Fincher
988bf3d336
Fixed defaultPlugins.
2004-02-03 23:23:04 +00:00
Jeremy Fincher
b8b014d447
Output the default value into the registry file.
2004-02-03 23:19:22 +00:00
Jeremy Fincher
4c8f3d5314
Made the registry dynamically reloadable as well as added a supybot.flush configuration variable.
2004-02-03 22:58:54 +00:00
Jeremy Fincher
1df9b64c39
Got it back workin, mo.
2004-02-03 22:39:24 +00:00
Jeremy Fincher
27b24e142a
Reordred some more, changed the default of prefixChars, and fixed some older-written values.
2004-02-03 18:21:19 +00:00
Jeremy Fincher
e853325a42
Reordered some more.
2004-02-03 17:59:45 +00:00
Daniel DiPaolo
62d2c13f45
Reordering stuff.
2004-02-03 17:40:19 +00:00
Jeremy Fincher
9bf4f35a51
Refactored registry to remove the Group/Value distinction.
2004-02-03 16:43:22 +00:00
Jeremy Fincher
18ce33a61d
Shortened upkeep message slightly so it fits in a single line with the timestamp.
2004-02-03 16:19:43 +00:00
Jeremy Fincher
717ee92e41
Catch exceptions in dying callbacks so all callbacks get a chance to die.
2004-02-03 07:11:32 +00:00
Jeremy Fincher
393a5b48f3
Cooler upkeep logging message. Again.
2004-02-03 05:38:39 +00:00
Jeremy Fincher
c0f3c7d9ba
Cooler upkeep logging message.
2004-02-03 05:38:02 +00:00
Jeremy Fincher
40e3c861c0
Forgot to re-add the user/channel databases to the flushers.
2004-02-03 04:10:22 +00:00
Jeremy Fincher
1232cc06c8
Fixed tinyz0r bug in _canonicalizeName.
2004-02-03 03:08:52 +00:00
Jeremy Fincher
3bd50b1d6a
Fixed testing, w00t!
2004-02-03 03:07:54 +00:00
Jeremy Fincher
cb3f763bf0
Oops, forgot to %.
2004-02-03 00:16:07 +00:00
Jeremy Fincher
4b107808c2
Eh, those things didn't need to be where they were.
2004-02-02 17:19:38 +00:00
Jeremy Fincher
b9e611fd91
Allow an implicit supybot.
2004-02-02 08:33:03 +00:00
Jeremy Fincher
c0ea69ef0f
Made the exceptions raised give more useful messages.
2004-02-02 08:31:11 +00:00
Jeremy Fincher
84b0295e80
Fixed User.list.
2004-02-02 08:24:48 +00:00
Jeremy Fincher
e8e5e11a51
Changed command to badCommand.
2004-02-02 03:24:03 +00:00
Jeremy Fincher
b119f94ed4
Converted to a new user/channel database format.
2004-02-02 02:56:16 +00:00
James Vega
7b8b1a25ca
Improve supybot's handling of PRIVMSGs that start with 'supybot'
2004-02-02 02:36:53 +00:00
Jeremy Fincher
92b2bd31cf
Made stdout stuff dynamically check the value of supybot.log.stdout.
2004-02-02 00:59:02 +00:00
Jeremy Fincher
651db477ae
No need for user 0 now; just change it to None.
2004-02-02 00:27:14 +00:00
Jeremy Fincher
ad4b7945ae
Fixed bugz0r in handling of nested actioning replies in tell.
2004-02-01 23:04:19 +00:00
Jeremy Fincher
c101fd121a
Made globalValues a group.
2004-01-31 20:51:52 +00:00
Jeremy Fincher
67a97fd136
Added getDomain and some tests.
2004-01-31 17:36:17 +00:00
Jeremy Fincher
59d563f38a
Converted supybot.log.minimumPriority to supybot.log.level.
2004-01-31 01:37:39 +00:00
Jeremy Fincher
da99f93d4a
Added search command.
2004-01-31 01:37:01 +00:00
Jeremy Fincher
8aa74dee4b
Converted to work.
2004-01-30 22:15:39 +00:00
Jeremy Fincher
5b2d89b086
Fixed that one bug submitted by jamessan about plugin.command capabilities being unhandled.
2004-01-30 22:14:39 +00:00
Jeremy Fincher
6ecd46bada
Added modes to the Channel.
2004-01-30 19:53:34 +00:00
Jeremy Fincher
3590d2aac8
Slight stylistic updates.
2004-01-30 19:27:02 +00:00
Jeremy Fincher
1f934bf55e
Removed line that wasn't absolutely necessary and seemed to be causing trouble.
2004-01-30 06:12:16 +00:00
Jeremy Fincher
f0097c2257
Remove get/set, changed it to just config.
2004-01-30 05:51:54 +00:00
James Vega
7ebfa3f3da
Since when is there a reload command in Misc?
2004-01-29 16:46:18 +00:00
Vincent Foley
7bdf8210cb
Fixed a bug
2004-01-28 21:42:46 +00:00
Jeremy Fincher
f57ceba827
Make sure network is always present, even if unset.
2004-01-28 19:07:21 +00:00
Jeremy Fincher
ca06e32f53
Removed! Bwahahaha! LONG LIVE THE REGISTRYcvs remove src/configurable.pycvs remove src/configurable.py
2004-01-28 18:15:03 +00:00
Jeremy Fincher
43c00a3f94
Added a network attribute to the Irc object.
2004-01-28 16:55:08 +00:00
Jeremy Fincher
7f107ff9c2
Made maxSize a config variable, supybot.httpPeekSize.
2004-01-28 16:14:12 +00:00
James Vega
0e3a4c37e1
Changed the capabilities separator to ';' since we use ',' in the actual
...
capabilities.
2004-01-27 22:34:21 +00:00
Jeremy Fincher
a6e8685c74
Added blank line. I don't remember why, but I'm tired of looking at it in CVS diff, and I'm sure I added it for a reason.
2004-01-27 20:05:36 +00:00
Jeremy Fincher
3f310efed7
Added a Regexp type.
2004-01-27 18:14:44 +00:00
Jeremy Fincher
bd066d616e
Made do001 more robust against failures loading.
2004-01-27 11:29:54 +00:00
Jeremy Fincher
3bac853c61
Some slight updates.
2004-01-27 11:25:36 +00:00
Jeremy Fincher
385d803ec7
Fixed multiple logging of repr'ed msg.
2004-01-27 11:15:56 +00:00
Jeremy Fincher
048db92e65
Fixed no-help case in Config.help.
2004-01-27 00:42:17 +00:00
Jeremy Fincher
5b4b7f2e4b
Oops, forgot a return.
2004-01-27 00:36:50 +00:00
Jeremy Fincher
81009586fb
Forgot to set the default in GroupWithValue.
2004-01-26 19:17:41 +00:00
Jeremy Fincher
a54e5a6477
Added --groups to list; more tests.
2004-01-26 17:54:07 +00:00
Jeremy Fincher
8f4483bd6e
Stop using cgitb because it's stupid.
2004-01-26 17:52:18 +00:00
Jeremy Fincher
3624267dbf
Oops, forgot to commit this.
2004-01-26 15:10:04 +00:00
Jeremy Fincher
847b53d68a
Fixed some bugz0rs.
2004-01-26 08:10:36 +00:00
Jeremy Fincher
ac2b048055
Fixed a capitalization bugz0r.
2004-01-26 07:50:20 +00:00
Jeremy Fincher
b9abf8427a
Removed killProxy, which was never used.
2004-01-26 03:50:15 +00:00
Jeremy Fincher
b94a7a3b4e
Made defaultplugin use the registry.
2004-01-25 08:22:50 +00:00
Jeremy Fincher
fbf417adb2
Improved the default supybot.replies.noUser.
2004-01-23 14:52:04 +00:00
Jeremy Fincher
c4bb73205f
Moved StringWithSpaceOnRight to registry.py.
2004-01-23 13:28:53 +00:00
Jeremy Fincher
e189ec24a8
Added some handling for 'try' in the pluralization stuff.
2004-01-23 13:23:20 +00:00
Jeremy Fincher
c62702cfc3
Foo!
2004-01-23 13:08:42 +00:00
Jeremy Fincher
3327eae8a0
Updated, fixed a bug, started on dynamic reloading.
2004-01-22 20:16:21 +00:00
Jeremy Fincher
734fc710e8
Made list not show the full name of the registry entry.
2004-01-22 20:14:43 +00:00
Jeremy Fincher
f1ac644013
Small update to normalize whitespace of prompts.
2004-01-22 19:53:04 +00:00
Jeremy Fincher
aa426edd0c
More, better workaround for the mx.DateTime suckiness.
2004-01-22 00:45:37 +00:00
Jeremy Fincher
bdafdfe113
Cleaned up a few logging messages.
2004-01-21 23:35:34 +00:00
Jeremy Fincher
87c26da18e
Fixed capitalization bug.
2004-01-21 20:19:38 +00:00
Jeremy Fincher
27639a9c3a
Added registerGroup.
2004-01-21 19:13:59 +00:00
Jeremy Fincher
ac8bb2ed08
Removed the reset command. We can nest default, if we want.
2004-01-21 19:13:43 +00:00
Jeremy Fincher
8cc8bba9e0
Made do001 handle already-loaded plugins (like, uh, right after reconnecting...)
2004-01-21 19:13:20 +00:00
Jeremy Fincher
fea97c96b5
Handled non-existent helps.
2004-01-21 19:12:51 +00:00
Jeremy Fincher
58332ad382
Added several new types for better error checking, converted supybot.channels to be space-separated, and made Admin.{join,nick} Do The Right Thing.
2004-01-21 17:13:04 +00:00
Jeremy Fincher
bd47403bf0
Made registryValue work with dotted syntax.
2004-01-21 16:25:38 +00:00
Jeremy Fincher
b2b9f64558
Reimplemented CommaSeparatedStringType in an extensible manner.
2004-01-21 16:15:31 +00:00
Jeremy Fincher
03e3ad47a0
Added a little extra error catching in irclib.Irc.takeMsg.
2004-01-21 15:50:38 +00:00
Jeremy Fincher
19e9d86a7c
Added an annotated option to registry.close and a fullNames option (to be used later) to getValues.
2004-01-21 15:48:48 +00:00
Jeremy Fincher
0e1b6923f7
Workaround for sqlite stupidity.
2004-01-21 10:57:55 +00:00
James Vega
c3173fe4b4
registryValue was missing a little self loving
2004-01-21 01:16:37 +00:00
Jeremy Fincher
0cd95c63d5
Added supybot.reply.noCapabilityError.
2004-01-20 22:39:15 +00:00
Jeremy Fincher
e8bba56f1f
Added supybot.reply.detailedErrors.
2004-01-20 22:26:48 +00:00
Jeremy Fincher
e88f2e5ba5
Set defaultcommand for help to be Misc.
2004-01-20 22:12:47 +00:00
Jeremy Fincher
03647ce53d
Added supybot.threadAllCommands.
2004-01-20 22:09:10 +00:00
Jeremy Fincher
4b1083931d
Changed channel capabilities to use commas.
2004-01-20 21:53:13 +00:00
Jeremy Fincher
393dbf47a7
Removed Interactive driver (heck, I don't know the last time I even looked at that code, let alone used it).
2004-01-20 18:56:18 +00:00
Jeremy Fincher
302f824fb7
Made splits more flexible.
2004-01-20 17:09:57 +00:00
Stéphan Kochen
f161f9d4c7
More wizard workage. Seems to be working pretty well right now. :)
...
Removed 'plugins' from the default list of plugin directories. Th's up to
the user to decide.
Also some possibly hackish use of the _cache again but I see no real way
around it.
2004-01-20 16:17:56 +00:00
Jeremy Fincher
26c4bcd27d
Juggled some parentheses around and added registryValue to callbacks.Privmsg.
2004-01-20 16:17:12 +00:00
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