Commit Graph

2623 Commits

Author SHA1 Message Date
James Vega
0a1907318a Fix a bugz0r in randomgrabbing 2004-12-06 20:26:52 +00:00
Jeremy Fincher
7f00bf01c2 Dump/load commands. 2004-12-06 07:23:56 +00:00
Jeremy Fincher
7c8f8b4fca Removed a check for something that would make us never send an ISON. 2004-12-06 03:31:26 +00:00
Jeremy Fincher
00b7a097cb Added an info-level log. 2004-12-06 03:29:45 +00:00
James Vega
d9e766b278 Revert back to non-wrap/abstracted form since it'll be replaced by a better
Factoids plugin.
2004-12-05 19:31:42 +00:00
Jeremy Fincher
08f4e8c59f Converted to use commands.wrap. 2004-12-04 18:48:57 +00:00
Jeremy Fincher
b9d109222a Better implementation of relay detecting/punishing. 2004-12-04 18:24:35 +00:00
James Vega
019a53cdae Need to make sure we set the nickeq function even if we're using an already
created database.
2004-12-03 16:01:13 +00:00
James Vega
4ba005ddf6 Update QuoteGrabs to use db abstraction. Hopefully fix the mxCrap thing
for good.  This update should also fix the problem that had existed with
QuoteGrabs and databases.plugins.channelSpecifc=False
2004-12-03 15:41:08 +00:00
Jeremy Fincher
ac04024f47 Use commands.wrap, removed a line of code whose purpose I don't know. 2004-12-03 08:52:12 +00:00
James Vega
73a3261cda Better (?) help message. Comments/changes welcome. 2004-12-03 01:57:00 +00:00
James Vega
80fe67519b Fix a bug for when showFactoidIfOnlyOneMatch is set 2004-12-02 14:17:50 +00:00
James Vega
f95f5a09ac I had the map(str, ...) there for a reason. 2004-12-02 14:13:57 +00:00
Jeremy Fincher
f7a3504a93 Added getUserName. 2004-12-02 05:33:29 +00:00
Jeremy Fincher
3606f2ec9e Fixed the bug, but forgot to commit. 2004-12-01 21:46:23 +00:00
Jeremy Fincher
2f3fa324f0 Convert some 'text' to 'something' 2004-11-30 13:58:50 +00:00
Jeremy Fincher
01513bcb95 Fixed a couple test failures. 2004-11-30 04:49:21 +00:00
Jeremy Fincher
f9d82c7495 Changed some 'text' to 'something' 2004-11-30 04:36:54 +00:00
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
Jeremy Fincher
6eb0066dec Converted to commands.wrap, added capitalize and title. 2004-10-19 11:58:04 +00:00
Jeremy Fincher
425436b5f7 Forgot to import * from commands. 2004-10-19 03:09:32 +00:00
Jeremy Fincher
98e6e9a1d7 Fixed. 2004-10-19 03:07:25 +00:00
Jeremy Fincher
e826ebde49 Fixed. 2004-10-19 02:57:40 +00:00
James Vega
31d71b1a8e commands.wrap update 2004-10-17 18:14:18 +00:00
James Vega
4b86bf5eaf commands.wrap update 2004-10-17 18:01:58 +00:00
James Vega
284cf06a67 whitespace 2004-10-16 03:41:54 +00:00
James Vega
1f35ff36d4 commands.wrap update 2004-10-16 03:39:42 +00:00
James Vega
38ee295f8e commands.wrap update 2004-10-16 03:07:15 +00:00
James Vega
c6afe40abc commands.wrap update 2004-10-16 02:52:31 +00:00
James Vega
242ecb4f8f commands.wrap update 2004-10-16 02:19:17 +00:00
Jeremy Fincher
dcb91579b0 Make sure we always reply to a stand. 2004-10-15 17:52:59 +00:00
Jeremy Fincher
9f372e60d9 Updated. 2004-10-15 17:10:14 +00:00
Jeremy Fincher
d88d7797be Added a fold message and some TODOs. 2004-10-15 16:39:36 +00:00
Jeremy Fincher
2f7ed33f3f Mostly working, also added a TODO at the top. 2004-10-15 16:24:09 +00:00
Jeremy Fincher
322143f2bd Seems mostly to work. 2004-10-15 15:53:50 +00:00
James Vega
8dd75b1ff2 commands.wrap update 2004-10-15 13:28:27 +00:00
James Vega
a5557cb636 commands.wrap update 2004-10-15 12:26:38 +00:00
Jeremy Fincher
e3d40ba5f1 Initial checkin. 2004-10-15 03:35:06 +00:00
Jeremy Fincher
70f9e4c7b0 Fix for bug with outfilter. 2004-10-14 18:13:30 +00:00
Jeremy Fincher
dcff006235 Added GNU filter. 2004-10-14 18:07:10 +00:00
Jeremy Fincher
1fe3a5423b Hopefully recursive aliases will be subject to supybot.commands.nested.maximum now. 2004-10-13 22:28:47 +00:00
James Vega
14a980a8d5 Whitespace adjustments. 2004-10-13 21:50:24 +00:00
James Vega
275bdfc1b9 Update to use newer commands.wrap 2004-10-13 16:49:19 +00:00
James Vega
c574403ca8 Update to use the new commands.wrap 2004-10-13 15:21:59 +00:00
James Vega
a3223c7c27 Update to use new commands.wrap. One test ("time %Y") is still failing, but
it works when actually using the bot.
2004-10-13 15:21:09 +00:00
James Vega
e14a336b1d Added multiLoc support to Weather.cnn 2004-10-11 12:09:59 +00:00
James Vega
163d835502 Fix bug #1043863, urlquoted text in reply. 2004-10-11 11:43:15 +00:00
Jeremy Fincher
5bc91113fe Fixed so disabled commands in other plugins won't break our outfilter. 2004-10-10 15:11:19 +00:00
Jeremy Fincher
a1e429379b Fixed intermittent Google licensekey issues. 2004-10-10 04:19:03 +00:00
Daniel DiPaolo
4c37c1c79b Closes #1043440: "Disabled filter commands can still be outfilters."
Just gotta check conf.supybot.commands.disabled() and if it's in there, pretend
it doesn't exist
2004-10-09 07:12:21 +00:00
Jeremy Fincher
d7fc280647 Weather backups. 2004-10-09 04:39:10 +00:00