Commit Graph

83 Commits

Author SHA1 Message Date
Valentin Lorentz
8c17505221 User: Sort output of @capabilities
It's more readable than a random order.
2022-10-13 21:46:50 +02:00
Valentin Lorentz
63eb6672ea Revert generic 'The Limnoria Contributors' in copyright notices
This commit reverts db7ef3f025
(though it keeps the year updates)

After discussion with several people, it seems better to mention
copyright owners explicitly. eg. https://reuse.software/faq/#vcs-copyright
explains the issue of using VCSs to track copyright.

As db7ef3f025 only replaced mentions
of my name with 'The Limnoria Contributors', this commit only needs
to undo that + add one person who contributed to setup.py.
2021-10-17 09:57:55 +02:00
Valentin Lorentz
db7ef3f025 all: Add generic 'The Limnoria Contributors' to copyright notices.
No need to bother with details (that are all outdated / out of sync
anyway), just look up the git history.
2021-08-01 21:54:49 +02:00
Valentin Lorentz
b8aa5aa33e User: Make @register automatically add the account tag
No need for '@nickauth nick add' right after registering anymore.
2021-06-30 21:28:17 +02:00
Valentin Lorentz
710d16f301 Admin: Fix python 3.4 support. 2021-05-25 19:24:21 +02:00
Valentin Lorentz
742f4f825d Add the option to disable password login.
Actually resolves GH-1140, finally.
2021-05-23 15:33:38 +02:00
Valentin Lorentz
c1ae3f5c81 all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Valentin Lorentz
d656db454d User: if '@hostmask add' detects a conflict and the caller is the owner, tell them who the conflicting user is. 2017-12-30 18:47:09 +01:00
Valentin Lorentz
bd39debb48 User: Simplify owner-checking logic, and fix crash when @hostmask remove is called by an unregistered user. 2017-12-30 17:12:35 +01:00
James Lu
6cb747744a User: force replies for 'hostmask list' in private instead of requiring the command to be called that way 2017-02-12 11:42:42 +01:00
Valentin Lorentz
bbaf3cd47e User: Fix previous commit by @IotaSpencer. 2016-11-28 10:31:37 +01:00
Ken Spencer
0c4f9d74eb User: allow for custom whoami error 2016-11-28 10:28:48 +01:00
Valentin Lorentz
b3bed0d6f9 User: Fix error handling when hostmasks overlap. 2016-09-14 19:10:26 +02:00
James Lu
3879f30d47 User: allow owners to change their own password
I don't understand why this restriction exists. If someone gains access to someone else's owner account, they can do a lot worse damage than just changing the owner password.
People logging in via NickAuth or hostmasks should be able to change their passwords at will, even if the owner doesn't know his previous password.
2016-03-21 20:57:13 +01:00
jacksonmj
5914499766 Change User.listInPrivate config value from global to channel-specific 2015-08-31 13:04:33 +00:00
jacksonmj
3b1c56bbcd User.list: add config value plugins.User.listInPrivate to force user list response to be sent in private
This prevents mass-highlights of people who use their IRC nick as their bot username.
2015-08-30 00:48:29 +00:00
Valentin Lorentz
be118c3338 Remove use of fix_dict fixer. 2015-08-08 23:08:49 +02:00
Valentin Lorentz
db09100772 GPG: Fix previous commit. 2015-05-18 13:01:12 +02:00
Valentin Lorentz
c6697350b3 GPG: Create plugin by moving code from User. 2015-05-18 12:38:18 +02:00
Ben McGinnes
a7bbc46eb9 Streamlining the patch back down to a single line.
Since the keyid should always match the master key, regardless of
whether there's a subkey or not, reduced this to simply make keyid be
the last 16 chars of the master key's fingerprint.
2015-02-07 04:27:51 +11:00
Ben McGinnes
861efee8f2 Removed a relic of poor coding options. 2015-02-06 21:44:20 +11:00
Ben McGinnes
432b8f8fb5 Solved the subkey selection issue.
Changes one line and adds six to do this:

  * change keyid = verified.keyid to be keyid0;
  * added an if/else check to see if it's the subkey or master key; and
  * then set keyid according the result of that check;
  * then continues as normal.
2015-02-06 21:33:30 +11:00
Ben McGinnes
720b299e82 Clearsign authorisation via subkey.
Replacement code which might work to enable advanced keys with signing
subkeys to be correctly handled by the bot by associating the subkey
with the relevant master key.

Signing format still only clearsigning, the key details are more
important and auth via encrypted token and decryption is likely to be
more reliable anyway as there is far less chance of some other protocol
messing with the signed content.  Effectively no chance, though the odd
corrupted packet here and there is still possible.  Whereas with
clearsigning it can be broken by all manner of rewriting in
transit (which happens often enough with signed email as it is).

See also Issue #1045 for greater detail of what needs to be fixed and
what is to be done about it.
2015-02-06 18:11:52 +11:00
Mikaela Suomalainen
c686b16756 User: this is core Supybot plugin, not module 2014-12-20 11:45:17 +02:00
James Lu
a755238ef4 Add/improve help for Debug + plugins from F-W:
- Debug
- Factoids
- Format
- Games
- Google
- Herald
- Internet
- Karma
- Lart
- Math
- Misc
- MoobotFactoids
- Network
- News
- NickAuth
- Nickometer
- Note
- Owner
- Protector
- Quote
- QuoteGrabs
- Relay
- Scheduler
- Seen
- ShrinkUrl
- Status
- String
- Time
- Todo
- Topic
- URL
- Unix
- User
- Utilities
- Web
2014-11-30 12:07:41 -08:00
Valentin Lorentz
e6d80f9346 User: Fix @gpg remove with some gpg configs. 2014-08-29 16:17:31 +00:00
Valentin Lorentz
a440d6ddf4 NickAuth & User: Fix nick auth + gpg auth when secure flag is on. Closes GH-825. 2014-08-26 13:59:24 +02:00
Mikaela Suomalainen
b1bfc7dda2 User: fix typo messsage --> message
Also update messages.pot & l10n-fi.
2014-08-09 18:37:39 +03:00
nyuszika7h
8e11dc8b28 Use gender-neutral pronouns everywhere 2014-07-13 17:23:11 +02:00
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