jdev - 2020-03-30


  1. DebXWoody

    Is there a tool available to create a MUC and set a JID as admin via command line? (see https://codeberg.org/Codeberg/Community/issues/38 🤩 ).

  2. lovetox

    as server admin? probably, look at server docs

  3. Link Mauve

    Prosody exposes its internal MUC API over mod_admin_telnet, if that’s a thing you want to use.

  4. Zash

    There's at least one CLI XML console thing

  5. Zash

    Why don't we just add an ad-hoc command for creating rooms?

  6. Zash

    DebXWoody: You could even do some integration and have it automagically create rooms for each project

  7. Zash

    You could do anything!

  8. Zash

    Hmmmmm

  9. Zash

    If you know the JID of the owner(s) of $project then you could reject creation of a $project@muc.host unless it's them. Or reassign ownership on creation.

  10. Zash

    So many options!

  11. lovetox

    can someone join tigase@muc.tigase.org?

  12. lovetox

    seems down for me

  13. Wojtek

    @lovetox works for me

  14. Wojtek

    from which server do you try to join?

  15. lovetox

    ah damn

  16. Wojtek

    s2s?

  17. lovetox

    from one with expired cert

  18. lovetox

    thats probably the problem

  19. lovetox

    thanks

  20. Wojtek

    :D

  21. Wojtek

    well, it should be possible to use dialback still

  22. lovetox

    hm do i have to setup something special on my server for this to work?

  23. Zash

    Huh, odd, it closed the connection

  24. Wojtek

    @lovetox if you didn't disable dialback then it should work just fine; however if you have expired certificate we would still advertise sasl-external (we changed that recently, but it's not deployed yet) so if your server decied to use sasl-external then it would fail -- but it would be better to check actuall logs

  25. Wojtek

    @Zash `muc.tigase.org`?

  26. Zash

    s2s disconnected: expired.badxmpp.eu->muc.tigase.org (closed)

  27. Zash

    badxmpp.eu feature request: thing to trigger outgoing s2s

  28. Wojtek

    @Zash how does that (tester) work? if this indicates expired certificate then it seems to be ok here: ``` notBefore=Mar 3 18:06:36 2020 GMT notAfter=Jun 1 18:06:36 2020 GMT ```

  29. Zash

    huh

  30. Zash

    where do you see that?

  31. Zash

    https://paste.debian.net/1137435/ logs from that end fwiw

  32. Zash

    Wojtek, xmpp:expired.badxmpp.eu has an expired cert, intentionally for testing against

  33. Zash

    See https://badxmpp.eu/ and https://mail.jabber.org/pipermail/jdev/2020-March/090417.html in case you haven't seen that

  34. Wojtek

    @Zash uhm... I was checking muc.tigase.org - didn't grasp intent of badxmpp.eu at first :-)

  35. lovetox

    Wojtek, im on the hunt for a bug in tigases muc impl

  36. lovetox

    i found this https://paste.gajim.org/view/5c9b99b7

  37. lovetox

    i have to check the XEP but i dont think thats legal

  38. Wojtek

    "MUC component is disconnected."!?

  39. lovetox

    yeah dont know what that should mean

  40. Zash

    What's going on? Being kicked because the MUC component went down?

  41. lovetox

    whats weird first is status code 332

  42. lovetox

    in the XEP it says

  43. lovetox

    Inform user that he or she is being removed from the room because the MUC service is being shut down

  44. lovetox

    so this seems it should only be broadcasted to the kicked occupant

  45. lovetox

    not all other occupants

  46. lovetox

    but i guess its open to interpretation, because this status code and its use is nowhere mentioned in the XEP

  47. Wojtek

    I checked our sources and there is nothing that says: "MUC component is disconnected."

  48. Zash

    What about "%s component is disconnected." or similar?

  49. lovetox

    would my server fake a presence from a room im connected?!

  50. lovetox

    sounds weird

  51. Wojtek

    my colleague was doing some maintenance on our instances that could result in such information to user (so they wouldn't remain in a state thinking they are in the room)

  52. lovetox

    so it has to be from tigase

  53. Wojtek

    ok, case sensitive search - got it and yes - it's due to maintance

  54. lovetox

    ok further whats weird is this stanza not missing the affiliation='none' ?

  55. lovetox

    either way this went not like you wanted

  56. lovetox

    the MUC didnt seem to kick me, but told me about all other people beeing kicked

  57. lovetox

    with a status code thats not meant for me to be received

  58. Wojtek

    a little bit of context: tigase.org is a cluster installation, and when one of the nodes goes down we generate notification about those occupants that are connected to the node that is being disconnected

  59. Wojtek

    so status code in this case fits

  60. lovetox

    yes true forget about the status code

  61. lovetox

    text around that is weird in the xep

  62. lovetox

    but what about the missing affiliation?

  63. Wojtek

    well, 'none' is lack of affiliation so if you didn't have affiliation do we *have to* include affiliation='none'?

  64. lovetox

    yes

  65. lovetox

    read 5.2 Affiliations (XEP-0045)

  66. lovetox

    > Information about affiliations MUST be sent in all presence stanzas generated or reflected by the room and sent to occupants

  67. Wojtek

    @lovetox added missing attritubte in this case (and there shouldn't be more disconnects today...)

  68. lovetox

    nice thanks

  69. lovetox

    just for reference on my bug tracker, in what version will this land?

  70. Wojtek

    8.1.0, but this only applies to installations that use ACS