XSF Discussion - 2023-02-19


  1. Daniel

    singpolyma: you mentioned somewhere that you support groups in bookmarks (similar to how roster item groups work). I assume the element is just called group. But what's the namespace?

  2. Daniel

    jcbrand, I think something isn’t right with the tos and froms in the 425 examples

  3. Daniel

    i think the intent is that the room fakes a retract coming from the person who originally send the bad message?

  4. pep.

    Yeah that could be coming from the participant. Also, as someone made me realize, the room doesn't exactly need to get involved here. Optionally to remove the message from the archive, but otherwise clients can check that a user has the proper affiliation for this.

  5. pep.

    Though.. I guess that wouldn't go well with fine grained permissions (hats etc.)

  6. Daniel

    I think it's better if the room does that. Otherwise you have to implement two verification methods in the client. And developers tend to fuck up just one

  7. pep.

    Well you don't trust (client) developers but you trust (server) developers, which is it :p

  8. pep.

    I get that it's not exactly trust, fwiw, this was a bit of a pun. But I'm not sure I understand why "two" checks in the client (that would have also been implemented on the server anyway?)

  9. jcbrand

    > i think the intent is that the room fakes a retract coming from the person who originally send the bad message? Why would it do that? The retraction is from a moderator.

  10. jcbrand

    The MUC service determines whether a retraction by a 3rd party (i.e. moderator) is allowed

  11. Daniel

    to be compatible with retractions?

  12. Daniel

    i’m not saying we should be compatible with retractions. but i thought that was the goal

  13. jcbrand

    Yeah I think it's a worthy goal, but somehow I think it's misleading to pretend that the author retracted their own message

  14. Daniel

    and you'd still know who moderated it because of the 'by'

  15. jcbrand

    true

  16. jcbrand

    yeah I guess it's better how you suggest due to compatibility concerns

  17. Daniel

    yes i'm on the fence if we should make it compatible with clients that only support retractions

  18. Daniel

    because

  19. Daniel

    > android:icon="@drawable/ic_workspaces_24dp"

  20. jcbrand

    I implemented both together and kinda always saw them as related

  21. Daniel

    > I think it's misleading to pretend that the author retracted their own message

  22. jcbrand

    > I think it's misleading to pretend that the author retracted their own message Yes and also, the message is really from the room, not from the author

  23. Daniel

    then you can’t be compatible with retractions

  24. jcbrand

    One could argue that if a client only supports XEP-0424, it doesn't support XEP-0425

  25. jcbrand

    I like the idea of allowing them to somehow still retract messages without knowing about XEP-0425, but not necessarily at the expense of semantics

  26. MSavoritias (fae,ve)

    Yeah. Also could this be abused?

  27. jcbrand

    Normal users can't send stanzas on behalf of other users

  28. MSavoritias (fae,ve)

    If we have to fake from who it comes from?

  29. jcbrand

    So not really, as long as the client checks the sender

  30. jcbrand

    Unless you don't trust the MUC service at all, but then why are you using it?

  31. pep.

    Yeah the MUC is supposed to check that you're who you say you are in a message so no.

  32. pep.

    Yeah the MUC is supposed to check that you're who you say you are in a payload so no.

  33. MSavoritias (fae,ve)

    Ok

  34. jcbrand

    Daniel: I'm a bit on the fence. I can see someone making the argument: "The `from` is from the sender because it's their original message that's retracted and the `<moderated>` element specifies who did it". But then again, clients that don't check the moderator element might then wrongly report that the user retracted their own message

  35. Daniel

    yes I don’t think they necessarily need to be compatible

  36. jcbrand

    The way I had it before, with the `moderated` outside of the `retracted` element had the advantage that you could put other elements besides `retracted` inside it, like `correction` (or whatever it's called). I guess you could put the `moderated` inside the `correction`, but I think I prefer the old way. I swopped them out to get compatibility with XEP-0424, but if we don't have compatibility anyway due to the `from`, then I'm not sure the new way is better.

  37. jcbrand

    The way I had it before, with the `moderated` outside of the `retracted` element had the advantage that you could put other elements instead of `retracted` inside it, like `correction` (or whatever it's called). I guess you could put the `moderated` inside the `correction`, but I think I prefer the old way. I swopped them out to get compatibility with XEP-0424, but if we don't have compatibility anyway due to the `from`, then I'm not sure the new way is better.

  38. jcbrand

    I guess with this way, it might be easier to add support for XEP-0425 if you already support XEP-0424

  39. jcbrand

    Since I'm a web dev who doesn't use an XML parser, I think I have a bit of a blind spot as to how other client devs do things.

  40. Daniel

    a client that has support for retractions can easily add support for moderation even if the syntax and verfication (check it's coming from bare) is slightly different

  41. Daniel

    the hard part isn’t the xml parsing

  42. Daniel

    one could maybe even argue that a client might want to support retractions but not moderation

  43. jcbrand

    yes

  44. jcbrand

    Or that a client that supports retractions and then also unwittingly supports moderation is dangerous

  45. jcbrand

    I still think there's a general moderation use-case, that goes beyond retractions also

  46. jcbrand

    But people didn't like that I alluded to it without providing details

  47. pep.

    wurstsalat, is there a short description of what's supposed to go in what category now?

  48. pep.

    What's a "Tool" for exapmle

  49. pep.

    What's a "Tool" for example

  50. pep.

    (That isn't also a client, or a component, or..)

  51. singpolyma

    Daniel: group, same namespace as in roster, put inside the bookmarks2 extensions area

  52. Daniel

    singpolyma: OK thanks.

  53. wurstsalat

    pep.: There isn't yet. Shouldn't be too hard though, since you can apply more that one category

  54. wurstsalat

    (and there are examples of tools)

  55. pep.

    Ah? That section is empty for me

  56. wurstsalat

    you probably selected a specific platform

  57. pep.

    oh, good call

  58. MattJ

    If it's not too hard, maybe add some kind of "X items hidden by filters [Clear filters]"

    👍️ 1
  59. wurstsalat

    good idea

  60. pep.

    I'm bringing a question re 377 here, I couldn't find a difference between spam and abuse. Any clue? I also suspect they'd be different from one community to the other..

  61. Daniel

    Spam =mass messages selling you stuff. Abuse =personal. Insults etc

  62. Daniel

    Maybe

  63. Daniel

    From an operator perspective it's interesting because you can feed 'spam' into your other spam detection heuristics and abuse probably will require some sort of manual intervention

  64. pep.

    Personally, they all fall into abuse. One thing I'd be tempted to say for spam is the repeated characteristic. But I've also often heard the word abuse used for this

  65. pep.

    hmm

  66. moparisthebest

    I think spam is always abuse, but abuse isn't always spam

  67. Daniel

    Yee

  68. Daniel

    Yes

  69. moparisthebest

    spamming gore pics or advertisements is spam

  70. moparisthebest

    but like, belittling a certain person is abuse, but not spam

  71. Zash

    > Unsolicited bulk electronic messages says

  72. Zash

    > Unsolicited bulk electronic messages says https://en.wiktionary.org/wiki/spam#Noun

  73. Zash

    Did you want the message? Did they send it to lots of recipients (like, in MUC)? Yes to both = spam!

  74. Zash

    Yes to first, no to second → abuse, maybe.

  75. Daniel

    To me Spam is mostly automated. Last night wasn't automated

  76. Zash

    No true spam isn't automated :)

  77. Daniel

    Just highly processed

  78. pep.

    I can see this isn't very clear. Unsolicited can me many things as well. Most of my mailbox is unsolicited mail

  79. pep.

    And that's after I've sorted spam out

  80. pep.

    I wonder if it would be possible for a server/community not to include one or the other term from 377 in clients :/

  81. pep.

    Without forking said clients

  82. singpolyma

    Do we still have a good reason to disallow editing older messages? While updating my code to support moderation last night I'm pretty sure I also allow retraction and edit of any message now

  83. singpolyma

    (since moderation needed that)

  84. Daniel

    Fwiw Conversations 3 will allow you to edit any message

  85. Daniel

    So no I don't think so

  86. singpolyma

    Sounds like a vote for me to allow it now then if I will after I rebase on c3 anyway ;)

  87. Daniel

    The big difference to me is that C3 will show full history of edits

  88. singpolyma

    That will be nice

  89. Daniel

    Which I think gets rid of some of the side effects of allowing to edit a message from five years ago

  90. Zash

    Excellent!

  91. Zash

    IIRC that's a recommendation in the XEP too, to show history of edits.

  92. pep.

    I also prefer A(ny)MC

  93. Daniel

    Yes. But tell that early twenties me to design the database properly

  94. pep.

    :)

  95. pep.

    wurstsalat, how about adding GET query params support to be able to share links from that doap page

  96. edhelas

    In MUC, clients cannot inject <status/> I can imagine ?

  97. edhelas

    > Yes. But tell that early twenties me to design the database properly Movim had this flaw as well, now I keep the whole history and replace the messages once generating the bubble (might be able to show the history actually as well)

  98. edhelas

    On a totally different topic, would it be possible for servers to serve avatars over HTTP ?

  99. edhelas

    It's already possible in the XEP, and we have HTTP features already such as for HTTP upload.

  100. edhelas

    This could greatly help to reduce the congestion in XML streams

  101. pep.

    By moving off to HTTP. Are you also going to seel your unborn child?

  102. edhelas

    Wat

  103. pep.

    Is this actually an issue you have?

  104. pep.

    sell*

  105. edhelas

    Well, it's more an improvement

  106. singpolyma

    edhelas: you can of course, but there are privacy concerns since you leak IP to with over http

  107. edhelas

    When connecting to big chatrooms, I could easily fire parallel Curl download and not get each avatar in base64

  108. singpolyma

    Can you do both? I think you can, then clients can choose

  109. edhelas

    singpolyma yes, the Avatar XEP can do that :)

  110. Zash

    what we could do is replace XEP-0153 with something like blurhash, like a 4x4 png

  111. edhelas

    Zash as well :)

  112. Zash

    IIRC larma or someone pointed out that a tiny PNG bit without header and stuff would be more efficient than blurhash

  113. singpolyma

    We're using blurhash already for media thumbnails

  114. singpolyma

    (we, Cheogram and Cheogram Android)

  115. edhelas

    singpolyma ther's a XEP for that ?

  116. singpolyma

    edhelas: just using sims

  117. singpolyma

    <thumbnail with a data uri

  118. wurstsalat

    > wurstsalat, how about adding GET query params support to be able to share links from that doap page Using hugo?

  119. Zash

    javascript :(

  120. pep.

    Well there's an obvious graceful fallback which is you can only share the page and not the query

  121. Zash

    You can do a lot with CSS actually, but probably not all of the settings

  122. Zash

    #client #server etc could work tho

  123. pep.

    It seems like DOAP,s <xmpp:note/> doesn't accept structured markup? (does it have to be explicitely defined?) Where do people describe their support for monsters like 0045 or 0060?

  124. Zash

    plain text

  125. edhelas

    Is CDATA valid in XMPP ?

  126. singpolyma

    Should be? It's just syntactic

  127. edhelas

    Ok

  128. edhelas

    Because we agree that <body>> quoted message</body> is not valid ?

  129. singpolyma

    Correct

  130. singpolyma

    So cdata or entity

  131. singpolyma

    They're equivalent

  132. edhelas

    Perfect 👍

  133. pep.

    &gt; that is, not &amp;gt; :P

  134. singpolyma

    Right

  135. larma

    > &gt; that is, not &amp;gt; Why would that not be valid?

  136. pep.

    I mean &amp;gt; isn't ">"

  137. pep.

    That's what movim was sending before the last commit, displaying &gt; everywhere in fallback messages instead of >

  138. larma

    Ah.

  139. larma

    I just wanted to mention that only & and < are not allowed in XML character data, but > is. > though must actually be escaped as &gt; when in CDATA

  140. larma

    I just wanted to mention that only & and < are not allowed in XML character data, but > is. > though must actually be escaped as &gt; when in CDATA if it appears after ]]

  141. Zash

    Pretty sure many XML parsers are totally fine with `<a>></a>`