Valentin Lorentz
f18850e5f8
Misc: Add @completenick. Closes GH-154.
2012-02-11 15:17:12 +01: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
ca23cbb774
Merge branch 'maint/0.83.4'
2011-12-06 01:18:18 -05: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
James McCoy
8b73f78b3e
Merge branch 'maint/0.83.4'
...
Conflicts:
plugins/Misc/plugin.py
src/ircutils.py
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-11-13 15:26:19 -05:00
James McCoy
c91916ae5e
Misc: Avoid setting up "invalid command" flood handling if its not enabled
...
Closes: Sf#3088554
Signed-off-by: James McCoy <vega.james@gmail.com>
2011-10-29 17:53:35 -04:00
Valentin Lorentz
90ad25668e
Misc: Fix order of replies of @tell, in order to fix issue with nesting.
...
Using @ignore [tell foo bar] was telling 'The operation succeeded' to foo, and ignore 'bar'.
2011-09-18 10:31:09 +02:00
Valentin Lorentz
2f6acdf42f
Misc: Add --unloaded option.
2011-09-01 17:48:09 +00:00
Daniel Folkinshteyn
e11dc28025
Misc: fix potential ddos when misc.last command is fed a specially-crafted regexp.
...
Conflicts:
plugins/Misc/plugin.py
2011-08-13 01:56:21 +02:00
Valentin Lorentz
d85cbd256b
Misc: Security fix to @last: time-consuming could freeze the bot. Closes GH-157.
2011-08-12 18:51:40 +02:00
Valentin Lorentz
9cd2c31dd4
Misc: Notify the caller when @tell succeeded. Closes GH-97.
2011-08-07 11:30:51 +02:00
Valentin Lorentz
4e6d08c7ce
Misc: Fix @source help. Closes GH-78.
2011-07-16 13:45:43 +02:00
Valentin Lorentz
a83f2c9a07
Misc: Change URL in @source.
2011-07-10 17:08:20 +02:00
Valentin Lorentz
28a3067eee
Misc: update i18n and l10n-fr
2011-06-06 19:06:52 +02:00
Valentin Lorentz
6c1699583b
Misc: use Limnoria version string.
2011-06-05 20:30:32 +02:00
Valentin Lorentz
4dcd7f7fb4
Bug fixes (mainly the &config help internationalization)
2010-11-01 11:42:33 +01:00
Valentin Lorentz
0360451cb9
Note & Owner : fix missing import for the i18n
2010-10-31 11:29:01 +01:00
Valentin Lorentz
45de092652
Internationalize Herald, Internet, Karma, Lart, Later, Limiter, Math, and Misc
2010-10-17 15:59:23 +02:00
Daniel Folkinshteyn
9e1ba9910a
make Misc.apropos return plugin name even if command is in only one plugin.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 8daebd1240
)
2010-08-24 19:50:22 -04:00
Daniel Folkinshteyn
8daebd1240
make Misc.apropos return plugin name even if command is in only one plugin.
...
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-06-19 17:20:20 -04:00
Jeremy Fincher
b9d6277e30
Added supybot.abuse.flood.command.invalid.notify, a configuration variable determining whether the bot will notify infractors of their ignoring.
2009-06-09 10:40:05 -05:00
James Vega
0d98118247
Allow getCommandHelp to be told whether to use simpleSyntax.
...
Use this to force Misc.help to ignore simpleSyntax since the user has
explicitly asked for the help.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:12:54 -04:00
James Vega
f539e65b8e
Misc.last: Prevent potential information leaks
...
Add required predicates which
1) Do not retrieve messages from a channel the calling user isn't in
2) Do not retrieve messages from a +s channel unless the calling user is in a
query or in that channel
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-08 01:09:25 -05:00
James Vega
7bb3b1ec60
Merge the changes from the python25compat branch into the trunk
2009-03-11 13:37:24 -04:00
James Vega
a3e4fc5b1d
Change the modeline to use softtabstop instead of tabstop.
2006-02-11 15:52:51 +00:00
James Vega
d4d165ea40
plugins/Misc: Make sure Misc.last only skips the first message if last is being performed on the channel the user is currently in.
2005-06-10 12:19:10 +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
b41166cc4c
This should've been an error response in the first place.
2005-06-01 20:14:37 +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
Jeremy Fincher
0b848199b5
Fixed some style issues with logging calls.
2005-05-18 04:18:35 +00:00
James Vega
726679d6e4
plugins/Misc: Give proper help when listing a plugin with no commands.
2005-05-09 17:53:06 +00:00
Jeremy Fincher
f79ffc85bd
Fixed bug with replies when it's not a command and it's not nested.
2005-05-05 13:24:11 +00:00
James Vega
9482f27bf1
Make hostmask a source-nested command in User.
2005-04-14 23:41:18 +00:00
Jeremy Fincher
47a1912030
Improved the reply given when a plugin with no commands is 'list'ed.
2005-03-26 17:52:40 +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
e863999e16
Accidentally changed this from an error to a reply when refactoring.
2005-02-24 04:25:28 +00:00
Jeremy Fincher
66036c344f
Oops, forgot a format.
2005-02-19 19:48:48 +00:00
Jeremy Fincher
1c10d4cd20
Fixed help.
2005-02-19 19:44:49 +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
Jeremy Fincher
0e86d75ed7
Fixed apropos and help to work with the newly refactored command change.
2005-02-18 05:21:15 +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
James Vega
b13a607e2c
Fix some test failures.
2005-02-13 02:53:31 +00:00
Jeremy Fincher
181d0d59c6
Had the more and the messages reversed.
2005-02-10 01:28:38 +00:00
James Vega
88746764dd
Update source URL.
2005-02-09 18:09:07 +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
70d1b1d5d0
Moved _mores to IrcObjectProxy, where it more rightfully belongs.
2005-02-07 06:28:52 +00:00
Jeremy Fincher
972716069c
Removed callbacks.Privmsg; if it is replaced at some later time, it'll be different.
2005-02-07 06:10:41 +00:00
Jeremy Fincher
fdddefe129
Added a listCommands method to PrivmsgRegexp, to allow plugins to list their own commands.
2005-02-04 20:08:38 +00:00
Daniel DiPaolo
c998dfbebf
Moving action,reply,private,notice to new Reply plugin (for real)
2005-02-02 04:39:45 +00:00
James Vega
8669467b9b
Split ping off from the old Fun plugin.
2005-02-02 03:26:22 +00:00
Jeremy Fincher
6965abc3fd
Made the warning log in Misc.version (a) info, and (b) more useful.
2005-02-02 02:44:58 +00:00
James Vega
2b7e813ffd
jemfinch needs his dots!
2005-02-01 13:50:01 +00:00
James Vega
de89bf0265
Update usage of utils.str functions.
2005-01-31 14:52:27 +00:00
James Vega
28cb5abc65
Update usage of functions in utils.gen.
2005-01-31 13:06:43 +00:00
Jeremy Fincher
68b1d65d68
Plugin normalization, sanitation, etc. Removed unused imports, for the most part.
2005-01-29 21:24:17 +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
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
2c31235a3e
Moved docstrings in plugin packages to __init__.py instead of plugin.py; no lazy "backwards compatibility" hack.
2005-01-19 23:17:35 +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