psi-im / psi

XMPP client
https://psi-im.org/
Other
406 stars 122 forks source link

Missing dialog windows #609

Open Neustradamus opened 3 years ago

Neustradamus commented 3 years ago

Some dialog windows have been missing.

Examples:

"Psi: Join Groupchat":

In a MUC Room:

In "Manage Bookmarks":

Roster:

Neustradamus commented 6 months ago
<error type="cancel">
<not-allowed xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Error handling test</text>
</error>

Linked to:

Neustradamus commented 6 months ago

Examples of errors which are not showed in Psi:

When we try to join a MUC Room from "Bookmarks Manager" or "Psi: Join Groupchat":

<error type="auth">
<forbidden xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" xml:lang="en">You have been banned from this room</text>
</error>
<error type="cancel" code="409">
<conflict xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">That nickname is already in use by another occupant</text>
</error>
<error type="cancel" code="409">
<conflict xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">The nickname that is being used is used by someone else.</text>
</error>
<error type="auth">
<registration-required xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" xml:lang="en">Membership is required to enter this room</text>
</error>
<error type="auth">
<forbidden xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" xml:lang="en">Room creation is denied by service policy</text>
</error>
<error type="auth" code="403">
<forbidden xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" xml:lang="en">Room creation is denied by service policy</text>
</error>
<error by="conference.domain.tld" type="cancel">
<not-allowed xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Room creation is restricted</text>
</error>
<presence to="user@domain1.tld/client" from="mucroom@conference.domain2.tld/username" type="error">
<error by="domain1.tld" type="cancel">
<remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Server-to-server connection failed: No route to host</text>
</error>
</presence>
<error by="domain.tld" type="cancel">
<remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Server-to-server connection failed: connection timeout</text>
</error>
<error by="domain.tld" type="cancel">
<remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Server-to-server connection failed: unable to resolve service</text>
</error>

When we are in MUC:

<error by="mucroom@conference.domain.tld" type="cancel">
<policy-violation xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Private messages are disabled</text>
</error>