Commit Graph

1441 Commits

Author SHA1 Message Date
Jeremy Fincher
44ab483905 Slight update. 2004-04-09 15:30:34 +00:00
Jeremy Fincher
f8b83f69f2 Slight optimization, not that it matters, but it makes the code easier to read, too. 2004-04-09 15:30:09 +00:00
James Vega
b2153c83fb unColor is now working. Added a colorstrip outfilter to Filter to close RFE
#863599
2004-04-09 03:59:12 +00:00
Jeremy Fincher
7f6040a160 Refactored callbacks.{error,reply} and its friends; added supybot.reply.errorWithNotice. 2004-04-09 02:55:03 +00:00
Jeremy Fincher
c75e8b5137 Updated version numbers. 2004-04-08 11:43:14 +00:00
Jeremy Fincher
3538dee7c9 Ah, a better way to do default normalization. 2004-04-08 11:13:03 +00:00
Jeremy Fincher
9eee85dc63 I really should test these things before committing. 2004-04-08 10:59:13 +00:00
Jeremy Fincher
22fb1b41cb Made the success message from unidentify more useful. 2004-04-08 10:53:12 +00:00
Jeremy Fincher
77f2c84245 Made drivers.module use OnlySomeStrings. 2004-04-08 10:50:05 +00:00
Jeremy Fincher
4258435d98 Some users might unidentify without being identified. 2004-04-08 10:47:32 +00:00
James Vega
106f957fac Fixed string formatting bug 2004-04-08 03:26:03 +00:00
Jeremy Fincher
46a3f07491 Made sure we can normalize for OnlySomeStrings. 2004-04-08 02:18:35 +00:00
Jeremy Fincher
c97d3905c5 Fixed the non-quitting bug, although it's not been tested with twistedDrivers itself. It works with the other two. 2004-04-07 15:52:28 +00:00
Jeremy Fincher
9cfed8f0d3 Correctly handle the case where sys.stdout is closed. 2004-04-06 09:32:09 +00:00
Jeremy Fincher
93f64b6a68 Added supybot.reply.maximumMores. 2004-04-05 17:36:17 +00:00
Jeremy Fincher
ce75589c6d Oops, I meant registry. 2004-04-05 16:01:49 +00:00
Jeremy Fincher
6cddfb5358 Added supybot.reply.truncate, to turn off the normal moring of things. 2004-04-05 16:01:36 +00:00
Jeremy Fincher
4697f61be2 Added supybot.plugins.Channel.alwaysRejoin. 2004-04-05 10:03:13 +00:00
Jeremy Fincher
a4b4c2101c Added supybot.databases.users.hash. 2004-04-05 09:23:40 +00:00
Jeremy Fincher
3e1521fb8b Added slightly better handling of ImportError in do001. 2004-04-01 11:47:02 +00:00
Jeremy Fincher
1d27db449b Fixed forgotten import. 2004-03-30 21:09:02 +00:00
Jeremy Fincher
e64ce62917 Updated slightly. 2004-03-30 08:33:20 +00:00
Jeremy Fincher
1654a35766 Added trueCycle in preparation for the new registry stuff for multiple servers per network. 2004-03-30 08:32:55 +00:00
Jeremy Fincher
71ea32c811 Added supybot.brackets for specifying what valid bracket characters are. 2004-03-30 08:27:05 +00:00
Jeremy Fincher
d9c535f2bc Slight cleanups. 2004-03-30 08:02:59 +00:00
Jeremy Fincher
f166ce8655 Removed ConfigIrcProxy, I forgot we didn't use it anymore. 2004-03-30 07:58:22 +00:00
Jeremy Fincher
ba31427156 Tweaked docstring for flush and started stuff for online notification of exceptions. 2004-03-28 12:11:09 +00:00
Jeremy Fincher
f5365a6202 Added channel logfile rotation. 2004-03-27 20:18:47 +00:00
Jeremy Fincher
532db9c456 Added logging of version of plugin in plugin logs. 2004-03-25 12:17:48 +00:00
Jeremy Fincher
9dc2618232 Fixed to use supybot.databases.users.timeoutIdentification correctly. 2004-03-25 12:16:37 +00:00
Jeremy Fincher
ae97d0390a Added removeChannel to the SpaceSeparatedListOfChannels. 2004-03-25 12:15:57 +00:00
Jeremy Fincher
a898bdaa94 Slight rewording of log message. 2004-03-25 12:14:41 +00:00
Jeremy Fincher
c697af6f08 Focused an else and added an assert. 2004-03-25 12:09:39 +00:00
Jeremy Fincher
a1e4b790dd Handle actions correctly in last. 2004-03-25 12:08:01 +00:00
Jeremy Fincher
5b03c6d5b7 Just some extra logging in case a flusher fails. 2004-03-24 22:53:47 +00:00
Jeremy Fincher
59e5a6bc9f Fix for bug that rejects extraneous spaces in Boolean registry values. 2004-03-21 19:40:13 +00:00
James Vega
22d484ef01 YAPMR 2004-03-19 17:13:33 +00:00
James Vega
f14f3efd4c I like webutils 2004-03-14 05:58:17 +00:00
Jeremy Fincher
eadfd7141b Fixed some exception handling madealios. 2004-03-02 01:29:44 +00:00
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