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
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
Jeremy Fincher
c1dcb47e3f
Added another elucidating comment.
2005-05-30 19:20:17 +00:00
Jeremy Fincher
0b848199b5
Fixed some style issues with logging calls.
2005-05-18 04:18:35 +00:00
James Vega
994cff5c05
Update a couple missed changeFunctionName calls.
2005-05-16 03:25:43 +00:00
Jeremy Fincher
2394005cdd
Moved utils.changeFunctionName to utils.python.
2005-05-15 17:17:26 +00:00
James Vega
9971e991fe
Fix the modelines.
2005-03-23 20:07:45 +00:00
James Vega
aefcd594df
Move structures to utils/
2005-03-12 18:01:47 +00:00
Jeremy Fincher
fc2a18bdb3
Added a name= keyword argument for commands.wrap, to override the name of the method being wrapped.
2005-02-28 07:58:46 +00:00
Jeremy Fincher
4648360a04
Added op, halfop, and voice converters, and converted Channel to use them.
2005-02-24 09:59:21 +00:00
Jeremy Fincher
07814fc808
Fix for bug in first.__repr__.
2005-02-21 01:04:45 +00:00
Jeremy Fincher
156084c225
Fixed some bugs introduced with the latest refactoring of callCommand, etc.
2005-02-17 22:39:44 +00:00
James Vega
90c000793d
utils.gen.* functions shouldn't explicitly be called since they're all in the utils namespace.
2005-02-15 13:57:57 +00:00
Jeremy Fincher
e53e237818
Better error logging for when commands.wrap fails to provide the right number of arguments.
2005-02-07 01:04:33 +00:00
Jeremy Fincher
978cf65453
Added an email converter.
2005-02-01 07:08:13 +00:00
James Vega
28cb5abc65
Update usage of functions in utils.gen.
2005-01-31 13:06:43 +00:00
Jeremy Fincher
70da904be2
States don't have a copy method.
2005-01-29 21:23:37 +00:00
James Vega
6f2aec352a
Fix a bug where nickInChannel would add the channel to the args list.
2005-01-28 22:53:59 +00:00
Jeremy Fincher
e1fe232e9b
Converted commands.py to use the new utils.web instead of webutils; fixed a bug in the httpUrl converter which rejected https protocols.
2005-01-28 14:51:25 +00:00
Jeremy Fincher
5fd6bbb52d
Completely restructured our utils modules.
...
Tons of changes. Here's the summary of things that matter most:
* There is no more supybot.fix.
* There is no more supybot.webutils; now there is supybot.utils.web.
* It's no longer webutils.WebError, but just utils.web.Error.
* You shouldn't import itertools, ideally, but instead import utils.iter.
* No more using imap/ifilter in commands unless absolutely necessary. It's
premature optimization and annoying.
* utils.str.format isn't quite ready yet, but will be soon. That'll be the
next big thing to fix in our code.
2005-01-27 06:59:08 +00:00
Jeremy Fincher
5019d10a1b
Updated license years.
2005-01-19 13:33:05 +00:00
Jeremy Fincher
8ca625d339
Initial import.
2005-01-19 13:14:38 +00:00
James Vega
dbfec8afb9
Add supybot module
2007-04-22 20:10:26 +00:00
James Vega
88a906df84
Fix a bug where nickInChannel would append channel to the args list.
2005-01-28 22:59:27 +00:00
James Vega
225c565aee
Add/update supybot.databases.plugins.channelSpecific{,.link{,.allow}}
...
channelSpecific.link replaces channelSpecific.channel
2005-01-08 07:22:46 +00:00
James Vega
d97a652182
Need to actually add the channel to state.args if getChannel throws an exception
2005-01-02 02:34:54 +00:00
Jeremy Fincher
b9067089b1
Removed an XXX.
2004-12-16 09:30:45 +00:00
James Vega
cedd6a2b59
Add some Raise=True and a test for multiple replies from Misc.hostmask.
2004-12-15 17:54:33 +00:00
Jeremy Fincher
af1d04291d
Reimplementation of channeldb converter, respecting the channelValueness of supybot.databases.plugins.channelSpecific, and turned supybot.databases.plugins.channelSpecific.channel into a channelValue so channels can link their databases to other channels.
2004-12-13 06:18:41 +00:00
Jeremy Fincher
1a63af3b26
Fix for bug #1081086 . Be sure to read the reasoning in the bug itself.
2004-12-08 06:16:08 +00:00
Jeremy Fincher
640241bd11
Added networkIrc, owner, admin.
2004-12-07 06:39:52 +00:00
James Vega
864fd97315
Fix a getNick bug
2004-12-03 02:54:27 +00:00
James Vega
a71d074e46
cleaner implementation of getLong
2004-11-30 18:12:43 +00:00
James Vega
c87788dc62
Make sure state.channel is carried over when we call State.essence. Also,
...
add continueOnError option to any().
2004-11-30 05:15:41 +00:00
Jeremy Fincher
b1d1991873
Converted to new method.
2004-11-30 04:47:21 +00:00
Jeremy Fincher
65b369ffd4
Removed a vestigial comment; our current system of not combiningRest has worked out well.
2004-11-30 04:41:43 +00:00
James Vega
7eed44eef7
Converted Random to wrap. Added a long converter to assist this.
2004-11-28 02:23:59 +00:00
Jeremy Fincher
de367731f1
Fixed some bugz0rs.
2004-11-21 13:18:58 +00:00
Jeremy Fincher
ed2488c1f8
Converted Alias to use commands.wrap (for the most part).
2004-11-11 16:37:47 +00:00
Jeremy Fincher
d280387518
rest should require args unless indicated otherwise. Currently, we can't indicate otherwise, but that's because we haven't had a need for it yet.
2004-11-08 20:51:39 +00:00
Jeremy Fincher
60966044b1
This should allow contexts where we allow converters.
2004-10-28 17:08:23 +00:00
Jeremy Fincher
72a7a22d4e
Fixed a bug in getId and added a debug log to Spec.__call__.
2004-10-27 07:50:47 +00:00
James Vega
bc23a69406
You shall not delete ME!
2004-10-27 01:19:39 +00:00
Jeremy Fincher
ba1bb34729
Allow abbreviation in getLiteral.
2004-10-26 23:17:58 +00:00
Jeremy Fincher
49019308d7
Fixed getOtherUser.
2004-10-26 21:01:05 +00:00
Jeremy Fincher
b32215e169
Tons of updates, text now snarfs all remaining, but we still haven't stopped combining rest in context.
2004-10-26 20:49:20 +00:00
James Vega
a1b7b670fb
getOtherUser shouldn't accept a hostmask (re: bug #1054680 )
2004-10-26 18:32:11 +00:00
James Vega
cbd5abbab7
A bunch more %r -> %s conversions as well as wrap updates, new policy for
...
Channel.voice and some bug fixes for Debian
2004-10-25 22:59:03 +00:00
Jeremy Fincher
d0e2f2da31
Fixed.
2004-10-24 07:35:45 +00:00
James Vega
c0a8f5e45d
commands.reversed => commands.reverse
2004-10-24 03:53:56 +00:00