Commit Graph

2597 Commits

Author SHA1 Message Date
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
James Vega 28185185dd Small fix for when we generate a markov chain with initial words. 2004-10-08 21:40:23 +00:00
Daniel DiPaolo f96e38f480 Clarified the variables in the help message for Network.connect 2004-10-08 18:51:50 +00:00
Jeremy Fincher 2c8490c86a Added the undup filter. 2004-10-08 16:50:33 +00:00
James Vega b196d3fc21 Let's not short-circuit auto{Op,Halfop,Voice} until we actually do something. 2004-10-07 17:19:22 +00:00
James Vega f97e0426e7 Style 2004-10-06 21:58:02 +00:00
James Vega 0242a8619d Update News to use commands.wrap and switch from an SQLite db to a flatfile
mapping.
2004-10-06 21:56:06 +00:00
James Vega 23f4dc2d0f Update to use irc.replies so that people can take advantage of
conf.supybot.reply.oneToOne
2004-10-05 07:24:49 +00:00
Jeremy Fincher a8190dc5da RFE #1039510, plugins.LogToIrc.networks. 2004-10-05 01:00:33 +00:00
James Vega 4c1c5ff723 One more fix for _getLnUrl 2004-10-04 18:45:20 +00:00
James Vega b4580384ee Catch a webutils.WebError, fix whitespace, and remove a urlquote 2004-10-04 18:15:06 +00:00
Jeremy Fincher 6a1b9ccaeb test optimization. 2004-10-04 16:24:08 +00:00
Jeremy Fincher c84e8ff8fa Forgot a parameter. 2004-10-04 16:03:20 +00:00
Jeremy Fincher 5526c4e298 Added elapsed command. 2004-10-04 13:37:46 +00:00
James Vega 16c4561da6 Correct the plugin documentation. 2004-10-04 13:36:50 +00:00
Jeremy Fincher 48b3ce5b73 Hmm...maybe this is the second part of the disabling-network commit? Who knows. 2004-10-04 10:01:23 +00:00
James Vega 68844cda3a Update Http.acronym to match the changes in the website. Remove the headers
since we include those by default.  Set __parent.
2004-10-04 02:00:37 +00:00
Jeremy Fincher 7c019b3893 Speeling 2004-10-03 22:38:32 +00:00
Jeremy Fincher 0115f4adf6 Abstracted like a madman. 2004-10-03 18:02:11 +00:00
Jeremy Fincher 571a107ace Saved a few characters in our colorization of Google. 2004-10-03 10:00:46 +00:00
Jeremy Fincher eace0b5c55 Changed the warning log to a debug log. 2004-10-03 09:57:57 +00:00
Jeremy Fincher df3d7a4ecb Oops, exception when a dude quits and supybot's not in a channel he's supposed to be in. 2004-10-03 09:55:10 +00:00
Jeremy Fincher 65cf9af143 What the heck? All this worked in testing. 2004-10-03 09:50:29 +00:00
Jeremy Fincher 4c52ad680d Forgot an import. Odd that this didn't show up in my testing with lambdabot. 2004-10-03 09:26:37 +00:00
Jeremy Fincher a73348f962 Forgot a self. 2004-10-03 09:24:48 +00:00
Jeremy Fincher 4d27ef28f7 Initial checkin. 2004-10-03 09:08:36 +00:00
Jeremy Fincher c563596405 Converted to use commands. 2004-10-03 09:05:37 +00:00