-
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 🤩 ).
-
lovetox
as server admin? probably, look at server docs
-
Link Mauve
Prosody exposes its internal MUC API over mod_admin_telnet, if that’s a thing you want to use.
-
Zash
There's at least one CLI XML console thing
-
Zash
Why don't we just add an ad-hoc command for creating rooms?
-
Zash
DebXWoody: You could even do some integration and have it automagically create rooms for each project
-
Zash
You could do anything!
-
Zash
Hmmmmm
-
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.
-
Zash
So many options!
-
lovetox
can someone join tigase@muc.tigase.org?
-
lovetox
seems down for me
-
Wojtek
@lovetox works for me
-
Wojtek
from which server do you try to join?
-
lovetox
ah damn
-
Wojtek
s2s?
-
lovetox
from one with expired cert
-
lovetox
thats probably the problem
-
lovetox
thanks
-
Wojtek
:D
-
Wojtek
well, it should be possible to use dialback still
-
lovetox
hm do i have to setup something special on my server for this to work?
-
Zash
Huh, odd, it closed the connection
-
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
-
Wojtek
@Zash `muc.tigase.org`?
-
Zash
s2s disconnected: expired.badxmpp.eu->muc.tigase.org (closed)
-
Zash
badxmpp.eu feature request: thing to trigger outgoing s2s
-
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 ```
-
Zash
huh
-
Zash
where do you see that?
-
Zash
https://paste.debian.net/1137435/ logs from that end fwiw
-
Zash
Wojtek, xmpp:expired.badxmpp.eu has an expired cert, intentionally for testing against
-
Zash
See https://badxmpp.eu/ and https://mail.jabber.org/pipermail/jdev/2020-March/090417.html in case you haven't seen that
-
Wojtek
@Zash uhm... I was checking muc.tigase.org - didn't grasp intent of badxmpp.eu at first :-)
-
lovetox
Wojtek, im on the hunt for a bug in tigases muc impl
-
lovetox
i found this https://paste.gajim.org/view/5c9b99b7
-
lovetox
i have to check the XEP but i dont think thats legal
-
Wojtek
"MUC component is disconnected."!?
-
lovetox
yeah dont know what that should mean
-
Zash
What's going on? Being kicked because the MUC component went down?
-
lovetox
whats weird first is status code 332
-
lovetox
in the XEP it says
-
lovetox
Inform user that he or she is being removed from the room because the MUC service is being shut down
-
lovetox
so this seems it should only be broadcasted to the kicked occupant
-
lovetox
not all other occupants
-
lovetox
but i guess its open to interpretation, because this status code and its use is nowhere mentioned in the XEP
-
Wojtek
I checked our sources and there is nothing that says: "MUC component is disconnected."
-
Zash
What about "%s component is disconnected." or similar?
-
lovetox
would my server fake a presence from a room im connected?!
-
lovetox
sounds weird
-
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)
-
lovetox
so it has to be from tigase
-
Wojtek
ok, case sensitive search - got it and yes - it's due to maintance
-
lovetox
ok further whats weird is this stanza not missing the affiliation='none' ?
-
lovetox
either way this went not like you wanted
-
lovetox
the MUC didnt seem to kick me, but told me about all other people beeing kicked
-
lovetox
with a status code thats not meant for me to be received
-
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
-
Wojtek
so status code in this case fits
-
lovetox
yes true forget about the status code
-
lovetox
text around that is weird in the xep
-
lovetox
but what about the missing affiliation?
-
Wojtek
well, 'none' is lack of affiliation so if you didn't have affiliation do we *have to* include affiliation='none'?
-
lovetox
yes
-
lovetox
read 5.2 Affiliations (XEP-0045)
-
lovetox
> Information about affiliations MUST be sent in all presence stanzas generated or reflected by the room and sent to occupants
-
Wojtek
@lovetox added missing attritubte in this case (and there shouldn't be more disconnects today...)
-
lovetox
nice thanks
-
lovetox
just for reference on my bug tracker, in what version will this land?
-
Wojtek
8.1.0, but this only applies to installations that use ACS