Commit Graph

380 Commits

Author SHA1 Message Date
Jeremy Fincher
cfb4a0ba07 Added assertAction to PluginTestCase. 2003-10-14 00:41:11 +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
f706191201 Added test for rpn 2 degrees and fixed rpn to pass it. 2003-10-13 04:54:57 +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
a0fe5410c0 Fixed bug in perlReToReplacer where escaped slashes would stay in the output. 2003-10-12 13:11:53 +00:00
James Vega
2acf59d781 Added a urlsnarfer and the appropriate tests 2003-10-11 20:52:35 +00:00
Jeremy Fincher
eb2db79d36 Fixed error messages in timeout cases to be more understandable, and added platform-independence in the -e option. 2003-10-11 17:34:52 +00:00
Jeremy Fincher
4cb7c18392 Fixed tests for all; added additional test cases for the empty sequence. 2003-10-11 12:31:45 +00:00
Jeremy Fincher
2140a8ac20 Fixed bug in test for variable. 2003-10-11 10:26:56 +00:00
Jeremy Fincher
eb01a8e99d Removed pi -> 3.14 capability. 2003-10-11 03:37:38 +00:00
James Vega
3c5978a76e Added the Sourceforge plugin (which has the commands: bugs and rfes) and the
accompanying tests
2003-10-10 13:47:06 +00:00
Jeremy Fincher
7fe7c03d81 Removed the whole dealio with PRINTF and whatnot. 2003-10-10 06:03:02 +00:00
Daniel DiPaolo
9f2352fbea * Fixed searchtodo
* Wrote tests for Todo.py
2003-10-10 05:47:19 +00:00
Jeremy Fincher
88f33ed8dd Added test for ellipsisify. 2003-10-10 04:23:14 +00:00
Jeremy Fincher
18a8f81985 Fixed bug in list where _exec would show. 2003-10-09 18:06:46 +00:00
Jeremy Fincher
8df7fb6064 Added timeout and plugindir options. 2003-10-09 16:59:12 +00:00
Jeremy Fincher
30b054c6cb Fixed several bugs and added a test to make sure they don't happen again. 2003-10-09 16:38:14 +00:00
Jeremy Fincher
155aeebe42 Added dccIP and unDccIP. 2003-10-09 16:12:53 +00:00
Jeremy Fincher
fc24f3ded1 Made seen case-insensitive. 2003-10-09 06:43:58 +00:00
Jeremy Fincher
8eed3f0982 Stupid __eq__ not being used in __ne__... 2003-10-09 05:46:35 +00:00
Jeremy Fincher
ce0002f454 Made IrcString more efficient/better, added a test for it. 2003-10-09 05:34:44 +00:00
Jeremy Fincher
aa7efcbad9 Fix for some bad tests; added support, fixed a long-latent bug that I thought was being tested for but wasn't. 2003-10-09 05:00:56 +00:00
Jeremy Fincher
b63730975c Added a simple test. 2003-10-09 04:45:35 +00:00
Jeremy Fincher
d376476462 Added karma tests. 2003-10-09 04:28:31 +00:00
Jeremy Fincher
ae61e178ec Added reset() to smallqueue. 2003-10-09 03:59:36 +00:00
Jeremy Fincher
b0f5674f91 Fixed bug #820262. 2003-10-08 22:38:27 +00:00
Jeremy Fincher
0d8ef3ee6d Tests for the whatis <x> <num> functionality. 2003-10-08 16:28:12 +00:00
Jeremy Fincher
8b7b4d97ac Added wildcard support, as per RFE #817309 2003-10-08 13:53:41 +00:00
Jeremy Fincher
52757421e0 Made sure debug.PRINTF was True. 2003-10-08 13:46:35 +00:00
Jeremy Fincher
e0184c5422 Added some more error-checking to the addAlias method. 2003-10-08 01:26:10 +00:00
Jeremy Fincher
28fb603ca0 Added some more error-checking to the addAlias method. 2003-10-07 22:19:08 +00:00
Jeremy Fincher
1099ca0705 Changed whois to internic. 2003-10-07 21:38:11 +00:00
Jeremy Fincher
f93b1e305a Optparsified, and added the -e option to exclude certain tests. 2003-10-07 14:09:13 +00:00
Jeremy Fincher
1c96752dfa Changed the pass statements to 'raise NotImplementedError' statements so the new changenews test would error out more quickly. 2003-10-07 09:41:05 +00:00
Jeremy Fincher
9e0ab0e73b *Trying*, as hard as possible, to be nice to Windows. 2003-10-05 21:37:29 +00:00
Jeremy Fincher
b1977a1b29 Can't use ChannelDB, it requires SQLite. So we'll use Gameknot. 2003-10-05 21:29:29 +00:00
Jeremy Fincher
6bbbededdc Ugh, Windows. 2003-10-05 21:24:05 +00:00
Jeremy Fincher
6107000658 Slight formatting changes and whatnot. 2003-10-05 20:33:01 +00:00
Jeremy Fincher
c32a207791 Updated to allow flags to be specified in assert{Not}Regexp, and to default to use re.I. 2003-10-05 20:32:42 +00:00
Jeremy Fincher
498682d830 Changes to be nice to Windows. 2003-10-05 20:05:53 +00:00
Jeremy Fincher
ef517515f7 Removed star imports. 2003-10-05 13:02:56 +00:00
Jeremy Fincher
6320511166 Added a few more asserts to *SetTestCase.testReprEval. 2003-10-05 11:57:25 +00:00
Jeremy Fincher
8ef808a039 Some bugs were being shadowed for some reason, and there were bugs in the handling of the owner privilege that hadn't been found because those tests had been shadowed. 2003-10-05 11:42:58 +00:00
Jeremy Fincher
66fc538a3a Changed the anti-capability prefix to - instead of !. 2003-10-05 11:13:20 +00:00
Jeremy Fincher
fee74e9bd1 Moved some stuff to the __main__ part to make sure it's called only once. 2003-10-05 04:42:46 +00:00
Jeremy Fincher
93cc17ab43 Updated to make sure the test doesn't run if sqlite isn't installed. 2003-10-04 13:59:50 +00:00
Jeremy Fincher
d4ba047b2f Added smallqueue class. 2003-10-04 13:20:41 +00:00
Jeremy Fincher
b9d265c102 Added docstrings, removed some unused methods. 2003-10-04 12:00:56 +00:00
Jeremy Fincher
9543859047 Changed searchfactoids to default to a glob search; --regexp and --exact searches work with specific options. 2003-10-04 10:16:57 +00:00
Jeremy Fincher
9f24c13be8 Moved the list of commands from cmdstats to the commands command. 2003-10-03 22:55:34 +00:00
Jeremy Fincher
baf5da1855 Added 'private' command, to reply in private. 2003-10-03 15:42:11 +00:00
Jeremy Fincher
1e8f8f634f Updated testConvert for the new output format. 2003-10-03 14:44:04 +00:00
Jeremy Fincher
1e64fad163 Fixed replyNoCapability messages to be in private. 2003-10-03 10:04:40 +00:00
Jeremy Fincher
36984d3fa5 Added RFE #801859: no-hostmask (secure) option for users. 2003-10-03 09:57:52 +00:00
Jeremy Fincher
d52c8b90b4 Test for multiple regexp matching. 2003-10-03 00:25:57 +00:00
Jeremy Fincher
ff6fdf02f3 Added convert and units command. 2003-10-02 23:19:38 +00:00
Jeremy Fincher
4bda1fc74a Bug fixes for .so modules. 2003-10-02 16:13:49 +00:00
Jeremy Fincher
4eaec74eea Made to index from 1 instead of 0. 2003-10-02 06:10:55 +00:00
Jeremy Fincher
746e292693 Made to index from 1 instead of 0. 2003-10-02 06:10:54 +00:00
Jeremy Fincher
a8d7de246d Made indexing start from 1 instead of 0. 2003-10-02 05:58:53 +00:00
Jeremy Fincher
32eb85e3c5 Fix for KeyError escaping from stats. 2003-10-02 00:43:38 +00:00
Jeremy Fincher
3d0bc9f8b2 Moved the bug command to AdminCommands to reduce abuse. 2003-10-02 00:26:57 +00:00
Jeremy Fincher
4fc4df9ff4 Forgot to update the test for the new seen behavior. 2003-10-02 00:26:53 +00:00
Jeremy Fincher
3891360527 Changed irclib.Channel to irclib.ChannelState. 2003-10-01 11:15:31 +00:00
Jeremy Fincher
2ea1052d06 Forgot to update this test based on the move of cpustats to the Status plugin. 2003-10-01 11:12:31 +00:00
Jeremy Fincher
538a262341 Moved {zen,pydoc} to the Python plugin and {whois,dns} to the Network plugin. 2003-10-01 11:12:06 +00:00
Jeremy Fincher
f84345048a Fix for bug #815242, pydoc fnmatch.fnmatch fails. 2003-09-30 22:12:50 +00:00
Jeremy Fincher
8b04e1c537 Added cmdstats command. 2003-09-30 11:04:44 +00:00
Jeremy Fincher
ce3043a50f Initial checkin. 2003-09-30 10:47:05 +00:00
Jeremy Fincher
2da90c99d6 Guarded IrcState.doMode to work only with channels. 2003-09-29 07:46:03 +00:00
Jeremy Fincher
6169822349 Guarded IrcState.doMode to work only with channels. 2003-09-29 07:44:27 +00:00
Jeremy Fincher
a91c55a93a Updated to use checkChannelCapability. 2003-09-29 05:01:41 +00:00
Jeremy Fincher
6429a00a9a Made sure to reset the debug file descriptors; fixed logfilesize test. 2003-09-29 04:42:15 +00:00
Jeremy Fincher
0843710626 More complete tests. 2003-09-29 04:36:41 +00:00
Jeremy Fincher
6e23e1d080 Made sure ChannelPluginTestCase actually joined the channel in setUp. 2003-09-29 04:36:05 +00:00
Jeremy Fincher
fe4af22e50 Added op/halfop/voice handling in IrcState. 2003-09-29 04:30:18 +00:00
Daniel DiPaolo
b71787b702 * Added a required per-channel news capability
* Fixed tests (syntax error, tabs/spaces)
* Updated addnews to use new persistent userids
2003-09-26 22:40:35 +00:00
Jeremy Fincher
2682670fc6 Added test for the recent bug fixed in addressed. 2003-09-25 16:12:43 +00:00
Jeremy Fincher
359ad14888 Updated for the help/morehelp -> syntax/help conversion. 2003-09-25 08:29:24 +00:00
Jeremy Fincher
c3e9c38b6a Changed @help to @syntax, @morehelp to @help, and changed the output of @morehelp to be prettier. 2003-09-25 08:14:46 +00:00
Jeremy Fincher
923a38b4ed Fix for RFE #811853, and fix for bug where @voice would actually try to give halfops (good thing no one ever found that :)) 2003-09-25 07:52:03 +00:00
Jeremy Fincher
ad78a341a5 Fixed bug in the test. 2003-09-25 07:38:59 +00:00
Jeremy Fincher
873fbe20bc Oops, removed a not-so-extra non-blank line. 2003-09-25 07:38:27 +00:00
Jeremy Fincher
12e9e037d4 Removed an extra blank line. 2003-09-25 07:37:49 +00:00
Jeremy Fincher
a13c8ab528 Removed the old sys.path-munging code now that we're disutil'ed. 2003-09-24 07:28:25 +00:00
Jeremy Fincher
1c86e6f40c Removed shrink command since it's mostly unnecessary since we got the mores. 2003-09-24 04:19:23 +00:00
Jeremy Fincher
12d707a90f Updated IrcObjectProxyRegexp.reply to match the interface of IrcObjectProxy.reply. 2003-09-23 20:45:00 +00:00
Jeremy Fincher
23453eff6a Made the game snarfer not prefix the response with the the nick. 2003-09-23 20:26:25 +00:00
Jeremy Fincher
3f78522f15 Made sure the error message is correct when a user tries to removeCapability something that isn't there. 2003-09-23 17:05:53 +00:00
Jeremy Fincher
b50a01db7d Made sure IrcUser.removeCapability raises KeyError on capabilities the user doesn't have. 2003-09-23 17:04:53 +00:00
Jeremy Fincher
7081d64124 Added test for IrcSet. 2003-09-23 15:52:36 +00:00
Jeremy Fincher
b4b2b2b883 Added --with option to quote command. 2003-09-22 22:11:05 +00:00
Jeremy Fincher
e40183f1e5 Fixed stupid verisign bug. 2003-09-22 18:00:16 +00:00
Jeremy Fincher
3e28059c9e Fixed bug in genre pluralization. 2003-09-22 17:32:12 +00:00
Jeremy Fincher
f325de3a76 Thought of a bug, wrote a test, discovered it was a bug, fixed it. 2003-09-22 13:04:15 +00:00
Jeremy Fincher
29d297af8d Oops, missed something that should've been in the test case. 2003-09-22 11:43:35 +00:00
Jeremy Fincher
d39475b528 Made sure PluginDocumentation didn't check PrivmsgRegexp instances. 2003-09-22 10:27:15 +00:00
Jeremy Fincher
d2eff8fdaf RFE #810366: --private option to MiscCommands.list. 2003-09-22 10:22:06 +00:00
Jeremy Fincher
a1da1ba14d Made IrcObjectProxy.error respect conf.errorReplyPrivate. 2003-09-22 09:45:23 +00:00
Jeremy Fincher
e75b92853b Fixed bug with channel capabilities for channels with . in their name. 2003-09-22 09:18:13 +00:00