Commit Graph

123 Commits

Author SHA1 Message Date
Jeremy Fincher
5a6b5329f1 Fixed bug #854232. 2003-12-05 12:01:19 +00:00
Jeremy Fincher
56b68d6893 Fixed bug #853904. 2003-12-04 08:50:49 +00:00
Jeremy Fincher
b2f98258a6 Fixed bug in handling of pages less than maxSize but with no Content-length header. 2003-12-03 20:47:33 +00:00
Jeremy Fincher
0f3dcf0c01 Added Http.size, Http.doctype, and Http.headers. 2003-12-03 05:24:18 +00:00
Jeremy Fincher
bc56a8e3f2 Handle errors in getUrlFd properly in Http.kernel. 2003-12-02 11:31:27 +00:00
Jeremy Fincher
1aaf611158 Made sure the fd gets closed in Http.kernel. 2003-12-02 11:19:53 +00:00
Jeremy Fincher
5549322771 Fix for bug #852422. 2003-12-02 11:16:26 +00:00
Jeremy Fincher
2f1c8415b6 Added getUrlFd, used it in Http.kernel. 2003-12-02 11:10:31 +00:00
James Vega
a0b0999762 Apparently the pigs at hamweather think Tsra == Thunder Storms. I didn't find
that to be very obvious, so I added a little .replace() to be more friendly
2003-12-02 03:10:16 +00:00
Jeremy Fincher
b1f0bbe887 Shouldn't have taken out the callCommand when I converted to webutils. 2003-12-02 00:25:54 +00:00
Jeremy Fincher
8d9ed6bf87 Added webutils module; used it in Http. 2003-12-02 00:12:45 +00:00
Jeremy Fincher
e15d15f794 Made sure Http.title doesn't read infinitely. 2003-11-29 02:34:07 +00:00
Jeremy Fincher
48166f4895 Huge update to the logging infrastructure. 2003-11-26 18:21:12 +00:00
Jeremy Fincher
5f4a541fe1 Added __revision__ strings. 2003-11-25 08:23:47 +00:00
Brett Phipps
0a13904a13 Added an additional check to weather. Fixed getting a single
argument that coudl not be found properly.
2003-11-24 20:35:26 +00:00
Jeremy Fincher
d338789a7b Fixed bug in acronym showing the header, added a test. 2003-11-23 13:25:43 +00:00
Jeremy Fincher
d05a9a3121 Updated for newly tweaked acronymfinder page. 2003-11-23 13:20:20 +00:00
Jeremy Fincher
7784d21cde Fixed the bug in acronym for the change in format and tightened the test to catch such changes. 2003-11-22 01:13:33 +00:00
Brett Phipps
e21d7109cb Fixed the problem where country abbreviations that match USA State
abbreviations will never be found.

Arizona seemed to be missing from our _realStates set.  It's in there now.

Added a _mapCountries to map 'obviously' debatable country abbreviations.
(Just have uk->gb in there at the moment.  I probably missed a few).
2003-11-20 05:27:03 +00:00
Jeremy Fincher
eb6e112f70 Changed some maps/filters to imaps/ifilters for efficiency reasons (I was bored, basically). 2003-11-15 04:37:04 +00:00
James Vega
4ce677bc6e Slight syntax fix for @weather reply 2003-11-12 17:22:23 +00:00
Jeremy Fincher
76ad28918f Fixed the stupid DOM Element output, added test. 2003-11-05 06:56:03 +00:00
Jeremy Fincher
ed94dd44ca Fixed freshmeat command, changed it to use xml.dom.minidom. Also removed example string. 2003-11-05 06:50:06 +00:00
Jeremy Fincher
4e4855094c Forget to catch the actual exception instance in callCommand. 2003-10-31 19:17:26 +00:00
Jeremy Fincher
8d04bdbcb6 Refactored some stuff to be a bit cleaner. 2003-10-30 03:38:55 +00:00
Daniel DiPaolo
f0574da59a Fixed the 'title' regexp to be non-greedy, in case there's a </title> tag
within the document itself.  Also put a test for this (which will hopefully be
a permanent link... not sure though)
2003-10-24 00:46:21 +00:00
Daniel Berlin
0b380f56fe Add --id option to geekquote, make it always allow multiline quotes 2003-10-22 22:05:34 +00:00
Daniel Berlin
98a13e267a Fix multiline geekquotes 2003-10-21 19:54:30 +00:00
James Vega
84f931bb9f Lots of pylint cleanups 2003-10-11 21:03:02 +00:00
Jeremy Fincher
ec0de6431d Changed baseplugin not to require 'from baseplugin import *' because fix is now munging builtins. 2003-10-05 12:56:56 +00:00
Jeremy Fincher
358533b335 Removed deepthought command now that we have a supyfact for it. 2003-09-13 13:39:41 +00:00
Jeremy Fincher
9eb08fa205 Removed length restriction from deepthought. 2003-09-11 18:39:47 +00:00
Jeremy Fincher
ecc820a49c Fixe for bug with titles that spread across lines. 2003-09-09 21:00:36 +00:00
Jeremy Fincher
073040d92e Fixed bug #802804 about the bad appearance of [not an acronym]. 2003-09-09 08:33:07 +00:00
James Vega
89d5f7a088 Make sure the urllib2 file gets closed properly in pgpkey 2003-09-08 17:35:24 +00:00
James Vega
cc07bc1272 Switched pgpkey from using .read() to .readline() since there's possibly a large amount of results. 2003-09-08 17:15:26 +00:00
James Vega
d9e3a199b0 Removed the trailing ' :: ' from pgpkey 2003-09-08 08:59:43 +00:00
James Vega
9d8aa07f86 Added pgpkey and a test case for it 2003-09-08 08:48:33 +00:00
Jeremy Fincher
e3148c03fe Removed foldoc command (it's markedly inferior to Dict.dict). 2003-09-07 06:32:13 +00:00
Jeremy Fincher
b68908ed00 Convert not to care how long its messages are. 2003-09-07 06:01:25 +00:00
Jeremy Fincher
21f0cb89ae Moved babelfish stuff to its own plugin. 2003-09-05 19:49:44 +00:00
Jeremy Fincher
736d46cff3 Forgot to close the file object from urllib2.urlopen. 2003-08-30 02:35:28 +00:00
Jeremy Fincher
7911d0f0a3 Moved kernel over to Http as per the wishes of the kernel.org folx0rs. 2003-08-30 02:33:28 +00:00
Jeremy Fincher
550f0fb3de Forgot return after irc.error and added test for non-existent location. 2003-08-27 22:30:48 +00:00
Jeremy Fincher
ce67b6ef5a Added better error reporting. 2003-08-27 22:27:58 +00:00
Jeremy Fincher
b572562cb3 Added utils.wrapLines and wrapped the lines of each plugin's example. 2003-08-27 16:25:43 +00:00
Jeremy Fincher
575656992e Fixed bug in weather, added test for it; added example string. 2003-08-27 16:01:51 +00:00
Jeremy Fincher
075af0967c Commented out some debug.printfs. 2003-08-25 20:13:20 +00:00
Jeremy Fincher
5b2cc92917 Weather now works. This is gotenks2's commit. 2003-08-23 13:00:24 +00:00
Jeremy Fincher
5234c730c1 Converted states to lower before checking for membership in the set. 2003-08-23 12:44:25 +00:00