or so clients that dont support direct can display something
paulhas joined
kikuchiyohas joined
paulhas left
paulhas joined
wurstsalathas joined
asterixhas joined
pulkomandyhas left
pulkomandyhas joined
Meta Bergmanhas left
asterixhas left
asterixhas joined
alexishas left
alexishas joined
pulkomandyhas left
Ge0rG
lovetox: both of those, yeah
Ge0rG
also for Carbons to work
pulkomandyhas joined
asterixhas left
asterixhas joined
neustradamushas joined
kikuchiyohas left
kikuchiyohas joined
kikuchiyohas left
flow
appears that including a fallback body should become a pattern (at least in some cases)
pulkomandyhas left
pulkomandyhas joined
Ge0rG
flow: it's been a pattern for twenty years
Ge0rG
most MUC implementations send a fallback body in direct invites.
Ge0rG
it's also mostly very ugly
flow
then it's not a widely known one and at least not specifies in xep249✎
flow
then it's not a widely known one and at least not specified in xep249 ✏
kikuchiyohas joined
Marchas joined
flow
Ge0rG, sending a fallback body with xep249 direct muc invitations is ugly? care to elaborate?
Ge0rG
flow: feel free to PR, I guess
Neustradamushas joined
Neustradamushas left
Ge0rG
flow: no, the fallback body generated by MUC implementations is ugly
Zash
The direct invite included in the meditated invite is also fun
Ge0rG
flow: it would be great to have a small section in 0249 discussing that a) a fallback body MAY be added by the sender and that if it is added, it MUST NOT contain any information that's not in the <x/>, so that it is safe to ignore by compliant implementations
Neustradamushas joined
Neustradamushas left
kikuchiyohas left
pulkomandyhas left
defanorhas left
sonnyhas left
kikuchiyohas joined
pulkomandyhas joined
asterixhas left
asterixhas joined
kikuchiyohas left
rionhas left
rionhas joined
asterixhas left
asterixhas joined
goffihas joined
goffihas left
kikuchiyohas joined
goffihas joined
asterixhas left
asterixhas joined
Kevhas left
asterixhas left
asterixhas joined
Kevhas joined
pulkomandyhas left
pulkomandyhas joined
asterixhas left
asterixhas joined
sonnyhas joined
adrienhas left
adrienhas joined
asterixhas left
asterixhas joined
asterixhas left
asterixhas joined
kikuchiyohas left
kikuchiyohas joined
asterixhas left
asterixhas joined
kikuchiyohas left
kikuchiyohas joined
lovetox
when do i want to send an directed invite instead of a mediated one?
jonas’
lovetox, when your recipient filters messages from strangers
lovetox
i cant know that
jonas’
(since the MUC is going to be a stranger)
defanorhas joined
jonas’
exactly
jonas’
so the answer is "always, unless you have to go mediated because of ACLs"
lovetox
so it cant be factor in my decision
lovetox
but mediated invite adds automatically to member list
jonas’
that’s what I meant
jonas’
if you are in members-only and you are not an admin, you have to go mediated
jonas’
if you are in members-only and you are an admin, you add them to the member list and send direct
jonas’
otherwise, you send direct
lovetox
omg, way too complicated
jonas’
yes
goffihas left
lovetox
somebody should write some flowchart
jonas’
I just did :)
jonas’
in text form tho
lovetox
flowchart in text form i have to remember that :D
flow
lovetox, "way too compliacted" implies that there is a less complicated way. Please share that :)
lovetox
i dont see how one implys the other
Zash
0401 ish flow for MUC?
lovetox
quantum physic is also way to complicated for me, that does not mean there is an easier way :)
goffihas joined
jonas’
+------------------+ +-----------------+ +-------------------+
| | yes | | no | |
| is members-only? +------->+ am admin? +------------->+ send mediated |
| | | | | |
+--------+---------+ +--------+--------+ +-------------------+
| |
| |yes
|no v
| +--------+--------+
| | |
| | add as member |
| | |
| +--------+--------+
| |
| |
| v
| +--------+--------+
| | |
+----------------->+ send directed |
| |
+-----------------+✎
in groupchat 1.0, (mediated) invites could’ve been presence subscription requests which are indeed tracked by the server. Doesn’t solve it for the non-insane post-GC-1.0 world, nor for mediated invites, but it still crossed my mind.
autojoin=1 -> yes, autojoin=0 -> keep in mind but don't join, autojoin=-1 -> blacklisted!
Zash
but it's a boolean
lovetoxhas left
Ge0rG
autojoin=0 -> keep in mind but don't join, autojoin=n -> blacklisted!
Ge0rG
won't prosody keep the actual textual representation in the store?
Zash
Other clients parsing and re-serializing it tho?
Ge0rG
Zash: who cares about other clients?
Ge0rG
oh wait, you can just block the room JID and manually compare direct invites to the blocklist
Zash
Heh, hacky but I suppose it would work
Zash
And it would prevent unknowing clients from joining
Ge0rG
lovetox: there is one more reason for direct invites: you might want to auto-join invites to private rooms from a contact, because insta-chats. And you can't ensure that a mediated invite really came from a contact and not from a malicious MUC
flow
Zash> And it would prevent unknowing clients from joining
hopefully with a nice error message instead of a silent timeout
flow
i'm also not sure about the UX if the user afterwards decides that to join the room
Zash
Blocking command mandates an error iirc
Zash
Hm
flow
what would be the 'from' value of the iq error?
Zash
> If the user attempts to send an outbound stanza to the JID, the user's server MUST NOT route the stanza to the JID but instead MUST return a <not-acceptable/> error [...]
https://xmpp.org/extensions/xep-0191.html#block
https://xmpp.org/extensions/xep-0191.html#example-9
Zash
flow, /error/@by is what you mean
Zash
@to & @from are always swapped for replies
flow
ahh good then
Zash
Not sure we set that tho, better check
Zash
It's not in the example, so probably not :)
Zash
Heh, indeed
pulkomandyhas left
lovetoxhas joined
pep.
> Zash> but it's a boolean
or why one shouldn't represent booleans as integers :(
pulkomandyhas joined
adrienhas left
adrienhas joined
pulkomandyhas left
goffihas left
goffihas joined
Ge0rG
pep.: as we all know, the correct represntation for booleans is ["YES", "Norway"]
pep.
:D
kikuchiyohas left
kikuchiyohas joined
pulkomandyhas joined
asterixhas left
asterixhas joined
goffihas left
goffihas joined
Meta Bergmanhas joined
sonnyhas left
sonnyhas joined
neustradamushas left
neustradamushas joined
asterixhas left
asterixhas joined
kikuchiyohas left
kikuchiyohas joined
asterixhas left
asterixhas joined
serge90has joined
serge90has left
serge90has joined
kikuchiyohas left
serge90has left
serge90has joined
serge90has left
serge90has joined
serge90has left
serge90has joined
serge90has left
serge90has joined
kikuchiyohas joined
serge90has left
serge90has joined
pulkomandyhas left
pulkomandyhas joined
serge90has left
serge90has joined
serge90has left
serge90has joined
serge90has left
serge90has joined
serge90has left
serge90has joined
pulkomandyhas left
serge90has left
serge90has joined
kikuchiyohas left
pulkomandyhas joined
kikuchiyohas joined
kikuchiyohas left
pulkomandyhas left
pulkomandyhas joined
serge90has left
serge90has joined
serge90has left
serge90has joined
kikuchiyohas joined
pulkomandyhas left
goffihas left
pulkomandyhas joined
serge90has left
serge90has joined
kikuchiyohas left
serge90has left
serge90has joined
neustradamushas left
neustradamushas joined
kikuchiyohas joined
Neustradamushas joined
Neustradamushas left
serge90has left
serge90has joined
kikuchiyohas left
serge90has left
serge90has joined
serge90has left
serge90has joined
serge90has left
serge90has joined
serge90has left
serge90has joined
serge90has left
serge90has joined
kikuchiyohas joined
serge90has left
serge90has joined
pulkomandyhas left
serge90has left
serge90has joined
serge90has left
serge90has joined
pulkomandyhas joined
serge90has left
serge90has joined
pulkomandyhas left
serge90has left
serge90has joined
alexishas left
pulkomandyhas joined
alexishas joined
serge90has left
serge90has joined
alexishas left
serge90has left
serge90has joined
pulkomandyhas left
serge90has left
serge90has joined
pulkomandyhas joined
serge90has left
jonas’has left
serge90has joined
jonas’has joined
alexishas joined
serge90has left
serge90has joined
asterixhas left
asterixhas joined
serge90has left
serge90has joined
serge90has left
serge90has joined
serge90has left
serge90has joined
serge90has left
goffihas joined
serge90has joined
serge90has left
serge90has joined
serge90has left
serge90has joined
serge90has left
serge90has joined
neustradamushas left
neustradamushas joined
pulkomandyhas left
pulkomandyhas joined
serge90has left
serge90has joined
serge90has left
serge90has joined
serge90has left
serge90has joined
lovetoxhas left
asterixhas left
asterixhas joined
asterixhas left
asterixhas joined
asterixhas left
asterixhas joined
asterixhas left
asterixhas joined
serge90has left
serge90has joined
lovetoxhas joined
asterixhas left
asterixhas joined
serge90has left
serge90has joined
Wojtekhas joined
serge90has left
serge90has joined
serge90has left
serge90has joined
lovetoxhas left
lovetoxhas joined
serge90has left
serge90has joined
serge90has left
serge90has joined
pulkomandyhas left
asterixhas left
asterixhas joined
lovetoxhas left
pulkomandyhas joined
serge90has left
serge90has joined
serge90has left
serge90has joined
lovetoxhas joined
serge90has left
serge90has joined
kikuchiyohas left
kikuchiyohas joined
debaclehas left
debaclehas joined
lovetoxhas left
serge90has left
serge90has joined
serge90has left
serge90has joined
debaclehas left
asterixhas left
asterixhas joined
serge90has left
serge90has joined
serge90has left
lovetoxhas joined
serge90has joined
pulkomandyhas left
serge90has left
serge90has joined
lovetoxhas left
SouLhas left
serge90has left
serge90has joined
kikuchiyohas left
pulkomandyhas joined
SouLhas joined
serge90has left
serge90has joined
pulkomandyhas left
kikuchiyohas joined
pulkomandyhas joined
serge90has left
serge90has joined
kikuchiyohas left
serge90has left
serge90has joined
kikuchiyohas joined
serge90has left
serge90has joined
serge90has left
serge90has joined
kikuchiyohas left
Martinhas left
Martinhas joined
Martinhas left
Martinhas joined
serge90has left
serge90has joined
serge90has left
serge90has joined
serge90has left
serge90has joined
kikuchiyohas joined
serge90has left
serge90has joined
kikuchiyohas left
serge90has left
serge90has joined
pulkomandyhas left
pulkomandyhas joined
debaclehas joined
alexishas left
serge90has left
serge90has joined
lovetoxhas joined
serge90has left
serge90has joined
serge90has left
serge90has joined
kikuchiyohas joined
Marchas left
serge90has left
serge90has joined
pulkomandyhas left
Marchas joined
lovetoxhas left
serge90has left
serge90has joined
pulkomandyhas joined
kikuchiyohas left
kikuchiyohas joined
serge90has left
serge90has joined
kikuchiyohas left
serge90has left
serge90has joined
serge90has left
serge90has joined
serge90has left
serge90has joined
serge90has left
serge90has joined
serge90has left
serge90has joined
serge90has left
serge90has joined
serge90has left
serge90has joined
kikuchiyohas joined
serge90has left
serge90has joined
kikuchiyohas left
serge90has left
serge90has joined
serge90has left
serge90has joined
kikuchiyohas joined
lovetoxhas joined
pulkomandyhas left
pulkomandyhas joined
serge90has left
serge90has joined
jonas’
I’ll just leave this here:
$ host omdathetkan.monshouwer.org
omdathetkan.monshouwer.org is an alias for https://omdathetkan.monshouwer.org.
https://omdathetkan.monshouwer.org has address 195.191.112.29
https://omdathetkan.monshouwer.org has IPv6 address 2a02:990:100:1:0:d05::
jonas’
(re that discussion the other day about nameprep being not strict enough)
serge90has left
serge90has joined
DebXWoodyhas left
serge90has left
serge90has joined
serge90has left
serge90has joined
serge90has left
serge90has joined
flow
jonas’, hmm, I am not sure if (other) non-LDH labels should appear on the wire
it was my understanding that essentially only those are allowed in the wire protocol
jonas’
what about _xmpp-server
jonas’
there was a fun discussion in #powerdns on OFTC a few minutes back (after I asked if '&' (U+0026) is valid in DNS labels) and DNS isn’t actually strict about that
flow
those are underscore labels
serge90has left
serge90has joined
flow
dns is like 1000s of RFCs, so its kind of complicated
flow
plus registries are lax when it comes to compliance
flow
which kinda forces implementations to become a little bit lax too
jonas’
compliance to what even
flow
the RFCs i'd assume
flow
hmm it was pretty sure the kind of labels which are allowed on the wire is specified somewhere
lovetoxhas left
jonas’
flow, maybe you meant: https://tools.ietf.org/html/rfc1035
<label> ::= <letter> [ [ <ldh-str> ] <let-dig> ]
<ldh-str> ::= <let-dig-hyp> | <let-dig-hyp> <ldh-str>
<let-dig-hyp> ::= <let-dig> | "-"
<let-dig> ::= <letter> | <digit>
<letter> ::= any one of the 52 alphabetic characters A through Z in
upper case and a through z in lower case
<digit> ::= any one of the ten digits 0 through 9
jonas’
but that seems to be generally understood more as "guideline" than as "rule" by the DNS community
flow
yes and no, that's one of the very first of DNS related RFCs
but if the powerdns folks tell me that, I’m not going to argue ;)
jonas’
I don’t want to be *that* person who tries to point at RFCs in a field they don’t know about in front of the folks implementing them all day ;)
flow
jonas’, they tell you it is valid?
jonas’
yes
serge90has left
flow
could very well be, as I said i'm not sure
jonas’
I hear that there are not really restrictions
serge90has joined
jonas’
there’s something for "hostnames", but that’s irrespective of DNS
jonas’
as you can see, the https:// stuff passing right through
jonas’
powerdns will reject & and ; with the SQL backend tho
flow
and '://' is not really the intersting part of the ASCII range✎
jonas’
so no fun to be had with ".domain.example and XML
flow
and '://' is not really the interesting part of the ASCII range ✏
Zash
Ge0rG, you might enjoy `dig 🤖️.zash.se txt +noidnin`
jonas’
I get NXDOMAIN
jonas’
but that may be copy/paste issues
Zash
`dig txt bender.zash.se` but it gets escaped :(
flow
ahh, possible that https://tools.ietf.org/html/rfc2181#section-11 is still in effect
flow
which means binary fun
flow
still LDH label is what you usually want to see on the wire, and underscore labels of course
flow
https://tools.ietf.org/html/rfc5890#section-2.3.1 has a nice overview
jonas’
"want" :>
jonas’
again, I’m not going to dig into that now
flow
@ c query ("🤖.zash.se", org.minidns.record.Record.TYPE.TXT)
java.lang.IllegalArgumentException: java.text.ParseException: An unassigned code point was found in the input 🤖
Zash
eheehehehhee
serge90has left
serge90has joined
jonas’
bedtime
serge90has left
serge90has joined
flow
hmm, which is kinda strange, as the robot was added in unicode 8 and this is java 11 which should support unicode 10