Commit Graph

826 Commits

Author SHA1 Message Date
Jeremy Fincher
44d4c98dc7 Had to do a map(int, ...) thing because sqlite sometimes sucks at that kind of thing. 2003-08-17 06:22:01 +00:00
Jeremy Fincher
958bd65b8b Shouldn't have removed it, since it has the hacks for telling me how many asserts it has done. 2003-08-17 06:18:33 +00:00
Jeremy Fincher
14043d28e2 Tyop. 2003-08-17 02:07:40 +00:00
Jeremy Fincher
b78cabaed5 Wrote some more tests for FunCommands; found some bugs in the process. 2003-08-17 02:02:53 +00:00
Jeremy Fincher
074268ffe6 Added some tests and fixed a bug they found in the title command. 2003-08-15 17:40:14 +00:00
Jeremy Fincher
bbf0f711bf Added assertError, assertRegexp, and assertRegexps to PluginTestCase 2003-08-15 06:24:44 +00:00
Jeremy Fincher
a5baf0eb41 Stopped coloring networks, it sucked. 2003-08-15 05:41:51 +00:00
Jeremy Fincher
1d9f7f331c Added a little del to the reload/unload stuff 2003-08-15 05:39:35 +00:00
Jeremy Fincher
977031163e Made Notes notify on PRIVMSG as well as JOIN. 2003-08-15 03:00:59 +00:00
Jeremy Fincher
cb6f1a1432 Made zipcode handle zipcodefor stuff. 2003-08-15 03:00:10 +00:00
Jeremy Fincher
9db6ace58b Added upkeep command. 2003-08-15 02:56:41 +00:00
Jeremy Fincher
5cacbfb18a Wrong pluralization in karma. 2003-08-15 02:56:29 +00:00
Jeremy Fincher
0415251146 Added assertNoError to PluginTestCase 2003-08-15 02:28:51 +00:00
Jeremy Fincher
d25b3894d7 Fixed bug in calc. 2003-08-15 00:42:35 +00:00
Jeremy Fincher
46cf8bb6fd Tyop. 2003-08-14 18:53:22 +00:00
Jeremy Fincher
330dfad1ea Added specific logging of CTCP requests. 2003-08-14 17:54:28 +00:00
Jeremy Fincher
936c1fd85e Re-enabled ircutils.nick under a new name (IrcString) and for a different purpose (to make IrcDict and IrcSet work properly). 2003-08-14 14:15:07 +00:00
Jeremy Fincher
0231cdcfd4 Somewhat working now. 2003-08-14 12:11:45 +00:00
Jeremy Fincher
c4005a115a Made the reload and load commands also update linecache, so tracebacks are correctly line-numbered and whatnot. 2003-08-14 12:01:37 +00:00
Jeremy Fincher
ebd2113eb3 Moved zipcode over to the FunDB module. 2003-08-14 10:51:42 +00:00
Jeremy Fincher
e30aa883cf Made the db commit before closing in ChannelDBHandler. 2003-08-13 05:53:34 +00:00
Jeremy Fincher
622f96c8d4 Made the old callbacks die before the new callbacks are loaded. 2003-08-13 05:41:48 +00:00
Jeremy Fincher
6d40bb475e Karma works now. 2003-08-12 19:38:23 +00:00
Jeremy Fincher
2dd5a522d3 Changed nick/user/host of server hostmask to be the hostmask itself. Also disabled _ircmsg import for the time being. 2003-08-12 19:12:44 +00:00
Jeremy Fincher
2a4c2ea185 Nuked ircutils.nick. Good riddance. 2003-08-12 19:12:12 +00:00
Jeremy Fincher
7fb632c49f Changed colorization slightly to include network abbreviation. 2003-08-12 19:10:27 +00:00
Jeremy Fincher
9b62a861c6 Removed an unneeded debug.printf. 2003-08-12 18:45:23 +00:00
Jeremy Fincher
88c6c7b136 Some changes to the karma stuff, I forget the details. 2003-08-12 18:44:13 +00:00
Jeremy Fincher
199de7e71a Changed the signature of canonicalColor to return an (fg, bg) pair. Also accepts a shift parameter which is the number of bits to >> the hash of the string. Both are used in Relay.py. 2003-08-12 08:50:28 +00:00
Jeremy Fincher
ad432a640a Added more color to reduce collisions; robustified relaywhois. 2003-08-12 08:48:16 +00:00
Jeremy Fincher
d81c1be4f2 Moving ChannelStats over to ChannelDB as we add karma and quotes. 2003-08-11 22:31:16 +00:00
Jeremy Fincher
39cce9c3af Changed from 's.find(x) != -1' to 'x in s' 2003-08-11 17:16:03 +00:00
Jeremy Fincher
feda60aff2 Updated some tests. 2003-08-11 17:06:42 +00:00
Jeremy Fincher
2760c1bce0 Added group and test for group. 2003-08-11 07:12:41 +00:00
Jeremy Fincher
eb6fb90801 Removed the immutability checks in IrcMsg. 2003-08-11 06:57:17 +00:00
Jeremy Fincher
241d20ea30 Removed, since gameknot was the last thing in it. 2003-08-11 05:22:51 +00:00
Jeremy Fincher
bba0e6e880 Moved gameknot stuff out to its own module. 2003-08-11 05:22:15 +00:00
Jeremy Fincher
09f2ae8412 Made PluginTestCase handle multiple plugins. 2003-08-11 05:15:16 +00:00
Jeremy Fincher
0c8ee83f92 Reduced the number of rot13 asserts to 10. 2003-08-11 05:10:36 +00:00
Jeremy Fincher
1a05dc957b Made PluginTestCase handle threaded plugins properly. 2003-08-11 05:09:59 +00:00
Jeremy Fincher
2c87c183b2 Optimized IrcMsg.__str__ slightly. 2003-08-11 05:08:33 +00:00
Jeremy Fincher
5f7656c781 Made throttling properly respect world.testing. 2003-08-11 05:07:07 +00:00
Jeremy Fincher
1bbcfa9a5e Added a semi-accurate refcount measure to objects. 2003-08-11 05:06:41 +00:00
Jeremy Fincher
0cf850dfc1 Made to use new PrivmsgCommandAndRegexp callback. 2003-08-11 03:37:15 +00:00
Jeremy Fincher
f203bca787 Added ability to define regexp callbacks in a mostly-Privmsg environment. 2003-08-11 03:34:54 +00:00
Jeremy Fincher
60fa81c268 Removed nick hack in IrcMsg; I never liked it anyway. 2003-08-10 11:25:03 +00:00
Jeremy Fincher
936effb2bc Removed since the bug was fixed in 2.3. 2003-08-10 11:23:49 +00:00
Jeremy Fincher
d7990d874e Added first plugin test case, mostly for example. 2003-08-10 11:22:53 +00:00
Jeremy Fincher
84b96108b5 Added TestCase subclass for testing plugins. (Also removed Cmd class from previous attempt) 2003-08-10 11:22:18 +00:00
Jeremy Fincher
f9e6777f08 Added more docstrings. 2003-08-10 10:45:44 +00:00