Commit Graph

1725 Commits

Author SHA1 Message Date
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
James Vega
fafa01659c Add some more tests to verify the depluralization efforts. Also split the http
and https snarfer tests into seperate functions.
2003-10-16 02:43:44 +00:00
James Vega
a428c6fc91 Add slightly better handling of de-pluralization 2003-10-16 02:42:47 +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
James Vega
f567f36e4c Fixed a bug with debfile so that it doesn't error out when there are no
arguments
2003-10-16 01:59:17 +00:00
Jeremy Fincher
1a51ced500 Added support for environment variables in pathnames. 2003-10-15 20:34:25 +00:00
Jeremy Fincher
63135c4c48 Removed a debugging print. 2003-10-15 06:53:54 +00:00
Jeremy Fincher
ba9e9f4397 Max out the recorded uptimes at 50. 2003-10-15 06:25:32 +00:00
Jeremy Fincher
f987a6e69b Removed several instances where it would raise exceptions the message after parting a channel. 2003-10-15 05:56:32 +00:00
Jeremy Fincher
bd7f1f9389 Fixed the snarfer to allow https links. 2003-10-15 05:37:21 +00:00
Jeremy Fincher
b6fb71d5a5 Added one minor thing so *all* unexpired news items aren't shown. 2003-10-15 05:30:02 +00:00
Jeremy Fincher
5be65f1caf Added changenews and oldnews. 2003-10-15 05:25:26 +00:00
Jeremy Fincher
ed3d757081 Made perlReToPythonRe always raise a ValueError instead of re.error. 2003-10-15 05:07:07 +00:00
Jeremy Fincher
388e17130d Oops, left some debugging prints in. 2003-10-15 04:49:47 +00:00
Jeremy Fincher
0ac86a778d Made sure ChannelPluginTestCase only reworks the message if its command is PRIVMSG. 2003-10-15 04:46:40 +00:00
Jeremy Fincher
6476e63f20 Added an unban command. 2003-10-15 04:46:19 +00:00
Jeremy Fincher
db720ce810 Added verbose command line option. 2003-10-15 04:43:52 +00:00
Jeremy Fincher
1edbaab882 Removed a comment. 2003-10-15 03:32:18 +00:00
Jeremy Fincher
6712760e5b Added test to make sure MODEs came before PRIVMSGs. 2003-10-15 03:19:16 +00:00
Jeremy Fincher
50d777e41f Added test to make sure unban worked. 2003-10-15 03:16:35 +00:00
Jeremy Fincher
0385b71235 Updated. 2003-10-14 21:27:17 +00:00
Jeremy Fincher
cb4b35704c Fixed timeouts. 2003-10-14 16:06:43 +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
27796b01a3 * Updating MoobotFactoids tests to include more tests (testGetFactoid) 2003-10-14 15:17:08 +00:00
James Vega
cabfab3d0c Only swap the background color of the td if we know for sure that we are going
to be displaying one. Fixes the problem of blocks of tds that are all the same
color.
2003-10-14 12:55:08 +00:00
Jeremy Fincher
0064748d68 Whoa, that was some old code -- written before IrcMsg had an __len__, apparently. 2003-10-14 06:41:52 +00:00
Jeremy Fincher
79ea3b1363 Moved bestuptime over to the Status plugin. 2003-10-14 06:39:31 +00:00
Jeremy Fincher
e4c64ec2ca Made *everything* case-insensitive. 2003-10-14 05:54:11 +00:00
Jeremy Fincher
76c4b7ed4c Converted the Irc class to use IrcCommandDispatcher. 2003-10-14 04:48:45 +00:00
Jeremy Fincher
b515336d14 Added commented-out test for log with multiple arguments. 2003-10-14 04:25:09 +00:00
Jeremy Fincher
66d019827b Minor changes. 2003-10-14 03:55:04 +00:00
Jeremy Fincher
b692681e1c Found bug in utils.sortBy, mentioned by Tim Peters on Python-dev. Fixed, and tested. 2003-10-14 03:47:35 +00:00
Jeremy Fincher
2bb8f950a2 Updated. 2003-10-14 03:38:07 +00:00
Jeremy Fincher
8e37d2ae88 Made loadPluginModule case-insensitive. 2003-10-14 03:34:47 +00:00
Jeremy Fincher
56016de47c Added more information to the load help. 2003-10-14 03:06:47 +00:00
Jeremy Fincher
8fd6a094de Made the help for wtf more descriptive. 2003-10-14 02:31:44 +00:00
Jeremy Fincher
cfb4a0ba07 Added assertAction to PluginTestCase. 2003-10-14 00:41:11 +00:00
Jeremy Fincher
6150a21ba3 Added an assert to unAction. 2003-10-14 00:39:54 +00:00
Jeremy Fincher
aa1b992643 Added error reporting to regexp-based callCommands. 2003-10-13 23:20:15 +00:00
Jeremy Fincher
a5042e2a3d Oops, debug.reset opens all the fds into the same file! 2003-10-13 23:07:07 +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
Jeremy Fincher
578eac1dda Updated. 2003-10-13 05:35:40 +00:00
Jeremy Fincher
90717d2839 Updated. 2003-10-13 05:11:20 +00:00
Jeremy Fincher
f706191201 Added test for rpn 2 degrees and fixed rpn to pass it. 2003-10-13 04:54:57 +00:00
Jeremy Fincher
33cd4aa908 Updated. 2003-10-13 04:06:13 +00:00
Jeremy Fincher
1d5dfa070d Added an optional key argument to cycle. 2003-10-13 03:58:37 +00:00
Jeremy Fincher
6c3e193b93 Fixed bug found by G-LiTe and added a test. 2003-10-13 03:47:33 +00:00
Jeremy Fincher
68a84e17b0 Changed date from 2002 to 2003. 2003-10-12 15:12:18 +00:00
Jeremy Fincher
a0fe5410c0 Fixed bug in perlReToReplacer where escaped slashes would stay in the output. 2003-10-12 13:11:53 +00:00
Jeremy Fincher
367569f1c7 Updated. 2003-10-12 12:49:27 +00:00