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
Daniel DiPaolo
8dc24b2d50
Implemented usability fix (RFE #849691 ) where if listkeys returns only one
...
factoid key, it should just return the value.
2003-11-26 16:20:57 +00:00
Jeremy Fincher
d64f5314f8
Fix for bug #849619 .
2003-11-26 12:39:37 +00:00
Daniel DiPaolo
130f30cca8
Completed the implementation of handling google groups URLs with 'prev=/' in
...
them
2003-11-25 21:42:25 +00:00
Jeremy Fincher
574c861cdb
Fixed bugs with stupid contractions in NickServ notices.
2003-11-25 15:37:25 +00:00
Jeremy Fincher
5564e43239
Added ability to configure showing of ids on or off.
2003-11-25 11:43:09 +00:00
Jeremy Fincher
77393f83ad
Fixed bug in identification/doNotice code that would cause an infinite loop if the stupid services on the stupid (coughoftccough) network use a contraction.
2003-11-25 10:30:58 +00:00
Jeremy Fincher
2c779bd543
Changed Alias.freeze to Alias.lock.
2003-11-25 10:19:40 +00:00
Jeremy Fincher
6d3cb48c51
Fixed uptime sorting.
2003-11-25 09:45:01 +00:00
Jeremy Fincher
86b41dd4a6
Allowed escaping of colons in supyfact files. Didn't allow escaping of backslashes, yet, but that's less a worry, I think.
2003-11-25 09:08:06 +00:00
Jeremy Fincher
1687b3f916
Wasn't using an IrcString for the chanserv nick.
2003-11-25 08:28:41 +00:00
Jeremy Fincher
5f4a541fe1
Added __revision__ strings.
2003-11-25 08:23:47 +00:00
Jeremy Fincher
6ce845f8d3
Updated to include strings in @objects output.
2003-11-25 08:20:41 +00:00
Jeremy Fincher
4e273a2395
Fixed some use of regexps, commented out a test that was failing because a game expired.
2003-11-24 23:07:51 +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
f53c92cce9
Fix for bug #847950 .
2003-11-24 09:40:27 +00:00
Daniel DiPaolo
2cdd2392ff
Fixed an UnboundLocalError caused by forgetting to assign a default None value
...
to some vars.
2003-11-24 06:12:09 +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
d1bbb015a8
Poor attempt to fix the 33 years bug.
2003-11-23 13:01:19 +00:00
Jeremy Fincher
f7d5be5ee8
Explained the sf alias and its usefulness.
2003-11-22 17:10:41 +00:00
Jeremy Fincher
6ae0a0b8c4
Made configure handle comments and empty lines.
2003-11-22 06:57:03 +00:00
Jeremy Fincher
27ce1d3cc7
Fixed an uncaught exception in configure.
2003-11-22 06:54:42 +00:00
Jeremy Fincher
7642def926
Don't bother asking about Alias if it's already been loaded.
2003-11-22 06:42:11 +00:00
Jeremy Fincher
41c2ead5bd
Changed to be a Configurable, fixed a few possible bugs.
2003-11-22 04:23:59 +00:00
Jeremy Fincher
b1f424d1ed
Handled Windows' timeout number on socket.error.
2003-11-22 03:57:38 +00:00
Jeremy Fincher
0b9d7bd0bb
Fixed bug #847032 .
2003-11-22 03:50:45 +00:00
Jeremy Fincher
0e8891871f
Minor stylistic fixes (I thought there'd be more, but I solved another problem without messing with this plugin).
2003-11-22 02:10:13 +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
Jeremy Fincher
4ed97b0ba5
Changed to use a DBHandler.
2003-11-22 00:55:08 +00:00
James Vega
f2f61fdfad
Configure question about snarfer should be for all users
2003-11-22 00:51:27 +00:00
Jeremy Fincher
6b5ef88c06
Added some debugging printfs that may be useful in the future.
2003-11-22 00:40:46 +00:00
Stéphan Kochen
7b26501f15
Some small fixes to Poll.
2003-11-22 00:31:55 +00:00
Jeremy Fincher
d83cf1450f
Fix for bug #846714 .
2003-11-21 22:22:18 +00:00
Jeremy Fincher
0cc2c2f49f
Fixed html entities in rss titles.
2003-11-21 19:07:14 +00:00
Jeremy Fincher
10fe799033
Fixed handling of timeout on socket in Debian.version.
2003-11-21 18:16:27 +00:00
Jeremy Fincher
cdda36f9fb
Fixed the self-lart bug.
2003-11-21 17:42:41 +00:00
Jeremy Fincher
581dcda8e0
Tweaked output of seen.
2003-11-21 17:32:14 +00:00
Jeremy Fincher
e9b81580a4
Fixed lots of raised exceptions because I had the wrong number of arguments.
2003-11-21 15:32:14 +00:00
Jeremy Fincher
b3aade6984
Cleaner output for nonexistent entries.
2003-11-21 13:02:26 +00:00
Jeremy Fincher
308ae5527c
Fixed bug #846053 .
2003-11-21 12:45:50 +00:00
Jeremy Fincher
0da5c27380
Fixed bug #846332 .
2003-11-21 12:35:24 +00:00
Jeremy Fincher
43c594661c
Fixed bug #846220 .
2003-11-21 12:31:51 +00:00
Jeremy Fincher
6f93426d66
Minor style update.
2003-11-21 11:58:16 +00:00
Jeremy Fincher
0ab9d4e3ec
Do sorting the right way (not only are cmp functions slow, but with nicks you need to sort by ircutils.toLower, not str.lower).
2003-11-21 11:45:43 +00:00
James Vega
e3b09746c0
Now we can sort names independent of case!
2003-11-20 23:46:56 +00:00
James Vega
8b9f5a607f
Fix the Google Groups snarfer bug and added appropriate tests
2003-11-20 19:53:15 +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
fb4a4ffca7
Changed the default of the snarfer, added a question to configure.
2003-11-19 23:34:53 +00:00
Jeremy Fincher
2a5cc04749
Finished the alias sf question in configure.
2003-11-19 23:18:34 +00:00
Jeremy Fincher
738d1bbde3
Removed addbadword and removebadword; changed the name of addbadwords and removebadwords to add and remove, respectively.
2003-11-19 23:15:08 +00:00
Jeremy Fincher
e20f69288c
Handled empty lines appropriately in supyfact files.
2003-11-19 22:39:01 +00:00