Commit Graph

2474 Commits

Author SHA1 Message Date
Jeremy Fincher
8d04bdbcb6 Refactored some stuff to be a bit cleaner. 2003-10-30 03:38:55 +00:00
Jeremy Fincher
50c18a6727 That's some ugly output there, buddy. 2003-10-30 03:19:18 +00:00
Jeremy Fincher
51c5d53259 Added defaultplugin. 2003-10-30 03:08:52 +00:00
Jeremy Fincher
f4e4233704 CanonicalNamed the toggles. 2003-10-30 02:38:11 +00:00
Jeremy Fincher
1280dbdc90 Added test, fixed a bug it found. 2003-10-30 02:33:04 +00:00
Jeremy Fincher
288dc6cf4c Changed repr to pprint.pformat. 2003-10-30 02:20:36 +00:00
Jeremy Fincher
8819240864 Added a few commented-out debug printfs and set self.__class__.toggle instead of self.toggle. 2003-10-30 02:13:17 +00:00
Jeremy Fincher
47a9d24434 Changed setconf to show what the value of the variable is if we don't give something to set it. 2003-10-30 02:13:12 +00:00
Jeremy Fincher
83e16b0d89 Fixed Google test. 2003-10-30 02:10:17 +00:00
Jeremy Fincher
29d20d2513 Changed the color command to a toggle. 2003-10-30 02:03:49 +00:00
Jeremy Fincher
b14bc6e3b7 changed testEmptyNest a slight bit. 2003-10-30 00:15:17 +00:00
Jeremy Fincher
646e41bd53 Changed the regexp for sfSnarfer to make it a little easier to read. 2003-10-30 00:13:00 +00:00
Jeremy Fincher
2ed2f6a5ff Used the wrong variable in assertNoResponse. 2003-10-30 00:12:39 +00:00
Jeremy Fincher
138c87f372 Changed to a ChannelPluginTestCase. 2003-10-30 00:12:22 +00:00
Jeremy Fincher
58cf080109 Fixed the nesting bug with testEval and testCalc. 2003-10-29 23:40:14 +00:00
Jeremy Fincher
e556e783b1 Moved ambiguous command handling to Owner; fixed handling of empty nested command. 2003-10-29 23:02:27 +00:00
Daniel DiPaolo
0011fff94e Changed all %d's to %s's 2003-10-29 22:05:53 +00:00
Jeremy Fincher
e5e507f3d9 Added adminition against using %d. 2003-10-29 22:04:57 +00:00
James Vega
afc74b96f0 Fix replacement of my/me not obeying word boundaries. Also created tests to
ensure it stays fixed.
2003-10-29 20:27:09 +00:00
Daniel DiPaolo
8cc9620a4b Fixed ordering by priority when requesting todos for a person (or self) 2003-10-29 20:12:02 +00:00
Daniel Berlin
70be390875 Add standard substitution function 2003-10-29 20:08:34 +00:00
Daniel DiPaolo
bef71df2ee Added a test to make sure I don't make that stupid mistake (not including "msg"
in irc.error) in the same place again.
2003-10-29 17:39:07 +00:00
Daniel DiPaolo
3b0276e688 Fixed a dumb dumb bug where I forgot to include the "msg" arg for irc.error 2003-10-29 17:26:05 +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
Jeremy Fincher
50e1690fca Added test for empty nested command. 2003-10-29 16:09:20 +00:00
Jeremy Fincher
afbf513df2 Changed not to use the deprecated new module. 2003-10-29 13:06:17 +00:00
Jeremy Fincher
08f5adf362 Ew, ugly SQL!plugins/Quotes.py 2003-10-29 08:38:15 +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
James Vega
0400f02f13 Added the Toggleable.__init__'s and therefore the help commands 2003-10-29 07:23:20 +00:00
Jeremy Fincher
6d36432508 Fixed __init__ and its error with instancemethods not having adjustable __doc__ strings. 2003-10-29 06:35:02 +00:00
James Vega
535cdde13c Switched the togglesnarfers to the new Toggleable mixin 2003-10-29 06:06:56 +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 Berlin
0c96bf73a7 Made replies all one message 2003-10-29 02:41:03 +00:00
Jeremy Fincher
cd4270942d Made toggle require either #channel.op or admin capability. 2003-10-29 00:13:43 +00:00
Jeremy Fincher
5617dd6843 Added some commented out tests in case we decide to change the interface of ToggleDictionary. 2003-10-29 00:05:34 +00:00
Jeremy Fincher
acd36c80d4 Added toggles for auto-{op,voice,halfop} 2003-10-29 00:04:30 +00:00
Jeremy Fincher
372d22e6c8 Fixed bugs in Toggleable. 2003-10-29 00:01:34 +00:00
Jeremy Fincher
4f673181e8 Added Toggleable mixin. 2003-10-28 23:32:56 +00:00
Jeremy Fincher
e49e5d02f4 Changes to ToggleDictionary. 2003-10-28 23:14:49 +00:00
Jeremy Fincher
2757f239b1 Added solaris to the list of supported operating systems for memory stats. 2003-10-28 20:18:33 +00:00
Daniel DiPaolo
05f8d6a2f8 Added "todo change" and tests for it. 2003-10-28 18:43:43 +00:00
Daniel DiPaolo
f9d97c91f5 Overhaul of Todo, somewhat. Made everyone's todos accessible by anyone, either
by id or by username.  Also, made it so todos are never deleted, just set to
inactive.
2003-10-28 17:40:41 +00:00
Daniel DiPaolo
2527f47cb6 Punctuation ("?!") is now stripped from keys before insertion into the db 2003-10-28 15:30:43 +00:00
Jeremy Fincher
d174226c5c Added the ability to do hashed passwords. 2003-10-28 15:13:53 +00:00
James Vega
8ae59844bf Fix some typos I thought I had already committed 2003-10-28 14:29:06 +00:00
Jeremy Fincher
9825356e95 Cleaned up error message when exceptions are raised on loading the plugin module. 2003-10-28 14:23:12 +00:00
Jeremy Fincher
b63f2170e8 Added a saltHash function. 2003-10-28 14:20:00 +00:00
Jeremy Fincher
80deb23897 Fix for relay whois bug with the reporting of status on channels. 2003-10-28 14:08:11 +00:00
Jeremy Fincher
186239ee84 Fixed an infinite loop problem in the new invalidCommand code. 2003-10-28 06:57:52 +00:00