Gajim - 2018-05-10

  1. bbreezin hmm lovetox, messing around with your namedtuple_factory change
  2. bbreezin so now when I use the alias account for account_id in the sql SELECT statement, I get the account jid back instead of the account_id, so that works
  3. bbreezin but what I really kind of wanted was the account "name" as far as the app is concerned, so I could look up the "nickname" in app.nicks as the _add_message function in HistoryWindow is already doing
  4. bbreezin any clean way to go from jid to account nickname besides just cutting the string off at the @ symbol myself?
  5. lovetox the jid is the account name
  6. lovetox just do app.nicks[account]
  7. lovetox bbreezin,
  8. mdosch There was something about plugins that should I take care off when I move from your repo to debian repo right?
  9. lovetox hm no not really
  10. lovetox plugins are installed in ~/.local/share/gajim
  11. lovetox so it should not be affected by any installation
  12. bbreezin lovetox, if I look at app.nicks, they are indexed by, and example.org1
  13. bbreezin what I'm getting out of the database is, (the JIDs)
  14. lovetox then thats a bug
  15. lovetox but you are right
  16. lovetox but it should not be that way ..
  17. bbreezin Hmm okay. Every time I have looked at "self.account" in HistoryWindow, the accounts have been named that way.
  18. lovetox as is obviously not a unique key
  19. bbreezin but example.org1, example.org2 are lol
  20. bbreezin so should they be named as the full JID?
  21. lovetox im looking into it
  22. lovetox the question is how much does it break if i change this :)
  23. bbreezin Hahaha....don't pull a card out of the house of cards
  24. bbreezin well anyways, time for sleep for me, let me know what you find, I'll stay tuned
  25. lovetox bbreezin, hm this cant be solved easily
  26. bot Felix Maurer created an issue in _gajim_ < >: #9121: < Crash after network reconnect >
  27. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < >: *093ba8dd* < > Provide method to get the account name from a jid
  28. lovetox bbreezin, ^
  29. debacle lovetox, I feel discriminated as a Gajim user! Daniel just uploaded a picture of Conversations showing a MUC logo and I can't haz it:
  30. debacle It's the Berlin flag in the upper left corner. Like Austrian flag, but with an animal.
  31. bot Daniel modified an issue in _gajim_ < >: #9121: < Crash after network reconnect >
  32. debacle It's VCard for MUC, btw.
  33. bot Daniel modified an issue in _gajim_ < >: #8601: < AttributeError: 'NoneType' object has no attribute 'setRaw' >
  34. bot Daniel modified an issue in _gajim_ < >: #8180: < Regular exceptions on Windows when wifi reconnects >
  35. Link Mauve debacle, that's already implemented in master AFAIK.
  36. Link Mauve Just upgrade.
  37. debacle Link Mauve, the "room avatar" stuff?
  38. debacle That would be great.
  39. lovetox then you need a server that supports that
  40. lovetox hint: prosody does not
  41. Link Mauve yet*
  42. debacle Link Mauve, the server, that holds the MUC or the server that I'm connected to?
  43. Link Mauve debacle, it's only up to the MUC one.
  44. debacle In my specific case, the MUC is on a recent ejabberd, while I'm on jurassic prosody.
  45. lovetox then it should work
  46. lovetox i think at least ejabbered 18.03
  47. lovetox oh no 18.04
  48. debacle lovetox, when will this feature (MUC logo) be in an official release? No pressure intended, I just want it today :~)
  49. lovetox Gajim 1.1
  50. lovetox could take a while
  51. debacle Fine with me. Maybe I package gajim-master for Debian experimental. Just for the fun. But now it's springtime. Need to go outside.
  52. asterix lovetox: return account in your last commit
  53. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < >: *ffe8ee80* < > Return account instead of jid
  54. asterix lovetox: return jid at the end of the for loop in case account is not found
  55. lovetox thx asterix
  56. lovetox no that would be wrong
  57. asterix Better than None ?
  58. lovetox it seems our desing is jid is never account
  59. lovetox no this method is used to get the account from a jid, so we can access all the dicts like app.nicks[account]
  60. lovetox it makes no sense to return something that can never be in these dicts
  61. lovetox if None is returned, i can test for None
  62. asterix Ok ok
  63. lovetox and i found out why we do this, because of anonymous registration
  64. lovetox we need config entrys, when we dont have the anonymous jid yet
  65. bot Philipp Hörist modified an issue in _gajim_ < >: #8821: < src\ >
  66. marmistrz Is it currently possible to check, which device (OMEMO fpr) has sent a message?
  67. lovetox no
  68. debacle lovetox, regarding #9115 : which version of which package is needed?
  69. debacle 'NonBlockingTCP' object has no attribute 'ssl_errors'
  70. lovetox are you talking about flatpak?
  71. debacle no
  72. lovetox this is a issue regarding flatpak
  73. debacle just trying to build master on Debian for my own fun
  74. debacle but get the same error
  75. lovetox then you need python-nbxmpp master
  76. debacle Oh, OK
  77. debacle 0.6.5 is not enough...
  78. lovetox gajim-master depends always on nbxmpp-master
  79. lovetox though we cannot check this, as we dont have dev versions in nbxmpp
  80. debacle there is only one commit after 0.6.5 - is it safe to just add this to the Debian package?
  81. lovetox yes
  82. lovetox i wanted to ask that anyway
  83. debacle thanks!
  84. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < >: *04b86a7b* < > Dont show OOB uri if message body is the same if oob uri == body there is no need to show the uri below the message
  85. debacle Gajim master seems to break appindicator plugin, which uses ICONS_DIR.
  86. debacle And triggers, which uses SoundChooserDialog.
  87. lovetox ups thanks i fix it
  88. lovetox debacle, i fixed this already
  89. lovetox there is a new version of appindicator
  90. lovetox triggers i have to look into
  91. debacle and the latest pgp is needed, because of HAVE_GPG, so it's already fixed by you
  92. lovetox you have to update most plugins
  93. lovetox its would be good if you update these plugins already now and backport them to gajim 1.0.2
  94. lovetox so users have them, and they dont break once gajim 1.1 is released
  95. lovetox i fix triggers now
  96. debacle triggers: this is really nice, because in general, I don't want be interrupted when doing whatever at the computer, but with the exception of my SO. There is only one minor thing: I like to get a sound, when my partner sends me a message, but not when I'
  97. debacle m in the window anyway.
  98. debacle However, the selection "not when window has focus" or whatever it is called does not work as (I) expected.
  99. debacle When I minimise the window, but the last tab is our dialog, I don't get the sound notification by triggers.
  100. debacle So it uses the information which tab is open (nice), but not whether the window has really the focus or even is unminimised.
  101. debacle Apart from that triggers is ubercool.
  102. bot Philipp Hörist pushed 2 commits to branch _refs/heads/master_ of _gajim-plugins_ < >: *adb10905* < > [triggers] Port to new FileChooser api *561a2e3b* < > [triggers] Update manifest.ini
  103. eroc How can I hide Gajim (1.0.1) in the taskbar?
  104. eroc It's already accessible via the traybar and therefore simply redundant to be displayed in the taskbar
  105. Daniel Search for 'on_roster_x' in ACE
  106. Daniel lovetox, what about making this setting default for Windows?
  107. eroc @Daniel, thanks. Would be cool if it could be hid always as I have the Gajim tray icon always displayed in the control bar under KDE :-)
  108. eroc None of the PPA links are working
  109. Daniel Yes I think the default changed from 0.16 to 1.0 but I'm not sure. I think it's related to Gnome users losing track of Gajim when closing via X button.
  110. Link Mauve Not only GNOME, other compositors also don’t have this concept of tray icons.
  111. Daniel Maybe it's an idea to make this setting default only for these compositors? This is seriously the most FAQ :D
  112. Daniel eroc, did you find this wiki page via search engine? I'm sure there are no links within the wiki linking to this page..
  113. Link Mauve Daniel, you can’t really know on X11.
  114. eroc Yes, searching for Gajm PPAs StartPage led me to this Wiki page
  115. Link Mauve On Wayland, you can know there is none, except if an appindicator dbus endpoint exists.
  116. Daniel Link Mauve ah I see. But enabling that setting for Windows would be a plus
  117. Daniel eroc, that's the first time I see this page. I think the last ppa (which was also very outdated) was closed by asterix some weeks ago
  118. lovetox Daniel, its already default on Windows
  119. lovetox i changed that
  120. lovetox im not sure if it is in 1.0.2 though
  121. Daniel Ah nice, didn't notice that!
  122. eroc Daniel, I see, thanks for the info.
  123. lovetox eroc, the setting is hide_roster_on_x
  124. lovetox dont change close_roster_on_x
  125. eroc I already understood the difference :-) But thanks
  126. bot Philipp Hörist pushed 2 commits to branch _refs/heads/master_ of _gajim-plugins_ < >: *36948f69* < > [preview] Port to new FileChooser API *5d770f85* < > [preview] Update manifest.ini
  127. bot Alexander Grebenyuk created an issue in _gajim_ < >: #9122: < History loading limit is needed as a configurable option >
  128. bot Alexander Grebenyuk modified an issue in _gajim_ < >: #9122: < History loading limit is needed as a configurable option >
  129. bot Philipp Hörist modified an issue in _gajim_ < >: #9122: < History loading limit is needed as a configurable option >
  130. bot Daniel modified an issue in _gajim_ < >: #9122: < History loading limit is needed as a configurable option >
  131. miloss
  132. miloss This error blocks me from seeing affected message both in conversation and in history
  133. miloss message windows does not open at all, history output is truncated after "detecting |about:newtab|]"
  134. miloss detecting |about:newtab|]
  135. miloss after [detecting |about:newtab|]
  136. miloss Strange. It appears to not crash chat. Maybe it affects only single messages?
  137. lovetox yes its a gajim problem
  138. lovetox but it is fixed
  139. lovetox you seem to use a older Gajim version
  140. lovetox you can either upgrade to gajim 1.0
  141. lovetox or you can try to fix it yourself in your installation
  142. lovetox
  143. miloss is there, by chance, a way to just disable url detection?
  144. lovetox no
  145. lovetox but it should be also in gajim 0.16.9
  146. lovetox
  147. lovetox you just have to search for the 2 files
  148. lovetox and add this
  149. lovetox its really copy paste :)
  150. miloss yes. I can read a patch, no problem
  151. lovetox or you upgrade your gajim
  152. lovetox actually this is even in 0.16.7
  153. lovetox so you seem to have a really old gajim
  154. miloss Yes, that is how distributions usually work
  155. lovetox you can also look in the sql db for the message and delete it
  156. lovetox if your friend doesnt send them anymore afterwards
  157. miloss I was afraid that it might, as always :), be already fixed, but this time I was not sure if it's gajim or python (and LTS distribution) problem
  158. lovetox its just gajim not catching the exception and aborting the process, which is in that case loading the window sadly
  159. miloss I am surprised I did not crash myself when I sent it
  160. miloss Thanks for all the help, especially considering it is a long-fixed thing.
  161. lovetox np
  162. debacle I came across an exception in OMEMO:
  163. debacle
  164. debacle Not sure, whether this is problematic.
  165. debacle The Gajim master is now in Debian experimental for those who think Debian and/or Gajim are too stable and boring. You need the latest plugins from unstable (triggers, pgp, omemo, etc.) Have fun!
  166. debacle 1.0.2 remains in Debian unstable/testing and stretch-backports, of course.
  167. lovetox thanks debacle
  168. debacle np
  169. lovetox about the error, seems for we dont find active devices for a contact
  170. lovetox normally this should prevent you from sending a message
  171. debacle yes, it did prevent it
  172. debacle so it just worked as expected :~)
  173. lovetox if you remember the contact
  174. lovetox you can look if there are active fingerprints in the window