Gajim - 2017-03-31


  1. vflyson I might need an advice on how to setup a jabberd2 server on my VPS so that gajim could connect to it. I'm able to register accounts on it using gajim, but it fails to connect. Kadu manages to connect though. Sasl is not enabled, I have only PLAIN and DIGEST-MD5, Kadu uses the latter and successfully connects to the server. Does gajim not support non-encrypted authentication?
  2. vflyson There's no ssl, the authentication's done via Berkeley db's authreg mechanism.
  3. vflyson It's basically the simplest jabberd2 setup there can be... but gajim fails to connect for some reason.
  4. vflyson I seem to have found the issue with not being able to connect to my non-tls server: Running via `python -OOt gajim.py --verbose`: ... 03/30/2017 21:06:08 (I) nbxmpp.client_nb -------------xmpp_connect_machine() >> mode: STREAM_STARTED, data: None... 03/30/2017 21:06:08 (I) nbxmpp.client_nb While connecting with type = "tls": TLS unsupported by remote server 03/30/2017 21:06:08 (I) gajim.c.connection Connecting to next type beacuse desired is tls and returned is plain 03/30/2017 21:06:08 (D) gajim.c.connection Connection to next host 03/30/2017 21:06:08 (D) gajim.c.connection Out of hosts, giving up connecting to My-XMPP-Server ...
  5. vflyson so basically gajim doesn't seem to be allowed to connect to non-tls servers... and I can't seem to find where to override that behavior
  6. vflyson https://dev.gajim.org/gajim/gajim/issues/8559 apparently here's the issue
  7. andrey.g vflyson‎, for test purposes I use plain connection. In order to enable it I set in the config file (on GNU/Linux: .config/gajim/config) the corresponding property as follows: accounts.YOUR_JABBER_SERVER.connection_types = plain
  8. vflyson andrey.g thanks, I've already figured it out, it's been mentined in #8559; didn't know there were advanced settings in gajim, pretty cool feature
  9. contrapunctus o/
  10. contrapunctus Somehow, setting up presence updates and fingerprints for OMEMO needs a lot more fiddling in Gajim...
  11. contrapunctus (having a lot of trouble getting people to set it up)
  12. contrapunctus (esp. the Windows-using, hell-if-we-can-describe-our-problems-and-the-steps-we're-taking sorts.)
  13. contrapunctus Where are downloaded files saved on Windows? (didn't get much from searching the wiki)
  14. lovetox contrapunctus, you dont have to set up presence updates in gajim
  15. lovetox thats a server issue if you dont get any
  16. lovetox also presence updates is the wrong word here
  17. lovetox you probably mean pep events about the devices a user has
  18. lovetox downloaded files are saved in APPDATA/Gajim/downloads
  19. lovetox also you should be aware that keys are queried when you write a message from gajim
  20. lovetox so you wont see fingerprints until you actually typed in a message and tried to send it with omemo activated
  21. bot Philipp Hörist pushed 8 commits to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *8df8486d* <https://dev.gajim.org/gajim/gajim/commit/8df8486def3006c941658cccc9de100a89aee26b> Add @unique decorator to all enumerations Currently, there are no enumerations using the enum module which reuse values/need aliases. Add the @unique decorator to all enum classes as a safety net for future modifications. *167cf02a* <https://dev.gajim.org/gajim/gajim/commit/167cf02afd0fe17eec96dcd740be35168b9ae2b7> Fix typo across codebase (change "tupple" to "tuple") *d612e80a* <https://dev.gajim.org/gajim/gajim/commit/d612e80a47d06eb7eb2e75fdd5ba9eabab27a745> Convert get_search_results_for_query to return named tuples The get_search_results_for_query method in the logger module returns a list of bare tuples. Knowledge of how to pack and unpack the many indidual components of the tuples is scattered across both the callers and the callee, making the method hard to maintain and ugly to use. Therefore, convert the method to return named tuples instead. *08f4e171* <https://dev.gajim.org/gajim/gajim/commit/08f4e171586da0bf07a1f722cf3bbd2dc1937ced> Rename method get_search_results_for_query to search_log *65e926c1* <https://dev.gajim.org/gajim/gajim/commit/65e926c18189feadc886358c1ba27df4a5859474> Convert get_conversation_for_date to return named tuples The get_conversation_for_date method in the logger module returns a list of bare tuples. Knowledge of how to pack and unpack the many individual components of the tuples is split between the caller and the callee, making the method hard to maintain and ugly to use. Therefore, convert the method to return named tuple instead. *e735bfe7* <https://dev.gajim.org/gajim/gajim/commit/e735bfe7ab9e066745b3e959130c0c904cee4047> Make conversation loading in the history window use named tuples The logger method get_conversation_for_date has previously been converted to return a list of named tuples. Now pass these tuples on to the method that actually inserts the conversation's messages into the textbuffer. Also rename two related methods in the history window: - _add_lines_for_date => _load_conversation - _add_new_line => _add_message *21d15dec* <https://dev.gajim.org/gajim/gajim/commit/21d15dec29142f8ffee56c100e731a8e5cf7d0e0> Use the same named tuple for related methods for conversation loading Both methods get_conversation_for_date and search_log in the logger module are related to the loading of conversations and both return a list of messages from the log. Therefore, it makes sense that both of them have the same return type. Remove the named tuple type specific to search_log and convert the method to return tuples of type Message instead. As a side effect of this change, search_log now also returns values from the additional_data column in the log database. *1a5d6fbf* <https://dev.gajim.org/gajim/gajim/commit/1a5d6fbf30d7a82afd6eba2ad6aad5f69c2cec1e> Merge branch 'various-cleanups' into 'master' Various small cleanups, with focus on logger and history window See merge request !77
  22. contrapunctus lovetox: I tried inviting Alice (Gajim, Windows XP) to an OMEMO MUC. But when I do, nobody else can enable OMEMO, because of 'missing presence updates from Alice'.
  23. contrapunctus > also you should be aware that keys are queried when you write a message from gajim > so you wont see fingerprints until you actually typed in a message and tried to send it with omemo activated Oh, this might be the case.
  24. lovetox contrapunctus, you misunderstanding the process how muc works
  25. lovetox and how omemo works
  26. lovetox joining a channel with two clients that support omemo does not mean you can activate it
  27. lovetox there some preconditions that have to be met
  28. lovetox 1. it has to be a non-anonymous muc room
  29. contrapunctus lovetox, I forgot to mention that all the members of the group are already in Alice's contact list.
  30. lovetox 2. all members of the muc, have to be also in your roster
  31. lovetox and if you are using converstions with one of the clients
  32. lovetox the room has to be even members-only
  33. lovetox its quite a complicated process to get this all work
  34. lovetox always create the room with conversations
  35. lovetox it takes care of setting it up correctly
  36. lovetox means, invite your contacts from the conversations client
  37. contrapunctus lovetox, the room was created with Conversations, and the contacts were invited using it as well. And OMEMO works for the others when Alice is not a member.
  38. lovetox yeah though thats a conversations issue
  39. lovetox or a server issue of alice not sending the keys
  40. lovetox gajim only publishes keys on the server, the server is responsible for delivering it to the contacts
  41. lovetox a server not delivering keys can also have many reasons, for example you should check that you really have full subscription to that contact
  42. lovetox can you write messages to alice in 1:1 chat?
  43. contrapunctus lovetox, yeah, OMEMO works 1-to-1 with me and Alice, both when I use Conversations and when I use Gajim.
  44. lovetox then you have all keys already
  45. lovetox a muc is not much different, it takes nothing extra here, i dont see a reason why it would not work
  46. contrapunctus Hm...
  47. contrapunctus Part of the problem is the other person is a complete dunderhead :\ *goes and looks for some libre TeamViewer sort of program*
  48. lovetox but there is nothing he can do
  49. lovetox there is no secret switch to make it work
  50. lovetox did you trust all of his fingerprints?
  51. lovetox gajim is very relaxed in mucs
  52. lovetox it doesnt care if someone is in there that doesnt support encryption
  53. lovetox then that one person can nothing read, its his problem
  54. lovetox but conversations is very strict in that way
  55. lovetox everyone has to understand anyone
  56. lovetox so i would search why conversations doesnt want to encrypt anymore when he joins the room