Commit Graph

2555 Commits

Author SHA1 Message Date
James Vega
9a71af37a6 Make sure we keep the originally registered probability. Also, quote the
command being run like we do in an alias' help.
2004-11-28 09:03:39 +00:00
Jeremy Fincher
4a0cefc9ab Fix for non-persistence of observers. 2004-11-28 08:20:32 +00:00
James Vega
9a3d196986 Move the Probability class to src/registry.py 2004-11-28 08:05:56 +00:00
James Vega
7eed44eef7 Converted Random to wrap. Added a long converter to assist this. 2004-11-28 02:23:59 +00:00
James Vega
e5b2459665 Update to use wrap and our better db interface. 2004-11-26 23:37:34 +00:00
Jeremy Fincher
6adc746696 Added an optional argument for the notes command. 2004-11-26 08:11:19 +00:00
Jeremy Fincher
08040bf106 Added a 'notes' command. 2004-11-26 08:00:51 +00:00
James Vega
2911a2c1fe Catch some webutils exceptions. Fix a 'literal' usage. Change some 'text'
wraps to 'something'.
2004-11-23 16:46:53 +00:00
Jeremy Fincher
a08bf6b114 Better string handling. If there's a particular reason why the .upper() calls were necessary, feel free to add them in. 2004-11-22 07:36:15 +00:00
Jeremy Fincher
f91a8199c7 Oops, forgot the quotes. 2004-11-22 07:33:35 +00:00
Jeremy Fincher
de367731f1 Fixed some bugz0rs. 2004-11-21 13:18:58 +00:00
Jeremy Fincher
8071e0236b Converted to commands.wrap. These are all untested, so someone should test them at some point. 2004-11-19 23:54:14 +00:00
Jeremy Fincher
4a4a0915b7 Converted to commands.wrap. These are all untested, so someone should test them at some point. 2004-11-19 23:44:15 +00:00
Jeremy Fincher
5762ed6d74 Converted to commands.wrap. These are all untested, so someone should test them at some point. 2004-11-19 23:23:14 +00:00
Jeremy Fincher
8b1962068b Moved. 2004-11-19 23:10:38 +00:00
James Vega
8b0d0a9aca We no longer have to strip the first two characters of options. wrap()
handles this for us.
2004-11-17 22:13:52 +00:00
James Vega
fda6b572a7 Make sure we reply if all of our fallbacks fail. 2004-11-16 00:55:00 +00:00
James Vega
b135107038 Fix bug #1063950, traceback when Weather is an unexpected format. 2004-11-12 16:24:10 +00:00
James Vega
f36fdd3d21 Let's *really* prevent ourselves from reconnecting to the same network. The
Raise=True was raising a callbacks.Error which was being caught.
2004-11-12 16:22:06 +00:00
Jeremy Fincher
b4557e0cf4 Moved to sandbox. 2004-11-11 20:57:12 +00:00
James Vega
611149aadc Add plugins.Markov.minChainLength and plugins.Markov.maxAttempts which
should allow for interesting Markov chains (unless you like the one-worders).
2004-11-11 18:50:21 +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
a0e863deef Fix for bugz0r. 2004-11-11 15:25:17 +00:00
James Vega
ea8bf1f479 We no longer need to getUser here since wrap() handles this for us. 2004-11-09 20:23:30 +00:00
James Vega
59d306598a Commit my long sought after *cough*Skorobeus*cough* randomSpeaking updates 2004-11-09 18:43:27 +00:00
James Vega
0263eb95a8 Fix bug #1063094, Note.reply exception. 2004-11-09 13:35:54 +00:00
Jeremy Fincher
54db030707 Added test, changed to use commands.wrap. 2004-11-08 20:03:42 +00:00
James Vega
beffc15c0d Someone committed this in dos file format. Let's purge that evil. 2004-11-08 17:41:13 +00:00
Jeremy Fincher
6341b26755 Fixed a failing test, showed a results number in search, and added to our standardSubstitute for Dunnos. 2004-11-08 17:02:02 +00:00
Daniel DiPaolo
eed842270d Updated to tell what channel the seen commands are being applied to. 2004-11-08 16:57:12 +00:00
Jeremy Fincher
689803330c Fixed some bugs. The tests still fail, I can't figure out why. 2004-11-07 21:10:51 +00:00
Jeremy Fincher
2633575d9a Fixed some uncaught exceptions and a few other places it might happen. 2004-11-07 20:40:49 +00:00
Jeremy Fincher
21d5745677 Bug fixed. 2004-11-06 19:05:53 +00:00
Jeremy Fincher
df42550505 Bugfixes. 2004-11-06 19:03:02 +00:00
Jeremy Fincher
92d86d9806 We should run these tests periodically. 2004-11-05 16:22:07 +00:00
Jeremy Fincher
d7275d75d3 Relay nicks should still work when the bot isn't in the channel on a network. 2004-11-04 06:43:38 +00:00
Jeremy Fincher
33254cb538 Better error handling of bad loads. 2004-11-04 06:03:22 +00:00
James Vega
b8216a6bd5 Correct the behavior of "karma" 2004-11-04 01:24:31 +00:00
James Vega
4ca62e60fd Missing irc's are bad 2004-11-03 01:35:00 +00:00
James Vega
553f31c425 Need to make sure s is declared 2004-11-02 05:41:42 +00:00
James Vega
716aefbb8d LOTS of bugs fixed. More to go. 2004-11-01 04:00:24 +00:00
James Vega
4c6ad94435 many('text') => many('something') since we don't want to combineRest. Also,
fix a mistyped variable name.
2004-10-31 15:17:33 +00:00
James Vega
49f8105263 proper string formatting 2004-10-29 19:47:46 +00:00
James Vega
f6d8c2a38c commands.wrap update 2004-10-29 01:35:37 +00:00
James Vega
ecc61d3cbd rest()ify Topic.set since we no longer combine all remaining args 2004-10-28 18:18:30 +00:00
James Vega
b744ab696c Fix an old-style import 2004-10-28 18:06:29 +00:00
Jeremy Fincher
3899f33d54 Added Lart and Praise plugins, deprecated FunDB, converted Dunno and Success to the new plugins.ChannelIdDatabasePlugin. 2004-10-28 17:20:37 +00:00
Kevin Murphy
ac57418802 RFE #1049535 : Wildcard "seen" results are now sorted by time seen (most recent first) 2004-10-28 07:07:18 +00:00
Jeremy Fincher
6d99d8251a Added an XXX. 2004-10-27 07:31:03 +00:00
James Vega
83cc539086 Let's do things the right way 2004-10-27 04:25:27 +00:00
James Vega
d9a8b7df06 standardSubstitute moved 2004-10-27 03:27:38 +00:00
James Vega
631da9c13f commands.wrap update 2004-10-27 03:26:55 +00:00
Jeremy Fincher
024052b4ab Updated for the move of standardSubstitute. 2004-10-27 02:33:59 +00:00
Jeremy Fincher
e688faf16e Moved standardSubstitute to ircutils. 2004-10-27 01:37:19 +00:00
Jeremy Fincher
114d625ff5 Updated to use commands.wrap. 2004-10-26 23:22:02 +00:00
Jeremy Fincher
f6461699f6 Converted to commands.py. 2004-10-26 23:01:11 +00:00
Jeremy Fincher
dffa1782d1 Updated to use commands.py. 2004-10-26 21:07:53 +00:00
Jeremy Fincher
44d59fc651 Updated to use commands.wrap. 2004-10-26 20:45:52 +00:00
James Vega
e63d93d48f Let's not check explicitly for None, just to be safe. 2004-10-26 12:47:08 +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
James Vega
2adef7c265 Make Weather.weather actually work as a wrapped command calling wrapped
commands and using the user registry.
2004-10-25 08:30:04 +00:00
James Vega
de711b5bab Remove unnecessary allowExtra and switch from 'text' specs to 'something'
specs in non-arbitrary text situations.
2004-10-25 08:00:13 +00:00
Jeremy Fincher
f54b107e88 Old code alert. 2004-10-25 04:26:54 +00:00
Jeremy Fincher
8c4d17433a Converted to use commands.wrap. 2004-10-24 16:16:30 +00:00
Jeremy Fincher
cd2a06a259 Messed up import. 2004-10-24 07:40:17 +00:00
Jeremy Fincher
2d0be46cd0 Should be a fix for the double relaying of topics. 2004-10-24 07:34:30 +00:00
Jeremy Fincher
83d49315df Fix for bug #1052911. 2004-10-24 06:36:21 +00:00
James Vega
c0a8f5e45d commands.reversed => commands.reverse 2004-10-24 03:53:56 +00:00
Jeremy Fincher
66196683a5 Forgot to add it as a possible outfilter. 2004-10-24 03:07:44 +00:00
Jeremy Fincher
b8621f0c34 Fixed shrink command. 2004-10-24 03:04:29 +00:00
Jeremy Fincher
a19bf090e5 Fix0red the bugz0r with reversed. 2004-10-24 02:35:59 +00:00
James Vega
8954aa2d71 I'm dumb 2004-10-24 01:14:27 +00:00
James Vega
4dafdcdd57 Massive updates. %r -> %s, some commands.wrap updates. Factoids is broke
until we get some stuff working in commands.py
2004-10-23 22:07:50 +00:00
Jeremy Fincher
7ab8be2f64 Added an XXX. 2004-10-23 21:27:17 +00:00
Jeremy Fincher
c6e5d22f6b Updated to use commands.wrap. 2004-10-23 21:27:01 +00:00
Jeremy Fincher
0d2b710aa2 commands.wrap. 2004-10-23 20:26:40 +00:00
Jeremy Fincher
575d83b3ad Oops, did an optional instead of an additional. 2004-10-23 19:28:20 +00:00
Jeremy Fincher
1745c6d144 Added shrink filter. 2004-10-23 16:32:59 +00:00
James Vega
168e61aef8 Finally fix bug #1034916, Weather.wunder exception 2004-10-23 16:05:22 +00:00
Jeremy Fincher
06c16396b0 Fixed bug. 2004-10-23 16:02:49 +00:00
Jeremy Fincher
e24c1c0cc6 Updated to use commands.wrap. 2004-10-23 04:55:52 +00:00
James Vega
98c716d8cb commands.wrap update 2004-10-22 22:19:30 +00:00
James Vega
dd1550afcc commands.wrap update 2004-10-22 22:08:03 +00:00
Jeremy Fincher
d5241eb07a No errors on exit when google.py fails to import. 2004-10-22 20:53:35 +00:00
Jeremy Fincher
6b946aad94 Added phonebook command. 2004-10-22 20:35:45 +00:00
Jeremy Fincher
53f77b790b Converted to commands.wrap. 2004-10-22 19:50:12 +00:00
Jeremy Fincher
66282cdc1e Fixed some bugz0rs. 2004-10-22 19:37:25 +00:00
Jeremy Fincher
c49b32f224 Fixed fallthrough handling. 2004-10-22 19:36:30 +00:00
Jeremy Fincher
64c2558150 Removed, split into multiple plugins. 2004-10-22 19:33:59 +00:00
Jeremy Fincher
4d1d52f61b Actually works. 2004-10-22 19:07:13 +00:00
Jeremy Fincher
b1d46cc8a3 Initial checkin, refactoring of Enforcer. 2004-10-22 07:02:39 +00:00
Jeremy Fincher
098fbbfeae Slight optimization. 2004-10-22 05:59:13 +00:00
Jeremy Fincher
c943ab77bb Made commands.wrap stop doing decorators, exposed thread and urlSnarfer, and changed plugins accordingly. 2004-10-22 05:56:55 +00:00
Jeremy Fincher
e817b2379e Broke out some of the behavior of the Enforcer plugin. 2004-10-22 04:49:39 +00:00
Jeremy Fincher
e9b5f0ec61 Let's only log one of our non-{PRIVMSG,NOTICE} outgoing messages. 2004-10-20 08:47:25 +00:00
Jeremy Fincher
3bc1a1fa8b Added NICK change logging support. It's absolutely unbelievable that no one complained about it until now. 2004-10-19 17:09:11 +00:00
Jeremy Fincher
10fc3bf42a Converted to use commands. 2004-10-19 16:48:52 +00:00
Jeremy Fincher
3f16003371 Handled the case of an empty file (which apparently can crop up sometimes in unclean exits). 2004-10-19 16:41:52 +00:00
Jeremy Fincher
dec94a2ecf optional => additional conversions. 2004-10-19 12:14:01 +00:00
Jeremy Fincher
75bd81aed7 optional to additional conversions. 2004-10-19 12:03:18 +00:00