-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metadata key proposals #336
Comments
Agreed, colcool. With regards to a registry, since that issue was created we introduced the registry page, so we'll document our preferred keys there once Metadata is rolling again proper. |
How does one know the possible sizes? Also the idea of users setting random urls for the client to download sounds slightly terrifying :P |
Arbitrary display names also have a security concern for impersonating users. |
Well, if you're using a url with More discussion on arbitrary urls here: ircv3/ircv3-ideas#16 and here ircv3/ircv3-ideas#14 The idea with display names is that for general purpose IRCds the actual nick will still be visible in the UI to prevent impersonating. But for something like a Slack gateway, you can hide it (because slack themselves hide the "nick" username in their UI). |
Arbitrary images URLs in avatars are no more of an issue than clients that already embed arbitrary image URLs. Clients that want to support this are free to provide controls to limit how big those images are, restrict them to certain domains, proxy them through an anonymising/optimising service, disable them entirely, let users ignore them, etc etc. And yes, we should certainly suggest these sorts of things in a proper spec or recommendation document. |
That's something I've been discussing with some people about the Discord system of changeable nicks with the same username. I personally always put my nick to I think a good solution would be to always show the identifier (nicks for IRC, username for Discord) while allowing the display name (display name for IRC, nickname for Discord) to be changed. And of course while I'm typing this @jwheare posts a comment explaining everything with one picture. :P @jwheare definitely a 👍 for that solution, still keeping the identifier while the display can change. |
Why use a metadata key for |
Cos e.g. I still want to use real name for my full name, but have a shorter displayname that isn't my nick. |
You also can't update gecos after connection, and some clients also just put the client name/version and similar in there. |
Is this a good place to broach the idea of using metadata for authorization/permissions? Basically, I'd like to see MODE and OPER replaced/superseded with account and group/role-based, granular, named permissions. I can go into more detail if there's interest. |
@lfp6 that sounds like it would be worth a separate discussion in it's own thread. |
You can do this for operators using existing IRCd features. InspIRCd in a future release will also have this for prefix modes. |
Edited to add the |
Switched to using hyphens in keys consistently. Note that hyphens aren't considered valid in the deprecated metadata spec, for reasons that seem lost to the sands of time, but we should bring them back. CAPs and tag keys use hyphens so we shouldn't really deviate. |
Earlier this month I brought up language (channel, user) and timezone (user) as possible candidates for keys and reactions seemed positive. So I'm making note of that here. |
as per ircv3/ircv3-ideas#43 - I would suggest adding a |
We are also using "color" key, denoting a color the user likes to be associated with. The value format is HTML-style 6 hexadecimal digits, like "#800040". Client designers should decide, which UI elements are using this color - our client use this data for the display of avatar placeholders, nicknames and otherwise-uncolored message text. |
Is this now an ongoing issue for all metadata keys (given https://ircv3.net/registry.html#user-metadata) and if so can we pin it? |
Closing, there's a registry on the site now. |
Edit (2020-04-21): Some of these are now documented on https://ircv3.net/registry.html#user-metadata
I've started using
draft/metadata-notify-2
from #250 with a few metadata keys in IRCCloud, and in the absence of that spec being finalised and no registry yet existing (#228) I thought I'd briefly document how I'm using these keys.Obviously if we want to change how these work based on discussion it's not an issue, but the draft status allows us to experiment:
{size}
modifier denoting a square dimension pixel value to allow UI customisationhttps://example.com/avatar/{size}/asdf.jpg
James Wheare
Working from home
https://example.com/bot-info.html
The text was updated successfully, but these errors were encountered: