Commit Graph

6627 Commits

Author SHA1 Message Date
Jeremy Fincher
cede4a4a97 Fixed bug in ircutils.isNick, which allowed nicks to start with dashes. 2005-08-02 02:47:42 +00:00
Jeremy Fincher
14acfcafe4 Forgot a .split() that was causing the channel-database parsing to fail on bans. 2005-08-01 21:08:21 +00:00
Jeremy Fincher
5582e69268 Fixed ircdb.py to give full exception traces when unexpected exceptions occur. 2005-08-01 21:01:46 +00:00
Jeremy Fincher
f8156cc9cc Removed TupleSubclass, which wasn't being used. 2005-07-21 18:32:41 +00:00
James Vega
17afef9c30 src/commands: Change the rest context so that it raises an IndexError when no arguments are available.
This fixes the problem in Dunno (and any other plugin that uses plugins.ChannelIdDatabasePlugin) where calling the search command using only the getopts and no additional arguments will cause the command to fail and the help to be displayed.
2005-07-27 21:57:17 +00:00
James Vega
772f1dd2bf scripts/supybot-plugin-doc: Don't escape characters if they're inside a single-quoted string. Also, make sure config vars with a default of None have a printable default string. 2005-07-26 12:22:16 +00:00
James Vega
75c9a455d2 plugins/Time: Fix some formatting so it looks correct in STX. 2005-07-25 22:44:13 +00:00
James Vega
099231df05 plugins/Math: Quote some example strings so the STX version is formatted better. 2005-07-25 22:15:14 +00:00
James Vega
9d99590431 plugins/Unix: Update the tests to reflect the changes in Unix.spell responses. 2005-07-25 12:28:48 +00:00
James Vega
d2dc42ede1 plugins/Google: Fix some formatting in Google.meta's docstring. 2005-07-25 22:05:26 +00:00
James Vega
0367ae5615 plugins/Unix: Keep track of two lines in Unix.spell since aspell sometimes list suggestions after a '*' or '+' line. 2005-07-22 13:08:40 +00:00
James Vega
1edb4e13bf plugins/RSS: Colons are pretty. 2005-07-22 12:20:11 +00:00
Jeremy Fincher
1aa73acd8d Removed Acquire, which I won't be using anymore. 2005-07-21 05:04:31 +00:00
James Vega
45c7f773ac plugins/RSS: Fix info so it works again. 2005-07-19 21:32:54 +00:00
James Vega
b375ea9792 plugins/Web: Fixed the title-retrieval parser to actually retrieve the entire title. 2005-07-19 13:55:37 +00:00
Jeremy Fincher
77330d496a Moved an XXX and added a skeleton method. 2005-07-18 04:55:12 +00:00
Jeremy Fincher
fc87901a89 Added some more XXXes for dangerfan. 2005-07-18 04:46:41 +00:00
Jeremy Fincher
27ac845628 Moved some XXXes around, added some methods (so naming them isn't hard) and a new XXX about methods that return file objects. 2005-07-18 04:37:32 +00:00
James Vega
75ecf79d58 plugins/Network: Fix an information leak in Network.whois 2005-07-16 14:41:07 +00:00
Jeremy Fincher
91874dba2c Added some XXXes to transaction.py. 2005-07-16 05:09:49 +00:00
James Vega
bc3a47fc90 plugins/Format: Fix some copy/paste errors. 2005-07-14 12:27:54 +00:00
Jeremy Fincher
5b8400e158 Removed utils.iter.one, which was dumb, because iterators have a .next() method that does the same thing. 2005-07-08 09:14:45 +00:00
James Vega
6f8e3d37aa src/irclib: Let's not override the name for the set type. 2005-07-10 18:27:40 +00:00
James Vega
14dc0c0201 plugins/RSS: If the feed supplies an encoding, encode the headlines with it. 2005-07-07 14:13:53 +00:00
Jeremy Fincher
a88f52bc7f Forgot to change the exception name in one of the spots it was raised in. 2005-07-06 03:59:46 +00:00
Jeremy Fincher
e9c52f6a5f Prefixed some non-public method names with an underscore. 2005-07-06 03:59:16 +00:00
Jeremy Fincher
612a8e1183 Added utils.{transaction,error} 2005-07-05 17:48:00 +00:00
Jeremy Fincher
b369039507 Added utils.iter.one, to grab one value from an iterable. 2005-06-12 04:54:15 +00:00
James Vega
201d4acd26 plugins/Google: Use a sensical form of English for Google.phonebook's error response. 2005-07-05 05:31:28 +00:00
James Vega
1d7d6428d1 plugins/MoobotFactoids: Load a threaded plugin to hopefully trigger a timing bug. 2005-07-05 03:03:11 +00:00
Jeremy Fincher
1a5e05ee8e NestedCommandsIrcProxy should set self.repliedTo if self.error is called. 2005-06-30 22:10:04 +00:00
Jeremy Fincher
830a5c5084 Commented out an overly verbose (even for DEBUG level) log message. 2005-06-30 22:04:59 +00:00
James Vega
bc1451e898 plugins/Web: Encountering an HTMLParser exception doesn't mean the title hasn't already been snarfed. Don't bail right away. 2005-06-29 19:05:20 +00:00
James Vega
bd31b7f596 src/irclib: Handle IRCds which use a MAXLIST-style value for the MAXBANS 005 key. 2005-06-29 14:20:54 +00:00
James Vega
0880a07b72 test/test_callbacks: Fix a test failure. 2005-06-29 14:16:31 +00:00
James Vega
464c1e3cb9 src/callbacks: Remove a duplicate except statement. 2005-06-28 20:57:32 +00:00
James Vega
e4c9381f7b src/commands: Update first so that state.errored will not prevent the bot from responding when the first converter fails. 2005-06-13 17:27:15 +00:00
James Vega
35065b8fc5 plugins/Topic: Remove an unnecessary call to irc.state.getTopic. 2005-06-13 17:13:04 +00:00
James Vega
c60deebc73 plugins/Time: Add Utilities as a loaded plugin for the tests in order to fix some test failures. 2005-06-13 17:12:31 +00:00
James Vega
d4d165ea40 plugins/Misc: Make sure Misc.last only skips the first message if last is being performed on the channel the user is currently in. 2005-06-10 12:19:10 +00:00
Jeremy Fincher
9df805c568 Removed a useless assert. 2005-06-08 18:31:48 +00:00
Jeremy Fincher
3d66bc88e5 Let's ensure that self.repliedTo is False before calling invalidCommands. 2005-06-08 17:49:54 +00:00
Jeremy Fincher
dff2862bb1 Fixed jamessan's multiple-invalidCommand bug. 2005-06-08 17:45:58 +00:00
Jeremy Fincher
0d83dde909 Moved a comment to the appropriate place. 2005-06-08 16:24:54 +00:00
James Vega
0027916214 test/test_callbacks.py: Added a test for multiple, nested invalidCommands not being recognized. 2005-06-08 14:28:48 +00:00
Jeremy Fincher
cc4c143176 Log the name of each spawned thread at the DEBUG level. 2005-06-08 03:53:00 +00:00
Jeremy Fincher
490fb0b140 Changed prefixName to prefixNick, which is more appropriate, and has always bothered me. Better now than later. 2005-06-01 21:08:30 +00:00
James Vega
a477f12f47 plugins/Topic: Add a proper test for the previous Topic.set fix. 2005-06-01 21:06:04 +00:00
Jeremy Fincher
b41166cc4c This should've been an error response in the first place. 2005-06-01 20:14:37 +00:00
Jeremy Fincher
4da1f38235 Fixed the security issue nicktastic reported, and made sure that if, for some reason, an error doesn't raise an exception, it still stops the calling of the command function. 2005-06-01 20:13:33 +00:00