Gajim - 2018-11-20


  1. userrrrrrr ..
  2. Link Mauve userrrrrrr, have you done a git pull first?
  3. lovetox Link Mauve, 2 things
  4. lovetox 1. do you use a older version of poezio?
  5. lovetox 2. 20.11.2018 10:15:29 (I) gajim.c.m.vcard.avatars: linkmauve@linkmauve.fr/poezio-4UbW is not ready to promote an avatar
  6. lovetox oh no client info is : poezio ce729114 2018-11-14
  7. lovetox but still: 0.11.2018 10:17:57 (W) gajim.c.m.entity_time: Wrong timezone defintion: 2018-11-20T09:17:58.234626 linkmauve@linkmauve.fr/poezio-4UbW
  8. casselt Hi, I try to get the chatstate and clientsicon plugins to work with Gajim 1.1 installed as flatpak. IIUC only three plugins are available as flatpak at the moment. Can I somehow install the plugin installer to install those plugins by myself?
  9. lovetox not easily
  10. lovetox hm but you can try
  11. lovetox wait i check where they are stored
  12. lovetox /app/plugins
  13. lovetox download zips from here
  14. lovetox https://ftp.gajim.org/plugins_1.1_zip/
  15. lovetox and extract to that folder
  16. lovetox only plugins will work that dont have dependencys, the two you mentioned should be fine
  17. casselt Awesome! Thanks for the fast reply, I will try it and report back.
  18. lovetox out of interest, what about the chatstate plugin is it you like?
  19. bot Philipp Hörist updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/330 >: Improve the MUC autocompletion.
  20. bot Philipp Hörist updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/330 >: Refactor MUC nick auto completion
  21. casselt I often have lots of tabs open and if writing with multiple people I like to see if they are writing or not even paying attention to the chat. For me to judge if a /ping is necessary for example.
  22. lovetox but the chatstate should be shown in the tab without plugin
  23. casselt Unfortunately I could not activate the plugins. I thought you meant the flatpak app folder which is at /var/lib/flatpak/app or did you mean somewhere else? I also tried in ~/.var/app.
  24. lovetox the plugin is for chatstate in roster i think
  25. casselt Ah okay, thought it would be both. Then I might just try it without the plugin. Would love to see the client icons though.
  26. lovetox yeah wait i look how you reach that folder
  27. lovetox its some symlink i believe
  28. lovetox can you type into your console /app/plugins
  29. lovetox it should work
  30. casselt Not working because it does not exist. I am on Ubuntu 16.04 and installed flatpak via PPA. Flatpak data is in /var/lib/flatpak. There I have /var/lib/flatpak/app/org.gajim.Gajim/current/active/files/plugins/ with both current and active being symlinks.
  31. lovetox oh found it
  32. lovetox https://github.com/flatpak/flatpak/wiki/Filesystem
  33. lovetox so its probably .var/app
  34. lovetox hm or easier
  35. lovetox install one of the flatpak plugins
  36. lovetox then search for the name
  37. lovetox org.gajim.Gajim.Plugin.omemo
  38. casselt Have that installed already. It is in /var/lib/flatpak/runtime/org.gajim.Gajim.Plugin.omemo/
  39. lovetox are the plugin files in there
  40. lovetox for example the manifest.ini?
  41. casselt Jep
  42. lovetox so chatstate is only for roster
  43. lovetox so you probably dont need that
  44. lovetox yeah then i would say copy that folder rename it put and unzip the plugin in the new folder
  45. lovetox and try
  46. lovetox hm but i dont think that will work, but worth a try
  47. lovetox otherwise if you want to see client icons in flatpak we will add it
  48. casselt I don’t think this will work since Gajim won’t know about where the plugin is or if it even exists.
  49. casselt I can live without it for now and just wait until you packaged it. I either way hope to leave Ubuntu Xenial in the next few months so I won’t be dependent on flatpak hopefully and have the plugin installer to install it by myself.
  50. casselt Anyway, thanks for the great support and have an awesome day!
  51. casselt gajim-remote is now merged into gajim core? Can I access it when using flatpak?
  52. lovetox gajim-remote was a helping tool because you couldnt issue commands to gajim via commandline
  53. lovetox what exactly do you need from gajim-remote?
  54. casselt I used gajim-remote check_gajim_running to check if it is already running and gajim-remote get_unread_msgs_number to show me the unread message count in an applet because notifications in xenial are not reliable. gajim --help is not showing me anything I can replace this with.
  55. lovetox i dont think its available in the flatpak build
  56. lovetox as it would be a separate application
  57. casselt Okay. So it would be available if this was a “normal” install?
  58. lovetox yes with gajim-remote
  59. lovetox if you open a issue about those 2 commands, i can add them to the normal gajim cmdline for Gajim 1.2
  60. Link Mauve Can’t you just use the org.gajim.Gajim binary as usual?
  61. lovetox org.gajim.Gajim executes "gajim"
  62. lovetox there is nothing of the likes for gajim-remote
  63. casselt @lovetox Okay, thanks.
  64. Link Mauve lovetox, oh, gajim-remote still exists? It hasn’t been merged into gajim’s GApplication?
  65. lovetox some of its commands are now available directly over gajim cmdline
  66. lovetox but not all
  67. lovetox i wanted to get a feel what people are using
  68. lovetox gajim-remote has a lot of cmd line stuff that i think nobody needs
  69. Link Mauve Maybe ask on the ML?
  70. Link Mauve That’s where Gajim users are I guess?
  71. Link Mauve Or in the next version, add a message to each gajim-remote call saying this tool is deprecated, please speak up if you want to keep it.
  72. lovetox i ask if we really need it
  73. lovetox because all gajim-remote cmdline stuff is available over dbus
  74. lovetox thats how it worked, gajim-remote sent the commnad over dbus and gajim received it
  75. lovetox the dbus interface is there and fully functional for all these commnads
  76. lovetox casselt, could you use dbus?
  77. lovetox the dbus name should be org.gajim.Gajim
  78. lovetox and it should offer all the gajim-remote commands
  79. lovetox btw Link Mauve you didnt answer my question from before
  80. lovetox why no avatar anymore :/
  81. Link Mauve lovetox, probably some module not loaded on my server, I’ll investigate.
  82. casselt lovetox, thanks for the hint. I found the dbus methods but access does not work. Python code: remote_object = bus.get("org.gajim.Gajim", "/org/gajim/dbus/RemoteObject") gajim = remote_object['org.gajim.dbus.RemoteInterface'] print (gajim.get_unread_msgs_number()) Any idea what I am doing wrong?
  83. lovetox i guess this is python-dbus?
  84. lovetox hm what does it say as error?
  85. casselt I just used dbus-send which worked like a charm.
  86. casselt It was pydbus. It said something about wrong direction. I’ll just use the dbus-send approach since I’ll call it from a bash script anyway.
  87. casselt dbus-send --session --type=method_call --print-reply --dest=org.gajim.Gajim /org/gajim/dbus/RemoteObject org.gajim.dbus.RemoteInterface.get_unread_msgs_number
  88. sotneo I recommend pydbus, it is cross-platform and more new
  89. casselt If someone wants to have a look, this is the stacktrace: https://conference.gajim.org:5281/pastebin/7ba371fe-5953-4067-aed5-96fcd20ff35c
  90. casselt For me, the dbus-send approach works, so I’m glad this could be fixed the easy way. :) Thanks for all the help and most of all the hint to dbus. Totally forgot about this.
  91. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *9d8b56bc* < https://dev.gajim.org/gajim/gajim/commit/9d8b56bc0fa9770e05f8cd5d3dfa0bb375e4cc1d > Refactor groupchat nick auto completion
  92. bot Philipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/4653 >: #4653: < tab completion in group chats >
  93. bot Philipp Hörist merged a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/330 >: Refactor MUC nick auto completion
  94. lovetox__ a
  95. bot Philipp Hörist pushed 4 commits to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: https://conference.gajim.org:5281/pastebin/a5df2be9-147c-4f55-938b-df9bac3337ea
  96. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins >: *358302fe* < https://dev.gajim.org/gajim/gajim-plugins/commit/358302fed3250f309c262e2e984b8313768490c2 > Remove chatstates plugin The functionality is implemented in Gajim
  97. bot Philipp Hörist closed an issue in _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins/issues/364 >: #364: < Gajim starting but reports that immediately >
  98. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *c8b5eb94* < https://dev.gajim.org/gajim/gajim/commit/c8b5eb94a999f5628f8aa823090346b7e0411294 > Remove unused imports
  99. mat Du you plan to implement OMEMO directly in gajim?
  100. lovetox at a later point maybe when its more mature
  101. bot Philipp Hörist pushed 2 commits to branch _refs/heads/master_ of _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins >: *7e7e24fe* < https://dev.gajim.org/gajim/gajim-plugins/commit/7e7e24fe2bba473eb49811ede40bc106267d92f0 > [birthday_reminder] Add license header *1b868764* < https://dev.gajim.org/gajim/gajim-plugins/commit/1b86876497a48a8dbe39849368c247a5427f5ae7 > [birthday_reminder] Update manifest.ini
  102. bot Philipp Hörist closed an issue in _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins/issues/280 >: #280: < birthday_reminder plugin bug >
  103. Nothing4You lovetox, is that even valid for ini files? or is it just a completely custom format?
  104. lovetox seems so
  105. lovetox we use pythons configparser
  106. Nothing4You This module provides the ConfigParser class which implements a basic configuration language which provides a structure similar to what’s found in Microsoft Windows INI files. You can use this to write Python programs which can be customized by end users easily. Note This library does not interpret or write the value-type prefixes used in the Windows Registry extended version of INI syntax.
  107. Nothing4You i see
  108. casselt lovetox, FYI, I looked at the existing functionality regarding chatstates plugin and for me it is only the string showing. What the chatstates plugin did additionally was to color the roster entries and the name in the tab. Red for observing, green for typing, grey for doing sth. different, blue for pausing while typing.
  109. lovetox there are 3 places
  110. lovetox we call the top of the chat: banner
  111. lovetox then there is the tab of the notebook if more than one chat is open
  112. lovetox and the roster
  113. lovetox In the Banner we only show text, because otherwise it would start to blink rapidly if someone types, stops, switches to another window, switches back
  114. lovetox which is annoying
  115. lovetox the tab is colored by gajim, but only if there is another window open and tabs are actually shown
  116. lovetox and the roster was colored by the chatstates plugin, but i implemented that in Gajim in master
  117. Nothing4You lovetox, will the chat refactoring allow modifying older messages in the chat window?
  118. lovetox you can do that already
  119. lovetox it just really painful
  120. Nothing4You ah true otherwise receipts wouldn't work
  121. Nothing4You btw it'd be great being able to copy messages without the receipt marker
  122. casselt lovetox, Okay, might be invisible in dark mode then. Will switch to light mode one day to test what you said.
  123. lovetox it should not be invisble in dark mode, as the colors are green and blue
  124. lovetox so if the tab color does not change that might be a bug or you disabled it in preferences
  125. casselt Will test a little more and report it if I cannot fix it.
  126. lovetox Nothing4You, yes i agree
  127. lovetox but i would just not use receopt markers
  128. lovetox they are not very useful
  129. Nothing4You why not?
  130. Nothing4You i occasionally have messages not delivered, with receipts i know there were delivered
  131. lovetox i doubt that a message is not delivered
  132. lovetox if your sever cannot deliver a message, it gives you an error back
  133. lovetox you dont need the receipt
  134. Nothing4You i see errors regularly
  135. lovetox yeah then you dont need the receipt or :)
  136. Nothing4You sometimes they still get delivered though
  137. Nothing4You idk exactly
  138. Nothing4You if i look at one of my chat histories i can see a bunch of messages with receipt
  139. Nothing4You and afterwards a bunch of errors
  140. Nothing4You so the messages still went through
  141. lovetox what was the error about?
  142. Nothing4You ‎[16:37:41] ‎error while sending message ( recipient-unavailable )
  143. lovetox that does not mean the message was not delivered, but what it actually does mean only some server guy can answer you, Zash ^
  144. lovetox i see this also sometime
  145. lovetox mostly when some resource goes offline, and we maybe adressed the message explicitly to that resource
  146. lovetox definitly something i should look into someday
  147. Nothing4You why does gajim even adress it explicitly to a resource?
  148. lovetox old baggage, the RFC specified something called resource locking
  149. lovetox in the days before carbons and MAM
  150. lovetox routing rules were a bit more complicated
  151. Nothing4You a friend of mine is always having issues because his conversations is getting addressed rather than his desktop
  152. Nothing4You until he sends me a message from his desktop
  153. Nothing4You then it'll work for a while
  154. lovetox yeah because we lock onto that resource than
  155. Nothing4You yeah exactly
  156. lovetox but why does he care which resource gets adressed?
  157. lovetox the server should send the message to all resources
  158. Nothing4You it doesn't
  159. Nothing4You he's on ejabberd/pidgin iirc
  160. Nothing4You (i know)
  161. lovetox ah no carbon support in pdigin
  162. Nothing4You yeah that might be it
  163. lovetox yeah its on the list of changes sometimes in the future, but its rather deep in the logic of gajim
  164. Nothing4You found it https://dev.gajim.org/gajim/gajim/issues/8971
  165. lovetox he can try and play with resource priority
  166. lovetox setting his pidgin priority lower than conversations
  167. bot Philipp Hörist pushed 5 commits to branch _refs/heads/master_ of _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins >: https://conference.gajim.org:5281/pastebin/e98f3009-7888-47d9-ac81-456df57e78ec
  168. bot Philipp Hörist closed an issue in _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins/issues/362 >: #362: < [OMEMO] Gajim should use "current" id when setting bundle >
  169. Nothing4You hm
  170. Nothing4You i can't click links in the topic popout
  171. Nothing4You why is this page empty? https://dev.gajim.org/gajim/gajim/wikis/community/SpreadJabberAndGajim
  172. Nothing4You (gajim:91462): Gtk-WARNING **: 17:58:46.012: Couldn't export handle, unsupported windowing system (gajim:91462): Gtk-WARNING **: 17:58:46.012: Unable to show 'https://dev.gajim.org/gajim/gajim/wikis/community/SpreadJabberAndGajim': Operation not supported
  173. Nothing4You in chat they work fine
  174. bot Richard Schwab created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9453 >: #9453: < Can't open link from muc topic popup >
  175. bot Philipp Hörist modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9453 >: #9453: < Can't open link from muc topic popup >
  176. bot Philipp Hörist modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9453 >: #9453: < Can't open link from muc topic popup >
  177. bot Philipp Hörist modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9453 >: #9453: < Can't open link from muc topic popup >
  178. Nothing4You that being a gtk bug does it mean it's something that can't be fixed in gajim?
  179. Nothing4You lovetox
  180. lovetox i try to work around it
  181. bot Philipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9453 >: #9453: < Can't open link from muc topic popup >
  182. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *fa0f35da* < https://dev.gajim.org/gajim/gajim/commit/fa0f35da012daf678720a379368e92af8064f93f > Fix opening links in MUC subject The default GTK link handler does not work on Windows and Mac Fixes #9453
  183. bot Philipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8711 >: #8711: < Links in MUC subjects do not work on Windows >
  184. Nothing4You 2in1 :D
  185. Nothing4You can confirm it works
  186. lovetox good :)
  187. Nothing4You can you also comment on https://dev.gajim.org/gajim/gajim/wikis/community/SpreadJabberAndGajim being empty?
  188. lovetox its not empty, it just says spread gajim
  189. lovetox i dont know why and what the story was behind it :D
  190. Nothing4You ok lol
  191. lovetox i guess we can delete it, this was probably for something different in the old trac days
  192. daniel I guess it was. It was already empty when I started wiki editing. maybe asterix knows more.
  193. lovetox its already deleted
  194. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _python-nbxmpp_ < https://dev.gajim.org/gajim/python-nbxmpp >: *7cefcdd5* < https://dev.gajim.org/gajim/python-nbxmpp/commit/7cefcdd5a2221cf279547ff98c037882c0ee13ed > Fix deprecated escape sequence
  195. daniel asterix, could you remove the last paragraph from this room's subject (spread gajim)? The page was empty and has been deleted
  196. lovetox picpaste seems down
  197. daniel Yes, someone mentioned that some time ago, so it really seems to be down
  198. bot Daniel Brötzmann closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9404 >: #9404: < Plugin-Installer deletes PlugIns >
  199. bot Philipp Hörist pushed 2 commits to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *c97fddf0* < https://dev.gajim.org/gajim/gajim/commit/c97fddf0f8e13797a7f946c37c81f4c1406b9777 > Move PrivateChatControl into own module *63276794* < https://dev.gajim.org/gajim/gajim/commit/6327679461356b3923e356f36a0837b6a1bcbe35 > Refactor set_unset_urgency_hint()
  200. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *35b5a4d7* < https://dev.gajim.org/gajim/gajim/commit/35b5a4d7a99b574254c32d1c72f886be18368129 > Satisfy pylint/mypy
  201. andrey.g daniel‎, yeah, two times.
  202. bot Philipp Hörist updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/310 >: WIP: New Message Window
  203. bot ferris wheel created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9454 >: #9454: < ecternal web link, in message to stderr, not active >
  204. bot ferris wheel modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9454 >: #9454: < external web link, in message to stderr, not active >
  205. marmistrz and where is the code related to setting the encryption on/off located?
  206. marmistrz where should I start hacking for some encrypt-by-default?
  207. marmistrz Once again did I have a pitfall by sending an unencrypted message :(