Jeremy Fincher
b9483aee3b
Added itemgetter and attrgetter to operator.
2004-03-01 18:15:21 +00:00
James Vega
e04489e18a
Add matching of $randdate or $randomdate
2004-02-29 21:13:54 +00:00
James Vega
4b32a206c4
Add Seen trackers for PART, JOIN, QUIT (and fix ircmsgs.prettyPrint for QUIT)
2004-02-29 21:13:20 +00:00
Jeremy Fincher
d1bb8ce02f
Bugfix with 433 handling.
2004-02-26 18:38:20 +00:00
Jeremy Fincher
d2e1d80b27
Use plugins.standardSubstitute in supybot.replies.
2004-02-24 21:20:31 +00:00
Jeremy Fincher
07733594e9
Made urlSnarfer respect lobotomies.
2004-02-24 21:16:53 +00:00
Jeremy Fincher
de512b24de
Guarded asserts with strictRfc.
2004-02-24 11:21:12 +00:00
James Vega
ad1a23fcd2
Removed doindent and trap KeyboardInterrupt in supybot.
2004-02-23 10:50:40 +00:00
Jeremy Fincher
9f766c154a
Added itertools.groupby.
2004-02-21 10:29:10 +00:00
Jeremy Fincher
d0547ba954
Added logging of invite.
2004-02-21 09:56:27 +00:00
James Vega
1300548d0a
We should also be catching timeouts on the read.
2004-02-20 22:46:10 +00:00
Jeremy Fincher
a59beb0b93
Updated version.
2004-02-20 07:52:39 +00:00
Jeremy Fincher
1624b1a786
Symmetry is beautiful.
2004-02-20 06:39:35 +00:00
Jeremy Fincher
39bbf683fb
Fixed some typos.
2004-02-20 06:32:39 +00:00
Jeremy Fincher
57ec45e728
Added some little bit of extra logging.
2004-02-20 06:11:24 +00:00
Jeremy Fincher
dda4d61421
Added the stuff needed for channel karma.
2004-02-20 05:33:12 +00:00
Daniel DiPaolo
940a934f6e
Clarified the prefixChars help string
2004-02-19 08:04:09 +00:00
Stéphan Kochen
708ee91776
Actually, that is rather unnecessary. Sorry for messing up so bad today. :/
2004-02-18 16:29:44 +00:00
Stéphan Kochen
52e7551493
Whoops, messed that up good.
2004-02-18 16:21:07 +00:00
Stéphan Kochen
f08f875d3c
Fixed a nasty bug where pipe syntax would still work if it's disabled but
...
the pipe character is spaced out, as in: @foo | bar
Also added supybot.bracketSyntax; defaults to True, don't worry. ;)
2004-02-18 15:39:30 +00:00
Jeremy Fincher
2747baf48a
Fixed bug in IrcObjectProxy{Regexp} where actions weren't targetted correctly based on the to/private arguments.
2004-02-18 13:41:47 +00:00
Jeremy Fincher
a7d83efbba
Fixed bugz0r in the way stuff is printed.
2004-02-18 12:15:04 +00:00
Jeremy Fincher
faa27d573f
Fix for bug #899271 , as well as some other problems with the test suite and ChannelPluginTestCase.
2004-02-18 07:36:40 +00:00
Jeremy Fincher
c070e66d11
Fixed revision (again).
2004-02-17 18:54:35 +00:00
Jeremy Fincher
99926fd170
Added mode, and made sure to send one after joining a channel.
2004-02-17 18:12:01 +00:00
Jeremy Fincher
e609d5dfd7
Fixed the problem of having multiple upkeeps scheduled.
2004-02-17 18:10:27 +00:00
Stéphan Kochen
f1e34ccfa9
Added invite command with test, fixed docstrings.
2004-02-17 13:28:40 +00:00
Jeremy Fincher
6be8850822
Oops, we use commas now.
2004-02-17 06:51:07 +00:00
Jeremy Fincher
f3c481d13f
Removed some catching of exceptions that can never happen due to MetaFirewall.
2004-02-17 06:31:19 +00:00
Jeremy Fincher
2dab520e66
Fixed the __str__ of some Value subclasses.
2004-02-17 06:30:12 +00:00
Jeremy Fincher
c809cc9217
Tried to fix0r the bugz0r that wishy and I are having with failures to reconnect.
2004-02-17 01:45:30 +00:00
Jeremy Fincher
223ac90fde
Added logging of ERRORs from server.
2004-02-16 19:53:19 +00:00
Jeremy Fincher
de72ad4026
Made a potential AssertionError not get raised.
2004-02-16 17:28:12 +00:00
Jeremy Fincher
6d117b2992
Fixed bug #898028 .
2004-02-16 16:16:13 +00:00
Jeremy Fincher
ced437b309
Change the default upkeepInterval to 1h instead of 5m.
2004-02-16 09:13:48 +00:00
Jeremy Fincher
bd7c758dee
Slightly fixed a formatting issue.
2004-02-16 08:41:26 +00:00
Jeremy Fincher
c5aa3f0112
The documentation was wrong, not the code.
2004-02-16 08:36:29 +00:00
Jeremy Fincher
f752ad5747
Commented out some useless debug logs.
2004-02-16 08:10:50 +00:00
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
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
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
Jeremy Fincher
9453c893a8
Removed some debugging prints.
2004-01-04 11:40:52 +00:00
Jeremy Fincher
ef4bff5571
Made isCommand use canonicalName and added getCommand.
2004-01-04 11:23:23 +00:00
Jeremy Fincher
669ac8995f
Moved _urlRe to webutils as urlRe.
2004-01-04 11:18:53 +00:00
Jeremy Fincher
95c2098b5d
Added some extra logging.
2004-01-03 15:51:53 +00:00
Jeremy Fincher
7c8892adb8
Fixed.
2004-01-02 22:29:14 +00:00
Jeremy Fincher
44aebd9536
Slight style update.
2004-01-02 22:29:03 +00:00
Jeremy Fincher
ed5f89bce1
Added some extra logging.
2004-01-02 22:02:33 +00:00
Jeremy Fincher
680729ffda
Fixed bugz0rs.
2004-01-02 21:55:15 +00:00
Jeremy Fincher
14eff0fdf1
Fixed problem in do002, splitting the wrong arg.
2004-01-02 21:32:56 +00:00
Jeremy Fincher
e9c67b25a5
Finished the nuking of VERBOSE and PRINTF.
2004-01-02 21:32:31 +00:00
Jeremy Fincher
a0d2a9da2a
Fixed bug #863808 ; added isIPV6.
2004-01-02 20:50:43 +00:00
Jeremy Fincher
8b6733ee5d
Fixed some bugz0rs.
2004-01-02 19:54:25 +00:00
Jeremy Fincher
e869cf7660
A little logging change.
2004-01-01 20:18:13 +00:00
Jeremy Fincher
542259fcd7
Added options to kban.
2004-01-01 20:17:55 +00:00
Jeremy Fincher
5502794a23
Added docstring to disambiguate, fixed some bugs.
2004-01-01 20:16:45 +00:00
Jeremy Fincher
4b3b245834
Made addressedRegexps and Regexps not run if there was an error. Also slightly refactgored handling of errors in Privmsg/IrcProxyObject. Also fixed spawning of threads to set the callback's threaded attribute.
2004-01-01 20:15:25 +00:00
Jeremy Fincher
34d0cdc79b
Added tons of new Types and globalConfigurables.
2004-01-01 20:13:22 +00:00
Jeremy Fincher
45af6513d8
Slightly updated.
2004-01-01 20:12:40 +00:00
Jeremy Fincher
2b32ccdc7d
Refactored Irc/Driver interaction.
2004-01-01 20:12:01 +00:00
Jeremy Fincher
26995a7017
Added conf.requireChannelCommandsToBeSentInChannel.
2004-01-01 20:10:52 +00:00
Jeremy Fincher
a7d0eb9829
Added a whole buttload of configuration variables.
2004-01-01 20:08:53 +00:00
Jeremy Fincher
e1b0d7d8a4
Removed printf and verbose. Just use debug instead.
2004-01-01 20:01:35 +00:00
Jeremy Fincher
1f441c54bd
Forgot to return the name in addEvent.
2004-01-01 20:00:29 +00:00
Jeremy Fincher
bcbfd2130e
Made matchCase its own available function.
2004-01-01 19:47:13 +00:00
Jeremy Fincher
cb5c22c9dc
Made pinging the server optional.
2003-12-20 07:01:09 +00:00
Jeremy Fincher
36b6821c5e
Set the default timeout for all sockets to 10 seconds.
2003-12-18 09:02:12 +00:00
Jeremy Fincher
29b0e20b2d
Added followIdentificationThroughNickChanges for RFE #845346 .
2003-12-17 13:39:05 +00:00
Jeremy Fincher
bbafb4294e
Added conf.replyWhenNotAddressed for RFE #859183 .
2003-12-17 13:22:21 +00:00
Jeremy Fincher
d9fcd25ac1
Oops, removed a log.
2003-12-17 13:16:31 +00:00
Jeremy Fincher
a3edca49a0
Workaround for bug in cgitb.
2003-12-16 23:13:48 +00:00
Jeremy Fincher
fd01a22e84
Changed some logging messages.
2003-12-16 21:06:20 +00:00
Jeremy Fincher
7b983bc921
Added some better logging.
2003-12-16 20:56:05 +00:00
Jeremy Fincher
a63d175498
Added memoization of hostmaskPatternEqual.
2003-12-16 20:36:43 +00:00
Jeremy Fincher
44728222eb
s/callback/plugin/g
2003-12-16 19:57:18 +00:00
Jeremy Fincher
c1f88120f0
Added an assert.
2003-12-16 18:14:48 +00:00
Jeremy Fincher
db8d18b1aa
Oops, forgot to commit this with the case-insensitive more changes.
2003-12-16 13:32:31 +00:00
Jeremy Fincher
40cac59dc5
Updated version number.
2003-12-12 19:03:22 +00:00
Jeremy Fincher
590c9c64a0
Made help handle defaultplugins and whatnot correctly.
2003-12-12 17:53:16 +00:00
James Vega
e485984604
Make sure the ban length is an integer
2003-12-12 16:56:25 +00:00
Jeremy Fincher
42ce8c33a6
Swapped the argument order for utils.{pluralize,nItems}
2003-12-12 15:41:33 +00:00
Jeremy Fincher
c922957655
Changed got376 to afterConnect.
2003-12-12 12:47:23 +00:00
Jeremy Fincher
c432a93afb
Try to prevent the ping loops we got in earlier.
2003-12-12 12:29:02 +00:00
Jeremy Fincher
8f777db9f9
Fixed bug #858008 , and a fix for another bug that invalidCommands that raise an exception stop the whole process; now it'll continue to later plugins.
2003-12-11 14:32:45 +00:00
Jeremy Fincher
f592aab3c0
Fixed bug #857299 .
2003-12-10 19:17:48 +00:00
Jeremy Fincher
3f6d347e2b
Added isCtcp.
2003-12-10 18:49:45 +00:00
Jeremy Fincher
94cdec8a26
Oops, should've used irc.error...brainfart!
2003-12-10 07:32:04 +00:00
Jeremy Fincher
da6743b9b7
Added appropriate error messages for Admin.join when the channel can't be joined. Also added channels command to see what channels the bot is in.
2003-12-10 07:29:01 +00:00
Jeremy Fincher
091be1311d
Spread out some tests, made action error on the empty string.
2003-12-10 04:38:44 +00:00
Jeremy Fincher
3978be5cdf
Fixed bug #856997 .
2003-12-09 21:36:33 +00:00
Jeremy Fincher
ae44a337be
Put the new module in sys.modules, just to be safe.
2003-12-09 21:33:13 +00:00
Jeremy Fincher
a6099943b4
Fix for bug #857054 .
2003-12-09 21:32:55 +00:00
James Vega
3ef5f546a1
Clarify the docstring for privmsgs.getArgs
2003-12-09 15:58:05 +00:00
Jeremy Fincher
88581d99e4
Added utils.sorted.
2003-12-09 14:46:12 +00:00
Jeremy Fincher
c8da4ad913
Removed a conf.replySuccess where one isn't needed (in unban).
2003-12-09 04:49:39 +00:00
Jeremy Fincher
4c64ffb4c7
Changed some logging messages.
2003-12-09 04:46:51 +00:00
Jeremy Fincher
e770054717
Nicer exit message :)
2003-12-09 04:38:04 +00:00
Jeremy Fincher
dbc7df71de
Had to import log after we import conf.
2003-12-09 03:52:29 +00:00
Jeremy Fincher
fe9bf97a59
Change changeusername to changename.
2003-12-09 00:02:51 +00:00
Jeremy Fincher
31a5e2b462
Added an assert to prevent improper usage by inexperienced developers.
2003-12-08 01:10:27 +00:00
Jeremy Fincher
ead91da748
Tightened up the restrictions on User.hostmasks, also required privacy for it.
2003-12-07 01:26:51 +00:00
Jeremy Fincher
2ec97484f3
Renamed replyWhenAddressedByName to replyWhenAddressedByNick.
2003-12-07 00:17:01 +00:00
Jeremy Fincher
2fea3e788e
Fixed RFE #855159 .
2003-12-07 00:13:56 +00:00
Jeremy Fincher
f6f46f6689
Fixed bug #855014 and added RFEs #855453 and #855454 .
2003-12-06 23:52:23 +00:00
Jeremy Fincher
b91a1b8941
Oops, shouldn't have committed, a stray underscore got here.
2003-12-06 14:18:10 +00:00
Jeremy Fincher
12fff1941e
Added a comment.
2003-12-06 14:16:18 +00:00
Jeremy Fincher
1dfca188e9
Added another case to except clauses for Connection Reset by Peer.
2003-12-06 14:16:02 +00:00
Jeremy Fincher
a36f81e158
Handled detailedTracebacks again.
2003-12-06 13:23:20 +00:00
Jeremy Fincher
a23fbcfb1c
Handled the case where nickmods got all run out.
2003-12-06 13:20:59 +00:00
Jeremy Fincher
bba1d274e0
Final changes in preparation for release.
2003-12-06 13:07:29 +00:00
Daniel DiPaolo
2e4ecfe03b
Fixed a bug in setprefixchar where things would get wonky when trying to set an
...
invalid prefixchar
2003-12-05 19:10:09 +00:00
Jeremy Fincher
f8f0333a9c
Changed the order of three statements so Owner can't get loaded twice.
2003-12-05 11:53:41 +00:00
Jeremy Fincher
40dcc0eb1c
Changed a log.info to a log.warning (more appropriate).
2003-12-05 11:52:50 +00:00
Jeremy Fincher
9873981fd8
Updated deop/dehalfop/devoice to work by default on the sender of the message.
2003-12-04 16:27:03 +00:00
Jeremy Fincher
e46765f426
Added a trusted capability (defaulting to off); made Utilties.re require it.
2003-12-04 08:28:56 +00:00
Jeremy Fincher
417f57f4e8
'Fixed' bug #853791 (really, just fixed the error message).
2003-12-04 08:12:09 +00:00
Jeremy Fincher
8242302a07
Updated the logging of various things that need logged.
2003-12-04 08:11:34 +00:00
Jeremy Fincher
5fb21b5d06
Eh, sorted some output.
2003-12-04 07:18:10 +00:00
Jeremy Fincher
5300ca59fd
Changed the format of Channel.capabilities to match User.capabilities.
2003-12-04 07:15:14 +00:00
Jeremy Fincher
a74d1d5aef
Added a little extra logging.
2003-12-04 00:29:06 +00:00
Jeremy Fincher
1b462c8b55
Added a few more substitutes and allowed a few more names to be more compatible with blootbot.
2003-12-04 00:07:16 +00:00
Jeremy Fincher
2aaca31709
Moved Configurable out to its own module.
2003-12-03 23:14:09 +00:00
Jeremy Fincher
6925ecf760
New hostmaskPatternEqual that's a bit more correct and perhaps slightly faster.
2003-12-03 23:13:07 +00:00
Jeremy Fincher
1f38ac29d5
Removed timestamps from stdout logging.
2003-12-03 22:34:03 +00:00
Jeremy Fincher
05ab09b9f5
Fixed to re-raise errors appropriately.
2003-12-03 22:32:33 +00:00
Jeremy Fincher
bb154e0a7f
Updated some format, didn't log some messages when the world is dying.
2003-12-03 22:31:33 +00:00
Jeremy Fincher
8fc9b00c03
Don't log the 'scheduling reconnect' message if the world is dying.
2003-12-03 22:29:49 +00:00
Jeremy Fincher
32eaa11322
Some better logging.
2003-12-03 22:17:12 +00:00
Jeremy Fincher
bc7083506f
Make sure to normalize the whitespace on help.
2003-12-03 22:02:29 +00:00
Jeremy Fincher
43a890e488
Added kick command.
2003-12-03 20:52:05 +00:00
Jeremy Fincher
4726fdf223
Made sure the pluralized power commands don't get run with no arguments.
2003-12-03 20:49:51 +00:00
Jeremy Fincher
e4d9f6ded2
Added some asserts to the pluralized power message functions.
2003-12-03 20:48:44 +00:00
Jeremy Fincher
39ab2b78bf
Added Channel.{deop,devoice,dehalfop}
2003-12-03 20:27:42 +00:00
Jeremy Fincher
7f3cafbfbd
Fixed ops, deops, halfops, dehalfops, voices, and devoices.
2003-12-03 20:17:13 +00:00
Jeremy Fincher
8e7416fd72
Limit the number of mores to 50.
2003-12-03 05:42:55 +00:00
Jeremy Fincher
902ff30dd4
Removed an extraneous __revision__ string and import fix.
2003-12-03 05:26:35 +00:00
Jeremy Fincher
890d2a5f4e
Added an iteritems to ChannelsDictionary and made it into an IterableMap.
2003-12-03 05:26:14 +00:00
Jeremy Fincher
7b9c0ccd86
Changed the name of WebException to WebError.
2003-12-03 04:57:30 +00:00
Jeremy Fincher
5dfb00ff7d
Added lobotomies command.
2003-12-03 01:28:31 +00:00
Jeremy Fincher
2f7d2d7f61
Gave DBHandler a .die() method.
2003-12-02 22:40:33 +00:00
Jeremy Fincher
1d54f0ec22
Handle the case where the suffix is in the name itself.
2003-12-02 20:36:02 +00:00
Jeremy Fincher
882b872d7c
Made defaultplugin show the default plugin for a command if not given a plugin.
2003-12-02 19:21:05 +00:00
Jeremy Fincher
949ea7aa2b
Made utils.pluralize a little smarter.
2003-12-02 18:58:57 +00:00
Jeremy Fincher
8e624e6eac
Fix for bug #852350 . This should work, and it explains why I've never encountered it myself: I don't have mx.DateTime installed. Now we just make sure sqlite thinks *everyone* doesn't have it installed.
2003-12-02 12:32:58 +00:00
Jeremy Fincher
da92309ba4
Fixed bug #851661 .
2003-12-02 11:55:26 +00:00
Jeremy Fincher
f23d8b0b1e
Added some extra logging.
2003-12-02 11:40:46 +00:00
Jeremy Fincher
2f1c8415b6
Added getUrlFd, used it in Http.kernel.
2003-12-02 11:10:31 +00:00
Jeremy Fincher
4e5e568244
Fix for bug #852433 .
2003-12-02 11:06:39 +00:00
Jeremy Fincher
b473532b4c
Made last default to the current channel.
2003-12-02 10:55:22 +00:00
James Vega
1fa9e8c4a8
sockets, they do a body good
2003-12-02 05:49:56 +00:00
Jeremy Fincher
8d9ed6bf87
Added webutils module; used it in Http.
2003-12-02 00:12:45 +00:00
Jeremy Fincher
17d9a59845
Used cgitb instead of the default exception printing.
2003-12-02 00:01:49 +00:00
Jeremy Fincher
b39e1237fc
Added __iter__ to UsersDB for a cleaner interface.
2003-12-01 23:24:25 +00:00
Jeremy Fincher
e34d9deecd
Fixed RFE #851183 , ircdb.users.numUsers.
2003-12-01 23:17:26 +00:00
Jeremy Fincher
c8de1e8155
Made the string of flags that require an argument an optional argument so you can parse the flags for some other purpose.
2003-12-01 21:59:01 +00:00
Jeremy Fincher
3179a8d8bc
Fixed the case problem in User.list.
2003-12-01 21:27:26 +00:00
Jeremy Fincher
9788815bdd
Added tests for globbing ability.
2003-12-01 21:17:29 +00:00
Jeremy Fincher
8ff34725c2
Added User.list command to list registered users.
2003-12-01 20:57:00 +00:00
Jeremy Fincher
97b8bab611
Added User.list command to list registered users.
2003-12-01 20:57:00 +00:00
Jeremy Fincher
b6dd266549
Re-added colored stdout logging.
2003-12-01 15:38:42 +00:00
Jeremy Fincher
3aa6faa82a
Some code accidentally code committed, a useless function.
2003-12-01 12:04:26 +00:00
Jeremy Fincher
24f95e6a75
Small efficiency/readability fixes.
2003-12-01 12:04:02 +00:00
Jeremy Fincher
fb2d9b7f4f
Various re fixes, including bug #850931 .
2003-12-01 11:06:17 +00:00
James Vega
76c4dfc762
cleaned up a couple of pylint warnings
2003-11-30 19:34:14 +00:00
Jeremy Fincher
d5c9873231
New logfilesize.
2003-11-26 19:24:28 +00:00
Jeremy Fincher
41ab05862f
Changed the priority of the ignoring logged message.
2003-11-26 18:46:47 +00:00
Jeremy Fincher
d9cac7bfe4
Removed.
2003-11-26 18:29:15 +00:00
Jeremy Fincher
48166f4895
Huge update to the logging infrastructure.
2003-11-26 18:21:12 +00:00
Jeremy Fincher
23968baf49
Fix bug #849302 .
2003-11-25 22:52:04 +00:00
Jeremy Fincher
d7dfff7f1e
Added __revision__ strings.
2003-11-25 17:33:58 +00:00
Jeremy Fincher
c151c77b99
Made Admin the default for {add,remove}capability..
2003-11-25 16:08:30 +00:00
Jeremy Fincher
e6ec71c990
Added some comments, updated for the change of anticapabilities from ! to -.
2003-11-25 16:07:29 +00:00
Jeremy Fincher
a763674d83
Added server attribute to Irc objects.
2003-11-25 11:53:09 +00:00
Jeremy Fincher
e4db34da14
Twisted driver had no die() method.
2003-11-25 11:45:09 +00:00
Jeremy Fincher
4770ef1b3f
Added the to= keyword argument to reply.
2003-11-25 11:08:57 +00:00
Jeremy Fincher
e65dcaab86
Allow more time for connect than for normal reads.
2003-11-25 10:34:07 +00:00
Jeremy Fincher
86524fa148
Added revision command for finding out the revision of supybot's files.
2003-11-25 09:32:18 +00:00
Jeremy Fincher
210809ab99
Fix for bug #848475 .
2003-11-25 09:13:28 +00:00
Jeremy Fincher
4cb49606c5
Stopped listing the plugin dispatcher command in the commands list.
2003-11-25 08:51:27 +00:00
Jeremy Fincher
a4284e7924
Added __revision__ strings.
2003-11-25 08:38:19 +00:00
Jeremy Fincher
a966513c7d
Changed commit behavior of UsersDB and ChannelsDictionary to commit on setUser/delUser/newUser and setChannel, respectively.
2003-11-24 22:32:33 +00:00
Jeremy Fincher
dc2c9c55fe
Made __iter__ equivalent to iterkeys in IterableMap.
2003-11-23 14:09:20 +00:00
Jeremy Fincher
e6ad1614f3
Be more lenient about non-existent pluginDirs.
2003-11-22 17:06:23 +00:00
Jeremy Fincher
dfadfe7e34
Made Configurable store its data in human-readable/editable form.
2003-11-22 16:10:45 +00:00
Jeremy Fincher
1d95410f91
Fixed introduced bug in that callbacks.Privmsg.handled wasn't set appropriately when a command was called.
2003-11-22 07:16:34 +00:00
Jeremy Fincher
877d376988
Restricted the characters that a prefix character can be.
2003-11-22 06:53:34 +00:00
Jeremy Fincher
37c6516693
Fix for bug #846065 .
2003-11-22 02:10:51 +00:00
Jeremy Fincher
e7fd4cafbb
Fixed a bug in ChannelDBHandler that *somehow* would cause a wrong database to be returned from getDb.
2003-11-21 23:32:24 +00:00
Jeremy Fincher
966a09437c
Fixed bug in isAction.
2003-11-21 22:13:18 +00:00
Jeremy Fincher
429c90ac2a
Added __len__, __repr__, and a useful __init__ to IrcMsgQueue.
2003-11-19 16:22:46 +00:00
Jeremy Fincher
9a7de79467
Made removeHostmask remove all the matching hostmasks.
2003-11-19 15:35:01 +00:00
Jeremy Fincher
baaa01755f
Made the help messages more inline with the other channel-based command helps.
2003-11-19 08:13:19 +00:00
Jeremy Fincher
8a2e50baf1
Should fix jamessan's bug.
2003-11-18 14:22:54 +00:00
Jeremy Fincher
27cb6d53c8
Set the defaultplugin of capabilities to be User.
2003-11-17 14:07:51 +00:00
Jeremy Fincher
c37b775867
Prevented a possible raised exception in IrcMsgQueue.
2003-11-17 08:35:50 +00:00
Jeremy Fincher
688013de27
Forgot to do a % in the debug.msg.
2003-11-17 07:32:20 +00:00
Jeremy Fincher
a2a97c1d83
Um, made urlSnarfer do what it was actually intended to do :)
2003-11-17 07:27:21 +00:00
Jeremy Fincher
6e1704a6dd
Needed to catch the possible KeyErrors in config.
2003-11-17 06:28:58 +00:00
Jeremy Fincher
23fa15f303
Made urlSnarfer thread the snarfer if the callback isn't already threaded.
2003-11-17 06:01:50 +00:00
Jeremy Fincher
92ed968ed0
Made password getting more standard.
2003-11-17 04:13:06 +00:00
Jeremy Fincher
27ce432b64
Made ChannelDBHandler threadsafe, and wrote a DBHandler for threadsafe non-channel-based databases.
2003-11-15 07:56:27 +00:00
Jeremy Fincher
dc93f865db
Changed some maps/filters to imaps/ifilters for efficiency reasons (I was bored, basically).
2003-11-15 04:46:09 +00:00
Jeremy Fincher
eb6e112f70
Changed some maps/filters to imaps/ifilters for efficiency reasons (I was bored, basically).
2003-11-15 04:37:04 +00:00
Jeremy Fincher
a8f31360e6
Changed last to be slightly more effiicent; changed a map to an imap.
2003-11-15 03:21:34 +00:00
Jeremy Fincher
0e01a1dee8
Sweede is a fscking retard.
2003-11-15 03:01:01 +00:00
Jeremy Fincher
296af52ed9
Removed some old stuff related to superReload and made ircs die before shutdown.
2003-11-14 22:10:57 +00:00
Jeremy Fincher
93b16b79c2
Made the bot refuse to kban himself; made him not use a banmask that would ban himself.
2003-11-13 19:35:24 +00:00
Jeremy Fincher
9b20e1dfb6
Fixed a possible uncaught KeyError, and added the ability for a kban to work on the person requesting it (so we can put it in aliases :))
2003-11-13 19:01:40 +00:00
Jeremy Fincher
6004181695
Fixed bug in banmask when the host doesn't have a dot in it (rare, but possible).
2003-11-13 19:00:35 +00:00
Jeremy Fincher
7b86dfb195
Made $nick the same as $who.
2003-11-13 18:38:52 +00:00
Daniel DiPaolo
b40a7e7757
Oops, if you remove a switch, remove it in the help :)
2003-11-13 01:34:21 +00:00
Jeremy Fincher
da3be6b624
Made sure the bot doesn't clobber an already-existing user in the user database when it changes nick.
2003-11-12 23:56:26 +00:00
Jeremy Fincher
e48569b64a
Changed addcapability to reject all attempts to add the owner capability.
2003-11-12 22:54:47 +00:00
Jeremy Fincher
66061f6a34
Fixed the formatting problem in expect.
2003-11-12 22:24:50 +00:00
Jeremy Fincher
08244ff36e
New test and fix for the associated bug.
2003-11-12 21:57:21 +00:00
Jeremy Fincher
e4f912fc51
Made Aliases disambiguate themselves, and made that API in Owner public.
2003-11-12 02:18:22 +00:00
Jeremy Fincher
b8c94599fc
Updated to the new version in preparation for the next release.
2003-11-12 01:34:24 +00:00
Jeremy Fincher
bb231a19e5
Removed --fancy option; made True the default.
2003-11-12 00:27:34 +00:00
Jeremy Fincher
5149d17b6a
Made Configurable persistent.
2003-11-11 15:58:20 +00:00
Jeremy Fincher
028b23d41c
Allowed abbrev to accept the dictionary object (good for passing in shelves or PersistentDictionaries).
2003-11-11 14:16:27 +00:00
Jeremy Fincher
e0cfe722c7
Added an assert for easier debugging.
2003-11-11 14:06:19 +00:00
Jeremy Fincher
2e0b225d0c
Changed the needed= keyword arg in privmsgs.getArgs to required=.
2003-11-11 13:20:06 +00:00
Jeremy Fincher
3b6b478aac
Moved action to Misc from Utilities.
2003-11-11 11:32:09 +00:00
Jeremy Fincher
830301570f
Added ignore, unignore, and ignores to be complete with Channel.
2003-11-09 14:34:23 +00:00
Jeremy Fincher
717fcab297
Removed the 'chan' from commands.
2003-11-09 14:11:15 +00:00
Jeremy Fincher
8580b6a44e
Made Owner complain if there is more than one src/ plugin with a given command.
2003-11-09 14:01:36 +00:00
Jeremy Fincher
783b56bbed
Removed Toggle stuff.
2003-11-08 09:47:48 +00:00
Jeremy Fincher
0435ff00dc
Added ConfigurableTypes.{str,int}.
2003-11-08 09:46:23 +00:00
Jeremy Fincher
b4e12a10bc
Fixed some bugs.
2003-11-08 00:10:09 +00:00
Jeremy Fincher
362ca56305
Fixed some bugs, added a test for ConfigurableDictionary.
2003-11-07 23:36:46 +00:00
Jeremy Fincher
cbe13abbf8
Added a ConfigurableTypes class for various type converters.
2003-11-07 20:16:14 +00:00
Jeremy Fincher
69adce4a57
Added Configurable class and changed Ebay to use it (as an example).
2003-11-07 20:11:37 +00:00
Jeremy Fincher
901a225619
Added safeEval.
2003-11-07 19:40:03 +00:00
Jeremy Fincher
646cbe4c32
Fixed stupid syntaxerror.
2003-11-07 18:59:55 +00:00
Jeremy Fincher
df88fc99d3
Removed an assertion that was asserting a condition that didn't need to be true.
2003-11-07 18:44:18 +00:00
Jeremy Fincher
9b6dce4961
Committed partial Configurable implementation (gotta go back home and hack on it more later).
2003-11-07 15:42:15 +00:00
Jeremy Fincher
4200349aea
Forgot to actually creat the _snarfedUrls attribute.
2003-11-07 14:10:28 +00:00
Jeremy Fincher
867814eb1d
Oops, forgot to commit this.
2003-11-07 12:47:36 +00:00
Jeremy Fincher
5dd35ea601
Untested, but I wanted to get urlSnarfer in there.
2003-11-07 12:40:18 +00:00
Jeremy Fincher
c746f9459b
Optimization to hostmaskPatternEqual.
2003-11-05 22:21:43 +00:00
Daniel DiPaolo
b14ee76ca0
Added 'chanignores' command to list current channel ignores.
2003-11-05 17:22:38 +00:00
Jeremy Fincher
6de6fb863b
Changed the initial value of threadsSpawned to 1.
2003-11-05 08:32:26 +00:00
Jeremy Fincher
c803edc689
Added substitution and fixed ' returns the same thing all the time' bug.
2003-11-05 04:57:13 +00:00
James Vega
4a1a662b6d
Add a better help description to identify
2003-11-04 22:50:22 +00:00
Jeremy Fincher
8474b10f32
Made Relay not ignore, and added a check to Owner.doPrivmsg to make sure commands can't get called by ignored people (even if noIgnore is True on the plugin with the commands.
2003-11-04 17:34:48 +00:00
Jeremy Fincher
93f02aa959
Added curry to fix.py, converted some code to use it.
2003-11-04 08:26:54 +00:00
Jeremy Fincher
28753856eb
__parented some classes.
2003-11-04 08:13:22 +00:00
Jeremy Fincher
65e469ba38
Removed crazy-buggy rate limiting stuff.
2003-11-04 08:05:16 +00:00
Jeremy Fincher
94e3726b82
Added a checkIgnored to Owner.doPrivmsg.
2003-11-04 07:05:25 +00:00
Jeremy Fincher
3f8c149047
Fixed major bugz0rs with IrcSet and IrcDict.
2003-11-04 05:50:19 +00:00
Daniel Berlin
def70e1ff5
Make different randomdates and randomints in the same string give different values
...
add tests to make sure it happens
2003-11-04 03:52:50 +00:00
Jeremy Fincher
ff57e4b67b
Made proper super calls.
2003-11-03 23:25:04 +00:00
Jeremy Fincher
944ef33dce
Fixed the reloading sets.Set bug more cleanly.
2003-11-03 23:23:28 +00:00
Jeremy Fincher
aae6f52c9e
Fixed bug with reloading of sets module.
2003-11-03 23:10:29 +00:00
Jeremy Fincher
bc5529c87d
Forgot to update the second call _disambiguate to the new interface.
2003-11-03 06:55:51 +00:00
Jeremy Fincher
6b4d03fecc
Made it always default to src/ plugins unless explicitly overridden.
2003-11-03 04:36:40 +00:00
Jeremy Fincher
077fcd8d7e
Added logging of regexp cache size.
2003-11-02 19:00:15 +00:00
Jeremy Fincher
5f55e2b589
Added a test for randomnick and fixed the bug it found.
2003-11-02 18:23:04 +00:00
Jeremy Fincher
31ef30d961
Changed the name of some variables ('whore' doesn't partse as 'who re{gexp}') and added tests.
2003-11-02 16:45:38 +00:00
Daniel Berlin
0adde0c117
Use randint instead
2003-11-02 03:39:28 +00:00
Daniel Berlin
51f80108c4
Added $randomint
2003-11-02 03:17:45 +00:00
Jeremy Fincher
8c93488146
Fixed Bug #833786 (spurious brackets not handled correctly).
2003-10-31 18:18:04 +00:00
Jeremy Fincher
ca8b17f909
Made join default to admin.
2003-10-30 19:06:04 +00:00