Commit Graph

54 Commits

Author SHA1 Message Date
Mikaela Suomalainen c810a52afd User: fix #687 2014-05-28 19:47:31 +03:00
Valentin Lorentz edbde2235b User: Fix authentication canceling after hostname/nick change. 2014-03-25 14:35:06 +00:00
Valentin Lorentz f3e4f097aa User: Fix checking of GPG availabiliy and add @gpg list command. 2014-03-25 14:29:32 +00:00
Valentin Lorentz 8d7687213a User: Fix doc of @hostmask remove. 2014-03-22 13:28:09 +00:00
Valentin Lorentz 77e6de6bba Fix errors detected by PyLint. 2014-03-05 14:14:36 +01: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 06fdaa792f Continue accelerating the 2to3 step (remove fix_map). 2014-01-21 10:57:38 +01:00
Valentin Lorentz ca419f6485 Continue accelerating the 2to3 step (remove fix_reduce, fix_renames, fix_repr, fix_set_literal, fix_standarderror, fix_sys_exc, fix_throw, and fix_tuple_params). 2014-01-20 16:04:53 +01:00
Valentin Lorentz bb7db3ab21 Continue accelerating the 2to3 step (remove fix_except). 2014-01-20 15:49:15 +01:00
Valentin Lorentz 2fda69b4d6 Continue accelerating the 2to3 step (remove fix_raise). 2014-01-20 15:43:55 +01:00
Valentin Lorentz 5e894b5f39 User: Fix previous commit. 2014-01-17 19:38:59 +00:00
Valentin Lorentz b7bfd64bc4 User: Fix GPG auth on Python 3. Closes GH-541. Closes GH-542. 2014-01-17 19:15:28 +00:00
Valentin Lorentz e120ab7eab User: Add custom error message for @gpg add arguments. 2013-08-16 16:23:08 +02:00
Valentin Lorentz 269f22a84b User: Make arguments handling of '@user hostmask remove' similar to '@user hostmask add' 's. Closes GH-101. 2013-08-10 16:01:25 +02:00
Valentin Lorentz 2d4914bc99 Merge branch 'gpgauth' into testing
Conflicts:
	src/ircdb.py
2013-05-24 17:20:27 +02:00
Valentin Lorentz 7253dee3ae User: Fix handling of --capability for unregistered users. 2013-04-27 10:10:11 +02:00
Valentin Lorentz d714909576 Use non-sexist language in strings and comments. 2013-03-08 20:34:31 +01:00
Valentin Lorentz 97bffbdef1 User: Add support for authentication via GPG. 2013-01-20 00:09:37 +01:00
Valentin Lorentz fba70d15bc Add configuration variable conf.supybot.capabilities.private.
This variable is a list of capabilities that are considered as 'private',
ie. the bot won't tell anyone but admins that a user has it, nor will the
bot give a list of users with this capability.
2012-10-29 20:15:14 +01:00
Valentin Lorentz cd0bfe411a Make gpg key adding/removal work. 2012-08-03 23:22:53 +02:00
Valentin Lorentz fa67967b09 And commands to add/remove GPG keys. 2012-08-02 09:21:58 +02:00
Mika Suomalainen b5feac3e28 User: fix one string (add she) & update messages.pot & update l10n-fi & continue l10n-fi. 2011-12-21 18:25:33 +02:00
Valentin Lorentz 2e0f33f655 User: Admins can now see capabilities of other users. Closes GH-106. 2011-08-07 11:59:19 +02:00
Valentin Lorentz 2cb7f72874 User: fix typo. Closes GH-32. 2011-06-25 13:06:06 +02:00
Valentin Lorentz 52094ec910 User: internationalize a string 2010-10-30 11:23:56 +02:00
Valentin Lorentz 1cc1ec93a5 Internationalize Config, Network, Plugin, and User 2010-10-16 13:51:27 +02:00
James Vega 577294f489 User: Handle DuplicateHostmask exception in hostmask.add.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-29 11:32:39 -04:00
James Vega de726f90f3 User: Only require name for set.password when changing other user's password.
Closes: Sf#3055358
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-29 11:32:23 -04:00
James Vega f977a3a260 User: Require set.password be sent in private.
Closes: Sf#3055365
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-29 11:03:41 -04:00
James Vega 07da8cab13 User: Specify chanagename must be used in private in its help.
Closes: Sf#3055353
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-08-29 10:49:13 -04:00
James Vega d43d083f44 User: getHostmasks should always return a string
Since it was calling irc.reply() in one case, we had both that irc.reply being
sent and the irc.reply() of what getHostmasks returned (None in that case).
Bad!

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit dcb247494e)
2010-08-24 19:01:55 -04:00
James Vega 965f4e79b8 User: Fix hostmask.list to show the user's name not the repr user object
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 9dccada152)
2010-08-24 19:01:44 -04:00
James Vega f2df22ef1a User: Add private constraint to hostmask.add since a password may be given
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-08 16:55:40 -04:00
James Vega 187620dddc User: Prevent set.password from failing with an unknown hostmask
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-01 14:33:19 -04:00
James Vega a946effc79 Fix a copy/paste error in User.capabilities help 2009-03-11 13:37:25 -04:00
James Vega a3e4fc5b1d Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
James Vega d074721603 plugins/User: Make sure we raise the error in User.unregister so allowUnregistration is obeyed. 2005-10-14 12:57:21 +00:00
Jeremy Fincher 766dad2f70 Fixed an error in hostmask.list when there are no hostmasks. 2005-06-01 06:20:29 +00:00
Jeremy Fincher b9cd0275e9 Fixed the help for register. 2005-05-27 16:37:22 +00:00
James Vega 7e124b6ccc Change "User.set{password,secure}" to "User.set {password,secure}" 2005-04-15 12:16:37 +00:00
James Vega 9482f27bf1 Make hostmask a source-nested command in User. 2005-04-14 23:41:18 +00:00
Jeremy Fincher 5ce2baa2d2 It should be possible to identify without flushing. 2005-03-27 09:59:44 +00:00
James Vega 9971e991fe Fix the modelines. 2005-03-23 20:07:45 +00:00
Jeremy Fincher 1cc969b290 Clarified the help for some command (I remember not which one now) 2005-03-09 07:25:52 +00:00
James Vega aff8f8636e Disallow retrieving other people's capabilities and make the response private so we don't leak channel information. 2005-02-19 00:23:34 +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 de89bf0265 Update usage of utils.str functions. 2005-01-31 14:52:27 +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 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