Commit Graph

28 Commits

Author SHA1 Message Date
Jeremy Fincher
bb9cb5d67c Fixed some bugs, tested some more and fixed those two. Boomshakalaka! 2003-11-10 22:43:19 +00:00
Daniel DiPaolo
473ce16776 Added more tests for the lexer, to make sure stuff within dangling parens is
left alone.
2003-11-10 20:25:24 +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
3995cc3414 Switched to assertError for when no factoids exist and added testing of author
ordering
2003-11-06 20:22:02 +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
96f299c10c Included plugins.standardSubstitute in factoids parsing now 2003-11-02 23:45:31 +00:00
Daniel DiPaolo
82d2d8162a Fixed a bug where addFactoid wasn't splitting on the first "is" 2003-11-01 22:08:52 +00:00
Daniel DiPaolo
f0b850118b MoobotFactoids should be pretty dang close to finished now. Got the "_is_"
syntax working just fine.
2003-10-29 03:01:02 +00:00
Daniel DiPaolo
2527f47cb6 Punctuation ("?!") is now stripped from keys before insertion into the db 2003-10-28 15:30:43 +00:00
Daniel DiPaolo
63c86ec366 Removed a test that was left over from the unified Dunno/MoobotFactoids module 2003-10-28 06:13:05 +00:00
Daniel DiPaolo
084fe1854f More MoobotFactoids/Dunno separation fun and fixes 2003-10-28 05:31:51 +00:00
Jeremy Fincher
660ba14e96 Fixed some failing test cases. 2003-10-24 11:03:43 +00:00
Daniel DiPaolo
1b25a207bf Made MoobotFactoids case insensitive, and added tests to make sure that
case-insensitivity works.
2003-10-24 01:03:18 +00:00
Jeremy Fincher
f09928e5cd Fixed RFE #827285. 2003-10-21 23:21:32 +00:00
Jeremy Fincher
232c634436 Made to load Owner by default. 2003-10-21 20:47:55 +00:00
Daniel DiPaolo
86b633cfe6 Fixed MoobotFactoids tests to jive with new "glob by default" behavior. 2003-10-21 20:23:59 +00:00
Daniel DiPaolo
d470488788 Fixed to accomodate changed plugin names ("MiscCommands" -> "Misc", e.g.) 2003-10-21 16:54:08 +00:00
Daniel DiPaolo
d959f84b73 Got most of the dunno stuff in place. 2003-10-21 15:44:17 +00:00
Jeremy Fincher
ab2bea589a Changed the names of the src/ plugins. 2003-10-21 06:03:57 +00:00
Daniel DiPaolo
aee5c6c18e * Finished up MoobotFactoids, I think. Added delete, augmentFactoids (foo is
also bar), and replaceFactoids (no foo is bar), as well as cleaning up some
  of the regexps that were there (we allow spaces in the factoids, dummy!), and
  also made the addFactoids regexp more accomodating to other phrases with the
  word "is" in them :)  Also, updated the tests for it, of course.
2003-10-16 05:27:01 +00:00
Daniel DiPaolo
ea024def78 * Fixed some quoting issues in list*. Adopted the practice of repr()'ing all
factoid keys before displaying them (idea stolen from searchfactoids in
  Factoids).  Also fixed them in the tests as well as adding a test to insure
  that it's done right.
* Added the listkeys and listvalues commands.
2003-10-16 03:51:53 +00:00
Daniel DiPaolo
ddfd7e10e1 * LOTS of updates to the MoobotFactoids test suite, parts of which aren't ready
yet, but the test targets should be pretty static from here on out, except
  adding new tests.
* Fixed up lock and coded unlock in MoobotFactoids (actually, factored the
  common code out into one helper function that each call).
* Added the changeFactoids (=~) portion.
* Changed the table structure again (should be the last time).  Locked_by was
  redundant if we're only going to let factoid creators lock/unlock.  Removed
  it.
2003-10-16 02:03:35 +00:00
Jeremy Fincher
cb4b35704c Fixed timeouts. 2003-10-14 16:06:43 +00:00
Daniel DiPaolo
27796b01a3 * Updating MoobotFactoids tests to include more tests (testGetFactoid) 2003-10-14 15:17:08 +00:00
Daniel DiPaolo
3ae813674e * adding MoobotFactoids stuff as per jemfinch's request - though it's not quite
done yet
2003-10-13 21:22:16 +00:00