Commit Graph

1349 Commits

Author SHA1 Message Date
Jeremy Fincher
596abe02f0 Added a TestPlugin with eval. 2004-12-17 16:25:18 +00:00
James Vega
e89e5402ca Add a test for dynamic.channel 2004-12-17 06:33:45 +00:00
James Vega
3b2ef3d88f Add plugins.getChannel 2004-12-17 05:18:21 +00:00
Jeremy Fincher
cc084d2535 Removed some XXXes and allowed other separators than /. 2004-12-16 09:22:39 +00:00
Jeremy Fincher
5d37d71afb Test is too tight, commented out until an appropriate test can be devised. 2004-12-16 09:18:36 +00:00
Jeremy Fincher
eb03f94f07 Moved eval/exec commands to sandbox/Debug.py, removed allowEval option. 2004-12-16 07:13:14 +00:00
James Vega
cee0dc3463 wrapify. I don't feel like converting the db properly (i.e., using
data/Todo/<user>.db), so I'll leave alone the current db.
2004-12-15 18:43:09 +00:00
James Vega
cedd6a2b59 Add some Raise=True and a test for multiple replies from Misc.hostmask. 2004-12-15 17:54:33 +00:00
James Vega
c8af5c886b wrapified 2004-12-15 16:37:26 +00:00
Jeremy Fincher
41ad8c13ad Added limited dynamic scoping. 2004-12-13 19:31:36 +00:00
James Vega
7d66c9e6a4 Finish implementing Limiter and add tests. 2004-12-13 13:54:44 +00:00
Jeremy Fincher
3b6d40bb24 Added a test to make sure something worked. 2004-12-13 05:29:05 +00:00
Jeremy Fincher
1932ed4d02 Slight bugfix in isCtcp. 2004-12-10 08:48:24 +00:00
Jeremy Fincher
6d7b0d7761 Ok, so I'm ridiculously anal... 2004-12-10 07:10:06 +00:00
James Vega
78685a323f Fix a test failure. 2004-12-10 04:08:36 +00:00
James Vega
b8da3624b3 Fix test failures. 2004-12-10 03:38:49 +00:00
Jeremy Fincher
5466544350 Fix for a bug in the short timeElapsed. 2004-12-08 20:27:59 +00:00
Jeremy Fincher
407952f5a0 Fix in a test. 2004-12-08 16:53:58 +00:00
Jeremy Fincher
e4f15ae1b3 Cleaner implementation. 2004-12-08 07:45:24 +00:00
James Vega
bda9e9144c Add Debian.debianize. Add a try:except for webutils usage. Use Raise=True
in a few more places.
2004-12-08 03:19:07 +00:00
James Vega
59b561b0af Add Markov.stats. Add some elucidating comments. Remove incomplete
SqliteMarkovDB and unused MarkovDBInterface
2004-12-08 03:10:03 +00:00
Jeremy Fincher
5822a249e7 Slight improvement to a test. 2004-12-07 06:44:45 +00:00
Jeremy Fincher
e2e5acbac0 Updated for only allowing single channels. 2004-12-07 04:52:46 +00:00
Jeremy Fincher
6e712bb3db Proper ignoring of deprecated plugins. 2004-12-07 04:16:23 +00:00
James Vega
4ba005ddf6 Update QuoteGrabs to use db abstraction. Hopefully fix the mxCrap thing
for good.  This update should also fix the problem that had existed with
QuoteGrabs and databases.plugins.channelSpecifc=False
2004-12-03 15:41:08 +00:00
Jeremy Fincher
3f9c699ea2 Fix for bug in IrcMsg.__eq__. 2004-12-03 08:08:07 +00:00
James Vega
12fa1096db Convert to wrap and simplify Admin.join (no longer accept multiple channels) 2004-11-30 05:24:20 +00:00
James Vega
c87788dc62 Make sure state.channel is carried over when we call State.essence. Also,
add continueOnError option to any().
2004-11-30 05:15:41 +00:00
Jeremy Fincher
01513bcb95 Fixed a couple test failures. 2004-11-30 04:49:21 +00:00
James Vega
7eed44eef7 Converted Random to wrap. Added a long converter to assist this. 2004-11-28 02:23:59 +00:00
Jeremy Fincher
877c6ee9a8 Added test, but didn't find the bug I wanted. 2004-11-24 12:01:03 +00:00
James Vega
fda6b572a7 Make sure we reply if all of our fallbacks fail. 2004-11-16 00:55:00 +00:00
Jeremy Fincher
a0e863deef Fix for bugz0r. 2004-11-11 15:25:17 +00:00
Jeremy Fincher
3f93307518 Fixed bug #1062631. 2004-11-09 12:29:20 +00:00
Jeremy Fincher
d280387518 rest should require args unless indicated otherwise. Currently, we can't indicate otherwise, but that's because we haven't had a need for it yet. 2004-11-08 20:51:39 +00:00
Jeremy Fincher
54db030707 Added test, changed to use commands.wrap. 2004-11-08 20:03:42 +00:00
Jeremy Fincher
6341b26755 Fixed a failing test, showed a results number in search, and added to our standardSubstitute for Dunnos. 2004-11-08 17:02:02 +00:00
Jeremy Fincher
3f1dfa09c0 UPdated. 2004-11-08 16:54:45 +00:00
Jeremy Fincher
ced5caa68f This never had any tests anyway, and now its plugin is gone. 2004-11-06 19:27:35 +00:00
Jeremy Fincher
3e8622abce Initial checkin. 2004-11-06 19:26:05 +00:00
Jeremy Fincher
964fa95bfd Removed standardSubstitute test. 2004-11-06 19:21:15 +00:00
Jeremy Fincher
58b3268bdd Have exnToString handle exceptions whose str representation is empty. 2004-11-04 06:01:17 +00:00
Jeremy Fincher
040888405c Refactoring of error-related configuration variables. 2004-11-04 05:34:24 +00:00
Kevin Murphy
3f2f500dc4 ToDo #1046877 : Added Enable/Disable commands 2004-10-28 06:37:39 +00:00
Jeremy Fincher
d6949c95c1 Fixed a bug in the test. 2004-10-27 07:51:23 +00:00
Jeremy Fincher
fae5772f19 Added for the moving of standardSubstitute. 2004-10-27 07:29:44 +00:00
James Vega
83cc539086 Let's do things the right way 2004-10-27 04:25:27 +00:00
James Vega
631da9c13f commands.wrap update 2004-10-27 03:26:55 +00:00
James Vega
d2fb6fb4f8 Fix the tests 2004-10-27 03:26:04 +00:00
Jeremy Fincher
ba1bb34729 Allow abbreviation in getLiteral. 2004-10-26 23:17:58 +00:00
Jeremy Fincher
0a71b92584 Removed a useless line and added a test that depends on that removed line. 2004-10-26 21:13:13 +00:00
Jeremy Fincher
b32215e169 Tons of updates, text now snarfs all remaining, but we still haven't stopped combining rest in context. 2004-10-26 20:49:20 +00:00
Jeremy Fincher
303f087784 Old variable name. 2004-10-26 20:18:20 +00:00
James Vega
cbd5abbab7 A bunch more %r -> %s conversions as well as wrap updates, new policy for
Channel.voice and some bug fixes for Debian
2004-10-25 22:59:03 +00:00
James Vega
c0a8f5e45d commands.reversed => commands.reverse 2004-10-24 03:53:56 +00:00
Jeremy Fincher
b8621f0c34 Fixed shrink command. 2004-10-24 03:04:29 +00:00
James Vega
4dafdcdd57 Massive updates. %r -> %s, some commands.wrap updates. Factoids is broke
until we get some stuff working in commands.py
2004-10-23 22:07:50 +00:00
Jeremy Fincher
c6e5d22f6b Updated to use commands.wrap. 2004-10-23 21:27:01 +00:00
Jeremy Fincher
e3bdd34f3f Allow ids to have # in front of them. 2004-10-23 20:32:29 +00:00
James Vega
601d58a662 utils.quoted 2004-10-23 19:40:00 +00:00
Jeremy Fincher
d20381336a Bugfix for nick.atEnd taking precedence over prefixChars. 2004-10-23 19:26:53 +00:00
Jeremy Fincher
1745c6d144 Added shrink filter. 2004-10-23 16:32:59 +00:00
James Vega
dd1550afcc commands.wrap update 2004-10-22 22:08:03 +00:00
Jeremy Fincher
a238ed6298 Fixed TODO #1047283. 2004-10-22 06:21:34 +00:00
Jeremy Fincher
6389256dc2 Fixed bug #1051164. 2004-10-22 05:35:05 +00:00
Jeremy Fincher
6eb0066dec Converted to commands.wrap, added capitalize and title. 2004-10-19 11:58:04 +00:00
James Vega
c6afe40abc commands.wrap update 2004-10-16 02:52:31 +00:00
James Vega
8dd75b1ff2 commands.wrap update 2004-10-15 13:28:27 +00:00
Jeremy Fincher
a12d65160e Added testTestIrc. 2004-10-15 11:19:59 +00:00
Jeremy Fincher
edc1e70648 Fixed empty types. 2004-10-15 11:18:55 +00:00
James Vega
ec75306a37 Added a test for when we just want to wrap a command but don't need to get
any arguments from the user.
2004-10-15 11:13:53 +00:00
Jeremy Fincher
70f9e4c7b0 Fix for bug with outfilter. 2004-10-14 18:13:30 +00:00
Jeremy Fincher
dcff006235 Added GNU filter. 2004-10-14 18:07:10 +00:00
Jeremy Fincher
e720f46a5a Not completely working, but tests pass (for what's expected to pass). 2004-10-14 08:41:08 +00:00
Jeremy Fincher
4eafd9b779 New tests, and new implementation (though a test still fails). 2004-10-12 00:41:40 +00:00
James Vega
163d835502 Fix bug #1043863, urlquoted text in reply. 2004-10-11 11:43:15 +00:00
Jeremy Fincher
5bc91113fe Fixed so disabled commands in other plugins won't break our outfilter. 2004-10-10 15:11:19 +00:00
Jeremy Fincher
f61591016b Added a test for random.choice behavior. 2004-10-10 03:55:29 +00:00
Jeremy Fincher
afa182ab7c Added another test. 2004-10-09 04:56:50 +00:00
Jeremy Fincher
3dceea823d Added supybot.reply.whenAddressedByNick.atEnd. 2004-10-09 02:48:08 +00:00
Jeremy Fincher
2c8490c86a Added the undup filter. 2004-10-08 16:50:33 +00:00
Daniel DiPaolo
d4b30b6214 Added new behavior for Misc.last when nested - can optionally exclude the nick
and timestamp
2004-10-08 16:00:51 +00:00
James Vega
0242a8619d Update News to use commands.wrap and switch from an SQLite db to a flatfile
mapping.
2004-10-06 21:56:06 +00:00
James Vega
d72f69d245 Update the tests. 2004-10-04 19:00:51 +00:00
Jeremy Fincher
c563596405 Converted to use commands. 2004-10-03 09:05:37 +00:00
Jeremy Fincher
0dc88e88b9 Some source code tweakings; I still don't know why that test fails, but it's a good reminder that we should use the copy method instead of the copy.copy function. 2004-10-03 08:50:45 +00:00
Kevin Murphy
a87d8c9a1f Augmented test cases for RFE 1030244. 2004-10-03 08:29:59 +00:00
Jeremy Fincher
d253d7e1bf Added --without. 2004-10-03 03:01:27 +00:00
Jeremy Fincher
4dd07b1690 Converted to use commands. 2004-10-02 20:12:48 +00:00
Jeremy Fincher
54d1a91e80 Commanded Fun.py. 2004-10-02 17:31:38 +00:00
Jeremy Fincher
43fbd5ac77 Forgot to remove the urlSnarfer test. 2004-09-30 15:02:52 +00:00
Jeremy Fincher
84ea24d27f Fixed test. 2004-09-30 09:21:40 +00:00
Jeremy Fincher
c4cef878e6 Added another log filter. 2004-09-30 09:06:12 +00:00
Jeremy Fincher
3d81d6627b Updated to add the configurable single-letter commands. 2004-09-30 04:12:15 +00:00
Jeremy Fincher
d147def54c Log filtering for testing. 2004-09-29 18:43:44 +00:00
Jeremy Fincher
a6f7dc99b7 Moved tinyurl stuff out to the ShrinkUrl plugin. 2004-09-29 04:40:25 +00:00
Jeremy Fincher
0704c34fc7 Added a Hebrew filter. 2004-09-28 20:08:41 +00:00
Jeremy Fincher
f15129adec Added test for maximum nesting. 2004-09-28 07:40:58 +00:00
Jeremy Fincher
05c06f8f4b Added tests for no errors where no errors should occur. 2004-09-28 07:19:47 +00:00
Jeremy Fincher
e5df6c87ed tightened for new asserts. 2004-09-28 07:19:25 +00:00