Commit Graph

1364 Commits

Author SHA1 Message Date
Jeremy Fincher
5c660fd56e Fixed's Strike's bug in Misc.revision. IT'S STRIKE'S BUG, MIND YOU\! IT ALWAYS HAS BEEN STRIKE'S BUG\!\! DON\'T EVER LET HIM TELL YOU OTHERWISE\! 2004-02-16 04:10:06 +00:00
Jeremy Fincher
bdbcd9562c Put a note in the help for config about leaving off the supybot.. 2004-02-16 04:07:45 +00:00
Jeremy Fincher
67ab9f8ae1 Fix for 'revision Math' bug. 2004-02-16 03:01:20 +00:00
Jeremy Fincher
ff370e29cf Who knows why I wrote that without a for loop before? 2004-02-16 00:54:05 +00:00
Jeremy Fincher
487fb3cc2f Made separateModes int the argument if it can. 2004-02-16 00:51:29 +00:00
James Vega
3bdef0fabf Change the behavior to match the naming and help. 2004-02-14 07:21:08 +00:00
Jeremy Fincher
2f470b3a3b Typo\! 2004-02-14 01:52:07 +00:00
Jeremy Fincher
d94b3f799e Use expandtabs instead of expanding by hand. 2004-02-14 01:32:39 +00:00
Jeremy Fincher
4a086e67e4 Geezle peats, I thought I fixed this already\! 2004-02-14 01:06:19 +00:00
Jeremy Fincher
68eb84c0bb Better error handling on open. 2004-02-14 01:02:53 +00:00
Jeremy Fincher
fb59b25a63 Added the ability for configuration variables to be private so they can't have their values gotten by people who can't change them. 2004-02-14 00:47:21 +00:00
Jeremy Fincher
38cf55ebce Made the initial log message better. 2004-02-14 00:24:32 +00:00
Jeremy Fincher
0dcaf942ef Don't change our nick on 433 if we're using our default nick. 2004-02-13 18:37:35 +00:00
Jeremy Fincher
6f8fafb04c Added error handling for nick changes. 2004-02-13 18:37:13 +00:00
Jeremy Fincher
6c88a6a315 Better error message in the cases where there are no commands. 2004-02-13 11:02:42 +00:00
Jeremy Fincher
f8f977386e Store the q on the function itself in case we want to debug with it later. 2004-02-13 09:56:59 +00:00
Jeremy Fincher
87f4d36d6f Fixed tests. 2004-02-13 09:50:46 +00:00
Jeremy Fincher
1a62fed0b6 Woohoo, fixed the bug with register in tests! 2004-02-13 09:01:21 +00:00
Jeremy Fincher
74300bb148 Man, I must've been really sleepy when I 'fixed' that code. 2004-02-13 08:58:29 +00:00
Jeremy Fincher
28062699b8 Changed slightly the phrasing of supybot.reply.noUser. 2004-02-13 07:25:24 +00:00
Jeremy Fincher
c916152470 Clear the _mores when reset. 2004-02-13 07:24:30 +00:00
Jeremy Fincher
681c091309 Instead of asserting non-unicodeness, let's just encode it. 2004-02-13 04:43:39 +00:00
Jeremy Fincher
d3dcc62d1b Offer a reset method. 2004-02-13 04:43:06 +00:00
Jeremy Fincher
3902e9f48f Sort plugin results. 2004-02-12 13:31:52 +00:00
Jeremy Fincher
e45ad03ef4 Robustitude\! 2004-02-12 13:27:02 +00:00
Jeremy Fincher
77458078e9 Improved the help for supybot.directories.plugins. 2004-02-12 07:25:15 +00:00
Jeremy Fincher
cf4b0da422 Fix possible raised RuntimeError. 2004-02-12 07:18:21 +00:00
Jeremy Fincher
17d6c1b93e Made sure to handle the case where the driver object has no irc or its irc is None (like a Scheduler driver or something). 2004-02-12 06:50:26 +00:00
Jeremy Fincher
c65dfd718e Made sure the failure of one flusher doesn't affect them all. 2004-02-12 06:48:22 +00:00
James Vega
66f12fa1a6 commaAndify list 2004-02-12 04:17:20 +00:00
Jeremy Fincher
f364bb9705 Added world.starting to know that we shouldn't flush. 2004-02-12 00:49:41 +00:00
Jeremy Fincher
69671d55a3 Handle EINPROGRESS more appropriately (i.e., actually try to work :)) 2004-02-12 00:49:13 +00:00
Jeremy Fincher
f5d3b4ba2d Fixed removecapability bug. 2004-02-11 06:59:44 +00:00
Jeremy Fincher
5d3a3437db Fixed G-LiTe's bug with -l. 2004-02-11 06:57:35 +00:00
Jeremy Fincher
14ab800a13 Fixed bug #894619. 2004-02-11 06:33:05 +00:00
Jeremy Fincher
1264f21f23 Fixed supybot.channels to use an IrcSet instead of a list. 2004-02-11 06:27:35 +00:00
Jeremy Fincher
cf1c3a84b9 Made Sen case-insensitive (again...) 2004-02-11 06:20:29 +00:00
Jeremy Fincher
d077e9a3fe Stopped trying to mess with stuff that we don't know how to handle; I'd rather have uglier log messages and a bot that I can figure out than otherwise. 2004-02-11 06:02:49 +00:00
Jeremy Fincher
c04d3632cc strictRfc added, off by default. 2004-02-11 05:57:34 +00:00
Jeremy Fincher
0c605c2163 Fixed invite, thanks lkn4it. 2004-02-11 05:14:44 +00:00
James Vega
75246f88a8 Proper ordering of options in Channel.kban's help 2004-02-10 22:39:27 +00:00
Jeremy Fincher
d2d5f880ed Trying something out for fixing the Jawoota unicode bug. 2004-02-10 06:19:16 +00:00
Jeremy Fincher
ac74ef9819 Fix for bug #893264; we can now discover what channels require registration and only go after we've identified. 2004-02-10 04:01:05 +00:00
Jeremy Fincher
dd66098e3e Made Admin.part properly remove the channel from the list of channels to join. 2004-02-10 03:23:50 +00:00
Jeremy Fincher
d6f79c4a56 Made a showDefault configuration option for deciding whether or not to write the default to the registry, and made registerPlugin set it to False (who needs to know what the default is for that stuff?) 2004-02-10 03:15:31 +00:00
Jeremy Fincher
0c2de453f2 Threaded RSS's announcements and made reloading/flushing work properly. 2004-02-10 02:49:52 +00:00
Jeremy Fincher
0098784ffd Small stylistic update (now it's a little more readable). 2004-02-10 00:53:58 +00:00
Jeremy Fincher
6ebc226e00 Reject invalid join commands outright. 2004-02-10 00:53:01 +00:00
Stéphan Kochen
ec8d1bef06 'nother buggeh that prevent my previous commit from working. :)- 2004-02-10 00:12:51 +00:00
Stéphan Kochen
85fc5f25be Allow channel keys in registry. 2004-02-10 00:00:27 +00:00
Jeremy Fincher
53f9c0aa94 Made an empty stings cancel out of the plugin selection. 2004-02-09 19:01:47 +00:00
Jeremy Fincher
5969fbf990 Make op/halfop/voice like de{op,halfop,voice}. 2004-02-09 18:23:21 +00:00
Jeremy Fincher
c60664f620 Fixed bugz0r #893239. 2004-02-09 16:32:00 +00:00
Jeremy Fincher
de30db819a Changed the assert to a log.info. 2004-02-09 16:19:28 +00:00
Jeremy Fincher
86eb377442 Handle a possible suck-100%-cpu bug if drivers._drivers contains only the schedule driver. 2004-02-09 07:09:06 +00:00
Daniel DiPaolo
abd4eeddf0 Don't put a period at the end of the Misc.plugin output! It's useful to be
able to do "@list [plugin foo]"!
2004-02-09 03:25:59 +00:00
Jeremy Fincher
ea2f4a55ca Fixed urlSnarfer bugz0r. 2004-02-09 02:52:41 +00:00
Jeremy Fincher
da209e5a36 Made enable case-insensitive. 2004-02-08 23:54:01 +00:00
Jeremy Fincher
a178492453 Made the interval between upkeeps configurable. 2004-02-08 10:49:08 +00:00
Jeremy Fincher
52393396b2 Changed the timing log from info to debug. 2004-02-08 10:02:05 +00:00
Jeremy Fincher
b5c52a9c11 Make defaultPlugins get automatically read from the registry. 2004-02-08 09:58:45 +00:00
Jeremy Fincher
15ae4d5c2a Man, I don't know where that extra line came from, but it's bothering me in cvs diff. 2004-02-08 09:28:33 +00:00
Jeremy Fincher
ca4a8dceef Moved some error handling to a different place. 2004-02-08 09:26:21 +00:00
Jeremy Fincher
96eecfd477 Fixed most tests and made some stricter policy changes, as well handled the case of getUserId returning several hostmasks a little better. 2004-02-08 09:25:14 +00:00
Jeremy Fincher
3ca4b1d43c Updating version numbers. 2004-02-08 03:59:09 +00:00
Jeremy Fincher
6b6efcddcc Removed some useless debugging madealios. 2004-02-08 03:24:09 +00:00
Jeremy Fincher
679b4dec26 Gotta give the channel and id in deserialize. 2004-02-07 23:56:32 +00:00
Jeremy Fincher
f2f2680c91 Added support for groups alone having help. 2004-02-07 23:35:42 +00:00
Jeremy Fincher
2092fe4134 Fixed the output of Misc.plugin slightly. 2004-02-07 23:23:07 +00:00
Jeremy Fincher
07e6482f11 Added Owner.defaultplugin again, we needed a better interface to setting/removing default plugins. 2004-02-07 23:22:47 +00:00
Jeremy Fincher
c43947ce63 Oops, forgot this guy. 2004-02-07 22:24:41 +00:00
Jeremy Fincher
0ab86752a7 *Really* fixed supybot-adduser now. 2004-02-07 22:23:12 +00:00
Jeremy Fincher
6072094207 Changed ChannelUserDatabase to ChannelUserDB. 2004-02-07 21:36:40 +00:00
Jeremy Fincher
097d4e93d6 Changed Herald to CSV. 2004-02-07 21:23:00 +00:00
Jeremy Fincher
2022839a96 Gave replies the **kwargs. 2004-02-07 12:38:31 +00:00
Jeremy Fincher
0982ee2638 Fixed bugz0rs in the new version. 2004-02-07 12:35:58 +00:00
Jeremy Fincher
94c16a0bd3 Made version look online to find the newest version. 2004-02-07 12:19:15 +00:00
Jeremy Fincher
9108591b7f Added isCommand to the firewalled methods. 2004-02-07 11:48:37 +00:00
Jeremy Fincher
b2efbdc84c Added RFE #871658. 2004-02-07 11:48:03 +00:00
Jeremy Fincher
0525b9a4fa Ooops, thought I tested it, but it turns I had forgotten to install. 2004-02-07 11:23:19 +00:00
Jeremy Fincher
b51961b18a Added supybot.defaultSocketTimeout as a configurable. 2004-02-07 11:12:12 +00:00
Jeremy Fincher
1c1046cddb The bot won't de itself anymore. 2004-02-07 06:24:45 +00:00
Jeremy Fincher
47d81547aa Added log.firewall and log.MetaFirewall, and converted several classes to use them. 2004-02-06 09:20:47 +00:00
Jeremy Fincher
4fec15f40e Fix the cause of several exceptions being raised on loading of plugins. 2004-02-06 09:19:54 +00:00
Jeremy Fincher
90112901f4 Make sure failed loads of plugins don't prevent those plugins from later being loaded. 2004-02-06 09:19:21 +00:00
Jeremy Fincher
0784ad7246 Changed replyPossibleBug to a channel value. 2004-02-06 08:48:35 +00:00
Jeremy Fincher
303bba29d4 Minor little tweak. 2004-02-06 05:53:16 +00:00
Jeremy Fincher
21ef041a58 Updated to make case insensitivity with preservation much easier (based on utils.InsensitivePreservingDict). 2004-02-05 07:54:38 +00:00
Jeremy Fincher
8eeb9e7221 Updated error messages. 2004-02-05 07:53:00 +00:00
Jeremy Fincher
9def8a49bd Hmm, didn't define keys. 2004-02-05 07:32:20 +00:00
Jeremy Fincher
19a86f3873 Added a raiseError optional argument to getChannel. 2004-02-05 07:17:11 +00:00
Jeremy Fincher
6771c24ca6 Added InsensitivePreservingDict and made IrcDict a subclass of it. 2004-02-05 07:14:35 +00:00
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