XSF Discussion - 2018-08-21


  1. dos

    could MAM be enabled for this room?

  2. edhelas

    +1

  3. Maranda

    Ge0rG: no, and I'm not either

  4. Kev

    Revisiting my question from yesterday - can anyone find any evidence that routing behaviour for presence type='error' is defined anywhere in 6120/6121?

  5. Kev

    3921 said it must be routed to the user, but not using what rules, and 6121 seems to be completely silent, unless I'm just missing it.

  6. MattJ

    Kev, it does appear to be missing indeed

  7. jonasw

    no erratum either

  8. Kev

    So, full-JID is routed, bare JID is dropped, logically, right?

  9. Zash

    Hm, where would error-replies to probes go?

  10. jonasw

    bare

  11. Kev

    Bare, which wouldn't be delivered to the user. Which is right, I think.

  12. Kev

    OTOH the error in response to the broadcast presence /would/ be delivered to the user, because that's to=full.

  13. jonasw

    (which is also right)

  14. Kev

    Yes.

  15. Link Mauve

    “15:43:43 Zash> Next Prosody won't allow GC1.0 joins, have we seen any ill effects of it yet?”, a tiny usability issue on my side, I used to just change my status in poezio after a network or power outage of my server, and it would automatically reconnect me back to all rooms, but without GC1.0 it instead gets an error back (which it could totally handle and issue a join, so that’s only a client needing to be fixed).

  16. Zash

    Link Mauve: https://xkcd.com/1172/ ?

  17. Kev

    I'm assuming that's a fairly common workflow though, I do the same.

  18. Link Mauve

    Pretty much.

  19. Maranda

    stupid question probably, but MAM RSM wise is it proper to return item-not-found if paging before/after a certain index (which actually exists) yields no results?

  20. Maranda

    The spec explicitly talks about the entry not existing otherwise not the page before/after it being empty.

  21. Holger

    Yes, my understanding is that you'd return an empty page in that case.

  22. Maranda

    Holger, considering some clients seem to trample on empty pages without an error though...

  23. Holger

    Huh.

  24. Maranda

    (e.g. Movim)

  25. Holger

    I would've expected clients will usually honour the 'complete' attribute and not even issue such a request in the first place.

  26. Maranda

    Holger, movim doesn't apparently

  27. Holger

    I.e. I would've thought this is a corner case where messages were deleted from the DB while the client is querying it.

  28. Maranda

    it will just send an query with rsm <after /> with the last entry.

  29. Holger

    And how does it then "trample"?

  30. Maranda

    which results in an empty page and just starts endlessly looping on that

  31. Maranda

    ^

  32. Holger

    Ugh.

  33. Holger

    edhelas: ^

  34. Maranda

    Holger, he knows

  35. Maranda

    :P

  36. Holger

    Ah.

  37. Maranda

    I already reported the issue of it not respecting the complete attribute.

  38. Holger

    Sounds like two issues to me.

  39. Maranda

    Holger, but I wonder if I should do anything to prevent this with any other clunky/old implementation

  40. Maranda

    sending the error instead of the empty page works for Movim at least

  41. Maranda

    Holger, well as long as I didn't miss anything behaving this way doesn't seem to break any MUST/SHOULD that I can see.

  42. Holger

    Maranda: Hehe, yes strictly speaking I'd agree, but I think you can deduce from the text that it goes against the intention.

  43. Holger

    I'm not sure there's use-cases where the clients would be interested in the difference between a real item-not-found and an empty page.

  44. Holger

    Probably not.

  45. Maranda

    Holger, question does ejabberd include in results the entry specified in either after/before elements?

  46. Holger

    I hope not!

  47. Holger

    I'll double-check if you have any indication that it does :-)

  48. Holger

    That would clearly go against the spec.

  49. Maranda

    Holger, I'm trying to understand why apparently Movim doesn't trample with ejabberd as well.

  50. Holger

    Me too, especially as I think ejabberd is violating that item-not-found MUST in that it *never* returns that error.

  51. Holger

    > does ejabberd include in results the entry specified in either after/before elements? Ok I checked, answer is "no".

  52. Holger

    But not I'm wondering whether I should add that item-not-found thing. Opposite problem of yours :-P

  53. Holger

    Would add code ugliness.

  54. Maranda

    Holger, the only thing that looked slightly off in that empty page was the <set /> element but otherwise was correct so I'm a bit in a 🤷‍♂️ mode atm 🤣

  55. Maranda

    hehe

  56. Holger

    Maranda: In the empty page returned by Metronome?

  57. Maranda

    yes

  58. Maranda

    and it also sported complete="true"

  59. Maranda

    but anyways since just throwing an error makes Movim happy... for now :P

  60. Holger

    We already query an additional message from the DB (and then throw it away) in order to set complete=true/false. So we'd need another one to decide on whether to return that error.

  61. Zash

    Grr, why did the mailman URLs change?

  62. jonasw

    did you delete a message?

  63. Zash

    On Fri, 2011-08-19 at 22:04 +0200, Andreas Monitzer wrote: > Why doesn't it use plain PEP, instead defining its own protocol? It did, see this thread: http://mail.jabber.org/pipermail/standards/2011-April/024355.html

  64. Zash

    Date: Sat, 20 Aug 2011 20:49:34 +0200 Subject: Re: [Standards] XEP-0292 vCard4 Reinventing the Wheel?

  65. Zash

    That link goes to something about xep178, not vcard4

  66. Zash

    This looks more relevant: https://mail.jabber.org/pipermail/standards/2011-April/024333.html

  67. Zash

    Hm, whatever happened to pubsub-since

  68. Zash

    312

  69. Zash

    Is there still consensus for having https://xmpp.org/extensions/xep-0292.html#self-iq ?

  70. Zash

    I personally don't see the point at this time, doing a PubSub get-item(s) query seems just as likely to work/not work as that, and doesn't require more code over what's already there for PEP/222/223

  71. Zash

    The argument that it's needed to work in MUC doesn't hold because it does not work in MUC without a special exception to re-route such IQ stanzas to the bare JID, like we happen to have for vcard-temp.

  72. Zash

    Extending that exception to arbitrary PubSub is just as easy as extending it to that single vcard4 iq query.

  73. Maranda

    Hmmm

  74. Maranda is tempted to experiment with multiplexing on outgoing streams

  75. Maranda

    I wonder if only Prosody wouldn't go "WTF?!" at me.

  76. Maranda

    I mean if people keept code for GTalk in place 🤣

  77. jonasw

    Zash, I agree with your view

  78. dos

    me: "Slack has Markdown, Riot has Markdown... I want Markdown my XMPP client, should be as simple as putting some mark to the message "markdown on". there has be a XEP for that already!" XMPP: uhm... XEP-0393? XEP-0394? or... https://xmpp.org/extensions/inbox/content-types.html? me: damn you xmpp

  79. dos

    every single one of those is slightly not what I would like :/

  80. SamWhited

    What's missing? 0393 is what Slack and WhatsApp do I thought

  81. moparisthebest

    First define markdown, which is hard enough

  82. SamWhited

    (and deliberately not 'markdown', which most messengers don't actually support)

  83. Kev

    On the one hand, yes it is, but on the other hand people mostly make do.

  84. Kev

    (hard to define markdown, that is)

  85. goffi

    dos: markdown is not a wire format, there has been a long flam^W debate about this on standard@, and the subject is not closed.

  86. SamWhited

    He's not looking for a wire format, he's looking to enter something in a text box and have it appear formatted. How that's transmitted on the wire doesn't matter, I suspect.

  87. dos

    oh wait, I might have raged too quickly. 0393 might be fine, have to reread

  88. goffi

    SamWhited: he's talking about a "markdown on" message mark, so I take it as a wire format. Else it doesn't matter which flavour of markdown you are using as long as you can convert it to wire format (like the RIP XHTML-IM)

  89. SamWhited

    dos: let me know, feedback would be appreciated.

  90. dos

    the examples in that xep are confusing. had to reread Example 1 a few times to actually get it

  91. SamWhited

    That's good feedback, thanks :) Driving now, ping anything you find to to sam@samwhited.com or standards at and I'll try to fix it.

  92. flow

    dos, https://xmpp.org/extensions/inbox/bmh.html

  93. dos

    flow: ah, much butter than the content type one. however, 0393 seems to be fine after all. it doesn't have any way to singalize its support though, so maybe 0393+bmh would be a good idea? :D

  94. dos

    (well, probably not)

  95. pep.

    goffi: I don't think he's talking about wire format, but your comment still applies. In any case that only needs to be a client thing and not bloat^Wdirectly in body

  96. Maranda

    actually it might not be so complicated to implement either 🤔

  97. pep.

    In fractal (matrix client) there's this thing where you can check "markdown" iirc, and then input stuff in markdown, that'll be translated into some kind of rich text, (and advertized as such). I assume they do that so you can _also_ use plain text, and not have it displayed funky, which makes sense

  98. pep.

    (à la xhtml-im, then)

  99. pep.

    But let's not revive the flamewar

  100. dos

    riot has such switch as well. otoh, slack doesn't have iirc

  101. dos

    anyway, for me looks like 0393 is fine after all, no need to flame ;D

  102. flow

    dos, isn't the thing about markdown that you don't need to signal support for it?

  103. flow

    but yeah, xep393 probably lacks an extension element indicating that its <body/> is xep393 formated

  104. dos

    flow: yeah, I thought about it after sending. makes sense

  105. jonasw

    it doesn’t really make sense

  106. jonasw

    not everyone is going to emit markdown plaintext

  107. jonasw

    or markdown-compatible plaintext

  108. dos

    there's no reason to not format *stuff like that* just because the sender didn't

  109. flow

    jonasw, are you talking about signaling support for receiving markdown, or signaling that the data is markdown formated?

  110. jonasw

    dos, think about automated things

  111. jonasw

    flow, the latter

  112. flow

    jonasw, well, but does asked for the former

  113. jonasw

    oh, I missed that then?

  114. flow

    and yes, I aggree with you, that is why I wrote that xep393 is probably missing "an extension element indicating that its <body/> is xep393 formated"

  115. Link Mauve

    Hello, I wrote a XEP about MUC avatars based on 0153, Ejabberd’s MUC avatar tutorial and disco#info, but now I’m having second-thoughts about it and might instead favour PubSub on MUC JID, so we can finally deprecate 0153.

  116. Link Mauve

    The main benefit of the latter is that 0084 describes much better what the image data actually are.

  117. Link Mauve

    But the former is already implemented in more places.

  118. Link Mauve

    The upgrade path would be trivial though.

  119. Maranda

    Thumb down, then already will not implement it

  120. Link Mauve

    It’s being implemented as we talk.

  121. Maranda

    I'm eager to see what kind of ugly hack will come out of it ☺️

  122. Link Mauve

    Current version is at: https://linkmauve.fr/extensions/xep-muc-avatar.html

  123. Maranda

    Link Mauve: I meant for the PEP version

  124. Maranda

    Link Mauve: that one is perfectly fine

  125. Link Mauve

    I’d really really like to deprecate 0153 someday though.

  126. pep.

    Maranda, shush you :)

  127. Maranda

    pep.: 😜

  128. Link Mauve

    I vetoed its deprecation back then because of MUC avatars, but I’m now convinced we can implement them using MEP.

  129. Link Mauve

    Or something like that.

  130. Maranda

    Link Mauve: probably by the time you deprecate 153, something to sub 84 will come out as well

  131. Maranda

    If it didn't already

  132. Link Mauve

    What do you think is missing from it?

  133. Link Mauve

    It would also significantly lower the cost of upgrading to MIC.

  134. Link Mauve

    It would also significantly lower the cost of upgrading to MIX.

  135. Maranda

    I'm not saying that something is missing from it, I'm strongly implying that publish subscribe isn't the holy grail that solves anything and is appropriate for everything

  136. peter

    jonasw: https://xmpp.org/registrar/ is there but might be updated properly?

  137. peter

    s/might/might not/