Commit Graph

1139 Commits

Author SHA1 Message Date
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
Jeremy Fincher
563e5ad2bf Style updates. 2003-11-13 19:21:22 +00:00
Jeremy Fincher
d496328e81 Fixed bug in formatting of pydoc. 2003-11-13 17:56:51 +00:00
Jeremy Fincher
02b2eddd45 Multiple bugs that couldn't be tested while the dict.org server was down have now been tested, found, and eradicated. 2003-11-13 17:11:52 +00:00
James Vega
965d8e0b5f The dots need to escape from tinyurl 2003-11-12 17:30:24 +00:00
James Vega
4ce677bc6e Slight syntax fix for @weather reply 2003-11-12 17:22:23 +00:00
James Vega
988ac324b4 Not all tinyurls end in 4 random characters, so I shouldn't be looking for 4
characters. Switched to \w+
2003-11-12 14:39:44 +00:00
Jeremy Fincher
e4f912fc51 Made Aliases disambiguate themselves, and made that API in Owner public. 2003-11-12 02:18:22 +00:00
Jeremy Fincher
2f2d8130df Forgot to update the configure function for the new Configurable-ishness. 2003-11-12 01:31:31 +00:00
Jeremy Fincher
760483e2f0 Converted to Configurable. 2003-11-12 01:12:57 +00:00