Valentin Lorentz
3eb20adaf2
Fix extra arguments to irc.reply() being ignored by messages returned by '@more'.
...
This change builds all the ircmsg objects directly in irc.reply, with
the original arguments.
A side effect is that if a config var is changed between the initial command
call and the call to '@more', this commit makes it use the old values,
but that shouldn't be too much of an issue.
Closes GH-1405.
2020-04-11 16:40:07 +02:00
Valentin Lorentz
5e91a68ab0
Misc: Fix drop of the last (nb_mores % plugins.Misc.mores) messages.
...
If the last batch had less than plugins.Misc.mores messages;
getting the last messages of the batch would raise an IndexError,
causing the whole batch to be dropped.
2020-04-11 16:36:14 +02:00
Valentin Lorentz
f19079c75e
Misc: rewrite @more tests to fully check the output.
...
This uncovered a few bugs; next commits will fix them.
2020-04-11 16:09:24 +02:00
James Lu
772862d49c
plugins: use r'' strings to fix DeprecationWarning in test cases ( #1328 )
2020-01-26 11:14:25 -08:00
Valentin Lorentz
9891b0fca4
Replace failUnless/failIf with assertTrue/assertFalse.
...
The old names are deprecated.
2020-01-26 11:14:18 +01:00
Valentin Lorentz
be36591760
Fix test.
2018-09-11 07:33:16 +02:00
James Lu
b6f798263b
Misc: add 'clearmores' command ( Closes ProgVal/Limnoria#953 )
2014-12-28 22:59:11 -08:00
Valentin Lorentz
5d301b653f
Merge remote-tracking branch 'origin/speed-up-2to3' into testing
...
Conflicts:
locales/fr.po
plugins/Misc/plugin.py
sandbox/check_trans.py
src/i18n.py
2014-02-02 22:28:19 +01:00
Valentin Lorentz
b026cfd197
Misc: Add tests for “list --unloaded” and command flood.
2014-01-26 20:47:34 +01:00
Valentin Lorentz
c1c23f66f4
Continue accelerating the 2to3 step (remove fix_print).
2014-01-20 15:31:09 +01:00
Valentin Lorentz
7a71ecb9f9
Misc: Add supybot.plugins.Misc.mores.
2013-04-10 17:26:55 +02:00
Valentin Lorentz
e86768b61a
Misc: Fix testTell.
2013-01-04 22:01:36 +01:00
Valentin Lorentz
3dba9088b0
Merge remote-tracking branch 'supybot/master' into testing
...
Conflicts:
INSTALL
plugins/ChannelLogger/README.txt
plugins/ChannelStats/README.txt
plugins/Google/plugin.py
plugins/Google/test.py
plugins/Plugin/test.py
plugins/Web/test.py
setup.py
src/callbacks.py
src/ircdb.py
src/irclib.py
src/utils/str.py
test/test_irclib.py
2013-01-01 21:11:24 +01:00
James McCoy
82ecf36fcd
Update my name/contact information
...
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-09-01 10:16:48 -04:00
James McCoy
f0233c370f
Prevent nesting of Misc.tell
...
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-13 18:05:21 +01:00
James McCoy
5b4c150d03
Prevent nesting of Misc.tell
...
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-05 23:13:09 -05:00
Valentin Lorentz
2f6acdf42f
Misc: Add --unloaded option.
2011-09-01 17:48:09 +00:00
James Vega
507b95a2eb
Fix a couple Misc tests
2009-03-11 13:37:26 -04:00
James Vega
4de0a49489
plugins/Misc/test.py: Correct a test and make a couple tests more robust.
2006-05-05 12:51:08 +00:00
James Vega
48a5f2a4a9
plugins/Misc/test.py: Add a missing plugin that needs to be loaded. Update some documentation and add a note about why a test is failing.
2006-05-05 12:50:13 +00:00
James Vega
a3e4fc5b1d
Change the modeline to use softtabstop instead of tabstop.
2006-02-11 15:52:51 +00:00
Jeremy Fincher
5c8677cf22
Give a better error message when a given command isn't found in a plugin.
2005-06-01 01:10:08 +00:00
James Vega
141bbf8bff
Remove the hostmask test from Misc.
2005-04-15 12:15:51 +00:00
James Vega
9971e991fe
Fix the modelines.
2005-03-23 20:07:45 +00:00
Jeremy Fincher
b0e006ab12
Fixed help to show the full command.
2005-02-24 12:50:09 +00:00
Jeremy Fincher
8756b79cc4
Moved the appropriate commands from Misc to Plugin, and fixed the test failures in the process.
2005-02-18 06:31:26 +00:00
James Vega
b13a607e2c
Fix some test failures.
2005-02-13 02:53:31 +00:00
Jeremy Fincher
fd365e9994
Removed the revision tests, since we removed the revision command.
2005-02-07 05:52:42 +00:00
Daniel DiPaolo
c998dfbebf
Moving action,reply,private,notice to new Reply plugin (for real)
2005-02-02 04:39:45 +00:00
Daniel DiPaolo
739c9ceda7
Fix Misc tests not to rely on Gameknot
2005-02-01 07:39:28 +00:00
Jeremy Fincher
5019d10a1b
Updated license years.
2005-01-19 13:33:05 +00:00
Jeremy Fincher
8ca625d339
Initial import.
2005-01-19 13:14:38 +00:00