Commit Graph

2778 Commits

Author SHA1 Message Date
Jeremy Fincher
8d415d7631 Updated to work with the new supybot-test. 2005-01-19 23:20:46 +00:00
Jeremy Fincher
0a556f6d4d Forgot to add {src,plugins}/__init__.py 2005-01-19 23:24:27 +00:00
Jeremy Fincher
2c31235a3e Moved docstrings in plugin packages to __init__.py instead of plugin.py; no lazy "backwards compatibility" hack. 2005-01-19 23:17:35 +00:00
Jeremy Fincher
683c2c1018 PluginDocumentation Removal 2005-01-19 18:05:53 +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
6be58d842e Fix a bug with Unix.wtf double replying. 2005-01-28 23:02:17 +00:00
James Vega
b28880ff0a Fix some more exceptions from not using plugins.getUserName 2005-01-18 19:35:47 +00:00
James Vega
ec3dba0a52 Add Windchill and Severe Weather to Weather.wunder 2005-01-18 18:47:45 +00:00
James Vega
a423d04d99 Remove a debugging print. 2005-01-16 20:05:41 +00:00
James Vega
c0d95a26d0 Fix the bid regexp. 2005-01-15 23:06:11 +00:00
James Vega
9e4066fd95 Update the languages we support to include Greek, Russian, and Dutch. Chinese
was changed to Chinese_simple and Chinese_traditional was added.
2005-01-13 18:09:21 +00:00
Jeremy Fincher
4c22000f79 Allow oneToOne to work for rss commands. 2005-01-13 14:28:54 +00:00
James Vega
9b74c0049a Lower the logging level of the sfSnarfer. 2005-01-13 14:12:58 +00:00
James Vega
cc7b77e604 Fix for bug #1101332, Network.connect ignores password. 2005-01-13 01:38:20 +00:00
Kevin Murphy
c0439bb198 qdb doesn't like to put ?'s in their URLs, so the snarfer wasn't catching qdb URLs properly 2005-01-12 21:11:12 +00:00
James Vega
3b9492d1ba unaddressed will be the bane of me! 2005-01-11 19:55:27 +00:00
James Vega
f39a2849d3 We need to declare watchingFor332 before using it. 2005-01-11 13:50:51 +00:00
Jeremy Fincher
a4cec8c8be Added Topic.replace. 2005-01-10 22:26:46 +00:00
James Vega
9f612df8d9 Catch an exception when adding/replacing a factoid. 2005-01-10 18:32:05 +00:00
James Vega
efce872b01 We need some more irc.noReply()s 2005-01-10 18:29:42 +00:00
Jeremy Fincher
eaf9f809ca Handle the case where the program isn't found. 2005-01-10 06:02:51 +00:00
Jeremy Fincher
625cfb4214 Forgot to wrap the command. 2005-01-10 05:59:38 +00:00
Jeremy Fincher
2c60643954 Added a driver command. 2005-01-10 04:58:40 +00:00
Jeremy Fincher
cba61a9dfe Fix for that RSS bug thing that mgoldey had (and subsequently, Evil_Lyra had). 2005-01-09 16:42:20 +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
0fe82001d5 Unify how are help conveys getopts that accept a value. 2005-01-08 06:51:55 +00:00
James Vega
52100c23f4 Run-on words are nasty. 2005-01-08 06:42:46 +00:00
James Vega
ec91c6d7d9 Properly naming registry variables is good. 2005-01-08 06:41:59 +00:00
Jeremy Fincher
d031997999 Added stripFormatting, to configure whether the outFilter will strip formatting first. Also added an elucidating comment. 2005-01-07 19:46:05 +00:00
Jeremy Fincher
0d793fc03c Removed an extraneous blank line. 2005-01-07 15:48:31 +00:00
Jeremy Fincher
acb04cc081 Line length, people :) 2005-01-07 15:48:18 +00:00
James Vega
9420d2a17a Fix some docstrings 2005-01-07 04:47:12 +00:00
James Vega
629e459983 Add Note.search and change the wording for listing private note ids. 2005-01-07 04:42:27 +00:00
James Vega
35cc40ac1f Take advantage of plugins.getUserName 2005-01-07 03:16:08 +00:00
James Vega
5d74b591df Fix configure() bug as pointed out by mgoldey. 2005-01-06 23:55:05 +00:00
James Vega
b4817ec5d8 Actually *use* unaddressed.replyExistingFactoid 2005-01-06 04:00:04 +00:00
James Vega
d32d6791fe INFO -> DEBUG 2005-01-06 03:42:40 +00:00
James Vega
d85e56f1d2 Make sure we utils.htmlToText the aspnSnarfer, otherwise we can get nasty
replies because of the embedded \n.
2005-01-05 18:38:17 +00:00
James Vega
f31fec5681 Fix an exception when using the --to option for Note.list and add tests
for the --to and --from options.
2005-01-05 18:36:46 +00:00
James Vega
06307abee1 Make Observer remember the active observers. Only allow admins to add/remove
observers.  Make sure we remove the observer from the active lists when remove
is called.
2005-01-04 23:27:26 +00:00
James Vega
d59310603c eBay changed their expired auction message 2005-01-04 18:50:51 +00:00
James Vega
20bcb697a1 Change some info logs to debug and make sure we don't reply from a snarfer
unless it's with the snarfed info.  Anything else should be logged.
2005-01-04 18:44:33 +00:00
James Vega
9077b1da6e Make the groupsSnarfer work again with URLs that contain a threadm cgi section. 2005-01-04 17:43:52 +00:00
James Vega
18ea1dee4d Fix my last broken commit. Gotta have variables around before you can use
them.
2005-01-04 17:01:35 +00:00
James Vega
1aa615850b Fix a bug that occurs when an optional group is not matched. 2005-01-04 16:57:57 +00:00
James Vega
204e30fc64 Don't want to pass the Random kwarg on to irc.reply 2005-01-04 16:34:49 +00:00
James Vega
8684864721 Sourceforge changed their format, again 2005-01-04 16:17:35 +00:00
James Vega
b11c4f1390 Update Debian.bug for a slight website change. 2005-01-04 03:28:33 +00:00
Kevin Murphy
e0887194f8 Updated for new site format 2005-01-04 00:45:40 +00:00
James Vega
3cb46ab765 Add a feedName converter 2005-01-03 18:45:07 +00:00
James Vega
b697661a56 Actually wrap crossword so that it's an available command. Include game.guess
in the initial reply when starting a hangman game.
2005-01-03 18:03:29 +00:00
James Vega
d9e4838410 Remove self.replied in favor of checking msg.repliedTo 2005-01-03 04:58:19 +00:00
James Vega
0d6761f1c6 Change RSS.announce such that it appends the given feeds to its current
list of feeds to announce.
2005-01-03 04:56:37 +00:00
James Vega
56907b8266 Let's not error to the channel if we're randomly speaking 2005-01-02 03:10:14 +00:00
James Vega
d103888968 Forgot an import 2005-01-02 03:04:13 +00:00
James Vega
c4df7970ae Fix bug #1094020, AttributeError in Anonymous.say 2005-01-02 00:21:07 +00:00
James Vega
48c5a3950f Fix bug #1093890, Add some irc.noReply() calls 2005-01-01 00:38:49 +00:00
James Vega
a4545d45a7 Fix bug #1093594, UnboundLocalError 2004-12-31 04:18:02 +00:00
James Vega
a6a45f9dc3 Make sure we're not trying to reply on the irc we just disconnected 2004-12-30 21:59:48 +00:00
James Vega
58b4e09e83 Connect has a status reply, why not have one for disconnect 2004-12-30 18:07:33 +00:00
Kevin Murphy
ea5bc4d5ca Moved the ln-s urlquote to a more appropriate place, and removed it for tinyurl as it actually made tiny not work 2004-12-30 08:32:36 +00:00
James Vega
7a176eead3 Revert the non-PRIVMSG changes until after the release 2004-12-30 05:38:34 +00:00
James Vega
8d4244f04e Add support for non-PRIVMSG Seen watching. QUIT and NICK are the only two
things that aren't currently supported
2004-12-30 03:22:17 +00:00
James Vega
4012c5b771 Fix a bug in Note where Note.list --sent would list the sender's name instead
of the receivers.
2004-12-30 02:44:23 +00:00
James Vega
034fb54bd2 Fleshed out Observer.remove. Added 'active' status to Observer.info 2004-12-30 01:05:12 +00:00
James Vega
fd6f4e7e24 Fix a bug where we weren't catching the end of the URL appropriately 2004-12-29 22:30:54 +00:00
James Vega
ab0eff4eea Add Infobot.update, which allows updating the is/are dbs with external Infobot
"fact packs".  Need to add threading so the bot isn't blocked while updating.
2004-12-29 20:34:19 +00:00
James Vega
4261ec4f76 Implement RFE #1087718, add a config var to ignore messages addressed to the bot. 2004-12-29 16:45:08 +00:00
James Vega
cb42006490 Better emulation of Infobot wrt overwriting factoids and missing factoids. 2004-12-29 16:28:46 +00:00
James Vega
82a055c466 Fix an exception. There may be a better way to fix this (jemfinch), but
this will at least stop the exceptions.
2004-12-29 14:20:00 +00:00
Kevin Murphy
6d2a52613b Fix for bug #1088549 2004-12-29 07:01:18 +00:00
Kevin Murphy
e867e4cab6 Easy peezy
Fix for Bug #1090008
2004-12-29 06:46:35 +00:00
Kevin Murphy
bbedf5c2d4 Fix for bug #1092462 2004-12-29 06:41:32 +00:00
James Vega
c93edfc42e Change Infobot's *Unaddressed* config variables to be unaddressed.* and add
unaddressed.replyExistingFactoid.
Began Infobot refactoring and changing the dbs so that they can be channel
specific.  This is likely still broken.
2004-12-29 06:18:43 +00:00
Jeremy Fincher
11c12e9062 Fixed bug #1091927, Topic.insert was doing the same thing as Topic.add. 2004-12-28 01:10:31 +00:00
Jeremy Fincher
094e2c15e0 Cleaner implementation of noticeNonPrivmsgs. You'd think the variable name would've clued me in. 2004-12-21 15:37:54 +00:00
Jeremy Fincher
c350baa2ae Added Topic.separator. 2004-12-21 13:09:41 +00:00
Jeremy Fincher
d6136cc39e Left in an _getIrcName call. 2004-12-21 01:03:31 +00:00
Jeremy Fincher
9d3cb7952d Misspelling. 2004-12-20 19:23:58 +00:00
Jeremy Fincher
afcb951e9b Pluralization bug. 2004-12-20 06:22:21 +00:00
Jeremy Fincher
dd572f56ea Forgot to lower the nick. 2004-12-20 06:05:17 +00:00
Jeremy Fincher
3552a1374c Forgot a user dot. 2004-12-20 02:21:16 +00:00
Jeremy Fincher
d4e41dae55 Forgot another import. 2004-12-19 16:05:46 +00:00
Jeremy Fincher
df03340113 Added noticeNonPrivmsgs configuration variable. 2004-12-19 01:21:32 +00:00
Jeremy Fincher
5b622adec6 No reason why we can't sample empty strings. 2004-12-19 00:17:26 +00:00
Jeremy Fincher
f4d7da4f35 Updated to give an appropriate error message in Observer.remove. 2004-12-19 00:17:09 +00:00
Jeremy Fincher
1f22d5eb1d sorted isn't in utils anymore. 2004-12-18 23:45:06 +00:00
Jeremy Fincher
35c2003773 Forgot to remove a debugging print. 2004-12-18 21:22:20 +00:00
Jeremy Fincher
3e10b627c0 Fixed a bug in apply and added the shuffle command. 2004-12-18 21:03:53 +00:00
Jeremy Fincher
ec2d298d8b Forgot an import. 2004-12-18 20:36:26 +00:00
Jeremy Fincher
15f47f5ea9 Catch an exception that wasn't being caught. 2004-12-18 20:28:52 +00:00
James Vega
6a1d4d64f6 Hopefully this will completely fix the WordStats bug. 2004-12-18 12:15:46 +00:00
James Vega
cd4f073ad5 Fix bug #1087369, WordStats is case sensitive 2004-12-18 04:06:53 +00:00
Jeremy Fincher
2dcc0779ff Remove empty strings in args. 2004-12-18 01:31:33 +00:00
Jeremy Fincher
f1b53073fb Make sure reply prefixes the nick. 2004-12-17 20:08:18 +00:00
Jeremy Fincher
20924ed87e Added RFE #1031748, optional password for Network.connect. 2004-12-17 19:51:09 +00:00
Jeremy Fincher
b8f2e97237 Forgot the dot 2004-12-17 19:11:05 +00:00
James Vega
b9b04fdb90 Need SimpleProxy for irc.noReply() 2004-12-17 06:02:20 +00:00
James Vega
3b2ef3d88f Add plugins.getChannel 2004-12-17 05:18:21 +00:00
James Vega
75eb335e39 Apparently, popen2.popen4 doesn't reap its children, so let's use
popen2.Popen4 and do it ourselves.
2004-12-17 01:37:42 +00:00
James Vega
62c77509d4 Make the specific tracker commands work. 2004-12-16 20:34:52 +00:00
James Vega
7b800fb4c6 Send proper CTCP responses. 2004-12-16 18:07:55 +00:00
James Vega
1e484a2b87 Don't cycle if we're already op. 2004-12-16 18:07:10 +00:00
Jeremy Fincher
889cb347f7 Misspelled variable name. 2004-12-16 14:17:03 +00:00
Jeremy Fincher
e91a897f53 Removed some XXXes. 2004-12-16 09:50:42 +00:00
Jeremy Fincher
0c0f7915f5 Converted to use world.getIrc. 2004-12-16 08:10:46 +00:00
Jeremy Fincher
73deb2036c Minor stylistic changes. 2004-12-16 08:10:22 +00:00
Jeremy Fincher
a29c4b216a Converted to use irc.isChannel rather than ircutils.isChannel. 2004-12-16 07:56:57 +00:00
Jeremy Fincher
161b9b96fc Todo #1047143, conversion of os.path.join calls to dirize calls. 2004-12-16 07:43:13 +00:00
Jeremy Fincher
6f28557f23 Format change. 2004-12-15 19:56:40 +00:00
James Vega
cee0dc3463 wrapify. I don't feel like converting the db properly (i.e., using
data/Todo/<user>.db), so I'll leave alone the current db.
2004-12-15 18:43:09 +00:00
James Vega
c8af5c886b wrapified 2004-12-15 16:37:26 +00:00
Jeremy Fincher
29c9fe96cd Try to handle disconnects. 2004-12-15 07:04:01 +00:00
Jeremy Fincher
3d881add82 Better error message. 2004-12-13 20:03:41 +00:00
James Vega
7d66c9e6a4 Finish implementing Limiter and add tests. 2004-12-13 13:54:44 +00:00
Jeremy Fincher
d170a717d3 Fixed handling of QUITs and NICKs. 2004-12-13 05:45:27 +00:00
James Vega
aa3868c87e Make the error messages refer to specific tracker types instead of using
the generic term tracker.
2004-12-12 20:02:42 +00:00
James Vega
f4af582a4e Fixed bug #1083822, attributing the 'dis'ee incorrectly. Now it says
"for trying to dis irc.nick". Was unsure if that or "for trying to dis me"
would be preferred.  Change it if you have an opinion.
2004-12-12 17:54:12 +00:00
Jeremy Fincher
62d5627bb2 Finish fixing #1082830. 2004-12-12 17:50:56 +00:00
James Vega
8ea6331cb1 Finally finish renaming Quotes -> Quote 2004-12-12 05:39:19 +00:00
Jeremy Fincher
0ed2832b30 Fix0red the implementation of makeChannelFilename. 2004-12-10 23:40:46 +00:00
Daniel DiPaolo
9f0b593854 Typo. Come on Jeremy, how can you have a typo on a one-line diff?! 2004-12-10 16:07:32 +00:00
Jeremy Fincher
3e13d36b75 Forgot to change the name of the plugin. 2004-12-10 15:13:22 +00:00
Jeremy Fincher
e533de543b Forgot an import. 2004-12-10 15:08:40 +00:00
Jeremy Fincher
28cfd18c67 Fix for bug #1082928. 2004-12-10 15:07:37 +00:00
Jeremy Fincher
9c08a192d5 Fix for logging with multiple networks. 2004-12-10 08:54:49 +00:00
Jeremy Fincher
c70007278c Changed implementation of xor command to be cooler. 2004-12-10 07:04:10 +00:00
Jeremy Fincher
0efb17dd81 Variable name change, humanTimestampFormat => reply.format.time 2004-12-10 06:21:53 +00:00
Jeremy Fincher
3679b28e57 Fix bug #1082278, forgot parens. 2004-12-10 06:15:35 +00:00
James Vega
9f84f150b7 There were some unforseen consequences of using irc.error(), so back to
this way for now.
2004-12-10 05:55:04 +00:00
James Vega
d5af6fc1f0 What is it with people changing the html for their website? 2004-12-10 05:29:47 +00:00
James Vega
68569f1649 Updated the easy stuff to work with groups.google.com's new layout. The
rest will have to wait until Google decides to declare it non-beta or someone
besides me is motivated enough to fix it.
2004-12-10 04:53:16 +00:00
James Vega
df14ebc0d2 Deprecate Infobot until we get around to fixing it. 2004-12-10 03:43:43 +00:00
James Vega
dc7a3dc3af Handle some more reply formats to fix a test failure. 2004-12-10 03:41:05 +00:00
James Vega
3b61351d21 Let's try and use the database we'd normally be using. 2004-12-10 03:39:45 +00:00
James Vega
fd2f52970c Hopefully Markov is now written with the lowest common denominator of the
idiotic anydbm in mind.
2004-12-10 02:43:33 +00:00
James Vega
7862d8d5d2 Better way to reply with the help. 2004-12-09 19:15:09 +00:00
Jeremy Fincher
2ae2c16171 Forgot to take out a line. 2004-12-08 16:21:26 +00:00
Jeremy Fincher
6c8071da48 No need for backups on these ChannelUserDBs. 2004-12-08 12:23:18 +00:00
James Vega
bda9e9144c Add Debian.debianize. Add a try:except for webutils usage. Use Raise=True
in a few more places.
2004-12-08 03:19:07 +00:00
James Vega
59b561b0af Add Markov.stats. Add some elucidating comments. Remove incomplete
SqliteMarkovDB and unused MarkovDBInterface
2004-12-08 03:10:03 +00:00
Jeremy Fincher
15c5a7fe71 Missed an indentation level. 2004-12-07 08:17:27 +00:00
Jeremy Fincher
517cd03eec Fixed some fallthrough handling. 2004-12-07 07:38:27 +00:00
Jeremy Fincher
36095341e1 Fix for bug in Network.command. 2004-12-07 07:12:47 +00:00
Jeremy Fincher
6b69d36628 Used commands.wrap, fixed reconnect again. 2004-12-07 06:40:57 +00:00
Jeremy Fincher
826786dd47 This shouldn't have been committed. 2004-12-07 04:49:35 +00:00
Jeremy Fincher
edb0f1afdd Typoed method name. 2004-12-07 04:21:33 +00:00
Jeremy Fincher
1149ff65ff Forgot a Raise=True. 2004-12-07 04:18:22 +00:00