Valentin Lorentz
be585ecea9
Merge remote-tracking branch 'supybot/maint/0.83.4' into testing
...
Conflicts:
src/ircutils.py
2011-08-23 16:41:52 +02:00
Valentin Lorentz
aefe980956
Fix a test case (default ident is no more supybot)
2011-06-22 21:02:47 +02:00
James Vega
543e78828b
Add utils.net.isIPV4, with utils.net.isIP checking v4 or v6
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2011-06-06 21:44:15 -04:00
Valentin Lorentz
720b6d23eb
Fix to global hostmask. Fix bug #SF3088559 and submitted as patch #SF3163843
2011-01-22 10:17:32 +01:00
Jeremy Fincher
89a535e8c1
Until we can safely load Karma, this test is staying commented out.
2009-11-25 09:17:52 -06:00
James Vega
f7cedae9ad
Update ircutils.standardSubstitute to use string.Template
...
In the process, deprecate utils.str.perlVariableSubstitute.
Since string.Template doesn't support callable values though, we also
sub-class IrcDict and override __getitem__ to call the value if it is
callable.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-10-15 22:16:29 -04:00
Jeremy Fincher
43129239d6
Added Seen.since, which lets a user see messages which were sent since the last time he parted a channel.
2009-07-01 15:40:58 -05:00
Jeremy Fincher
757991afc9
Added basic CacheDict with simple test.
2009-04-02 11:28:57 -05:00
James Vega
0c42ea111a
Fix our RE parsing to handle multiple backslashes before the separator
...
This also adds support for using brace pairs ({}, [], (), <>) as the
separators for m//.
2009-03-11 13:37:27 -04:00
James Vega
75c300c6b0
Remove useless sets import and extraneous newlines
2009-03-11 13:37:26 -04:00
Jeremy Fincher
526e71e104
Added test for firewall, fixed implementation so it actually works.
2009-03-11 13:37:25 -04:00
James Vega
5c197471c6
Fix the tests for mircColor and sorted (Thanks dcraven)
2007-05-08 18:40:48 +00:00
James Vega
a3e4fc5b1d
Change the modeline to use softtabstop instead of tabstop.
2006-02-11 15:52:51 +00:00
James Vega
5b3ca9bd2d
src/registry.py, test/test_registry.py: Better handling of backslashes in config values.
2006-01-18 00:19:31 +00:00
Jeremy Fincher
4dcc4dea87
Fixed PrivmsgTextCase not to require Karma, which requires SQLite.
2006-01-12 19:08:39 +00:00
Jeremy Fincher
cede4a4a97
Fixed bug in ircutils.isNick, which allowed nicks to start with dashes.
2005-08-02 02:47:42 +00:00
Jeremy Fincher
5b8400e158
Removed utils.iter.one, which was dumb, because iterators have a .next() method that does the same thing.
2005-07-08 09:14:45 +00:00
Jeremy Fincher
b369039507
Added utils.iter.one, to grab one value from an iterable.
2005-06-12 04:54:15 +00:00
James Vega
bd31b7f596
src/irclib: Handle IRCds which use a MAXLIST-style value for the MAXBANS 005 key.
2005-06-29 14:20:54 +00:00
James Vega
0880a07b72
test/test_callbacks: Fix a test failure.
2005-06-29 14:16:31 +00:00
James Vega
e4c9381f7b
src/commands: Update first so that state.errored will not prevent the bot from responding when the first converter fails.
2005-06-13 17:27:15 +00:00
James Vega
0027916214
test/test_callbacks.py: Added a test for multiple, nested invalidCommands not being recognized.
2005-06-08 14:28:48 +00:00
Jeremy Fincher
490fb0b140
Changed prefixName to prefixNick, which is more appropriate, and has always bothered me. Better now than later.
2005-06-01 21:08:30 +00:00
Jeremy Fincher
b5f1e2a3e7
Added utils.iter.limited, an iterable that limits the number of elements that can be taken from another iterable.
2005-05-30 19:19:11 +00:00
Jeremy Fincher
4fb15198a0
Properly fixed bugs where plugins expected strings and got non-strings.
2005-05-23 11:51:22 +00:00
Jeremy Fincher
a1992b55ec
Fixed the bug that caused "reply reply" to be necessary instead of just "reply".
2005-05-23 11:23:53 +00:00
James Vega
7bfc9cbdd3
utils/str: Rename nth to ordinal and have it return the full string instead of just the ordinal ending.
2005-05-09 17:20:43 +00:00
James Vega
8698eafd64
Add tests to clarify how source-nested commands work.
2005-04-14 01:47:21 +00:00
Jeremy Fincher
b48ca7ab71
Added supybot.protocols.irc.queuing.rateLimit.join, to throttle joins.
2005-04-14 01:35:35 +00:00
Jeremy Fincher
73f639b55f
Changed supybot.protocols.irc.refuseToQueueDuplicateMessages to supybot.protocols.irc.queuing.duplicates.
2005-04-14 00:56:26 +00:00
James Vega
8ce5a18120
Add tests for "command named same as nested command class".
2005-04-13 15:51:50 +00:00
Jeremy Fincher
0773aa31e5
Made Proxy Irc objects map to the same dictionary slot, so we don't need to worry about calling getRealIrc all the time.
2005-03-28 13:00:37 +00:00
James Vega
9971e991fe
Fix the modelines.
2005-03-23 20:07:45 +00:00
Jeremy Fincher
6b19504515
Changed the utils.iter.choice test to work bettar.
2005-03-14 18:55:11 +00:00
James Vega
aefcd594df
Move structures to utils/
2005-03-12 18:01:47 +00:00
Jeremy Fincher
0e68a44513
Fixed bug with nested plugins having the same name as themselves.
2005-03-09 08:05:24 +00:00
Jeremy Fincher
52fabfdaf7
Added a test for nested plugins having the same command name as the plugin name. It fails right now.
2005-03-09 07:28:35 +00:00
Jeremy Fincher
7c2bbeb638
Forgot the tests for source-nested plugins.
2005-02-25 10:00:42 +00:00
Jeremy Fincher
13e1f7ccb9
Added isSplit, a function for checking whether a given QUIT message is a split quit.
2005-02-25 09:59:39 +00:00
Jeremy Fincher
50d390ece4
Added a reset method, a couple more tests, and fixed a slight bug (IndexError being raised from the wrong place)
2005-02-25 09:44:51 +00:00
Jeremy Fincher
07814fc808
Fix for bug in first.__repr__.
2005-02-21 01:04:45 +00:00
Jeremy Fincher
06feea3ae7
Fixed test failures caused after test_irclib.py runs, and added a couple extra asserts and some commented out lines for more predictable test order.
2005-02-18 18:31:44 +00:00
James Vega
568ebcdf96
Add tests for utils.iter.choice.
2005-02-18 13:40:29 +00:00
Jeremy Fincher
6aca01bafb
Made utils.file.mktemp a little more stochastic.
2005-02-18 07:04:48 +00:00
Jeremy Fincher
5b3b616671
Forgot to remove the tests for getCommands.
2005-02-18 02:44:52 +00:00
James Vega
90c000793d
utils.gen.* functions shouldn't explicitly be called since they're all in the utils namespace.
2005-02-15 13:57:57 +00:00
Jeremy Fincher
b0cb616709
Changed callbacks.Privmsg to be callbacks.Plugin, and callbacks.PrivmsgCommandAndRegexp to be callbacks.Plugin.
2005-02-09 07:04:04 +00:00
Jeremy Fincher
46225641bd
Changed the implementation of IrcMsgQueue a bit.
2005-02-09 05:30:14 +00:00
Jeremy Fincher
affb09e4de
Commented out the case-insensitivity tests, since there's no easy way to fix them, and I'm willing to sacrifice the feature.
2005-02-07 06:08:37 +00:00
Jeremy Fincher
a3ebea6edd
Commented out a test that will probably never work again.
2005-02-07 06:05:37 +00:00
Jeremy Fincher
6b75be6e60
Changed supybot.protocols.irc.queueDuplicateMessages.
...
Changed supybot.protocols.irc.queueDuplicateMessages to
supybot.protocols.irc.refuseToQueueDuplicateMessages, and changed the default
to be to allow duplicate messages, rather than to reject them.
2005-02-03 20:13:49 +00:00
Jeremy Fincher
f6e132dde4
Added test_format.py, added floating point formatting to format, and fixed a bug in the %t format.
2005-02-01 11:57:50 +00:00
Jeremy Fincher
8897e6458b
Removed test/test_fix.py, moving its tests to test/test_utils.py, and fixed the resulting bugs that were discovered.
2005-02-01 07:08:30 +00:00
Jeremy Fincher
978cf65453
Added an email converter.
2005-02-01 07:08:13 +00:00
Jeremy Fincher
307f50137b
Abstracted out an assertError method for testing specs.
2005-02-01 07:07:35 +00:00
Jeremy Fincher
2b6994428e
Fixed a bug that was introduced in nItems.
2005-02-01 07:06:36 +00:00
Jeremy Fincher
2840aeda1e
Added tests for dynamicScope and fixed a bug that made it all but useless.
2005-02-01 07:05:42 +00:00
Jeremy Fincher
65893c8e3c
Added emailRe to utils.net.
2005-02-01 06:34:58 +00:00
James Vega
afc3c3f94a
Fix some calls to pluralize to not use the extra argument. Also updated the pluralize tests.
2005-01-31 15:59:44 +00:00
James Vega
ec045afd9c
Removed extraneous whitespace, unused imports, and converted some sets.Set() calls to set().
2005-01-31 15:24:36 +00:00
James Vega
0fde2393e6
Update usage of utils.iter functions.
2005-01-31 15:22:48 +00:00
James Vega
28cb5abc65
Update usage of functions in utils.gen.
2005-01-31 13:06:43 +00:00
Jeremy Fincher
381a42d863
Added an "irc" argument to callbacks.Privmsg.__init__, so now plugins get an Irc on instantiation.
2005-01-29 19:16:29 +00:00
Jeremy Fincher
a19a979499
Robustified and improved utils.str.format a bit; added a simple test.
2005-01-28 15:23:18 +00:00
Jeremy Fincher
34f1fe6562
Swapped the argument order for nItems *again*.
2005-01-28 15:17:26 +00:00
Jeremy Fincher
e1fe232e9b
Converted commands.py to use the new utils.web instead of webutils; fixed a bug in the httpUrl converter which rejected https protocols.
2005-01-28 14:51:25 +00:00
Jeremy Fincher
c08d435267
Fixed bug in irclib.IrcState's handling of KICK messages; they wouldn't remove the channel if the bot was kicked from it.
2005-01-28 13:58:59 +00:00
Jeremy Fincher
5fd6bbb52d
Completely restructured our utils modules.
...
Tons of changes. Here's the summary of things that matter most:
* There is no more supybot.fix.
* There is no more supybot.webutils; now there is supybot.utils.web.
* It's no longer webutils.WebError, but just utils.web.Error.
* You shouldn't import itertools, ideally, but instead import utils.iter.
* No more using imap/ifilter in commands unless absolutely necessary. It's
premature optimization and annoying.
* utils.str.format isn't quite ready yet, but will be soon. That'll be the
next big thing to fix in our code.
2005-01-27 06:59:08 +00:00
Jeremy Fincher
7fb3b21d94
Removed src/privmsgs.py and all the accompanying crap.
2005-01-27 05:42:36 +00:00
Jeremy Fincher
74b9a3c702
Moved eachSubstring to be a nested function; we don't use it anywhere else.
2005-01-26 14:41:42 +00:00
Jeremy Fincher
895cd3e48e
Resurrected the test suite with the new supybot-test program and RCS.
2005-01-23 19:42:25 +00:00
Jeremy Fincher
3d3b1498fe
Changed copyright years on test files
2005-01-24 21:27:34 +00:00
Jeremy Fincher
8ca625d339
Initial import.
2005-01-19 13:14:38 +00:00
James Vega
dbfec8afb9
Add supybot module
2007-04-22 20:10:26 +00:00
Jeremy Fincher
fdeae5c022
Better error-checking.
2005-01-13 17:48:47 +00:00
Jeremy Fincher
493aa57d8e
Added a couple asserts.
2005-01-12 02:47:35 +00:00
Jeremy Fincher
a4cec8c8be
Added Topic.replace.
2005-01-10 22:26:46 +00:00
James Vega
629e459983
Add Note.search and change the wording for listing private note ids.
2005-01-07 04:42:27 +00:00
James Vega
d85e56f1d2
Make sure we utils.htmlToText the aspnSnarfer, otherwise we can get nasty
...
replies because of the embedded \n.
2005-01-05 18:38:17 +00:00
James Vega
f31fec5681
Fix an exception when using the --to option for Note.list and add tests
...
for the --to and --from options.
2005-01-05 18:36:46 +00:00
James Vega
06307abee1
Make Observer remember the active observers. Only allow admins to add/remove
...
observers. Make sure we remove the observer from the active lists when remove
is called.
2005-01-04 23:27:26 +00:00
James Vega
1f4bef43ac
Fix a test failure
2005-01-04 18:52:10 +00:00
James Vega
d59310603c
eBay changed their expired auction message
2005-01-04 18:50:51 +00:00
James Vega
1aa615850b
Fix a bug that occurs when an optional group is not matched.
2005-01-04 16:57:57 +00:00
James Vega
0d954c9354
Fix some test failures
2005-01-04 16:41:26 +00:00
James Vega
6ef2bbcc77
Fix some test failures
2005-01-04 16:35:56 +00:00
Jeremy Fincher
3736f6d582
I wrote this to show someone an example of a test, but figured I'd commit it since it's written.
2005-01-04 03:46:55 +00:00
James Vega
b11c4f1390
Update Debian.bug for a slight website change.
2005-01-04 03:28:33 +00:00
James Vega
3cb46ab765
Add a feedName converter
2005-01-03 18:45:07 +00:00
James Vega
a4545d45a7
Fix bug #1093594 , UnboundLocalError
2004-12-31 04:18:02 +00:00
Kevin Murphy
9246b169e1
Updated tests to make them all work properly now... (finally)
2004-12-30 08:34:18 +00:00
James Vega
1f8ed8ebe7
Remove a debugging timeout
2004-12-30 05:52:52 +00:00
James Vega
034fb54bd2
Fleshed out Observer.remove. Added 'active' status to Observer.info
2004-12-30 01:05:12 +00:00
James Vega
fd6f4e7e24
Fix a bug where we weren't catching the end of the URL appropriately
2004-12-29 22:30:54 +00:00
James Vega
cb42006490
Better emulation of Infobot wrt overwriting factoids and missing factoids.
2004-12-29 16:28:46 +00:00
Kevin Murphy
41103b1fa7
Test for fix for bug #1092462
2004-12-29 06:42:01 +00:00
James Vega
c93edfc42e
Change Infobot's *Unaddressed* config variables to be unaddressed.* and add
...
unaddressed.replyExistingFactoid.
Began Infobot refactoring and changing the dbs so that they can be channel
specific. This is likely still broken.
2004-12-29 06:18:43 +00:00
James Vega
7217b01cd2
Tag addressed messages with the results of callbacks._addressed. Also,
...
reorder the calling of addressedRes and res in PrivmsgCommandAndRegexp so
that addressedRes are run first.
2004-12-29 06:15:19 +00:00
Jeremy Fincher
11c12e9062
Fixed bug #1091927 , Topic.insert was doing the same thing as Topic.add.
2004-12-28 01:10:31 +00:00
Jeremy Fincher
6002089619
Changed some non-public checkCapability methods to be prefixed with an underscore.
2004-12-27 06:58:26 +00:00
Jeremy Fincher
c350baa2ae
Added Topic.separator.
2004-12-21 13:09:41 +00:00
Jeremy Fincher
a82e806a2d
Removed supybot.databases.users.hash. Now we always hash by default, though the configuration file still supports unhashed passwords (useful for allowing owners to change passwords by editing the file).
2004-12-20 19:47:53 +00:00
Jeremy Fincher
40f63858b0
Make apropos not case-sensitive.
2004-12-20 18:51:05 +00:00
Jeremy Fincher
84e2072903
Fixed some bugs related to the new TestPlugin.
2004-12-20 18:49:35 +00:00
Jeremy Fincher
c9360c3990
I wonder what made my commit that in the first place.
2004-12-20 16:41:37 +00:00
Jeremy Fincher
1a7333aef0
Added another test, commented out one that doesn't apply anymore.
2004-12-19 01:09:42 +00:00
Jeremy Fincher
67d0321a2c
Added tests for apply and shuffle.
2004-12-18 21:23:23 +00:00
James Vega
cd4f073ad5
Fix bug #1087369 , WordStats is case sensitive
2004-12-18 04:06:53 +00:00
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
Jeremy Fincher
b70a683df1
Added cool exhaustive help test.
2004-09-25 16:32:36 +00:00
Jeremy Fincher
78da84e4cb
Configurable quotes, w00t.
2004-09-24 01:13:17 +00:00
Jeremy Fincher
3e58419338
Various minor refactorings, moved supybot.reply.{brackets,pipeSyntax} to supybot.commands.nested.
2004-09-23 23:15:27 +00:00
Jeremy Fincher
b627d23898
Added a test, though I haven't figured out how to fix this thing yet.
2004-09-23 16:34:38 +00:00
James Vega
ed61675016
Fix the bugs in #1032945 , Observer.list exceptions and exceptions when adding
...
an observer after a plugin reload.
2004-09-22 22:06:27 +00:00
Jeremy Fincher
998f61cce8
Moved disambiguation stuff to callbacks.IOP. Also fixed rename-persistence.
2004-09-22 21:38:20 +00:00
Jeremy Fincher
99e35d6810
Fixed a performance problem.
2004-09-22 13:13:37 +00:00
Jeremy Fincher
2e07e23fd5
A little overzealous with the #! removals, weren't we, jamessan? :)
2004-09-22 11:41:12 +00:00
Daniel DiPaolo
b2dadb3516
Added new 'spellit' command
2004-09-22 03:38:39 +00:00
James Vega
3ee4223bda
Fix for bug #1031800 , uncaught exceptions in Config commands.
2004-09-21 14:21:57 +00:00
Kevin Murphy
f3d0670175
RFE 1017095 - Added wildcard support to Seen command
2004-09-21 06:51:12 +00:00
James Vega
fb56c08278
Add a test for Infobot not responding to directly addressed commands.
...
Add a test for some wonkiness with @user list when User and Seen are loaded.
2004-09-21 04:59:13 +00:00
James Vega
535f4a164f
Fix bug #1031277 , exception in some Topic commands when trying to modify a
...
topic in a channel that the bot is not in.
2004-09-20 19:24:15 +00:00
James Vega
a87660ade2
Fix bug #1031347 , Google.stats exception.
2004-09-20 17:26:32 +00:00
James Vega
23397b44b4
Remove #! lines.
2004-09-20 15:25:47 +00:00
Kevin Murphy
99c412940c
RFE 871111 : Added test cases for --nokey option
2004-09-20 06:17:05 +00:00
James Vega
7f22a1c9b6
Add rfe #1004006 , {add,remove,{un,}set}capability can accept multiple capabilities.
2004-09-20 01:33:44 +00:00
Daniel DiPaolo
3e44335f28
Added fundb.search() and tests, AND fixed a bug with reloading FunDB
2004-09-18 15:36:52 +00:00
Jeremy Fincher
324ab71db4
Added topic command.
2004-09-16 18:43:31 +00:00
Jeremy Fincher
0ceb2deb80
enableSpecificTrackerCommands.
2004-09-16 16:11:20 +00:00
Jeremy Fincher
db4ae67a58
Fixed up a bit, and added tests
2004-09-16 16:03:47 +00:00
Jeremy Fincher
8a7681aa51
We added the ability for a command to determine if it's nested or not, so we can make this prettier.
2004-09-16 14:51:40 +00:00
Jeremy Fincher
a8ce25a3ee
Tests for tags.
2004-09-16 14:50:34 +00:00
Jeremy Fincher
af65b54ecc
Updated test to be more specific.
2004-09-16 14:18:23 +00:00
Jeremy Fincher
4f49f11f20
Updated to use tokenizedCommand.
2004-09-16 11:36:24 +00:00
Jeremy Fincher
727145afbe
Added testSeconds.
2004-09-16 06:47:01 +00:00
Jeremy Fincher
00889cc390
Added max and min.
2004-09-15 16:17:03 +00:00
Jeremy Fincher
f53d3d5934
Added Time plugin, moved Misc.seconds to it.
2004-09-15 14:39:34 +00:00
Jeremy Fincher
c2399ec881
Case-insensitivity for Math.calc.
2004-09-14 21:51:54 +00:00
Kevin Murphy
e473c53726
Added a test case to catch the issue with properly pluralizing the word 'command' in the contributions output
2004-09-13 07:12:53 +00:00
Jeremy Fincher
4fec6def71
Allow multiple authentication.
2004-09-13 02:01:00 +00:00
Jeremy Fincher
75b33b8b44
Somehow I forgot a time.sleep in ChannelPluginTestCase._feedMsg, so it was sucking up 100% CPU.
2004-09-13 01:33:07 +00:00
Jeremy Fincher
ecaceff723
Bold was messing up the bug# regexp.
2004-09-13 01:32:15 +00:00
Jeremy Fincher
446174c51d
Forgot to remove bender test.
2004-09-13 01:16:51 +00:00
Jeremy Fincher
8c68e389ec
Forgot to change the dispatcher.
2004-09-13 01:16:24 +00:00
Jeremy Fincher
59d084abef
Added a test for isnick always rejecting spaces in nick.
2004-09-13 00:42:10 +00:00
Jeremy Fincher
e5d3d39bed
Updated to log threads.
2004-09-13 00:41:50 +00:00
Kevin Murphy
dba22a4b44
Updated for command name change in UrbanDict plugin
2004-09-12 21:05:52 +00:00
Jeremy Fincher
4f9e67a796
Fixed tests, and changed to use invalidCommand rather than addressedRegexps so commands may now be nested in definitions.
2004-09-12 20:24:08 +00:00
Jeremy Fincher
a9694c1012
Network plugin for network-related commands.
2004-09-12 05:46:18 +00:00
Jeremy Fincher
dfef079480
Name changed from 'Network'
2004-09-12 04:39:46 +00:00
Kevin Murphy
4dd4557796
Test cases for UrbanDict plugin
2004-09-11 20:35:39 +00:00