Gajim - 2015-09-03


  1. bot RSS: Feeds for Gajim Plugins • Changeset [682:16ec6abb2297]: Added missing homepage field to manifest.ini Added missing homepage field to manifest.ini https://trac-plugins.gajim.org/changeset/16ec6abb22972b32d8b7a7b2de367bf4b919cc3d
  2. tmolitor arune: huge thank you for helping me! I just updated the manifest file...it is working now :)
  3. bot RSS: Feeds for Gajim Plugins • Changeset [683:880aab3698b1]: Fixed bug on first install, version 0.2.9 Fixed bug on first install, version 0.2.9 https://trac-plugins.gajim.org/changeset/880aab3698b1306732bd733586aac825dc4287be
  4. arune tmolitor: great!
  5. 007 Traceback (most recent call last): File "c:\python27\lib\site-packages\nbxmpp\dispatcher_nb.py", line 497, in dispatch File "src\common\connection_handlers.py", line 1796, in _messageCB File "src\common\nec.py", line 76, in push_incoming_event File "src\common\nec.py", line 98, in _generate_events_based_on_incoming_event File "src\common\connection_handlers_events.py", line 1213, in generate File "src\session.py", line 484, in handle_negotiation File "src\common\stanza_session.py", line 949, in accept_e2e_alice File "src\secrets.py", line 125, in secrets File "src\secrets.py", line 102, in load_secrets File "c:\python27\lib\pickle.py", line 1378, in load File "c:\python27\lib\pickle.py", line 858, in load File "c:\python27\lib\pickle.py", line 1069, in load_inst File "c:\python27\lib\pickle.py", line 1124, in find_class File "src\common\demandimport.py", line 95, in _demandimport ImportError: No module named secrets
  6. Holger tmolitor, arune: Works for me (with ejabberd's mod_http_upload). Very nice!
  7. arune Holger: yay!
  8. arune 007: which version of gajim?
  9. Holger The only thing is that the progress bar flickers quite a bit, but that may be due to my odd tiling window manager.
  10. Holger arune: Didn't you update the image preview plugin to hide the URLs? Or is that change not pushed to the official repo (yet)?
  11. arune Holger: that needs gajim 0.16.4 released first
  12. Holger Ah I see.
  13. arune Holger: sending files from gajim should also send a XHTML thumbnail
  14. arune If you have python PIL installed
  15. Holger arune: Ah right, somehow the echo bot I'm using to test this strips out the XHTML-IM tag, but I see it in the outgoing stanza.
  16. Holger <html xmlns="http://jabber.org/protocol/xhtml-im"> <body xmlns="http://www.w3.org/1999/xhtml"> <body> [...]
  17. Holger Is there meant to be a <body/> within the <body/>?
  18. arune Holger, this is what the plugin sends: '<br/><a href="%s"> <img alt="%s" src="data:image/png;base64,%s"/> </a>'
  19. Holger arune: So the <body/> tags are added by Gajim?
  20. Holger arune: This is the stanza I'm seeing: https://userpage.fu-berlin.de/holger/archive/upload-stanza.txt
  21. arune Holger: probably yes
  22. Holger .oO( I could've used the plugin to push that .txt file! )
  23. arune
  24. arune Maybe one body tag should be there åt least? I haven't read the XEP for xhtml-im though
  25. Holger Yes the examples look like one should be there.
  26. Holger But I didn't read the text next to the examples :-)
  27. aszlig linus: okay, tried it with ubuntu and debian, both work as expected, just the windows version with native windows and wine try to authenticate without TLS
  28. bot RSS: Feeds for Gajim • Ticket #8144 (Supplement for Weight Loss and Weight loss with HCG diät) created The HCG diät combines intense calorie restriction along with the every day consumption of a human hormone, also referred to as as Human Chorionic Gonadotropin. It is manufactured within the entire body of a expecting girl. The diät approach is made up of reduced calorie merchandise. It is scientifically demonstrated that with common consumption of low-calorie meals, the exce[…] https://trac.gajim.or[…]
  29. bot RSS: Feeds for Gajim • Ticket #8100 (Use Libpeas (GObject Plugin System)) updated Did I open a ticket where I suggest to use plugin-name.desktop files instead of manifest.ini? https://trac.gajim.org/ticket/8100#comment:3 • Ticket #7189 (MUC server for Intranet (or LAN)) updated I think, this issue should be discussed at ​Standards -- XMPP Standards in concern to expanding ​xep:0174. https://trac.gajim.org/ticket/7189#comment:5
  30. bot RSS: Feeds for Gajim • Ticket #8140 (Gajim crashes while connecting to server when MAM history is recieved) updated The problem is actually related to archive elements that don't contain a body element. ​https://prosody.im/pastebin/df680ac3-07b5-48fe-a941-bbf9150627d9 If I remove line 8 from the archive gajim works as expected. Testing involved two instances of poezio (latest git version). The first m[…] https://trac.gajim.org/ticket/8140#comment:1
  31. Link Mauve arune, tmolitor, you shouldn’t put spaces around <img/>, it doesn’t render as good as it could.
  32. Link Mauve You shouldn’t put any space nor line return actually.
  33. Link Mauve This <br/> looks bad in poezio for example.
  34. Link Mauve And Holger is right, there is a body too many here.
  35. Link Mauve Line 282, you currently have “xhtml = '<body><br/><a href="%s"> <img alt="%s" src="data:image/png;base64,%s"/> </a></body>'”
  36. Link Mauve xhtml = '<a href="%s"><img alt="%s" src="data:image/png;base64,%s"/></a>' will be perfect. :)
  37. Link Mauve Also, replace the duplicated getData() with a single one, and replace % with .format() and %s with {0}, {0} and {1}.
  38. tmolitor Link Mauve, without the br it looks ugly in gajim....and the spaces are there because the a href doesn't cover the complete image (only half of it) without the spaces....and it is strange to have only the left side of the image clickable...
  39. arune right, the space actually fixed the link-issue
  40. arune but the body element could be removed I suppose, the previous version I have locally doesn't have the extra body
  41. tmolitor arune: the double body also fixed something, but I don't know what...
  42. tmolitor arune: yes, I removed that double body but then something didn't work as expected and I added it again...but I really don't know what it was...
  43. arune then keep it
  44. Link Mauve Please don’t, if you find a bug in Gajim’s XHTML parser report it, don’t do gross workarounds like that.
  45. arune tmolitor, I wonder if it would be easy to patch conversation to send the XHTML with thumbnail
  46. arune work around until it's fixed would be fine
  47. Link Mauve This probably breaks other clients though.
  48. arune but yes, finding root cause is good
  49. Link Mauve I know it does for mine at least.
  50. tmolitor Link Mauve, arune: fell free if you want to find the cause, I don't have enough time to do it myself in the nex couple of weeks...
  51. Link Mauve At least report the bugs you find against Gajim.
  52. Holger Don't tell the XHTML-IM opponents how many ugly workarounds are required just to render an image correctly in a single client :-)
  53. bot RSS: Feeds for Gajim • Changeset [15809:6d190a988b10]: don't fail when we receive a MAM message without a body. Fixes #8140 don't fa[…] https://trac.gajim.org/changeset/6d190a988b10f257496916b9836c19dfcce7c55a • Ticket #8140 (Gajim crashes while connecting to server when MAM history is recieved) closed fixed: In 6d190a988b10f257496916b9836c19dfcce[…] https://trac.gajim.org/ticket/8140#comment:3
  54. bot RSS: Feeds for Gajim • Ticket #8145 (AttributeError: 'NoneType' object has no attribute 'jid' (when a contact …) created Bug description When one of my contacts initiates a private encrypted chat, I get many popups from gajim with this error: Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/gajim/chat_c[…] https://trac.gajim.org/ticket/8145 • gajim_issue_8145.patch attached to Ticket #8145[]
  55. tmolitor Ticket #8145 seems to be related to my issue I reported here a while back...