Commit Graph

5 Commits

Author SHA1 Message Date
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
Daniel DiPaolo
41f1cddbcf * Fixed INSERT query in addFactoids to mirror the changes made in the table
structure a few revisions back (oops)
2003-10-14 16:00:50 +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