You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/lib/ansible
Jonas Schäfer afb48414b6 jabber: Fix joining group chats (#50846)
The previous code was using the legacy Group Chat 1.0 (GC1.0)
protocol to join [XEP-0045 Multi User Chats][1]. The legacy
protocol is described in § 7.2.1 of that document, the current
protocol is described in § 7.2.2.

The legacy protocol has not been in active use for more than ten
years, and servers are fading out support for it because its
presence causes issues (see for example the lengthy discussion
in [2], particularly the part starting with "A MUC
misunderstanding a presence update for a GC1.0 join").

The effect of servers fading out GC1.0 is that jabber.py cannot
send messages to rooms on servers which have done that step any
more.

This commit implements the modern join protocol, restoring
functionality. The modern join protocol is, to my knowledge,
supported by all XMPP servers which are still in use.

Prosody 0.11 is an example of a server implementation which does
not support GC1.0 anymore.

   [1]: https://xmpp.org/extensions/xep-0045.html
   [2]: https://mail.jabber.org/pipermail/standards/2017-October/033501.html
6 years ago
..
cli Move the arguments module into cli/ and context_objects into utils 6 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
config Fix encoding issues with file paths. (#50830) 6 years ago
errors Add new AnsibleTemplateError to more easily catch templating issues (#50563) 6 years ago
executor Close all open filehandle (#50544) 6 years ago
galaxy Save the command line arguments into a global context 6 years ago
inventory Fix reverse_inventory order to work on python3 (#49895) 6 years ago
module_utils Support for NIOS modules to use environment variables in provider (#49056) 6 years ago
modules jabber: Fix joining group chats (#50846) 6 years ago
parsing Update bare exceptions to specify Exception. 6 years ago
playbook Fix encoding issues with file paths. (#50830) 6 years ago
plugins Fix encoding issues with file paths. (#50830) 6 years ago
template Update bare exceptions to specify Exception. 6 years ago
utils Support for NIOS modules to use environment variables in provider (#49056) 6 years ago
vars Fix encoding issues with file paths. (#50830) 6 years ago
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 8 years ago
constants.py become_method: make dzdo more like sudo (#47946) 6 years ago
context.py Move the arguments module into cli/ and context_objects into utils 6 years ago
release.py Codename: How Many More Times 6 years ago