Commit Graph

154 Commits

Author SHA1 Message Date
James Vega
85acfacf5d bash.org changed their URL format a little 2004-08-31 15:14:05 +00:00
Jeremy Fincher
fbb348b6e7 Copyright updates. Again, more is left to be done, but this is my part. 2004-08-23 13:14:06 +00:00
Jeremy Fincher
71c752a7fb Added bender, fixed bugs. 2004-08-20 17:20:52 +00:00
Jeremy Fincher
0f598271dc Speeling fixes. 2004-08-18 23:15:27 +00:00
James Vega
0ee2ff4fbb De-uglified urllib2.URLErrors and cleaned up a couple blocks in plugins/Http.py 2004-08-17 02:52:40 +00:00
James Vega
1a6754a307 Http.cyborg now uses the user's nick if non is specified 2004-08-16 04:48:35 +00:00
Jeremy Fincher
d134a2d9ac Updated to use webutils throughout. 2004-08-05 18:29:26 +00:00
Jeremy Fincher
f9c61271ea w00, less path mungingEXCLAIMEXCLAIM 2004-07-24 05:18:26 +00:00
James Vega
b2dbbe9ef5 small cleanups 2004-07-24 05:09:22 +00:00
James Vega
327254a85d Add Currency plugin and fix some whitespace annoyances. 2004-07-20 03:51:56 +00:00
Jeremy Fincher
d9d8c04e24 Slight bugfix. 2004-06-26 20:29:55 +00:00
James Vega
3672f72b96 Returning after irc.error is good 2004-05-01 19:25:19 +00:00
Jeremy Fincher
5d10dc2047 Oops, syntax error. 2004-04-30 16:55:42 +00:00
Jeremy Fincher
21b1acd3f4 Oops, forgot to update these for the protocols change. 2004-04-30 15:03:20 +00:00
James Vega
65ad15dd45 Fixed bugs in zipinfo and netcraft 2004-04-30 01:39:29 +00:00
James Vega
20ac0993bc Add Http.zipinfo 2004-04-28 21:13:33 +00:00
James Vega
f130db33cc Better error checking with Http.stockquote and remove Http.weather's tests. 2004-03-26 00:56:31 +00:00
Jeremy Fincher
0830e576c2 Fix the output of doctype, I don't care if we're different from mozbot. 2004-02-02 01:30:47 +00:00
Jeremy Fincher
7f107ff9c2 Made maxSize a config variable, supybot.httpPeekSize. 2004-01-28 16:14:12 +00:00
Jeremy Fincher
f3b49e4e88 Added cyborg. 2004-01-23 16:41:01 +00:00
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