Commit Graph

2750 Commits

Author SHA1 Message Date
Jeremy Fincher
9e83114a24 Un-break the bot. This stuff should probably go somewhere other than the Owner plugin at some point. 2005-01-29 21:43:23 +00:00
Jeremy Fincher
68b1d65d68 Plugin normalization, sanitation, etc. Removed unused imports, for the most part. 2005-01-29 21:24:17 +00:00
Jeremy Fincher
0a7fdae08d Changed some more webutils uses to utils.web. 2005-01-29 19:20:15 +00:00
Jeremy Fincher
6fbfa2bc9e Moved a webutils import over to utils.web. 2005-01-29 19:18:56 +00:00
Jeremy Fincher
381a42d863 Added an "irc" argument to callbacks.Privmsg.__init__, so now plugins get an Irc on instantiation. 2005-01-29 19:16:29 +00:00
Jeremy Fincher
90d95a006c Converted some plugin stuff to use format. 2005-01-28 15:14:39 +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
7fb3b21d94 Removed src/privmsgs.py and all the accompanying crap. 2005-01-27 05:42:36 +00:00
Jeremy Fincher
d5dd72c309 Changed copyright date on plugins/__init__.py. 2005-01-26 21:38:57 +00:00
Jeremy Fincher
6d02564965 Added Status in the new plugin format. 2005-01-26 07:33:19 +00:00
Jeremy Fincher
79c3461dc9 Added Network in the new plugin format. 2005-01-26 07:32:42 +00:00
Jeremy Fincher
1923788a3d Changed copyright dates on Herald. 2005-01-26 07:26:18 +00:00
Jeremy Fincher
af47a19c1d Added Herald in the new plugin format. 2005-01-26 06:52:33 +00:00
Jeremy Fincher
d9689f818b Added the Filter plugin in the new plugin format. 2005-01-25 20:04:14 +00:00
Jeremy Fincher
f85431435a Added the Format plugin in the new plugin format (no pun intended). 2005-01-25 18:06:46 +00:00
Jeremy Fincher
f5e4e64815 Fixed Babelfish so that tests run. 2005-01-24 23:26:44 +00:00
Jeremy Fincher
4f9d7f43a2 Converted Babelfish to the new plugin format. 2005-01-21 18:40:28 +00:00
Jeremy Fincher
0e9a3c326e Added the Dict plugin in the new plugin format. 2005-01-19 23:34:25 +00:00
Jeremy Fincher
d9df5136cd Added the Math plugin in the new plugin package format. 2005-01-19 23:29:28 +00:00
Jeremy Fincher
4aa220eada Re-added the Utilities plugin in the new plugin format. 2005-01-19 23:25:34 +00:00
Jeremy Fincher
badec534df Changed tests to be more independent of outside plugins. 2005-01-19 23:23:47 +00:00
Jeremy Fincher
863c0e6ad2 Moved loadPlugin{Module,Class} to its own module in src/ 2005-01-19 23:22:35 +00:00
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