Commit Graph

67 Commits

Author SHA1 Message Date
Jeremy Fincher
42ce8c33a6 Swapped the argument order for utils.{pluralize,nItems} 2003-12-12 15:41:33 +00:00
Jeremy Fincher
f26115bb9b Fixed bug #853654. 2003-12-05 12:08:24 +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
2aaca31709 Moved Configurable out to its own module. 2003-12-03 23:14:09 +00:00
Daniel DiPaolo
42afa12765 Time to *really* finish up the stuff in the RFE and not just close it without
completely finishing it off ;)
2003-12-03 03:14:40 +00:00
Jeremy Fincher
31de7d0cf8 Fixed bugz0r! 2003-12-03 02:43:30 +00:00
Jeremy Fincher
e9b20c83ec Fixed bugz0r! 2003-12-03 02:26:20 +00:00
Jeremy Fincher
f8ea57b05f Added RFE #852937. 2003-12-03 02:17:10 +00:00
Jeremy Fincher
48166f4895 Huge update to the logging infrastructure. 2003-11-26 18:21:12 +00:00
Jeremy Fincher
5f4a541fe1 Added __revision__ strings. 2003-11-25 08:23:47 +00:00
Jeremy Fincher
581dcda8e0 Tweaked output of seen. 2003-11-21 17:32:14 +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
5149d17b6a Made Configurable persistent. 2003-11-11 15:58:20 +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
fdde2759df Reordered superclasses so the proper die() method is called. 2003-11-11 11:45:44 +00:00
Jeremy Fincher
c50e27a278 Fixed bug #838900. 2003-11-10 23:39:44 +00:00
James Vega
9d8d47bbe7 Fix the @seen --user bug and add a test to keep it fixed 2003-11-10 16:02:17 +00:00
Jeremy Fincher
8f1329b20e Refactored a touch. 2003-11-10 15:26:55 +00:00
Jeremy Fincher
973cc66793 Didn't have a .users before the getUser. 2003-11-10 15:21:08 +00:00
Jeremy Fincher
64e664e0bc Converted to use Configurable instead of Toggleable. 2003-11-08 08:01:34 +00:00
Daniel DiPaolo
e00852b5ce Updated wordstats to default to checking for a word first instead of a user in
the case where there's only one arg supplied.
2003-11-06 20:21:59 +00:00
Daniel DiPaolo
6ea38aeffc Changed wordstats to use accessor ircdb.users.getUser instead of accessing the
ircdb.users.users data structure directly.
2003-11-06 16:41:49 +00:00
Daniel DiPaolo
adc9e0552d Overhauled 'wordstats' to handle a plethora of argument combinations and wrote
some naaaaaaaaasty tests to make sure they work as expected.
2003-11-06 06:41:04 +00:00
Jeremy Fincher
1a4780b854 Added an addword test and fixed the wordstats failures. 2003-11-05 07:59:44 +00:00
Jeremy Fincher
9e94295d34 Fixed possible raised KeyError. 2003-11-05 07:43:48 +00:00
Jeremy Fincher
71791ab60b Added wordstats and whatnot. 2003-11-05 06:09:17 +00:00
Jeremy Fincher
d548447750 Moved Karma off into its own plugin. 2003-11-04 08:42:11 +00:00
Jeremy Fincher
d816bc6a68 Added selfstats toggle; Fixed karma to be case-insensitive but case-preserving. 2003-11-02 18:59:06 +00:00
Daniel DiPaolo
15b18edc11 made karma case-insensitive 2003-10-31 21:03:35 +00:00
Jeremy Fincher
2a0687e46c Fixed AttributeError in seen. 2003-10-29 16:18:16 +00:00
Jeremy Fincher
2b68eb908f Make seen not error if it doesn't recognize the user. 2003-10-29 16:15:33 +00:00
Daniel DiPaolo
bfdbda625a Changed karma pluralization to use utils.pluralize() and fixed the tests to
avoid erroring due to ambiguous commands for 'stats' (since 'User' is also
loaded for the tests)
2003-10-29 07:46:49 +00:00
Jeremy Fincher
5ae13a9422 Made the bot keep stats on himself. 2003-10-24 22:29:30 +00:00
Jeremy Fincher
68dd30cb8b Made stats default to the name of the person asking. 2003-10-23 20:59:51 +00:00
Jeremy Fincher
e189603220 Fixed multiple-karma responses in the face of no results. 2003-10-22 03:40:00 +00:00
Jeremy Fincher
0ab3347567 Updated ChannelDB to use user ids instead of usernames. 2003-10-20 07:39:40 +00:00
Jeremy Fincher
e760320ca0 Changed to use the repr of the last message. 2003-10-20 06:22:15 +00:00
Jeremy Fincher
d307421665 Added QUIT statkeeping. 2003-10-16 13:34:02 +00:00
Jeremy Fincher
e4c64ec2ca Made *everything* case-insensitive. 2003-10-14 05:54:11 +00:00
James Vega
84f931bb9f Lots of pylint cleanups 2003-10-11 21:03:02 +00:00
Jeremy Fincher
bc3ec9f70c Fixed pluralization bug in stats command. 2003-10-09 19:20:50 +00:00
Jeremy Fincher
fc24f3ded1 Made seen case-insensitive. 2003-10-09 06:43:58 +00:00
Jeremy Fincher
7b28caba1b Converted karma stuff to use addressedRegexps. 2003-10-09 05:08:18 +00:00
Jeremy Fincher
de5202cc27 Bugfix. 2003-10-06 21:17:21 +00:00
Jeremy Fincher
ec0de6431d Changed baseplugin not to require 'from baseplugin import *' because fix is now munging builtins. 2003-10-05 12:56:56 +00:00
Jeremy Fincher
2cd657c9a9 Made sure ChannelDBHandler is before callbacks.Privmsg* in the inheritance order so self.die() is ChannelDBHandler's and not callbacks.Privmsg*. 2003-10-05 04:41:49 +00:00
Jeremy Fincher
3af3b4c985 __all__'ed baseplugin.py, updated other plugins to reflect that. 2003-10-04 13:53:13 +00:00
Jeremy Fincher
32eb85e3c5 Fix for KeyError escaping from stats. 2003-10-02 00:43:38 +00:00
Jeremy Fincher
de7da5abc1 Fixed --user to actually work. 2003-10-02 00:42:26 +00:00
Jeremy Fincher
dcffc5df62 Minor change: names -> nicks in @seen help. 2003-10-02 00:24:36 +00:00