Limnoria/plugins
James McCoy 964c73f591 RSS._getConverter: Encode strings before handing them off to other functions
When the feed has a specified encoding, we'll be dealing with unicode objects
in the response from feedparser.parse().  To avoid possible UnicodeErrors, we
need to encode() before handing the string off to other functions, so the
other functions are always dealing with bytestrings instead of bytestrings and
unicode objects.  Mixing unicode and bytestrings will cause implicit
conversions of the unicode objects, which will most likely use the wrong
encoding.

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-10-22 15:23:56 -04:00
..
Admin Model Admin's ignore help after Channel's. 2010-08-29 10:26:59 -04:00
Alias Use conf.registerGlobalValue to ensure generated values are properly setup. 2010-08-24 19:52:09 -04:00
Anonymous Anonymous: Implement support for allowPrivateTarget config. 2010-08-24 19:49:14 -04:00
AutoMode Added supybot.plugins.AutoMode.owner, so the bot can choose not to automode owners. 2009-03-11 13:37:27 -04:00
BadWords Check for empty word list in BadWords plugin before filtering. 2010-08-24 19:13:09 -04:00
Channel Channel: Correct specification of "#channel,op" capability. 2010-08-31 19:00:28 -04:00
ChannelLogger Include hostmasks in JOIN, PART, QUIT logs. 2010-08-24 19:44:10 -04:00
ChannelStats Update plugins to ignore all non-ACTION CTCP messages. 2010-08-24 19:42:11 -04:00
Config Config: Show global and channel values for Config.config 2009-03-18 14:41:02 -04:00
Ctcp Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
Dict Dict: Refer to the server config variable in Dict.dict's help. 2010-08-31 18:46:05 -04:00
Dunno Add Dunno plugin from supybot-plugins package 2009-05-07 22:50:32 -04:00
Factoids Fix the previous Factoids fix. 2010-08-24 19:44:56 -04:00
Filter Add azn and uniud commands. 2009-03-11 13:37:25 -04:00
Format Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
Games Games: Re-add some, much higher, upper limits to dice. 2010-09-09 00:00:47 -04:00
Google Google: Remove Groups snarfer 2010-09-08 22:20:23 -04:00
Herald Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
Internet Update Internet.hexip to handle IPv6 2011-06-06 22:29:21 -04:00
Karma Karma: Refer to plugins.Karma.rankingDisplay in Karma.karma's help. 2010-09-08 23:44:40 -04:00
Lart Remove first person modification of the reason clause and add tests to support it. 2006-11-13 20:27:23 +00:00
Later Update plugins to ignore all non-ACTION CTCP messages. 2010-08-24 19:42:11 -04:00
Limiter Limiter: Fix "reduce limit" test case. 2010-09-08 22:42:07 -04:00
Math Math: Update the units info from ConvertAll 2009-05-18 00:44:59 -04:00
Misc make Misc.apropos return plugin name even if command is in only one plugin. 2010-08-24 19:50:22 -04:00
MoobotFactoids Use the correct URLs for the PySqlite website. 2010-08-24 19:15:27 -04:00
Network Network: Properly parse WHOIS response 2010-08-24 19:41:30 -04:00
News News: Use positiveInt converter instead of manual checks. 2010-09-05 01:09:43 -04:00
NickCapture Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
Nickometer Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
Note Handle changes to fnmatch.translate in Python 2.6 2010-09-08 23:31:01 -04:00
Owner Use the plugin name for Owner.defaultplugin's error message. 2010-09-20 18:20:52 -04:00
Plugin Munge Author's email in __str__ instead of relying on munging the results of Author.__str__ 2006-07-14 20:54:31 +00:00
Praise Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
Protector Use the hostmask argument isProtected is given instead of trying to use a non-existant variable. 2009-03-11 13:37:24 -04:00
Quote Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
QuoteGrabs Update plugins to ignore all non-ACTION CTCP messages. 2010-08-24 19:42:11 -04:00
Relay Update plugins to ignore all non-ACTION CTCP messages. 2010-08-24 19:42:11 -04:00
Reply Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
RSS RSS._getConverter: Encode strings before handing them off to other functions 2011-10-22 15:23:56 -04:00
Scheduler Add test for a bug Tar-Get brought up on IRC 2009-03-11 13:37:26 -04:00
Seen Seen: Anchor nick regexp to ensure valid match. 2011-08-02 22:19:47 -04:00
Services Services: Correct formatting of "isn't registered" log. 2010-10-03 14:58:38 -04:00
ShrinkUrl utils.web: Provide access to the raw httpUrlRe/urlRe strings 2010-08-24 19:14:58 -04:00
Status Switch from using the various popen flavors to subprocess.Popen 2010-08-24 19:40:23 -04:00
String String.decode: Only encode('utf-8') when the decode string is unicode 2011-10-22 14:57:20 -04:00
Success Add Success plugin from supybot-plugins package 2009-05-07 22:52:16 -04:00
Time Update dateutil to latest version and include all files 2009-05-11 12:16:28 -04:00
Todo Handle changes to fnmatch.translate in Python 2.6 2010-09-08 23:31:01 -04:00
Topic Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
Unix Unix: Use converter to enforce "no spaces" for spell's argument. 2010-09-20 19:44:01 -04:00
URL Update plugins to ignore all non-ACTION CTCP messages. 2010-08-24 19:42:11 -04:00
User User: Handle DuplicateHostmask exception in hostmask.add. 2010-08-29 11:32:39 -04:00
Utilities Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
Web Update plugins to ignore all non-ACTION CTCP messages. 2010-08-24 19:42:11 -04:00
__init__.py Updated ChannelIdDatabasePlugin's getCommandHelp signature 2010-08-24 19:01:26 -04:00