Commit Graph

134 Commits

Author SHA1 Message Date
Jeremy Fincher
1c03464fd9 Huge commit to finish refactoring of replies. 2004-01-08 23:03:48 +00:00
Jeremy Fincher
530aec2be0 Updated the reply infrastructure. No more msg, it's just not necessary. 2004-01-08 03:12:14 +00:00
Jeremy Fincher
d5aeefeb59 Moved Weather to its own plugin. 2004-01-07 15:17:53 +00:00
Jeremy Fincher
c4a122da5a Fixed bug #869652. 2004-01-03 06:26:39 +00:00
Daniel DiPaolo
1474c16a5f Fixed #862645 - unquoted spaces getting sent in HTTP request 2003-12-19 01:58:49 +00:00
Daniel DiPaolo
b995b2fd5c Fixed a kernel bug which only happens when either one of the stable or beta
kernels isn't listed on the page and also fixed the geekquote tests to match
the new behavior.
2003-12-18 04:47:05 +00:00
Jeremy Fincher
86363520b8 Minor changes. 2003-12-16 13:35:42 +00:00
Jeremy Fincher
0fbfe32538 Added an appropriate error message when acronymfinder.com cuts us off. 2003-12-12 18:33:00 +00:00
James Vega
76e20b9c72 Got rid of another urlopen call 2003-12-09 14:52:32 +00:00
James Vega
03aad1712a Added Http.extension 2003-12-09 14:35:19 +00:00
James Vega
946d9b234c Http.weather: Cleaned up some regexes and added proper checking to re.search
result assignments. Added reporting of Heat Index/Wind Chill if they are
different than the actual temperature.
2003-12-08 15:38:49 +00:00
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