Commit Graph

53 Commits

Author SHA1 Message Date
Valentin Lorentz 93586d71f4 Add support for extended banmasks. Closes GH-105. 2012-12-02 19:04:48 +01:00
Valentin Lorentz 650cbe548a Channel: Prevent @iban from adding wildcard when an exact banmask is given. 2012-12-02 18:50:41 +01:00
Valentin Lorentz 40801513ac Channel: Fix help for @iban. 2012-10-06 20:48:10 +00:00
Valentin Lorentz c8dc3eac16 Channel: Use exact hostmask if provided. 2012-10-06 17:58:44 +00:00
Valentin Lorentz fe9c28ffa8 Channel: Add command @iban. Closes GH-282. 2012-10-06 17:58:19 +00:00
James McCoy 7d99c28cf6 Channel: Perform proper capability checks in devoice.
Closes: Sf#3524393
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>

Conflicts:

	plugins/Channel/plugin.py
2012-05-25 18:13:14 +02:00
Valentin Lorentz 06832d6e3a Channel: Add capability checks in @voice 2012-04-16 07:56:20 +00:00
Valentin Lorentz 7bb72c72be Channel: Fix docstring. Closes GH-128. 2012-02-11 15:19:50 +01:00
Valentin Lorentz 5c9a62e69a Channel: Fix docstring. Closes GH-129. 2012-02-11 15:18:32 +01:00
Valentin Lorentz 7d1c2705cf Fix commit c0beda2422. 2011-10-29 15:23:39 +02:00
Valentin Lorentz c0beda2422 Allow owner to kban ops. Closes GH-215. 2011-10-29 13:46:11 +02:00
Valentin Lorentz ceabe070a0 Merge remote-tracking branch 'supybot/master' into testing
Conflicts:
	plugins/Channel/plugin.py
2011-10-27 11:56:13 +02:00
James McCoy 755fe11982 Merge branch 'nick-access' 2011-10-23 20:33:41 -04:00
James McCoy 0869a8e271 Channel.nicks: Raise error so we don't actually reply with the nicks.
Closes: Sf#3396388
Signed-off-by: James McCoy <vega.james@gmail.com>
2011-10-23 20:26:39 -04:00
James McCoy 9b855beec6 Merge branch 'typos' 2011-10-23 19:41:54 -04:00
Valentin Lorentz 8056da06f6 Channel: fix NameError: 'replyirc' -> 'replyIrc'. Closes GH-73.
Conflicts:

	src/version.py

Signed-off-by: James McCoy <vega.james@gmail.com>
2011-10-23 19:30:01 -04:00
Valentin Lorentz 22eb147116 Channel: Really deny access to the nicks list. Closes GH-172. 2011-08-16 13:22:23 +02:00
Valentin Lorentz a94b10e19b Channel: fix typo. 2011-07-22 01:34:31 +02:00
Valentin Lorentz ce08f275d4 Channel: Fix name conflicts with _. 2011-07-15 23:01:41 +02:00
Valentin Lorentz 0dfdfa2d28 Channel: fix NameError: 'replyirc' -> 'replyIrc'. Closes GH-73. 2011-07-09 14:05:28 +02:00
Valentin Lorentz 41514bafdd Core & Channel & Topic: Add the isGranted converter. Closes GH-39. 2011-07-01 15:58:39 +02:00
Daniel Folkinshteyn da25be73d4 Channel: nicks: add --count argument, which outputs only the count of nicks in channel.
also add tests for the nick command.
2011-02-25 19:27:07 +01:00
Valentin Lorentz 007c58703f Remove internationalization of a non-internationalizable string 2010-10-25 13:11:59 +02:00
Valentin Lorentz 83c066eeab Internationalize Channel 2010-10-16 10:17:51 +02:00
James Vega 26cefc78f4 Channel: alert should not require the caller to have op capability
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit ba29f0787c)
2010-08-24 19:01:12 -04:00
James Vega c376b8e796 Channel: Allow kick to accept multiple nicks.
Closes: Sf patch #1813467

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-07-20 18:08:21 -04:00
James Vega ba29f0787c Channel: alert should not require the caller to have op capability
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-06-30 11:06:17 -04:00
James Vega afa49be456 Channel: Chunk mass mode changes according to supported['MODES']
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-25 10:38:49 -04:00
James Vega 8bd37dbff7 Channel: Don't let nicks leak private info.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-25 00:30:13 -04:00
James Vega 125e24ceda Channel.kban: Fall-back to exact hostmask when banmask matches the bot. 2009-03-11 13:37:27 -04:00
James Vega 42ef99a152 Use getBanmask for Channel.{ignore,ban}.add 2009-03-11 13:37:27 -04:00
James Vega 775fe6fd4c Move plugins.Channel.banmask to protocols.irc.banmask
Also add protocols.irc.banmask.makeBanmask as a common function for
getting a banmask from a hostmask.
2009-03-11 13:37:27 -04:00
James Vega e15a5618b0 plugins/Channel: Add the expiry information to Channel.ban list. 2006-04-27 00:29:14 +00:00
James Vega a3e4fc5b1d Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
James Vega c444a67e91 plugins/Channel: Catch a Key Error in "ban remove" and "ignore remove". 2005-06-01 13:24:06 +00:00
Jeremy Fincher 0b848199b5 Fixed some style issues with logging calls. 2005-05-18 04:18:35 +00:00
James Vega 106fbc6eea plugins/Channel: Make disable/enable work again. 2005-05-11 00:58:58 +00:00
James Vega 9971e991fe Fix the modelines. 2005-03-23 20:07:45 +00:00
Jeremy Fincher 69a83e8530 Stopped possible AttributeError (nick could've been None). 2005-03-09 10:36:54 +00:00
Jeremy Fincher 65fbb08c7f Started using source-nested plugins. 2005-02-24 12:49:25 +00:00
Jeremy Fincher 4648360a04 Added op, halfop, and voice converters, and converted Channel to use them. 2005-02-24 09:59:21 +00:00
James Vega 21970da9f0 Make use of format() in a few more places. 2005-02-19 00:22:23 +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
James Vega 68d3b830da Remove the use of format() in logger functions since they handle it natively. 2005-02-01 13:43:57 +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