-
daniel
I'm going to be on my mobile phone during the council meeting later so I'm checking the pending votes now...
-
daniel
Ge0rG: you are still pending on muc token invites. The meeting is your last chance to vote
-
daniel
Nothing else pending
-
Ge0rG
daniel: thanks for the reminder, I've finally taken the time to go through the proto-XEP, and I have questions.
-
Ge0rG
pep.: re MUC token invite, it reminds me very much of XEP-0401 (I happen to have had some time to consider a similar use case, inviting for an account instead of a room membership). Is there a reason to implement this via custom IQs instead of ad-hoc commands? The token request could be completely implemented using XEP-0401 syntax (if extended with optional time limit / count attributes). Token management could also be mapped to ad-hoc commands probably, without new protocol. You only need to define the form fields, command names and feature, plus the token-as-room-password part.
-
daniel
It's time
-
daniel
1) roll call
-
larma
👋️
-
Ge0rG
(bonus points for offering the token creation feature to all clients that implement ad-hoc already)
-
Ge0rG
ohai
-
jonas’
o/
-
daniel
We don't have an agenda this week so I'm just going to jump to date of next and AOB after quickly asking Ge0rG for his vote
-
daniel
2) pending votes
-
daniel
Ge0rG on muc token invites
-
daniel
You had feedback but does this block this being accepted as experimental?
-
Ge0rG
daniel: I'm very much inclined to -1 based on the above question.
-
Ge0rG
the proto-XEP complies with the formal requirements, but IMHO it creates redundant protocol that could be solved by ad-hoc commands with just a bit more boilerplate.
-
daniel
OK... Overlap imho isn't a blocker.
-
daniel
Anything can be done with adhoc commands
-
Ge0rG
I see value in defining the use cases, but I'd love to see the custom IQs replaced by ad-hoc, or at least a good rationale for not using them.
-
Ge0rG
Okay, in that case I'm +1, and I'm strongly urging the authors to either change that to ad-hoc ASAP or to provide a rationale for why-not, and I'd defer the -1 for a later stage of the XEP process.
-
daniel
OK. Thanks
-
daniel
3) date of next
-
daniel
+1w wfm
-
jonas’
+1w may not work for me, we'll see
-
Ge0rG
being the narcistig guy I am, I of course want to see the XEP-0401 syntax reused 1:1
-
larma
+1w wfm
-
Ge0rG
it looks like I'm blocked +1w and +2w
-
daniel
(I have thoughts on ad hoc commands Ge0rG. But now that the xep has been accepted maybe put your criticism into a mail to the standards list after it has been published and I'll respond with my thoughts on ad hoc commands)
-
daniel
(as noted earlier I'm on my phone and the council meeting is probably not the best venue for this anyway)
-
Ge0rG
daniel: I might forget that, so feel free to push me into writing that mail as you deem appropriate :)
-
daniel
> it looks like I'm blocked +1w and +2w Noted
-
daniel
4) aob
-
daniel
Looks like none
-
daniel
5) close
-
daniel
Thank you all
-
larma
Thanks daniel
-
Ge0rG
Thanks daniel
-
jonas’
thanks daniel
-
larma
Ge0rG, just my opinion on ad-hoc: I think it makes sense to use ad-hoc for usecases where clients that just implement plain disco + ad-hoc (= without understanding the details of the protocol) will still get reasonable user experience. Otherwise, it makes very little sense to use ad-hoc instead of just plain IQ. Now the question remains what is reasonable user experience. Looking at XEP-0401, the expire field in the result form for creating a user invitiation is already beyond of what I would consider reasonable user experience (because it contains data that would be displayed to endusers in a naive client but is not end user readable). Also the form lacks labels, but I blame that on the fact its still experimental (well, it seems it was proposed)
-
Ge0rG
larma: I agree there is probably no reasonable way to implement time-delta in ad-hoc, unless you just ask for days.
-
Ge0rG
I'm not a proponent of ad-hoc in general, and I'm pretty sure somebody convinced me to use it in 0401, but maybe it wasn't too bad after all
-
Ge0rG
I could well imagine having two or three ad-hoc commands along the lines of "Create a one-time invitation link" or "Create an unlimited inivtation link"
-
Ge0rG
My client shows a 401 invitation as: > Invite web page: https://yax.im/i/#yax.im%3fregister%3bpreauth%3d... > Invite URI: .... > Invite valid until: 2023-09-06T15:23:25Z
-
Ge0rG
and that's not too bad.
-
larma
It's fine for you. If you show that date string to a non tech person, they're gonna be confused
-
Ge0rG
yes, you'd have to convert it to local time and representation.
-
larma
But if you are a naive ad-hoc client, you don't know that this thing is meant to be a date.
-
jonas’
but the protocol is still usable
-
jonas’
nothing stops a client from handling specific ad-hoc commands specially to give them a nice UI
-
jonas’
you can't have that with random IQ protocols✎ -
jonas’
basic IQ protocols don't degrade as nicely as ad-hoc commands do ✏
-
larma
sure, my point was that if the protocol *requires* that the client has special handling to have a reasonable UI, using ad-hoc doesn't add any benefit over plain iq
-
jonas’
'401 is not such a case though
-
larma
401 is a borderline case, because users can just ignore the confusing expires field
-
larma
I'm not saying that 401 shall not use ad-hoc
-
larma
I was just picking an example from the XEP that I had just opened in my browser 😉
-
Ge0rG
can we go back in time and add "date", "time" and "datetime" to 0004?
-
jonas’
"no"
-
larma
Can we just replace 0004 with "current HTML form draft"
-
Kev
With both client and server dev hats on, I'd rather avoid specs using adhoc :)
-
Ge0rG
can we just replace XML with XHTML?
-
larma
I here one should use CBOR or Protobuf these days instead of XML
-
Ge0rG
Kev: so you'd always go with custom protocol?
-
Kev
I'm not saying 'always' as there's never a good reason to use adhoc, but I would generally default to not using it, rather than defaulting to using it.
-
Kev
Handling of the XML structures isn't the pain point in pretty much any XEPs, whereas any time you have to touch adhoc you find some sort of pain.
-
daniel
Ad hocs commands should only be used if you want to show them through 'dynamic' UI. Meaning 'specifying' ad hoc commands rarely makes sense in my view.
-
Kev
Hyperbole, but it's not far from the truth.
-
daniel
If you plan to use a custom UI an actual protocol is always easier to implement
-
daniel
So kinda/sorta what Kev said 😉
-
Ge0rG
I understand that we cannot fix the pain points in 0004.
-
daniel
And fwiw I hate that 401 uses ad hoc 😂
-
Ge0rG
Still, I think that specifying an ad-hoc command in a fashion that allows it to be used both by dynamic UI in legacy clients and by custom UI in modern clients is a Good Thing™
-
Kev
When M-Link added 191, we also added an equivalent adhoc to do the same thing.
-
Kev
Then later we were able to drop the adhoc interface, and were glad of it.
-
Kev
I think that's a more sensible approach than specifying protocols to use adhoc.
-
Ge0rG
I see, I'm way too idealistic
-
Zash
Since '0004 is a separate XEP, I don't see any reason why you couldn't pass any other kind of payload in ad-hoc
-
Zash
Nothing at all is a legitimate payload used for some parameter-less commands already
-
Ge0rG
Zash: you can pass any kind of payload, but you need a defined data type for it to be properly processed. and you need it twenty years ago
-
Zash
Tho at some point you just have a more complicated iq protocol :)
-
Link Mauve
There are already extensions to XEP-0004 field types, such as XEP-0221.
-
Zash
Unrelated to that, on the topic of invite tokens. I've been looking at OAuth 2.0 *a lot*, and it's basically all just passing tokens around and trading tokens for other tokens. So. Uh. It's all just tokens, all the way down!
-
Zash
... down to the password
-
Kev
Which is a token
-
Zash
Oh no
-
pep.
So.. I see many voices against adhoc. What to do?
-
Ge0rG
I see people who dislike ad-hoc, but not so much substantial arguments against it. I suppose I'll have to withdraw my threat of -1ing and you can go on
-
pep.
Is there actually anything that says there shall be no overlaps? Why would a XEP get a -1 for that? It's not like there aren't many file transfer xeps, or avatars, or bookmarks, or whatever. What changed?
-
pep.
I'm sure there are overlapping RFCs too, not reusing whatever "pieces" have been defined here and there. (Since we're kinda following what IETF does?)
-
daniel
pep.: the wording is 'does it fill a gap in the xmpp'
-
daniel
And it's something to take into account before moving to stable.
-
daniel
Maybe not a hard blocker. But something to take into consideration
-
daniel
And while we have overlapping xeps currently hopefully not a lot of them are stable or above
-
daniel
You mention avatars. But vCard for example is historical (IIRC)
-
pep.
vcard-temp?
-
daniel
Furthermore personally I don't necessarily agree that 401 and muc token overlap
-
Zash
One thing to think about is that we have a few cases of premature genericness
-
daniel
Only a few?
-
pep.
Yeah I wouldn't say overlap either, but I'm happy to say they're related. And I have been wondering if it's possible to make it so that a token allows to either create an account and allow in the MUC, or if the user already has an account then just allow in the MUC :x
-
Zash
Heh. Yeah. Things like Fastening.
-
Zash
Things that later turn out to be too generic and doesn't account for all the edge cases you find when you actually implement and deploy. So it might be better to wait with that until we have a bunch of similar protocols to think about wether they can be merged.