-
Guus
jonas’ aioxmpp output now part of the Openfire Travis build: https://travis-ci.org/github/igniterealtime/Openfire/jobs/673309693
-
Guus
loads of output - would love to get guidance on a) how to run only integration tests, b) how to interpret output
-
lovetox
so what is the suggested way of using priority right now
-
lovetox
Gajim allows the user to set his own priority if he wants
-
lovetox
per default i would use 0
-
lovetox
then Gajim adjusts automatically the priority according to show value
-
lovetox
means away = 50, dnd = 100
-
lovetox
does this still make sense in todays enviorment?
-
Zash
Carbons kinda obsoleted priority.
-
lovetox
yeah i thought so, but it maybe still can be useful?
-
lovetox
so you would suggest always use 0, expect user for some reason override
-
wurstsalat
lovetox, for optional priority there is a recommendation as well https://docs.modernxmpp.org/client/design/#deprecated-options
-
lovetox
yeah thanks
-
Holger
lovetox, either way increasing the prio for away and dnd looks wrong way round, no?
-
lovetox
did not look it up in the code
-
lovetox
i just wanted to give an example
-
Holger
Ah.
-
Holger
Anyway I would think the advantage of setting prio depending on status might be interop with old-school (non-carbons) use cases. OTOH the advantage of everyone sticking to prio=0 will usually emulate carbon behavior for incoming messages (if they're sent to the bare JID).
-
Holger
The advantage of producing correct English sentences exists does not.
-
lovetox
but is that something you would add as opt-in (shwo prio adjustments)
-
lovetox
or would it be the default to do tat✎ -
lovetox
or would it be the default to do that ✏
-
lovetox
actually you are online with 3 resources, all have prio 0 :D
-
Holger
I tried to explain why I'm unsure. Not very helpful I know 🙂 In the end I'd probably stick to prio=0 by default as that's what everyone recommends for modern clients. Probably due to the "emulate carbons" idea.
-
lovetox
i guess i keep the feature, but default to prio 0
-
Holger
And for normal end-user clients I'd definitely not expose prio knobs to users, but I guess Gajim is still also a power-user client.
-
Holger
So yeah "keep feature but default to 0" sounds sensible to me.
-
jonas’
Guus, so, the output is roughly like this: ERROR: […] followed by an (often not immediately useful) traceback, followed by a debug log which includes the verbatim bytes sent and received over the XML stream
-
jonas’
best to be read from bottom to top, since the top part often contains pre-test negotiation
-
jonas’
in the first case, aioxmpp receives <item-not-found/> in response to a disco#info query, which is at least wierd
-
jonas’
aioxmpp.e2etest.provision.client14.XMLStream: DEBUG: RECV b'<iq type="error" id=":rnZ16HksNXwLMrtNoyAx" from="1dphv93k5z@example.org" to="1dphv93k5z@example.org/1dphv93k5z"><query xmlns="http://jabber.org/protocol/disco#info"></query><error code="404" type="cancel"><item-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>'
-
jonas’
as to running only e2e tests … that’s a good question, I don’t think that’s supported. I’m also not sure it’s immediately useful, since the normal tests should pass too (and are orders of magnitude faster than the e2etests, so they are often neglegible in runtime). The advantage of running all tests is that if another test fails, it may be an indicator that something is broken in the environment which may cause false-positives in the e2etests
-
jonas’
Guus, more detailed discussion we probably better take into some 1:1 chat
-
jonas’
but this should already be useful; item-not-found in response to a disco#info without a node is at least weird
-
Guus
jonas’ sure - or in open_chat - we're currently doing more aioxmpp ci setup there.
-
lovetox
https://xmpp.org/extensions/xep-0100.html#addressing is there something more elaborate
-
lovetox
this simply does not work for IRC transports
-
lovetox
its very hard for a client to provide some good UI how a user can join a irc channel
-
lovetox
what i would want is the server returns a form with fields server and channel
-
Zash
Hold on why is an Informational XEP specifying protocol?
-
lovetox
user puts it in, and server returns a JID that i can join or add to the roster
-
Zash
lovetox, isn't that https://xmpp.org/extensions/xep-0100.html#addressing-iqgateway ?
-
Zash
Oh, only one field?
-
lovetox
yes exactly
-
lovetox
very extendable !!
-
Zash
Should at least be fine in single-server-mode, but then you probably don't need more than standard MUC UI
-
jonas’
lovetox, tbh, for jabbercat I simply intended to implement the biboumi syntax.
-
jonas’
there is no other IRC gateway anyways nowadays
-
jonas’
:)
-
Zash
maybe you and the biboumi folks could conspire to write a XEP?
-
jonas’
that’d be good
-
jonas’
advertise single vs. multi-server mode, specify the addressing format
-
lovetox
i think irc could be really nice integrated into a client
-
jonas’
agreed
-
jonas’
only with a good gateway though
-
jonas’
(hence, basing on biboumi)
-
lovetox
the only thing thats a bit clunky now is joining a channel
-
lovetox
normal user has no way of discoverying the syntax, i could of course hardcode it
-
lovetox
but meh
-
Zash
I guess the Matrix bridge has the same problem
-
lovetox
i just wanted to write that
-
lovetox
and basically every federated protocol that has groupchat caps
-
pep.
lovetox, there are more clunky things than just joining a channel tbh
-
Zash
From something like `<feature var="urn:xmpp:gateways:muc-like-using-percent-to-separate-hostname-from-channel"/>` to some dataform-in-disco to something like that XEP-0100 protocol but better.
-
pep.
NickServ for one..
-
pep.
I wouldn't want to impose that on a user who isn't experienced with IRC
-
Zash
How's that managed by biboumi? (So long since I set it up I've forgotten)
-
pep.
And then maybe it's a biboumi thing, the persistency stuff. it's nice but it's also confusing. Users leaving channels and not getting why they're still getting messages from the IRC server
-
Zash
Broadcasts?
-
pep.
"but I'm not joined on any channels on this server anymore!" ("yes.. you are..")
-
pulkomandy
ircv3.net standardises sasl to identify with an irc network. But maybe not for creating an account
-
Zash
Or you mean some bug where biboumi gets out of sync with your resources?
-
pep.
Zash, no yeah notices
-
pep.
Or reconnections, I think that also generates noise. While it's good to know, that will confuse people
-
pep.
pulkomandy, yeah biboumi is missing sasl support. But not every IRC server supports that either tbh..
-
pep.
And I don't know about account creation indeed
-
pep.
Also ghosting etc.
-
pep.
You can't really escape the NickServ!!
-
Zash
Is "NickServ" standardized or discoverable?
-
Zash
Could you map it to ad-hoc or something?
-
pep.
Implementation detail?
-
pep.
I think it's just the most common nick out there? Unsure
-
pulkomandy
There has to be an irc server somewhere that goes otherwise, probably...
-
lovetox
of course for a full integrated bridge there would be more to do
-
pep.
sasl seems to be the way(tm), all implementation "just" need support
-
Zash
this is the way
-
pep.
Was QuakeNet also using NickServ? I seem to remember something different
-
pep.
Or maybe it was just the Ops bots?
-
pep.
channel bots etc.
-
jonas’
Q
-
pep.
Which were named Q, L
-
pep.
k
-
pulkomandy
But if it was me working on this I'd go with ircv3 specs as the things I expect from servers. For other servers maybe have a degraded/failsafe mode?
-
pep.
Well here you go
-
pep.
pulkomandy, is there a discovery mechanism to know if the sasl you're attempting will work?
-
pep.
I guess you negociate sasl anyway
-
pulkomandy
They have a "capability negociation" thing in the ircv3 spec. But I didn't read it
-
pulkomandy
sasl seems to be listed there
-
ali
pulkomandy, > (١٠.٠٤.٢٠٢٠١٧:١٤:٤٥) pulkomandy: But if it was me working on this I'd go with ircv3 specs as the things I expect from servers. For other servers maybe have a degraded/failsafe mode?