Commit Graph

76 Commits

Author SHA1 Message Date
Jeremy Fincher
98150a971e Caught some exceptions, as well as made it technically more typesafe and rocking. 2004-09-16 14:48:55 +00:00
Jeremy Fincher
b0c00fb82f Converted to use tokenizedCommand rather than invalidCommand. 2004-09-16 10:54:42 +00:00
Jeremy Fincher
4d69806920 Removed old regexp docstrings. 2004-09-13 00:41:15 +00:00
Jeremy Fincher
9ff5f051bf Forgot an irc argument. 2004-09-12 20:36:36 +00:00
Jeremy Fincher
4f9e67a796 Fixed tests, and changed to use invalidCommand rather than addressedRegexps so commands may now be nested in definitions. 2004-09-12 20:24:08 +00:00
Jeremy Fincher
eb9bd70599 Updated to use the new plugin ordering method. 2004-09-10 06:36:27 +00:00
Jeremy Fincher
858e9e4886 Some slight fixes. 2004-09-08 22:57:09 +00:00
Daniel DiPaolo
ebb7becd4f Spankin' new abstraction! 2004-09-05 17:29:22 +00:00
Jeremy Fincher
3db2904ed0 Updated for new authors abstraction (single points of control are good). 2004-09-01 06:06:54 +00:00
Jeremy Fincher
17ca364350 Normalized our 'take no arguments' strings. 2004-08-19 11:58:17 +00:00
Jeremy Fincher
f9c61271ea w00, less path mungingEXCLAIMEXCLAIM 2004-07-24 05:18:26 +00:00
James Vega
315810d08e yay! no more stray whitespace 2004-07-21 19:36:35 +00:00
Daniel DiPaolo
8dccee975f Unclaiming Note (sorry, ink), claiming Todo, fixing the other author strings. 2004-05-06 16:33:43 +00:00
Daniel DiPaolo
a764359d3d Author strings, yay. 2004-05-06 15:12:41 +00:00
Daniel DiPaolo
4e7d862373 Removing the "see foo" referencing code as it is error-prone (it's really tough
to accurately track self-referencing leading to recursion and circular
references leading to infinite looping) and I don't think it's all that useful.
Fixing it would make the already-contorted code of this plugin even worse!
2004-03-11 04:50:09 +00:00
James Vega
3128255c0f MoobotFactoids.randomfactoid must've felt so lonely not having anyone to test
that he was ok.  Add that to him having an unwanted msg lying around, and he
must've been quite sad.
2004-02-17 21:41:52 +00:00
Daniel DiPaolo
a35e185c4b Just changed a var name to be more clear in _lock for MF, and finally fixed the
MF tests so that they all pass (without removing test functionality)!
2004-02-17 06:33:23 +00:00
Jeremy Fincher
bef64f2b21 Should fix bugz0r with OptionList.tokenize. 2004-02-17 05:14:57 +00:00
Daniel DiPaolo
5aef3f2e02 Removed all instances of repr()'ing (or "%r" % ...'ing) factoid values or keys,
as that mucks about with unicode input/output which is desirable to keep.
2004-02-10 14:01:50 +00:00
Daniel DiPaolo
2d21655cb2 blootbot-compatibility (and cool feature desire) - moobot factoids that are
like "see <factoid key>" now actually return the value of that factoid key
2004-01-31 06:52:28 +00:00
James Vega
fac4c5624c Removed any unnecessary configure methods (ones that only called
conf.registerPlugin) and changed all other configure methods to accept the
advanced argument instead of onStart.
2004-01-29 23:58:27 +00:00
James Vega
bc11f76166 Updated configure() to only take one argument (onStart) and switched all of
the onStart.append('load pluginName') calls to
conf.registerPlugin('pluginName', True)
2004-01-28 22:19:25 +00:00
Jeremy Fincher
6ca78924f3 HUUUUUUUUGE Configuration change. 2004-01-18 07:58:26 +00:00
Daniel DiPaolo
9d7c1a64c2 Make it so that ACTIONs don't get added as factoids 2004-01-11 23:22:59 +00:00
Jeremy Fincher
845142e688 Updated replyNotRegistered stuff. 2004-01-08 21:49:10 +00:00
Jeremy Fincher
530aec2be0 Updated the reply infrastructure. No more msg, it's just not necessary. 2004-01-08 03:12:14 +00:00
Jeremy Fincher
aa7408c09b Changed over to the cool new RichReplyMethods stuff, mostly. 2004-01-07 19:09:24 +00:00
Daniel DiPaolo
7b0af3d67f Fixed a _really stupid_ error message buglet. Man I suck sometimes. 2003-12-22 01:03:09 +00:00
Jeremy Fincher
42ce8c33a6 Swapped the argument order for utils.{pluralize,nItems} 2003-12-12 15:41:33 +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
2f7d2d7f61 Gave DBHandler a .die() method. 2003-12-02 22:40:33 +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
48166f4895 Huge update to the logging infrastructure. 2003-11-26 18:21:12 +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
5f4a541fe1 Added __revision__ strings. 2003-11-25 08:23:47 +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
27ce432b64 Made ChannelDBHandler threadsafe, and wrote a DBHandler for threadsafe non-channel-based databases. 2003-11-15 07:56:27 +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
d4e5047ebf Fixed bugs in option parsing. 2003-11-14 15:49:13 +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
bb9cb5d67c Fixed some bugs, tested some more and fixed those two. Boomshakalaka! 2003-11-10 22:43:19 +00:00
Jeremy Fincher
9dd2680a9f Fix for bug #839053 (parens without bars not handled correctly). 2003-11-10 10:46:57 +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
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
cc94948d10 Fixed greedniess of a few regexes and did some associated fixes. 2003-11-03 06:25:02 +00:00
Daniel DiPaolo
0de26afa99 changed factoids to use irc.reply(..., action=True) instead of queueMsg 2003-11-03 03:23:00 +00:00