Commit Graph

181 Commits

Author SHA1 Message Date
James Vega
7b906fbf54 Fully qualify the call to universalImport so we don't get a NameError.
Also added some ImportError handlers to aid letting users of distribution
packages know if the distributions strip out the local module copies.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-19 20:33:17 -04:00
James Vega
dc68e112df Add simplejson to the Google plugin and use universalImport
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-15 19:55:14 -04:00
James Vega
8d21b7a8cf Google: Rename safeSearch to searchFilter to ease upgrades 2009-03-11 13:37:27 -04:00
James Vega
125d542706 Google: Fix Language.normalize to not prepend the empty string with 'lang_' 2009-03-11 13:37:27 -04:00
James Vega
b99b2c7f64 Add tests for recent bug-fixes 2009-03-11 13:37:26 -04:00
James Vega
cfe0ee8462 Actually set the 'rsz' option if it isn't defined. 2009-03-11 13:37:25 -04:00
James Vega
f772fbf284 Forgot to utf-8 encode the URL from a Google search 2009-03-11 13:37:25 -04:00
James Vega
6cfde5bcc9 Update googleSnarfer to use the new search method 2009-03-11 13:37:25 -04:00
James Vega
2b7c36c747 Remove unused SOAP.py from old Google implementation 2009-03-11 13:37:25 -04:00
James Vega
88ca711d6a Change translate to use the (limited) translatable language list. 2009-03-11 13:37:25 -04:00
James Vega
1fbf61c571 Correct parsing of defaultLanguage parameter. 2009-03-11 13:37:25 -04:00
James Vega
62a8306fbb Rewrite most of Google to use the new AJAX API.
Add a translate command as well.
2009-03-11 13:37:25 -04:00
James Vega
a8a7ec56d1 Fix Google.calc ... Google changed their HTML 2007-04-25 19:06:33 +00:00
James Vega
5d954f79fe plugins/Google: Update the URLs referencing the search API. 2006-10-02 12:51:08 +00:00
James Vega
f249946114 plugins/Google/test.py: Updated testNoNoLicenseKeyError to change the proper config variable and be safe when doing so. Also should be using a Snarf assert. 2006-05-03 14:41:11 +00:00
James Vega
a3e4fc5b1d Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
Jeremy Fincher
9da5d05f8f Fixed a bug in handling of multiplication in results. 2006-01-11 13:48:46 +00:00
James Vega
d2dc42ede1 plugins/Google: Fix some formatting in Google.meta's docstring. 2005-07-25 22:05:26 +00:00
James Vega
201d4acd26 plugins/Google: Use a sensical form of English for Google.phonebook's error response. 2005-07-05 05:31:28 +00:00
Jeremy Fincher
490fb0b140 Changed prefixName to prefixNick, which is more appropriate, and has always bothered me. Better now than later. 2005-06-01 21:08:30 +00:00
Jeremy Fincher
47b42eebff Fixed a NameError in an exception handler for a module we don't use anymore. 2005-03-28 13:19:16 +00:00
James Vega
9c7c384d22 Google.metagoogle -> Google.meta 2005-03-25 15:45:44 +00:00
James Vega
9971e991fe Fix the modelines. 2005-03-23 20:07:45 +00:00
James Vega
aefcd594df Move structures to utils/ 2005-03-12 18:01:47 +00:00
Jeremy Fincher
ff8728b6c1 Moved the titleSnarfer to Web, so we need to insist that we're called before that instead. 2005-02-18 18:46:57 +00:00
Jeremy Fincher
156084c225 Fixed some bugs introduced with the latest refactoring of callCommand, etc. 2005-02-17 22:39:44 +00:00
Jeremy Fincher
2693d404b4 Refactored _callCommand to put it in its appropriate place. 2005-02-16 02:17:05 +00:00
Jeremy Fincher
b0cb616709 Changed callbacks.Privmsg to be callbacks.Plugin, and callbacks.PrivmsgCommandAndRegexp to be callbacks.Plugin. 2005-02-09 07:04:04 +00:00
Jeremy Fincher
e13c958c9d I was tired of that stupid warning. 2005-02-02 21:05:25 +00:00
Jeremy Fincher
7b2dbcf6c4 DOTS! 2005-02-02 04:40:00 +00:00
Jeremy Fincher
7313ae3b76 Added Google in the new plugin format. 2005-02-01 12:09:12 +00:00