Commit Graph

1182 Commits

Author SHA1 Message Date
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
Jeremy Fincher dd4c09e1a4 Updated to include timeouts on the connection; changed name back to Dict.py. 2003-11-12 00:46:26 +00:00
Jeremy Fincher e828c3350e Need a return after the dispatch to _oldnotes. 2003-11-11 17:09:45 +00:00
James Vega d60df81a40 zeropad the color code used in colorize so that we don't lose characters, at
least any more than we already lose to the irc character limit, which will be
even more now that we are zeropadding...
2003-11-11 16:33:38 +00:00
James Vega e9b64d443a Add support for plain-text google groups links. 2003-11-11 16:32:28 +00:00
James Vega 2b55842655 Fix the help strings for the bug{,s} and rfe{,s} commands. Remove the generic
Exception catches. Give a better response when bugs and rfes receive a bug
number. Add various tests.
2003-11-11 16:04:27 +00:00
Jeremy Fincher 5149d17b6a Made Configurable persistent. 2003-11-11 15:58:20 +00:00
Jeremy Fincher 94041acb9b Changed to use utils.abbrev to allow any unambiguous abbreviation. 2003-11-11 14:14:34 +00:00
Jeremy Fincher 2e0b225d0c Changed the needed= keyword arg in privmsgs.getArgs to required=. 2003-11-11 13:20:06 +00:00
Jeremy Fincher 86e2110010 Changed the name of Notes to Note and changed some command names in Note. 2003-11-11 12:59:27 +00:00
Jeremy Fincher 0ca15118e7 Made Aliases persistent. 2003-11-11 12:18:25 +00:00
Jeremy Fincher 225ee0ed6a Oops, SyntaxError. 2003-11-11 12:11:13 +00:00
Jeremy Fincher fdde2759df Reordered superclasses so the proper die() method is called. 2003-11-11 11:45:44 +00:00
Jeremy Fincher 754978850c Give a proper error message for possibly uncaught exception: bug #839653. 2003-11-11 11:37:17 +00:00
Jeremy Fincher 3b6b478aac Moved action to Misc from Utilities. 2003-11-11 11:32:09 +00:00
Jeremy Fincher 405f4ab8d9 Fixed bugs #833206 and #837628. 2003-11-11 11:30:32 +00:00
Jeremy Fincher c50e27a278 Fixed bug #838900. 2003-11-10 23:39:44 +00:00
Jeremy Fincher 4cc9579582 Fixed bug in tests; it was caused by the prefix character being snarfed in along with the URL. 2003-11-10 23:24:19 +00:00
Jeremy Fincher bb9cb5d67c Fixed some bugs, tested some more and fixed those two. Boomshakalaka! 2003-11-10 22:43:19 +00:00
James Vega 9d8d47bbe7 Fix the @seen --user bug and add a test to keep it fixed 2003-11-10 16:02:17 +00:00
Jeremy Fincher 8f1329b20e Refactored a touch. 2003-11-10 15:26:55 +00:00
Jeremy Fincher 973cc66793 Didn't have a .users before the getUser. 2003-11-10 15:21:08 +00:00
Jeremy Fincher 9dd2680a9f Fix for bug #839053 (parens without bars not handled correctly). 2003-11-10 10:46:57 +00:00
James Vega 4b94ebe146 Add handling of 'Invalid Item' pages. Update tests to check 'Invalid Item'
handling and to parse another active .ca page
2003-11-09 03:15:24 +00:00
Jeremy Fincher 234728b322 Changed to Configurable. 2003-11-08 09:51:05 +00:00
Jeremy Fincher 024f462361 Converted to Configurable. 2003-11-08 09:44:04 +00:00
Jeremy Fincher 6519d08ed4 Removed the Toggleable subclass, since it wasn't being used at all (accidentally committed earlier, I'm sure). 2003-11-08 09:28:02 +00:00
Jeremy Fincher 3275859597 Converted to Configurable. Also reverted the _urlRe back to the old version, which works better. I don't care that parentheses are valid URL characters, they simply never happen in practice. Practicality beats Purity. 2003-11-08 09:26:33 +00:00
Jeremy Fincher c434925798 Updated to use Configurable. 2003-11-08 09:02:30 +00:00
Jeremy Fincher f2d3e99346 Converted to Configurable. 2003-11-08 08:12:25 +00:00
Jeremy Fincher 3ed58d9115 Updated to use Configurable. 2003-11-08 08:07:44 +00:00
Jeremy Fincher 64e664e0bc Converted to use Configurable instead of Toggleable. 2003-11-08 08:01:34 +00:00
Jeremy Fincher 2058d50eb3 Converted to Configurable. 2003-11-08 07:37:41 +00:00
Jeremy Fincher 5fb5533e49 Hopefully fixed bugs in Unix.spell once and for all. 2003-11-08 07:29:45 +00:00
Daniel DiPaolo 4711e227f4 Fixed a few more metacharacter DoS bugs. 2003-11-08 03:16:24 +00:00
Jeremy Fincher e5249c859d Updated to use Configurable. 2003-11-08 00:10:38 +00:00
Jeremy Fincher 143295104a Updated. 2003-11-08 00:09:54 +00:00
Jeremy Fincher 69adce4a57 Added Configurable class and changed Ebay to use it (as an example). 2003-11-07 20:11:37 +00:00
James Vega ee7ce27b61 @echo should reply with help when it receives no arguments 2003-11-07 18:51:49 +00:00
James Vega ca8ed7204b Added a colorize command 2003-11-07 18:49:26 +00:00
James Vega c32939ffb1 Using 'was url)' caused problems since () are legal characters in a url.
Switched to 'was <url>)' for tinysnarf replies.
2003-11-07 14:59:33 +00:00
James Vega 25aacc3cd7 Add name ordering and mode-characters for relay names. Name ordering is also
done by mode (ops sorted, then voices, etc)
2003-11-07 14:54:48 +00:00
Jeremy Fincher b4a56057f1 Added some much tighter error-checking to the spell command; also used select to make sure the file handle is readable before trying to read from it. 2003-11-07 12:12:47 +00:00
Daniel DiPaolo 54aec8d3b2 Added hostmask and added_at to the 'get' command, to reveal impostors! 2003-11-06 21:50:23 +00:00
Jeremy Fincher abbe99fd8c Fixed bug in seen regexp that would catch the old GK rating, too. 2003-11-06 21:33:50 +00:00
Daniel DiPaolo 3f1296a858 Fixed some text to read a bit better. Still doesn't look quite perfect though 2003-11-06 21:22:13 +00:00
Jeremy Fincher 2a33262b9e Converted to be somewhat clearer than _mostDict. 2003-11-06 21:10:47 +00:00
James Vega 5a6f3ee7bb Removed the example strings until we figure out what to do with them 2003-11-06 20:42:27 +00:00
Daniel DiPaolo e00852b5ce Updated wordstats to default to checking for a word first instead of a user in
the case where there's only one arg supplied.
2003-11-06 20:21:59 +00:00
James Vega ea81e966ff ddipaolo suggested switching from a tuple to a dictionary to make things more
intuitive (if we even decide to keep this format)
2003-11-06 18:31:56 +00:00
James Vega ac97573d92 Well, now @most has one set of commands that it will run, but it required a
big dictionary.
2003-11-06 18:19:41 +00:00
James Vega a55193ea62 Added @most <popular|authored|recent> (RFE #829830) 2003-11-06 17:24:49 +00:00
Daniel DiPaolo 6ea38aeffc Changed wordstats to use accessor ircdb.users.getUser instead of accessing the
ircdb.users.users data structure directly.
2003-11-06 16:41:49 +00:00
Daniel DiPaolo adc9e0552d Overhauled 'wordstats' to handle a plethora of argument combinations and wrote
some naaaaaaaaasty tests to make sure they work as expected.
2003-11-06 06:41:04 +00:00
Daniel DiPaolo f051166e60 Added a "quotegrabs get" command to get quotegrabs by id 2003-11-05 23:56:30 +00:00
James Vega a46476a9ca Remove @url get. Add the snarfed url when replying with the tinyurl. Tests are
updated accordingly. @random will display the corresponding tinyurl when
someone decides on the display format
2003-11-05 20:37:39 +00:00
James Vega 84bff2f755 @tiny should be specifying cmd=True when I call _getTinyUrl. That was the
whole point of having a cmd parameter.
2003-11-05 19:45:55 +00:00
Jeremy Fincher 1a4780b854 Added an addword test and fixed the wordstats failures. 2003-11-05 07:59:44 +00:00