Gajim - 2018-02-16


  1. mrDoctorWho the http upload plugin doesn't seem to honor global proxy settings
  2. mrDoctorWho found an issue
  3. mrDoctorWho can we get that fixed?
  4. bot Mako N created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8901 >: #8901: < Acconut name isn't change in the popup menu of notification area icon >
  5. lovetox mrDoctorWho, this is already fixed in beta-1
  6. mrDoctorWho in 1.0?
  7. lovetox yes, if by global proxy you mean the envvar HTTPS_PROXY of your system
  8. mrDoctorWho actually no
  9. mrDoctorWho I'm using a socks proxy in my gajim settings
  10. mrDoctorWho that's what I meant by global
  11. lovetox yeah this will probably not be fixed, because i see no use case why you would route only https of gajim through a different proxy than your normal https traffic
  12. lovetox but in theory pythons urllib should be able to do it, so maybe someone adds that
  13. mrDoctorWho it's not https/http thing
  14. mrDoctorWho it's that I'm behind a restricted network
  15. mrDoctorWho that does allow only local traffic
  16. mrDoctorWho so I use jabber though a socks proxy
  17. mrDoctorWho but I can't send files with http upload because it doesn't honor my proxy settings
  18. mrDoctorWho python urllib doesn't support socks by default AFAIK
  19. mrDoctorWho at least python2
  20. lovetox then i guess nobody will add this ^^
  21. mrDoctorWho I can do that if you accept the PR
  22. lovetox how do you want to do that?
  23. mrDoctorWho how socks proxying is done for xmpppy?
  24. mrDoctorWho there was a module socks.py, that replaced the original python socket
  25. mrDoctorWho is that how you added nbxmpp socks support?
  26. lovetox no
  27. lovetox its just done with standard libs
  28. lovetox if you can do it that way be my guest
  29. lovetox what i dont want is third party packages that monkey patch the standard libs
  30. lovetox and stuff like that
  31. mrDoctorWho how about a plugin that does monkey-patching?
  32. lovetox previously it was also done with the CURL package
  33. lovetox httpplugin is integrated into gajim, there is no plugin anymore
  34. lovetox so adding another plugin that gives this ability again ..
  35. mrDoctorWho I didn't know that
  36. mrDoctorWho so how socks proxying is done in nbxmpp?
  37. mrDoctorWho could you give me a hint?
  38. lovetox i never looked at it, just with the socket lib
  39. mrDoctorWho how can you know it's not done with monkey-patching then?
  40. lovetox because i know we dont have dependencys on any third party lib that would do that?
  41. mrDoctorWho IIRC socks.py was about 200 lines long
  42. mrDoctorWho it could've migrated deep inside the project
  43. lovetox there is no socks.py
  44. lovetox https://dev.gajim.org/gajim/python-nbxmpp/blob/master/nbxmpp/proxy_connectors.py
  45. mrDoctorWho yeah, already looking at it
  46. mrDoctorWho probably can be done with urllib2 custom url opener
  47. lovetox that would be the most sexy way :)
  48. lovetox docs say nothing about socks5 proxys not supported
  49. lovetox but this doesnt have to mean something
  50. mrDoctorWho it's on another layer of the OSI model, so urrlib not supposed to handle it
  51. edhelas hi everyone
  52. lovetox hi edhelas
  53. lovetox what pubsub related problem we want to discuss today :)?
  54. SaltyBones gajim has pubsub support?
  55. Link Mauve SaltyBones, yeah, in a bunch of places.
  56. Link Mauve For stuff like mood, activity, music, omemo, bookmarks…
  57. Asterix +atom
  58. SaltyBones :)
  59. debacle How can I manipulate the access model of activity, mood and music? I want whitelist for them, not roster.
  60. debacle (It would be nice to have a UI in Gajim for that.)
  61. lovetox there is a UI for that
  62. lovetox right click account row
  63. lovetox then there is a menu that says configuration or something like that
  64. lovetox debacle
  65. lovetox but this will not help you
  66. lovetox setting a node to whitelist makes it so people from your roster can access it thats true
  67. lovetox but the server will not notify people that are not in your roster, of updates
  68. lovetox so the clients of these people would have to poll your nodes if they want to get infos from them
  69. lovetox which i dare to say no client has implemented for any of these xeps
  70. lovetox only the opposite would work
  71. lovetox if you dont want to set updates to everyone in your roster
  72. lovetox which in hindsight you probably want
  73. lovetox so forget what i was just talking :D
  74. debacle right click account -> Personal Events -> Configure Services... -> empty list of services
  75. debacle For music etc. I just want one, two people from my roster getting the information, nobody else. That's why I thought whitelist might be useful in combination with adding the jids.
  76. lovetox if its empty your server does not support pubsub node configuration
  77. lovetox i guess prosody :)
  78. lovetox ejabbered supports this btw
  79. SaltyBones If I ever write a book about managing programming projects I will use this to explain feature creep.
  80. lovetox Gajim is a prime example of feature creep
  81. SaltyBones XMPP is a prime example of feature creep. :)
  82. debacle Yes, prosody. I need to move to Ejabberd :~(
  83. jjrh It seems like XEP's should have a requirement of a reference implementation in some server and some client. Because I get the feeling there are a good number of XEPs that are a spec only.
  84. jjrh SaltyBones, i'd say XMPP is a good example of sustainable feature creep. In my experience feature creep is usually negative because it delays the release of software - in many cases indefinitely because time and effort is constantly diverted to these new features
  85. jjrh It seems like XMPP went a good route - get /something/ out, evaluate what people use and what people want, then extend the core spec.
  86. Link Mauve debacle, or to move to trunk, mod_pep_plus has this feature. :)
  87. nico and you stay with the low memory consumption of prosody 🙂
  88. pep. Link Mauve, persistent node configuration, really?
  89. Holger nico: I'm no longer convinced it's necessarily lower than with ejabberd :-)
  90. Link Mauve pep., oh hmm, maybe not persistent yet, but that’s coming.
  91. Link Mauve Configurable, definitely.
  92. Maranda Ding
  93. Maranda Dong
  94. lovetox jjrh thats exactly the process a XEP goes through
  95. nico Holger, sorry about that 😀
  96. pep. Link Mauve, if persistency is not required I think it's even in 0.9 then
  97. Link Mauve Holger, you mean, closing all s2s and kicking half of the MUC participants makes Ejabberd use less memory? :p
  98. Link Mauve pep., no, 0.9 only had mod_pep, which didn’t use any of the util.pubsub utils.
  99. Maranda Should I grab popcorn?
  100. pep. right
  101. Holger Link Mauve: You shouldn't have told me about jabber.fr's memory consumption ;-)
  102. jjrh lovetox, yeah I think XMPP really got it right!
  103. Holger But yes that's probably not the common case, I'm just trolling.
  104. Maranda and lovetox has defintely stopped to type :O
  105. Link Mauve Holger, heh. :)
  106. Maranda debacle, there's alternative "3" too just for par condicio
  107. jjrh I was hoping at some point in the future improve on pubsub in gajim to be used for stuff like nagios alerts.
  108. debacle OK, I'm neither moving to Ejabberd nor prosody trunk, but will just wait for 0.11. But, Maranda, maybe there is another "3"?
  109. Holger Maranda means Openfire I think.
  110. pep. Holger, moar troll? :P
  111. Holger Yes I try to stick to what I'm good at.
  112. Maranda Holger looks like Ge0rG today
  113. Maranda 😘
  114. Link Mauve Maranda, you meant Tigase?
  115. Link Mauve I’ve never tried this one.
  116. SouL Hoho, you guys like this, right? haha
  117. Ge0rG Holger will never be as good as me at trolling!
  118. pep. Or MangooseIM maybe
  119. Link Mauve Damn, even stealing his colour!
  120. SouL omg!!
  121. Maranda Yes definitely Tigase
  122. Link Mauve Or *gasp*, M-Link!
  123. Holger jabberd2
  124. Holger djabberd
  125. Maranda Which pep doesnt support persistency afair 🤣
  126. pep. yeah, I think we've done the tour
  127. Holger Apache Vysper!
  128. Link Mauve pep., no, there is also jabberd14.
  129. Link Mauve And this Go one, and this PHP one.
  130. Maranda XMPP version of Voldemort!
  131. mathieui invites zinid in there
  132. Maranda Regarding M-Link I noticed yesterday it still tries to enable compression on s2s before auth'ing the stream I had to add a compat to talk with swift.im
  133. Holger Just submit a patch on GitHub.
  134. Maranda That's like 3-4 years from that cve
  135. Holger should just shut up for today, sorry.
  136. pep. Maybe they haven't noticed yet!
  137. Maranda Uh? M-Link went OS?
  138. Maranda 🤣🤣🤣
  139. Holger Maranda: Just my poor trolling about them not being OS.
  140. Maranda 😎
  141. SouL Holger, haha! On the edge today! I like it haha
  142. Holger Yeah. Weekend is coming soon ...
  143. Maranda (Problem of M-Link is that it ignores the <failure /> it gets feed too and restarts the stream anyways)
  144. Maranda Weekend!
  145. Maranda I dunno what that is tbh
  146. Holger Working 24/7?
  147. Maranda "Sort of" at least 12/6 between a thing or another
  148. debacle Well, the week has seven days, and if that is not enough, one has to work at the weekend, too.
  149. bot Dicson created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8902 >: #8902: < Gajim can not open url from vcard... Gajim past mailto to url button. >
  150. Maranda There medical certification for competitions is sorted for this year too... *eyes consolingly his poor wallet*
  151. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *075ceacf* < https://dev.gajim.org/gajim/gajim/commit/075ceacf4949910596e6a55f5dc698401be4b44d > VCard Window: fix URI Fixes #8902
  152. bot Philipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8902 >: #8902: < Gajim can not open url from vcard... Gajim past mailto to url button. >
  153. bot Philipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8901 >: #8901: < Acconut name isn't change in the popup menu of notification area icon >
  154. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *fc007fc6* < https://dev.gajim.org/gajim/gajim/commit/fc007fc68f5eefbdc280d126357c00e57908eb63 > StatusIcon: Set account name correctly Fixes #8901
  155. dicson lovetox, Hi! Can you repro this http://i.imgur.com/REABqG7.png ?
  156. lovetox yes
  157. lovetox no reproduce, but i often seen it
  158. lovetox but to lazy at the moment to go hunting for whats causing this
  159. lovetox i hate treeviews
  160. dicson collapse and expand partipiants list - moderators avatar changed
  161. dicson or any member change status - avatar set to moderators
  162. lovetox hm its at least not obvious how this can happen
  163. lovetox from looking at the code
  164. lovetox and i cant reliable reproduce it
  165. Wiktor Hello, I've got a small improvement to Acronyms Expander plugin (support for UTF-8), is it possible to create a Pull Request on dev.gajim.org?
  166. lovetox have to check your accout, whats your account name?
  167. Wiktor wiktor
  168. lovetox yes should work
  169. lovetox just fork the plugin repo
  170. lovetox do your changes in the fork
  171. lovetox and create a merge request
  172. Wiktor should I also update version in manifest.ini? I think it's needed by the plugin updater, right?
  173. lovetox yes
  174. Wiktor ok, got it, thanks!
  175. lovetox and add [acronym] before every commit
  176. Wiktor got it!
  177. dicson lovetox, treeviews works by magic laws...If you are not too busy, can you make 'Thanks' translatable? in about dialog. self.add_credit_section('Thanks', thanks) >self.add_credit_section(_('Thanks'), thanks)
  178. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *d0cdc068* < https://dev.gajim.org/gajim/gajim/commit/d0cdc068032cf282dcd32f862e850e8cdc4218c4 > Make string translatable
  179. dicson Thanks ))
  180. bot Wiktor proposed a new merge request for _gajim-plugins/master_ < https://dev.gajim.org/gajim/gajim-plugins/merge_requests/64 >: [acronym] Add support for UTF-8 expansions
  181. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *958c898e* < https://dev.gajim.org/gajim/gajim/commit/958c898ed13e26fd020fc2f1b424efb86b7c0b20 > Dont mutate THANKS constant
  182. Maranda lovetox, how can I make it so the room roster is always shown?
  183. lovetox you cant at the moment
  184. Maranda ok
  185. lovetox hm or wait let me have a look
  186. lovetox yeah you can
  187. lovetox ACE hide_groupchat_occupants_list
  188. lovetox but this sets it globaly always obviously
  189. lovetox not per chatroom
  190. lovetox Maranda,
  191. Maranda it's good
  192. Maranda lovetox, but it's deactivated... hmm
  193. Maranda doesn't that just hide it?
  194. lovetox ah hm
  195. lovetox lol
  196. lovetox maybe a bit too much then
  197. Maranda I'd like it to always show without me going to go *click it* :D
  198. lovetox lol my gajim config file is 70 MB big
  199. lovetox from that re-encoding bug
  200. Maranda :O
  201. lovetox ok now its 300 mB
  202. lovetox something is wrong here
  203. bot Wiktor updated a merge request for _gajim-plugins/master_ < https://dev.gajim.org/gajim/gajim-plugins/merge_requests/64 >: [acronym] Add support for UTF-8 expansions
  204. nx_user hi, get_bookmarks_menu in gui_menu_builder.py uses Gio.MenuItem to build its submenu, but add_bookmarks_list in roster_window.py uses Gtk.MenuItem. is there any difference? which one is more appropriate?