Gajim - 2019-02-11


  1. bot Daniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9575 >: #9575: < Convert input to emojis >
  2. bot Daniel Brötzmann modified an issue in _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins/issues/386 >: #386: < problem with pgp plugin in linux >
  3. bot Daniel Brötzmann modified an issue in _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins/issues/386 >: #386: < problem with pgp plugin in linux >
  4. bot Philipp Hörist closed an issue in _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins/issues/331 >: #331: < PGP: Replace obsolete XEP-0027 by (experimental) XEP-0373 >
  5. pep. Heh, 0027 is dead? :p
  6. pep. I wonder how many people are going to complain
  7. lovetox pep., no 0027 is not dead, and the plugin is alive and well in Gajim and everybody can use it
  8. lovetox as i wrote in the ticket, replacing is the wrong wording here
  9. Darlan Hi, I'm receiving dozens of spam messages every new session. What do you think is the preferred way to handle it, a client-side plugin or a server-side option to block contact that are not in Roster?
  10. Link Mauve Darlan, a proper server-side solution.
  11. Link Mauve Blocking contacts is a stupid solution imo.
  12. Link Mauve Also, try to fix one of the roots of the problem, which is spam-friendly servers, not so much individual spam accounts.
  13. Link Mauve https://github.com/JabberSPAM/blacklist lists a process to help fix that, by contacting the server admin, then their ISP.
  14. lovetox Darlan long term server solution, short term you can use the Anti Spam plugin
  15. Darlan Thank you, Link Mauve and lovetox.
  16. bot Goran Mekić created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9576 >: #9576: < Help identify code that break on HardenedBSD >
  17. bot Goran Mekić modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9576 >: #9576: < Help identify code that break on HardenedBSD >
  18. debacle There is exactly one way to fight spam, sending server side blocking.
  19. debacle Our chief weapon is to stop spam at the sending server side. Contact server admins and/or hoster/provider to stop the spam. If successful, this stops the spam for everyone.
  20. debacle And receiving server side global blocking.
  21. debacle Our two weapons are blocking on sender and receiver side. The latter e.g. by mod_firewall in Prosody. Ejabberd will have a similar module soon, so I hear. This at least stops the spam for all users of your servers.
  22. debacle And per client blocking.
  23. debacle Our three weapons are blocking on sender and receiver side and block per user. The latter is done via XEP-0191 and mod_blocklist in Prosody. This stops the spammer for one account on all devices.
  24. debacle And client-side blocking.
  25. debacle Our four weapons are blocking on sender and receiver side, block per user, and block on the client side. The latter can be done by means of the Gajim antispam plugin.
  26. debacle Amongst our weaponry... are nice orange hoodies - Oh damn!
  27. Zash something something spamsolutions.txt
  28. debacle Stolen from: https://people.csail.mit.edu/paulfitz/spanish/script.html
  29. Zash :D
  30. bot Nayanā Topoľský created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9577 >: #9577: < message receipts positive confirmation >
  31. bot Philipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9577 >: #9577: < message receipts positive confirmation >
  32. bot Philipp Hörist pushed 2 commits to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *6f61f053* < https://dev.gajim.org/gajim/gajim/commit/6f61f05377e529bd262bcf9b3f022b39ee9e0257 > MAM: Detect nbxmpp supported encryptions *4a2c23b8* < https://dev.gajim.org/gajim/gajim/commit/4a2c23b893b415df1e4ab205cd468e0df543fb15 > Correctly remove bookmark after MUC was destroyed
  33. bot Florian Münchbach proposed a new merge request for _gajim-plugins/gajim_1.1_ < https://dev.gajim.org/gajim/gajim-plugins/merge_requests/115 >: [syntax_highlight] Remove duplicate end_user_action call.
  34. fm lovetox, just found (and fixed) a small issue with the plugin, I think bumping the bugfix/patch part of the version number is ok, right?
  35. lovetox yes always bump the last one, except when you port to other major version of gajim
  36. fm ok, that's the answer I expected ;)
  37. lovetox one little thing, please dont end your commit messages with a "."
  38. fm ok, matter of taste, but will do. (i personally like putting a '.' in case the 'subject' line is not followed by any text....)
  39. fm you want me to change it?
  40. bot Philipp Hörist pushed 1 commit to branch _refs/heads/gajim_1.1_ of _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins >: *1a9c20cd* < https://dev.gajim.org/gajim/gajim-plugins/commit/1a9c20cd2c452c2b41325a7e6d7150e0768e99d9 > [syntax_highlight] Remove duplicate end_user_action call.
  41. lovetox no just for next time
  42. bot Philipp Hörist merged a merge request for _gajim-plugins/gajim_1.1_ < https://dev.gajim.org/gajim/gajim-plugins/merge_requests/115 >: [syntax_highlight] Remove duplicate end_user_action call.
  43. fm ok, thx
  44. fm btw, this is the current state of the widget based view:
  45. fm https://framapic.org/rJMCoXapqHrx/slkoNsjUBcYm.png
  46. lovetox wow looks great !
  47. lovetox did you use some css on this widget?
  48. lovetox thats also one benefit making it a widget, styling with css
  49. fm nope, not right now
  50. fm but, yes, I am considering it
  51. lovetox ok just so you know, you can, put all css into gajim.css
  52. lovetox not for the text in the textview, but for all other widgets its possible
  53. fm ok, will put a note somewhere ;)
  54. lovetox yeah looks really nice, you could add some margin on the top of the widget with css
  55. lovetox so it has more space to the "Vor 3 Tagen .."
  56. lovetox ah thats a plugin, if you want to see how to apply in a plugin css, look at the omemo plugin in master branch
  57. fm yeah, styling needs a lot more tweaking.... currently I set all the spacings and margins manually in code, which bloats it pretty much
  58. fm is there a nice way how to get the font size used in the conversation_textview? should I use the values from the app.css_config?
  59. lovetox yes
  60. lovetox hm or maybe not
  61. lovetox i see in gajim we just add a class 'gajim-conversation-font'
  62. lovetox yes just add that class
  63. lovetox you only need app.css_config if you want to get a value from the css file
  64. lovetox some elements like tags can not be styled with css
  65. lovetox but we save the settings of the user in css
  66. lovetox so we can pull the value from the css, and then set on the tag
  67. lovetox but all widgets that support css, you can just use get_style_context().add_class('yourclass')
  68. fm Sorry, was afk for a moment. I didn't mean for direct styling but rather for a sane default font size. I just set it to a fixed value. Once the user changes the plugin's font size, it will be stored in the plugin's settings
  69. lovetox size
  70. lovetox but what about font
  71. lovetox ?
  72. lovetox i mean you could easily add a gtk font chooser button
  73. fm There is one 😉
  74. lovetox and store the value with app.css_config.set_font
  75. lovetox and retrive it with get_font
  76. lovetox thats actually what this is for
  77. lovetox or actually you dont even need to retrive it
  78. lovetox just save it to the css and add a class to your widget
  79. fm By default, I set the font to a generic "monospace", with some fixed initial fiber size. The former is OK IMHO, the latter is probably different from surrounding text. This is what I want to avoid, unless the user configures something else...
  80. lovetox yeah you can set monospace on off
  81. lovetox but im currently not seeing how to set a font without css
  82. fm Is it better to save to app.css-config than to the plugins config? I thought plugin settings should all be in the same location, so settings don't remain after deleting a plugin....?
  83. fm This is what I do right now, without CSS: ```python self.preview_textview.override_font( FontDescription.from_string(self.config.get_font())) ```
  84. lovetox yes this is deprectated
  85. lovetox https://lazka.github.io/pgi-docs/#Gtk-3.0/classes/Widget.html#Gtk.Widget.override_font
  86. lovetox i mean yes it works, but will have to be ported later
  87. lovetox css_config, saves to the users css file
  88. lovetox he can also add custom css there to style gajim
  89. lovetox but i dont really care, if this works now for you its fine by me
  90. lovetox Gtk4 is not coming for a long time to Gajim :)
  91. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins >: *a6ed3149* < https://dev.gajim.org/gajim/gajim-plugins/commit/a6ed3149413a728bc69897ed838272a3557623f8 > [anti_spam] add domain blocking to plugin (#380)
  92. bot Philipp Hörist closed an issue in _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins/issues/380 >: #380: < add domain blocking to anti_spam plugin >
  93. bot Philipp Hörist merged a merge request for _gajim-plugins/master_ < https://dev.gajim.org/gajim/gajim-plugins/merge_requests/113 >: add domain blocking to anti_spam plugin (#380)
  94. fm lovetox: thanks for all the information! I will go for CSS some day, not only because of the depreciation (didn't see that...), but also because it is much cleaner in the code...
  95. lovetox yeah no hurry :)
  96. bot Philipp Hörist pushed 7 commits to branch _refs/heads/master_ of _python-nbxmpp_ < https://dev.gajim.org/gajim/python-nbxmpp >: https://conference.gajim.org:5281/pastebin/de3b5646-414e-45b8-9f67-5b9ea782156f
  97. 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/1642e8b6-5637-4bb2-847c-d0e10b918756
  98. bot Philipp Hörist pushed 2 commits to branch _refs/heads/master_ of _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins >: https://conference.gajim.org:5281/pastebin/a61ff903-51bf-4df1-92b3-53e57fff6388
  99. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins >: *065b3f04* < https://dev.gajim.org/gajim/gajim-plugins/commit/065b3f04c625c365bc4ee6a02c976dbdaa482221 > [anti_spam] Update manifest.ini