oxpa: if you have trouble contacting them via s2s, they will have trouble contacting you as well ;)
oxpa
no-no, s2s works per se. I can contact any user@xmpp.jp. Only conferences 'behave'
Jeybehas left
Jeybehas joined
oxpa
also, i wrote aletter to support@xmpp.jp - no luch✎
oxpa
also, i wrote aletter to support@xmpp.jp - no luck ✏
Alexhas left
Jeybehas left
Jeybehas joined
Jeybehas left
Jeybehas joined
xsfhas left
xsfhas joined
Jeybehas left
Jeybehas joined
Jeybehas left
Jeybehas joined
APachhas joined
Jeybehas left
Jeybehas joined
etahas left
etahas joined
Jeybehas left
Jeybehas joined
pdurbinhas left
APachhas left
APachhas joined
adiaholic_has left
adiaholic_has joined
Jeybehas left
Jeybehas joined
Jeybehas left
Jeybehas joined
eevvoorhas joined
adiaholic_has left
adiaholic_has joined
marchas left
marchas joined
eevvoorhas left
eevvoorhas joined
Jeybehas left
Jeybehas joined
Jeybehas left
Jeybehas joined
Jeybehas left
Jeybehas joined
Jeybehas left
Jeybehas joined
Jeybehas left
Jeybehas joined
Danielhas left
Danielhas joined
moparisthebest
I hate asking this... does anyone know of a facebook messenger transport? I of course tried searching but can only find articles about facebook turning off XMPP support years ago
mukt2has joined
pep.
nothing in libpurple?
adiaholic_has left
adiaholic_has joined
Ge0rG
Last time I used spectrum2
moparisthebest
ah may be https://github.com/dequis/purple-facebook/wiki "Protocol: Facebook (NOT Facebook (XMPP))"
moparisthebest
that was another problem, every time I found some integration, it was XMPP based, which no longer works :'( terrible
moparisthebest
facebook has a newish "kids messenger" app that uses the parent's facebook for access control, and wife keeps getting invites for my kids, meanwhile I haven't had much traction in "just have them install Conversations instead" department :'(
Zash
Snikket?
moparisthebest
3.
Jeybehas left
Jeybehas joined
moparisthebest
oops, well it's main features appear to be "stickers" and "video chat with stupid overlays" with text chat way down on the list, not sure if XMPP can compete in those departments
Zash
Of course not
mukt2has left
Jeybehas left
Jeybehas joined
Alexhas joined
moparisthebest
mainly XMPP is lacking in the "creepy spying and data collection by facebook" department though
Danielhas left
pdurbinhas joined
Danielhas joined
Shellhas left
Jeybehas left
Jeybehas joined
andrey.ghas left
andrey.ghas joined
pdurbinhas left
adiaholic_has left
adiaholic_has joined
Danielhas left
Danielhas joined
Jeybehas left
Jeybehas joined
Danielhas left
Jeybehas left
Jeybehas joined
Danielhas joined
Danielhas left
Danielhas joined
remkohas joined
remkohas left
remkohas joined
Jeybehas left
remkohas left
Jeybehas joined
goffihas left
goffihas joined
Wojtekhas joined
archas left
archas joined
archas left
archas joined
Jeybehas left
Jeybehas joined
murabitohas joined
Danielhas left
archas left
archas joined
Danielhas joined
archas left
archas joined
Jeybehas left
Jeybehas joined
mimi89999has left
mimi89999has joined
remkohas joined
Jeybehas left
Shellhas joined
Jeybehas joined
Jeybehas left
Jeybehas joined
pdurbinhas joined
Jeybehas left
Jeybehas joined
Jeybehas left
Jeybehas joined
Jeybehas left
Jeybehas joined
pdurbinhas left
Jeybehas left
Jeybehas joined
Jeybehas left
Jeybehas joined
Jeybehas left
Jeybehas joined
Jeybehas left
Jeybehas joined
Guushas left
Daniel
When I configure something via data forms. For example a muc or a pubsub node. And I send an incomplete data form. Will the missing fields be left untouched or configured to the forms default?
MattJ
Guess
MattJ
and whatever you guess, we can document
MattJ
;)
Wojtekhas left
MattJ
I'm not aware of any text around this, I think it probably depends on context, but I wouldn't rely on it being the same across implementations
MattJ
The "depends on context" thing comes from the fact that I believe XEP-0004 primarily grew out of a protocol that was designed for presentation
MattJ
rather than machine-to-machine configuration
archas left
archas joined
stpeterhas joined
stpeterhas left
Maxhas left
larma
apropos data forms: In XEP-0068 it says that "If the FORM_TYPE field is not type="hidden", it does not have the special meaning defined herein." and "If the FORM_TYPE field is not hidden, it MUST be ignored as a context indicator.". In XEP-0004 it says that "For data forms of type "submit", inclusion of the 'type' attribute is OPTIONAL". So, for data forms of type "submit" it still seems to be required to add the type="hidden" for FORM_TYPE according to XEP-0068, yet most clients seem to not send it and most servers seem to ignore that - and many XEPs also don't do it accordingly in their examples. Should we note in XEP-0068 that specifying type="hidden" is optional in forms of type "submit"?
LNJhas left
LNJhas joined
lovetox
on this occassion i want to point to issue 1511 !
lovetox
:D
LNJhas left
LNJhas joined
MattJ
Ha, I missed that
Maxhas joined
lovetox
Daniel, but how would you come into this situation, do you want to reduce traffic and not requesting the Data Form from the server? rather just send a incomplete one where you know some fields will probably be supported?
Zash
1511 in what repo?
Daniel
lovetox: the library I'm using weirdly doesn't have a method to submit a form / and or change only one specific value in a previously downloaded form
Maxhas left
Zash
How about a left-out field preserves the existing value, or the default in case you're creating something.
Zash
Now let's discuss (nothing) vs <field/> vs <field><value/></field>
lovetox
Zash a issue on your tracker
Zash
Ah that
lovetox
but since you include a register fields as backup for clients that dont support dataforms, i guess this issue was not discovered until now :)
Zash
Isn't this more on-topic in the Prosody roomq
Zash
s/q/?/
lovetox
oh damn
lovetox
i thought i was in the prosody room
lovetox
because i saw you and mattj :D
lovetox
sorry for the offtopic
LNJhas left
Alexhas left
Alexhas joined
Jeybehas left
Jeybehas joined
boss47has joined
archas left
archas joined
andrey.ghas left
boss47has left
Maxhas joined
Guushas joined
Maxhas left
remkohas left
remkohas joined
LNJhas joined
Maxhas joined
Jeybehas left
Jeybehas joined
adiaholic_has left
adiaholic_has joined
mukt2has joined
Wojtekhas joined
Jeybehas left
Jeybehas joined
Steve Killehas left
alexishas left
remkohas left
krauqhas left
archas left
archas joined
Guushas left
archas left
krauqhas joined
archas joined
debaclehas left
Wojtekhas left
Maxhas left
werdanhas joined
Wojtekhas joined
Jeybehas left
Jeybehas joined
Jeybehas left
Jeybehas joined
Steve Killehas joined
Maxhas joined
eevvoorhas left
Maxhas left
Maxhas joined
Danielhas left
Danielhas joined
remkohas joined
Jeybehas left
Jeybehas joined
Jeybehas left
Jeybehas joined
Yagizahas left
Jeybehas left
Jeybehas joined
emushas left
emushas joined
Jeybehas left
Jeybehas joined
remkohas left
adiaholic_has left
adiaholic_has joined
Jeybehas left
Jeybehas joined
Jeybehas left
Jeybehas joined
Guushas joined
flow
larma, I'd love to discuss this but failed to follow the question
flow
what in xep68 makes type=hidden required in submit?
larma
0068 says that FORM_TYPE does not have any meaning and MUST be ignored as a context indicator if it's not type=hidden. Thus when submitting a form, adding FORM_TYPE without type=hidden is same as not adding it.
Zash
This seems silly somehow
larma
agree, my suggestion would be that we state in 0068 that in forms with type='submit' the field type='hidden' is optional
etahas left
larma
because that's what we do in practice anyway 😉
etahas joined
larma
it's also codified in examples in many XEPs
mukt2has left
waqashas joined
Guushas left
Zash
Fine with me. PR it?
Zash
types being optional in type=submit forms is funky in its own ways
flow
Tbf I still don't see the issue, but if you agree on it and maybe the PR makes it clear
Context of https://xmpp.org/extensions/xep-0128.html
Zash
Oh those are result
larma
great, so it's invalid form according to 0004 😉
Zash
flow: Imagine you get a form with a bunch of <field>s, none of which have type set. Fields can have 0, 1 or more <value>s.
Zash
> For data forms of type "submit", inclusion of the 'type' attribute is OPTIONAL, since the form-processing entity is assumed to understand the data types associated with forms that it processes.
the question is if there is a link to the previous form somewhere in the outer shell of the submited form
larma
^ relies on FORM_TYPE = "http://jabber.org/protocol/muc#request" yet doesn't set type='hidden'
Zash
larma, but type=submit and the form is supposed to be understood by the receiver
lovetox
not sure why the form type can be ignored in a submit form, does this assume all forms are only sent as IQ and the server is able to track what context the form has?
flow
Zash, how can the receiver identify the form if he is supposed to ignore FORM_TYPE?
krauqhas joined
Zash
Tho it makes it tricky if you want to add more kinds of those flows
lovetox
what if someone sends me a form as message, and i send the form back as message
lovetox
how would the receiver ever get the context of the form?
flow
lovetox, in general they can be tracked, but larma just provided an counterexample
lovetox
not as message, the receiver would have to place some hidden tracking id into the form
lovetox
also a message allows for multiple forms in the same message
Zash
Hm, how did we implemente that
flow
Zash, probably by looking at FORM_TYPE (and not following the strict interpretation of xep68 § 4.3)
lovetox
larma, thats clearly a error in the example
larma
flow, to be fair, according to XEP 0045 the only form that you can send by message is the voice request form, still that would be rather crazy code to assume all message[type=normal]+form[type=submit] to a muc bare jid is to be considered a voice request or approval
flow
larma, yep
larma
and I bet servers do check the FORM_TYPE 😉
Zash
Yup, it checks the FORM_TYPE
flow
lovetox, besides that there a probably more examples like these in the xep, i'd also assume that this is typical behavior in the wild
flow
bbl
larma
Zash, and also accept it when not having type='hidden' I assume?
lovetox
hm what do you mean, i get many forms i never saw a server send me formtype with type != hidden
lovetox
that would obviously result in the client showing this field to the user
lovetox
because its not hidden
lovetox
really i impl forms since years and we have many workflows with forms, and this never ever happend even once
lovetox
so not buying that argument that people dont set the type in the wild
Zash
larma: Yeah it ignores the type.
lovetox
and this rule make sense
lovetox
if its no hidden, its presented to the user
lovetox
as editable field
Vaulorhas left
Vaulorhas joined
lovetox
this means he could change the context on the submit
flow
larma> agree, my suggestion would be that we state in 0068 that in forms with type='submit' the field type='hidden' is optional
+1
larma
lovetox: this is only about forms with type=submit, which you normally don't display in user interfaces
flow
FORM_TYPE feels like a displaced hack anyways. I wonder why do don't have a form-namespace attribute in <{jabber:x:data}x/>
Zash
When does a server even look at a form of any type but submit?
larma
lovetox, You display type=form and type=result and in those it should still be required to have it hidden because we don't want to display it to users
lovetox
but what you now are saying, type submit is never shown in a GUI
lovetox
can we make that assumption?
Zash
Sending a type=submit form to someone that was not expecting it .. seems unlikely to me
lovetox
ok but there is a type=result
Zash
And if they're expecting it then they should already have the form locally, and thus know the form type
Zash
type=result require <field type=...> right?
Jeybehas left
Jeybehas joined
lovetox
hm no when i read it correctly
lovetox
only form needs type
lovetox
everything else MAY include types
lovetox
and submit its OPTIONAL
j.rhas left
Zash
Mabye it needs to be clarified that you would never send a from type=submit to an entity that doesn't already know what the form looks like
lovetox
i scrolled back but i dont get how or where this is a problem, how did this question get raised?
Zash
Normal flow would be that I send you a form-from, then you return a submit-form, and I give you back a result form.
Zash
flow: Agree on the hacky feeling.
sonnyhas left
sonnyhas joined
Zash
Inconsistent to include the field type on the other field in https://xmpp.org/extensions/xep-0045.html#example-80