-
marc
Is there a XML command list for XEPs?
-
jonasw
marc, I don’t understand the question
-
marc
jonasw, commands like <strong>
-
marc
"commands"
-
jonasw
ah
-
marc
tags
-
jonasw
you can read xep.dtd
-
jonasw
(well, if you can read DTDs ;))
-
marc
Yeah, a bit
-
jonasw
but that’s the normative reference for things which currently work in XEPs, as everything gets validated against that IIRC
-
marc
I need a tag to make an indention like a list but without bullet points
-
jonasw
I don’t think we have that
-
jonasw
why?
-
marc
Argh :D
-
marc
Because it would look nice ;)
-
jonasw
what are you going to use it for?
-
marc
To "highlight" something
-
marc
Hard to describe ;)
-
jonasw
would be useful if you could be more specific
-
jonasw
there are example blocks for examples which may be useful
-
marc
Yeah, but it's an URI and not XML
-
jonasw
does that matter?
-
jonasw
I don’t think that examples necessarily have to be XML
-
marc
Yeah, but the example block is very big for just a single line :D
-
jonasw
maybe just a code block without example?
-
jonasw
like I used for the test vectors here: https://xmpp.org/extensions/xep-0390.html#algorithm-example-simple
-
marc
Hm, somehow it looks strange
-
marc
Doesn't matter for now :D
-
marc
jonasw, Can I just copy paste from other XEPs?
-
jonasw
what do you want to copy&paste?
-
jonasw
citing would be more appropriate in many cases (use &xep1234; for that)
-
marc
Puh, but this would make reading this XEP very stressful
-
jonasw
the issue would be to keep things up-to-date if wording in the referenced xep changes, so I’d discourage that.
-
marc
I would copy some parts from https://xmpp.org/extensions/xep-0379.html#link_transmission for example
-
jonasw
that is a prime example where quoting would be more appropriate✎ -
jonasw
that is a prime example where citing would be more appropriate ✏
-
Ge0rG
jonasw: I've heard that
-
jonasw
Ge0rG, what’dya hear?
-
Ge0rG
jonasw: you criticizing my XEP :P
-
jonasw
do I?✎ -
jonasw
am I? ✏
-
jonasw
I can’t english today.
-
Ge0rG
I can't today.
-
marc
Ge0rG, what do you think? quoting or copying?
-
Ge0rG
marc: what do you want to present? the returned URL?
-
marc
Ge0rG, provide information about the landing page
-
Ge0rG
marc: <div class="example"> :P
-
jonasw
I think you are confused.
-
marc
:D
-
Ge0rG
who? me?
-
jonasw
yeah
-
marc
Ge0rG, yes
-
jonasw
Ge0rG, the current question is about whether marc shall copy the linked section from your XEP or rather cite it.
-
marc
Probably you should read the backlog once again :D
-
jonasw
I think citing is more appropriate
-
jonasw
this isn’t about markup anymore, even though I admit I thought that too at first.
-
Ge0rG
marc: I'm not opposed to you copying my text where it makes sense, but I think it would be better to write "An out-of-band presentation of the xmpp: URI according to XEP-0379 §3.3 [...] Example here: [...]"
-
jonasw
I’d not go as far as "according to", but "like for example described in", because it’s not going to be normative
-
jonasw
(is it?)
-
marc
Well, I'll just copy it for now because I also changed some parts
-
marc
We can remove redundant parts later
-
marc
Okay?
-
Ge0rG
marc: if you change parts, please PR them against the original
-
Ge0rG
marc: nothing is worse than a slightly deviating copy.
-
marc
Ge0rG, well, we have to discuss my changes anyway
-
marc
Ge0rG, so let's do this before I PR something ;)
-
jonasw
I agree with Ge0rG
-
Ge0rG
marc: you can PR your new wording against 379 before copy&pasting from it.
-
jonasw
especially if the XEPs are going to interop ...
-
Ge0rG
marc: actually, what you just wrote made me change my mind. PLEASE DO NOT COPY&PASTE.
-
Ge0rG
Especially not COPY&PASTE&CHANGE.
-
marc
Ge0rG, :D
-
marc
Ge0rG, I would recommend that you state something like "the landing page SHOULD contain the XMPP URI in the form of a QR code" in your XEP
-
jonasw
s/recommend/RECOMMEND/? :)
-
marc
:D
-
marc
It is possible to reference to a specific section of a XEP?
-
Ge0rG
marc: if you open the link on your mobile device, how is a qr code going to help?
-
marc
Ge0rG, if _you_ open it on your mobile phone it doesn't help
-
marc
But if you open it on a desktop client it helps
-
marc
Or I open it because I generated it and my client doesn't generate QR codes for some reason
-
marc
desktop client -> desktop e-mail client or something like that
-
Ge0rG
marc: is there an xep that defines qr codes for xmpp?
-
marc
Ge0rG, just encode the XMPP URI
-
marc
works like a charm
-
Ge0rG
marc: not what I asked.
-
marc
Ge0rG, okay: no :P
-
Ge0rG
marc: so you want me to create a precedent?
-
marc
Ge0rG, I don't know if we need a XEP for it
-
marc
Ge0rG, you could also ask the other way around: how to use the invitation fpr your mobile device if the invitee opens the invitation on a desktop client and you only have a XMPP URI link
-
marc
Ge0rG, we could also write a short XEP but I don't know if that's worth the effort
-
Ge0rG
marc: yes, a qr code is just the right thing there. The question is whether the developer of the landing page can make that leap without text in the xep
-
Ge0rG
marc: https://github.com/ge0rg/easy-xmpp-invitation/issues/6
-
marc
Ge0rG, nice, you should add this idea to the XEP now :D
-
marc
Ge0rG, It's good that we agree at least on some points :>
-
marc
jonasw, Ge0rG do you think it is possible to make HTTPS mandatory for the landing page?
-
Ge0rG
marc: yes, but does that need to be written in the XEP?
-
jonasw
it sure is possible, the question is whether it is reasonable :)
-
marc
Ge0rG, if I don't write it in the XEP it is not required for the implementation, is it? :D
-
marc
It's pretty easy nowdays to deploy HTTPS
-
marc
Ge0rG, current XEP version: http://projects.zapb.de/tmp/xeps/user-invite.html
-
marc
Please don't comment on minor issues
-
SouL
Ge0rG, weren't you the guy doing a XEP like this? Or is something else?
-
Ge0rG
marc: it's still missing the two different user stories.
-
Ge0rG
SouL: [xep 0379]
-
Ge0rG
Sigh. I'll never get the bots right.
-
Ge0rG
marc: I would tend to reuse the `preauth` element
-
marc
Ge0rG, yep, I'm aware of the user stories
-
marc
Ge0rG, yeah, we have to discuss the URI elements / URI format
-
marc
Ge0rG, other comments or objections?
-
Ge0rG
marc: `xmpp:inviter@server?;preauth=TOKEN;ibr`
-
Ge0rG
marc: it's a pretty rough state, so I'm not sure what parts I should comment about
-
marc
Ge0rG, "?;" doesn't make sense
-
Ge0rG
marc: it does, if you want to explicitly say it's an empty action.
-
marc
Ge0rG, structuring, for example
-
marc
Ge0rG, no, because you assume that there is an ordering for query elements but that's not the case IMO
-
Ge0rG
marc: if there is no ordering, what's the action?
-
marc
Ge0rG, an element without value which is _defined_ somewhere as action I would say
-
Ge0rG
marc: `xmpp:inviter@server?preauth=TOKEN;ibr` then
-
marc
Ge0rG, for example, the "?register" action would make sense for the "account creation" use case
-
Ge0rG
marc: it would be great to have decision trees
-
marc
Ge0rG, a set of defined actions is good starting point for decision trees, isn't it? :)
-
Ge0rG
marc: for account creation it will be something like `xmpp:invitee@server?register;preauth=TOKEN`
-
marc
Ge0rG, +1
-
marc
xmpp://server?register;preauth=TOKEN
-
marc
oh no
-
Ge0rG
marc: the decisions are, for the inviter: force the user to join my server, or let them just add me?
-
Ge0rG
marc: for the invitee: do I have an xmpp account already?
-
marc
yes
-
marc
But it would also be nice the have decision trees for URIs in general to provide the same UX in all clients
-
Ge0rG
marc: this needs to be written down in the XEP, with according recommendations for client behavior
-
marc
yes
-
marc
Ge0rG, btw, I would add the possibility to disable mutual roster subscription for account creation
-
marc
I think it makes sense for the account creation use case
-
Ge0rG
marc: I think you are making this more and more complex
-
Ge0rG
marc: there are many ways to add a user already
-
marc
Ge0rG, add a user = account creation?
-
marc
Ge0rG, it doesn't become more complex for the clients
-
Ge0rG
marc: it becomes more complex for the user
-
marc
Ge0rG, that's an admin thing not end-user
-
Ge0rG
marc: but yeah, it makes sense to add a flag
-
marc
Ge0rG, so we don't have to care about "UX"
-
jonasw
I am worried by the quotes around "UX".
-
Ge0rG
marc: what about "AX"?
-
marc
Ge0rG, As an admin I like options :p
-
Ge0rG
😁
-
marc
jonasw, because were're not talking about end-users here
-
Ge0rG
Admins are users as well
-
marc
Yes that's why I said end-users