Gajim - 2024-02-18


  1. bodqhrohro

    Is it possible to make the command result displayed as an error, like with missing node errors and so? If I return `status="canceled"`, it's just displayed as a usual window, just with no "Commands" button below. Not indicating it was an error anyhow.

  2. bodqhrohro

    Ah, there are note types for that, okay.

  3. bodqhrohro

    Meh, but it's not taken into account.

  4. bodqhrohro

    http://0x0.st/HnWx.png

  5. ic_

    Running Debian nightly this morning emojis are now black and white

  6. bodqhrohro

    Hilariously, Psi+ doesn't indicate note types anyhow too. Cheogram does.

  7. lovetox

    bodqhrohro, it has nothing to do with note or not

  8. lovetox

    its a action the requestor executes

  9. lovetox

    there is no information that comes to mind that the server can send me that im interested in

  10. bodqhrohro

    lovetox: how? What is the type for then?

  11. lovetox

    what type?

  12. bodqhrohro

    lovetox: `<note type="error">`, I have shown it on the screenshot.

  13. lovetox

    the problem here is that you execute an action where the client is not interested in notes

  14. lovetox

    as a client i send you the cancel action

  15. bodqhrohro

    The note itself is displayed.

  16. lovetox

    you can return something, but im not interested

  17. lovetox

    thats a completion note

  18. lovetox

    what you show on your screenshot

  19. lovetox

    as i said it depends on the action executed

  20. bodqhrohro

    lovetox: yup, and I'd like to highlight more evidently if the action was executed successfully or not.

  21. lovetox

    thats not correct in my opinion

  22. bodqhrohro

    lovetox: what would be correct then?

  23. lovetox

    status=cancelled is not something you can send because you want to communicate a command was not executed

  24. lovetox

    read the spec, cancelled is a response on a user action "cancel"

  25. lovetox

    if you want to convey that a command execution did not work, you need to return an error

  26. bodqhrohro

    lovetox: it's "completed" there.

  27. lovetox

    look, you started your question with > If I return `status="canceled"

  28. lovetox

    you return this *only* if the user send action=cancel

  29. lovetox

    was this the case?

  30. bodqhrohro

    You didn't read the next message, right? :P

  31. lovetox

    i did, its a screenshot

  32. lovetox

    it does not answer any of my questions

  33. bodqhrohro

    > Ah, there are note types for that, okay.

  34. lovetox

    note is irrelevant

  35. lovetox

    in a cancel flow

  36. bodqhrohro

    Irrelevant to what?

  37. bodqhrohro

    There's a nice icon in Cheogram: https://img.izy.cloud/3vn3gmv8d1.png

  38. bodqhrohro

    Well, whatever, I'd better bring a patch instead of trying to pass through lovetox's toughness :P

  39. lovetox

    yeah that will surley work, you are not able to make yourself understandable in chat, but surley one you write it into a MR description it will make sense

  40. lovetox

    yeah that will surley work, you are not able to make yourself understandable in chat, but surley once you write it into a MR description it will make sense

  41. bodqhrohro

    lovetox: I have no idea really what you don't understand if you have seen the screenshot; there's `status="completed"` and `<note type="error">`, and no indication for that in the popup window. But you're arguing infinitely about `status="canceled"` somehow just because I mentioned it in my first message and soon forfeited, like that's still anyhow relevant.

  42. lovetox

    yeah thats really a suprise, people read what you write and take it into account

  43. bodqhrohro

    Yeah. 1. +0.3 BTC. 2. -0.2998 BTC. 3. +0.1 BTC. > > What happened to my 0.1 BTC? > 0.1 BTC are irrelevant. You have put 0.3 BTC and then have withdrawn -0.2998 BTC. The rest 0.0002 BTC are eaten by commission. The wallet is empty now, there's no reason to display anything anymore. WTF???

  44. lovetox

    ok you compare human communication to some kind of bank statement

  45. bodqhrohro

    Yeah, I expect engineers to think in a more concrete and ~~autistic~~ logical way than human communications usually happen.

  46. lovetox

    yeah other people are at fault if they dont understand you, thats a good mentality, lets see how far this gets you when you need something from them.

  47. bodqhrohro

    To need something from others I need to have ambitions, but I don't. So I just keep living on my parent's guidances until I run into some conflict with my principles and make a seppuku.

  48. bodqhrohro

    Literally, every time I argue with lovetox or see others arguing with lovetox, it reminds me this: https://youtu.be/i_9ZaF6ePK4?t=3081

  49. rom1dep

    hey there, do I misremember things or was there a branch of gajim that, at some point, was showing a separator to distinguish read from unread messages?

  50. bodqhrohro

    rom1dep: I have such a separator in 1.3.

  51. rom1dep

    1.8 here :)

  52. cal0pteryx

    rom1dep: read from unread? You mean "x has read up until this point"?

  53. rom1dep

    cal0pteryx, I mean, when opening a window that has unread messages, a visual indication as to which ones are new vs old

  54. cal0pteryx

    I have a branch where gajim jumps to the point where you left off last time

  55. rom1dep

    sounds awesome :)

  56. cal0pteryx

    https://dev.gajim.org/gajim/gajim/-/merge_requests/960 rom1dep this one

  57. cal0pteryx

    bodqhrohro: keep this a constructive discussion, otherwise you're out. Jumping other people is a no-go.

  58. bodqhrohro

    > 10. (transitive) To attack suddenly and violently. TIL

  59. rom1dep

    I could even merge that, let try it :)

  60. cal0pteryx

    Heh, there sould be an animated line even

  61. cal0pteryx

    bodqhrohro: just so you know: next time there will be no warning. Considering your past behaviour, this was your last warning.

  62. cal0pteryx

    rom1dep: this MR will only be considered after the database rewrite though, since it adds functionality on top of the old one

  63. rom1dep

    I see. It seems to not know about unread counters (which were preserved across restarts since recent versions) so I've got to wait for some buffers to fill-up to test :)

  64. rom1dep

    how far in the future is this database rewrite planned for?

  65. cal0pteryx

    rom1dep: can't say :)

  66. rom1dep

    I suppose it is meant to better support things like reactions and citations?

  67. lovetox

    yes, basically we stuffed everything into one table right now

  68. lovetox

    but as xmpp progressed with more and more features, this does not really work anymore

  69. lovetox

    we already have most of it, but i decided we want to use sqlalchemy going forward, so i have to refactor with that lib

  70. ic_

    Apologies for posting again but I think my message may have got swamped in the middle of a heated discussion. I am using Debian nightly and from this morning emojis are now in black and white. Past messages either show the emoji but in B&W and others a square box with symbols , I assume a placeholder. I also used emojis for my workspace ID and have had to change those also. There were no Debian apps in todays upgrade that I think may have caused this just the Gajim nightly all was working fine yesterday.

  71. cal0pteryx

    ic_, you need https://packages.debian.org/bookworm/fonts-noto-color-emoji

  72. ic_

    You mean downgrade from the installed fonts-noto-color-emoji 2.042-1

  73. lovetox

    ic_, not sure, its a packaging or configuration issue on debian

  74. lovetox

    GTK uses a font that is installed, Gajim does not add anything to it

  75. ic_

    this is the changelog * New upstream release (LP: #2045043) - This major update introduces support for the Unicode 15.1 standard https://blog.emojipedia.org/googles-emoji-15-1-support-in-noto-color-emoji/ * Bump Standards-Version to 4.6.2

  76. ic_

    Sorry that was the last changelog from Nov 23 so I don't thing it was that

  77. pep.

    Gajim's search has proven useful multiple times already, especially the scroll-to-message feature to get context, thanks :)

  78. lovetox

    pep., good to hear, usually people are not satisfied with Gajim search :D

  79. lovetox

    bodqhrohro, was you screenshot just test data, because it contains no real note for the user what went wrong, i question also the usefullness of adding a wall of text with /commands

  80. bodqhrohro

    lovetox: yup, I just changed the type temporarily for testing before implementing the type distinction for command results actually.

  81. raizenxd

    Hi, I have quick question about client on windows, does it have auto updater? Because a notification about an update randomly disappeared

  82. cal0pteryx

    raizenxd: no it doesn't. To get auto updates, you'd have to install via MS store or Chocolatey

  83. raizenxd

    k thx for info

  84. cal0pteryx

    There is an update check, but you have to update yourself if you don't use solutions mentioned above :)

  85. fjklp

    hell yeah

  86. fjklp

    I'm happy to see the chat title highlight and undo stuff fixed

  87. fjklp

    well, it still behaves unlike other editors

  88. fjklp

    I think

  89. cal0pteryx

    fjklp, undo behavior is not handled by GTK itself. complain there :)

  90. cal0pteryx

    *now GtkSource handles undo now

  91. ☭Mike Yellow

    I hope Gajim can support XEP-0012 in the future.

  92. cal0pteryx

    ☭Mike Yellow, support has been removed

  93. ☭Mike Yellow

    Whaaat!?

  94. ☭Mike Yellow

    Why?

  95. cal0pteryx

    ah sorry, wrong XEP

  96. ☭Mike Yellow

    Maybe you thought about XEP-0016. And yes, we do need XEP-0016, for political activities.

  97. cal0pteryx

    ☭Mike Yellow, Gajim supports it already

  98. ☭Mike Yellow

    Where to check last activity of my contact?

  99. cal0pteryx

    ah yes, I thought you meant 0016, which has been removed four years ago

  100. ☭Mike Yellow

    There are reasons that we are still using Psi(+): It does not stuck facing heavy spam. (Dino neither, though.) It supports XEP-0016. It supports XEP-0012 (Last Activity). It can see Occupants' client name through MUC, which helps for guiding new users.

  101. ☭Mike Yellow

    Nothing more than these.

  102. cal0pteryx

    Ah, strange, Gajim 1.0 removed Last Activity, but there are some code remains

  103. ☭Mike Yellow

    ……

  104. lovetox

    Last Activity for what?

  105. lovetox

    We support Last Activity to get the uptime of a server

  106. lovetox

    for users we have idle time

  107. ☭Mike Yellow

    Many Chinese are naughty and cowards, many of them gave up their XMPP ID and changed to a new one.

  108. ☭Mike Yellow

    I need XEP-0012 to see if they really gave up their XMPP account.

  109. ☭Mike Yellow

    Another example, they registered Prosody server, and get spammed endlessly by some enemies. Prosody has no XEP-0016 so they have to give up their account and turn to Ejabberd.

  110. lovetox

    but this is not really necessary, because what you want is simply "when was this user last online"

  111. lovetox

    and i think your client could simply track that yourself

  112. lovetox

    but yeah .. idle time is no strict replacement ..

  113. ☭Mike Yellow

    > and i think your client could simply track that yourself How? Through Last Seen of OMEMO fingerprints?

  114. lovetox

    no i simply mean the client could simply record whenever it receives a presence

  115. lovetox

    and therefor knows the last time the presence was received

  116. lovetox

    its not 100% because sometimes you are offline yourself, and cannot receive anything

  117. lovetox

    but i guess close enough?

  118. ☭Mike Yellow

    > its not 100% because sometimes you are offline yourself, and cannot receive anything Yes.

  119. lovetox

    but yeah sending an activity request is also not hard

  120. lovetox

    if you dont need this everyday

  121. lovetox

    in Gajim you can simply paste the xml to the console

  122. lovetox

    and send the request "manually"

  123. ☭Mike Yellow

    Well. Nevermind. Now using Psi(+) is a better choice. Sorry for bothering.

  124. fjklp

    > *now > GtkSource handles undo now got it

  125. fjklp

    at the least, we have much better functionality on undo/redo. We can return to an empty state and we can recover text deleted by Ctrl+U, and we can redo.

  126. cal0pteryx

    fjklp: yes, I'm glad it's better now :)