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
Jeremy Fincher
c17f85e51b
Fixed escaping IOError from add command.
2003-11-19 22:36:58 +00:00
Jeremy Fincher
909597b7ac
Changed the name of the commands in Markov and added a test (that currently only tests documentation) for Markov.
2003-11-19 22:25:19 +00:00
Jeremy Fincher
0b90d80fee
Caught the right error.
2003-11-19 14:56:21 +00:00
Stéphan Kochen
15639d8a1d
Multiple choices for polls. Still broke.. needs tests.. etc etc. Work in progress :)
2003-11-18 22:48:28 +00:00
Jeremy Fincher
23db0b7aaa
Handled the case where one factoid is returned from Factoids.search better.
2003-11-18 17:49:10 +00:00
Jeremy Fincher
9d44399ed5
Fixed an uncaught exception in Debian.version.
2003-11-18 10:49:15 +00:00
Daniel DiPaolo
20674eaece
Updated the plugin docstring.
2003-11-17 23:17:58 +00:00
Jeremy Fincher
2cbcddb582
Caught the LookupError raised from a bad encoding.
2003-11-17 23:10:14 +00:00
Jeremy Fincher
d7e95f5e87
Tightened the check for a proper auction id and refactored _getResponse.
2003-11-17 22:52:45 +00:00
James Vega
f57f57c5be
Fixed some bugs in Bugzilla and added some tests to try and catch more
...
problems in the future.
2003-11-17 19:57:07 +00:00
James Vega
5cfe9ffd3e
Yay! We finally have a threaded Markov plugin
2003-11-17 18:21:44 +00:00
James Vega
8dbaae1d37
Added a configure() question about aliasing sf to Sourceforge. Updated the
...
snarfer configurables so that they default to off and made the configure()
question available to all users. Updated the snarfer tests to ensure the
snarfer configurable is true before starting the tests.
2003-11-17 18:10:53 +00:00
James Vega
31c05776c6
Update configure() and configurable default states so that the default for
...
snarfers is off and all users are asked whether they would like to enable the
snarfer
2003-11-17 18:09:42 +00:00
James Vega
f6e848511b
All tinyurl related commands now query the local database to see if a tinyurl
...
already exists for the url that is being snarfed/passed as an argument. If
not, tinyurl.com is used to generate the tinyurl
2003-11-17 17:30:53 +00:00
James Vega
2909c4a8c6
@ebay -> @auction
2003-11-17 16:55:11 +00:00
James Vega
f7e44d8f50
Better error message and make sure an int is provided when we need it
2003-11-17 16:25:34 +00:00
Jeremy Fincher
47817f8ea3
Updated error message for overflow.
2003-11-17 15:55:43 +00:00
Jeremy Fincher
76f4a8fb95
Forgot to change configure to reflect the revenge update.
2003-11-17 14:46:10 +00:00
Jeremy Fincher
e0542698dc
Converted revenge to a configurable; still considering ChanServ.
2003-11-17 14:37:43 +00:00
Jeremy Fincher
8dea8d47ae
Changed snarer to auction-snarfer.
2003-11-17 08:36:07 +00:00
Jeremy Fincher
df0652302c
Fixed help string for alias add.
2003-11-17 06:06:43 +00:00
Jeremy Fincher
3a571c3fb9
Updated to thread tinyurl (there's still an un-passing test, but it seems to work on the bot itself).
2003-11-17 06:02:26 +00:00
Jeremy Fincher
889ed86026
Bugfixes (and removed threading).
2003-11-17 06:00:56 +00:00
Jeremy Fincher
398045b1e4
Commented out a debug.printf.
2003-11-17 03:42:56 +00:00
James Vega
8ec0a350a0
The configurable key wasn't updated properly.
2003-11-17 01:55:11 +00:00
James Vega
b6efb5c212
configure() should append 'load Dict' to onStart, not 'load Dictionary'
2003-11-17 01:27:21 +00:00
Jeremy Fincher
320d6b003c
Fix for bug #842414 .
2003-11-15 08:09:29 +00:00
Jeremy Fincher
27ce432b64
Made ChannelDBHandler threadsafe, and wrote a DBHandler for threadsafe non-channel-based databases.
2003-11-15 07:56:27 +00:00
Jeremy Fincher
dc93f865db
Changed some maps/filters to imaps/ifilters for efficiency reasons (I was bored, basically).
2003-11-15 04:46:09 +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
Jeremy Fincher
28d371aeca
Fixed spell problems; stopped caching spell fds (it's not called often enough to care, or go through the trouble).
2003-11-15 04:25:28 +00:00
Jeremy Fincher
927b1d4e65
Removed vestigal quotegrabs table statement.
2003-11-14 19:10:51 +00:00
Jeremy Fincher
d4e5047ebf
Fixed bugs in option parsing.
2003-11-14 15:49:13 +00:00
James Vega
7a9482a176
Let ++/-- regexps have whitespace on the end
2003-11-14 15:09:30 +00:00
James Vega
557e518a96
Of course I can't reproduce the bug when I'm testing the fix for it, but this
...
should take care of the bad error message.
2003-11-14 14:06:19 +00:00
Jeremy Fincher
f3e2e2a1ed
Added a squish command/outfilter.
2003-11-13 20:24:40 +00:00