Commit Graph

2357 Commits

Author SHA1 Message Date
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
367d561d10 Removed the test for ToggleDictionary, pending the complete removal of Toggleable. 2003-11-08 07:47:12 +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
b4e12a10bc Fixed some bugs. 2003-11-08 00:10:09 +00:00
Jeremy Fincher
143295104a Updated. 2003-11-08 00:09:54 +00:00
Jeremy Fincher
362ca56305 Fixed some bugs, added a test for ConfigurableDictionary. 2003-11-07 23:36:46 +00:00
Jeremy Fincher
248312fe05 Added a test for lithp. 2003-11-07 22:31:52 +00:00
Jeremy Fincher
cbe13abbf8 Added a ConfigurableTypes class for various type converters. 2003-11-07 20:16:14 +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
Jeremy Fincher
901a225619 Added safeEval. 2003-11-07 19:40:03 +00:00
James Vega
900f2a97f9 Make sure '@action' works 2003-11-07 19:09:55 +00:00
Jeremy Fincher
646cbe4c32 Fixed stupid syntaxerror. 2003-11-07 18:59:55 +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
Jeremy Fincher
df88fc99d3 Removed an assertion that was asserting a condition that didn't need to be true. 2003-11-07 18:44:18 +00:00
Jeremy Fincher
9b6dce4961 Committed partial Configurable implementation (gotta go back home and hack on it more later). 2003-11-07 15:42:15 +00:00
James Vega
7d5a7bf7f0 The purpose of help has changed and morehelp is no longer a valid command.
help -> syntax, morehelp -> help
2003-11-07 15:10:00 +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
4200349aea Forgot to actually creat the _snarfedUrls attribute. 2003-11-07 14:10:28 +00:00
Jeremy Fincher
867814eb1d Oops, forgot to commit this. 2003-11-07 12:47:36 +00:00
Jeremy Fincher
5dd35ea601 Untested, but I wanted to get urlSnarfer in there. 2003-11-07 12:40:18 +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
12c52807f8 Default displaying of usage examples to False until we put the example strings
back in
2003-11-06 20:49:37 +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
James Vega
3995cc3414 Switched to assertError for when no factoids exist and added testing of author
ordering
2003-11-06 20:22:02 +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
Jeremy Fincher
c746f9459b Optimization to hostmaskPatternEqual. 2003-11-05 22:21:43 +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
Daniel DiPaolo
b14ee76ca0 Added 'chanignores' command to list current channel ignores. 2003-11-05 17:22:38 +00:00