Commit Graph

1335 Commits

Author SHA1 Message Date
Jeremy Fincher
9678560c98 Made configurable. 2003-12-10 06:58:17 +00:00
Jeremy Fincher
8df0b3888f Nicer error message. 2003-12-09 20:46:40 +00:00
James Vega
66ec4ab4d7 Improve some error handling and test some more uses 2003-12-09 15:57:19 +00:00
James Vega
15a2b84a36 Yeah, for fixing code that wasn't the cause of the problem I was trying to
fix.  Lemme put that back to normal.
2003-12-09 15:24:14 +00:00
James Vega
f4995b4df9 user->nick change for Relay.whois 2003-12-09 14:56:45 +00:00
James Vega
76e20b9c72 Got rid of another urlopen call 2003-12-09 14:52:32 +00:00
James Vega
05238bfcc6 Topic.reorder: Fixed some bugs found via jemfinch's new tests 2003-12-09 14:51:04 +00:00
James Vega
8fe7d7e4e8 Add identified status and away message to Relay.whois 2003-12-09 14:35:54 +00:00
James Vega
03aad1712a Added Http.extension 2003-12-09 14:35:19 +00:00
James Vega
d91cc33c58 Added Topic.reorder 2003-12-09 14:05:32 +00:00
Jeremy Fincher
8fb158d434 Robustified. 2003-12-09 04:57:34 +00:00
Jeremy Fincher
ec16d3ae8b Reverted a version. 2003-12-09 00:39:16 +00:00
Jeremy Fincher
5d9ecea552 Fixed bug in Poll.add, it didn't handle sqlite returning a string. 2003-12-09 00:35:13 +00:00
Jeremy Fincher
60797f770d Handle p.d.o being down gracefully. 2003-12-09 00:32:53 +00:00
Jeremy Fincher
6b5d32c4b5 Removed an old comment. 2003-12-09 00:03:42 +00:00
James Vega
fc1fc32a01 Debian.incoming: glob is now required. Change glob behavior to match the rest
of supybot's globs.
2003-12-08 16:59:46 +00:00
James Vega
607793b6b4 Added Amazon.books and Amazon.videos so that users can search those products
by keywords.  Added tests to match.
2003-12-08 16:32:29 +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
7d7e396bac Converted to use a DBHandler. 2003-12-08 13:15:00 +00:00
Jeremy Fincher
836ef993df Converted to use a DBHandler. 2003-12-08 13:08:14 +00:00
Jeremy Fincher
0719b5e6b8 Stylistic changes. 2003-12-07 05:33:31 +00:00
Jeremy Fincher
be7a2921e2 People should be able to get a todo regardless of its active/inactive status. 2003-12-07 01:19:00 +00:00
Jeremy Fincher
8727e620ad Fixed several latent bugs, made much more robust. 2003-12-06 23:49:22 +00:00
Jeremy Fincher
d06418633c Changed \x02...\x0F to an ircutils.bold. 2003-12-06 13:26:00 +00:00
Jeremy Fincher
f26115bb9b Fixed bug #853654. 2003-12-05 12:08:24 +00:00
Jeremy Fincher
5a6b5329f1 Fixed bug #854232. 2003-12-05 12:01:19 +00:00
Daniel DiPaolo
f85a069eec Oops, the old logic for starting option ids at 1 was bogus. 2003-12-05 03:55:28 +00:00
Daniel DiPaolo
c7f50eb31c Added some poll enhancements 2003-12-05 02:53:20 +00:00
Jeremy Fincher
56b68d6893 Fixed bug #853904. 2003-12-04 08:50:49 +00:00
Jeremy Fincher
c8783e5ce6 Added an icalc command for doing calculations with real integers. 2003-12-04 08:29:19 +00:00
Jeremy Fincher
e46765f426 Added a trusted capability (defaulting to off); made Utilties.re require it. 2003-12-04 08:28:56 +00:00
Jeremy Fincher
fd97e8d634 Fixed bug in that you could add over top already-existing commands. 2003-12-04 07:03:37 +00:00
James Vega
0857e3aca6 with Sourceforge.bug and Sourceforge.rfe's powers combined, we have
Sourceforge.tracker!
2003-12-04 02:18:55 +00:00
James Vega
93d3d78ccb Commented out some debugging log statements (yes, I realize they were in a
huge comment block already)
2003-12-04 02:04:56 +00:00
James Vega
fa1c70b137 Finished flushing out Amazon's use of the web services. Added actual tests to
the test suite and updated pyamazon from 0.4 to 0.61
2003-12-04 01:56:50 +00:00
Jeremy Fincher
4aa05c353a Added ping command. 2003-12-03 23:56:06 +00:00
Jeremy Fincher
3398f1a819 Made the error message better when people try to run a plugin that requires sqlite and they don't have it. 2003-12-03 23:48:00 +00:00
Jeremy Fincher
2aaca31709 Moved Configurable out to its own module. 2003-12-03 23:14:09 +00:00
Jeremy Fincher
e23bf4167b Use items() intead of iteritems() because we're deleting from the dictionary. 2003-12-03 21:54:18 +00:00
Jeremy Fincher
8cbcb2e225 Added some informational logging. 2003-12-03 21:45:02 +00:00
Jeremy Fincher
7accc317a7 Fixed the 'Alias raises a buttload of exceptions' bug. 2003-12-03 21:42:48 +00:00
Jeremy Fincher
246afc30e1 Made it not depend on Alias anymore. 2003-12-03 21:21:43 +00:00
Jeremy Fincher
c6b232b588 Made to require admin capabilities to add/remove lookups. 2003-12-03 21:19:49 +00:00
Jeremy Fincher
ed5fede565 Added Note.unsend command. 2003-12-03 21:00:56 +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
7b9c0ccd86 Changed the name of WebException to WebError. 2003-12-03 04:57:30 +00:00
Daniel DiPaolo
42afa12765 Time to *really* finish up the stuff in the RFE and not just close it without
completely finishing it off ;)
2003-12-03 03:14:40 +00:00
Jeremy Fincher
31de7d0cf8 Fixed bugz0r! 2003-12-03 02:43:30 +00:00
Jeremy Fincher
e9b20c83ec Fixed bugz0r! 2003-12-03 02:26:20 +00:00
Jeremy Fincher
f8ea57b05f Added RFE #852937. 2003-12-03 02:17:10 +00:00
Jeremy Fincher
d4442a04ff Slightly tweaked, added test. 2003-12-03 01:55:19 +00:00
Daniel DiPaolo
fe9468c0e6 Always bet on black! 2003-12-03 01:43:38 +00:00
Jeremy Fincher
fd06e1c7ee Changed to use DBHandler. 2003-12-02 22:40:50 +00:00
Jeremy Fincher
2f7d2d7f61 Gave DBHandler a .die() method. 2003-12-02 22:40:33 +00:00
Jeremy Fincher
77a8d8bd2d Added swap to rpn. 2003-12-02 22:08:46 +00:00
Jeremy Fincher
ee5de6e0d7 Made sure to depluralize the command name. 2003-12-02 19:02:53 +00:00
James Vega
6e46263279 Cleaner line break 2003-12-02 19:01:59 +00:00
James Vega
7a418a1bf6 Damn, it feels good to be a ChannelDB 2003-12-02 19:00:11 +00:00
James Vega
9277d4113f According to pysqlite 0.50.0 you can have a fractional number of items in a db
:(
2003-12-02 18:58:28 +00:00
Jeremy Fincher
1ff44651a9 Intify the stupid help. 2003-12-02 18:50:46 +00:00
Jeremy Fincher
1b8d655738 Added help strings to lookups. 2003-12-02 18:37:39 +00:00
Jeremy Fincher
f9adc0d0c7 Made the separator a configurable. 2003-12-02 16:26:08 +00:00
Jeremy Fincher
ee8be5abc1 Stupid SyntaxError! 2003-12-02 16:25:02 +00:00
Jeremy Fincher
b5f6155e66 Changed to be a ChannelDBHandler. 2003-12-02 13:54:57 +00:00
Jeremy Fincher
1f4c16367a Should be able to reload Relay now, but it's untested. 2003-12-02 13:39:30 +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
aaef8cdf70 Webutilified. 2003-12-02 11:18:51 +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
f65b3cd8c0 w00t! we have more than 1 command 2003-12-02 07:38:18 +00:00
James Vega
9fe682fe29 I have the *power*! ... of webutils 2003-12-02 06:03:42 +00:00
James Vega
53b9a47e92 I canno' do it capt'n. My irc.error doesn't have a msg 2003-12-02 05:49:10 +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
9264b635e2 Added most command. 2003-12-01 23:47:37 +00:00
Jeremy Fincher
602f92622c Fixed RFE #828722 and removed Lookup's dependency on the Alias plugin. 2003-12-01 23:02:31 +00:00
James Vega
23d81ec0cd Removed pydoclink (whose idea was it to add that useless command anyways?) /me
hides
2003-12-01 18:15:53 +00:00
Jeremy Fincher
f24011559b Changed the name of cpustats and netstats and cmdstats to remove the stats part. 2003-12-01 12:39:38 +00:00
Jeremy Fincher
efa81e0ac2 Fixed SyntaxError. 2003-12-01 12:03:23 +00:00
Jeremy Fincher
ca6ebdce52 Added some extra logging of eval'ed expressions. 2003-12-01 11:25:48 +00:00
Jeremy Fincher
cada17ebb3 Added logging of the regexp and originator, in case of abuse. 2003-12-01 11:17:00 +00:00
Jeremy Fincher
fb2d9b7f4f Various re fixes, including bug #850931. 2003-12-01 11:06:17 +00:00
James Vega
42e43531fc irc.error()'s need a msg 2003-12-01 04:10:50 +00:00
James Vega
b0fa84408e Added pydoclink, a command which returns a link to the current documentation
for the specified module
2003-11-30 23:24:09 +00:00
James Vega
3adad29021 Removed extraneous paren 2003-11-30 17:56:39 +00:00
Jeremy Fincher
72f93610b1 Fix for bug #851254. 2003-11-29 18:45:29 +00:00
Jeremy Fincher
e15d15f794 Made sure Http.title doesn't read infinitely. 2003-11-29 02:34:07 +00:00
Jeremy Fincher
0b0d10fc82 Removed periods at the end of the reason. 2003-11-28 19:04:24 +00:00
Jeremy Fincher
a40742edb7 Added the id of the just-added todo to the reply. 2003-11-28 18:29:04 +00:00
Jeremy Fincher
b0fa390f99 Added the number of people to Relay.names. 2003-11-28 18:22:41 +00:00
Daniel DiPaolo
13b718ff96 It's probably a lot more useful to list the most popular options first in the
results.
2003-11-26 21:24:09 +00:00
Daniel DiPaolo
ea23b47163 Did a complete rework of the poll plugin. 2003-11-26 20:27:42 +00:00
Jeremy Fincher
e187479e19 Fixed crossword bug committed by Xylo. 2003-11-26 19:01:45 +00:00
Jeremy Fincher
48166f4895 Huge update to the logging infrastructure. 2003-11-26 18:21:12 +00:00
Daniel DiPaolo
c97fe5e4a1 The configurable help message now includes an example. 2003-11-26 17:27:50 +00:00
Daniel DiPaolo
1999cb4bbe ddipaolo-- (hey buddy, next time you might want to actually update the
configurable item's help string when you copy it from another module)
2003-11-26 17:24:31 +00:00
Daniel DiPaolo
89857d9bd8 Made Karma a configurable, added the 'simple-output' option to forego all the
'increased/decreased' output when requesting something's karma and to just
return the name and the total karma.
2003-11-26 17:07:20 +00:00