Gajim - 2023-12-13


  1. shodan

    How do I export my friend's group chat history into a cleanly formatted, easily viewable and searchable document at year's end ?

  2. Paul Gupta

    lovetox, probably for the same reason as 'if someone else can compile your software why prefer FOSS?' or something like that. just curious and in a mood to tinker with protocols

  3. umu

    shodan: sqlite

  4. umu

    u can export to any file

  5. shodan

    Just had a look at the structure. Looks like it's one big table of all messages on all channels. The actual source of each message is stored somewhere else. (This is logs.db table "logs") That's going to be a huge jobs reconstituting this into something coherent

  6. shodan

    I think I'm going to screen record a video scrolling up the chat history instead. Too bad it won't be searchable though. So, nobody saves their chat history, it all gets deleted eventually ?

  7. umu

    u need to select where channelid

  8. umu

    is the GC encrypted with omemo?

  9. umu

    then u need omemo db

  10. umu

    http://cheat.sh/sqlite3 or use dbeaver or something if ur unfamiliar

  11. Paul Gupta

    i just opened logs.db and i can't figure out how it stores what channel the log message belongs to

  12. Paul Gupta

    it states who sent it

  13. Paul Gupta

    like which user, but not which use in which room

  14. Paul Gupta

    what's the reason for sqlite vs. plain text here?

  15. shodan

    There isn't a channel_id columns in the logs table of logs.db There is stanza_id and message_id I presume somewhere else in the file there is a lookup table which lists all message_id and which channel_id it is ? But that's getting really heavy to manage

  16. shodan

    Ah, it's the jid_id columns, it has a lookup in the "jids" table

  17. shodan

    So it looks like this

  18. shodan

    https://chat.domn.net:5443/upload/500b07a7efeff7dd5a382d5bf3fa0d30cec686c6/DW3psscR1HFEqrDU9d5mRFJGWj28S1BckzurhRvZ/da5713dc-2ec3-4a46-8793-1f362b4b5716.png

  19. Paul Gupta

    weird

  20. Paul Gupta

    I haven't got much experience with SQL

  21. umu

    somewhere in there

  22. umu

    maybe no logs.db

  23. umu

    maybe not logs.db

  24. umu

    check all da sqli files tbh

  25. umu

    it's gonna be in there somewhere if u see it in the client

  26. umu

    I'm not at my desk rn

  27. fjklp

    > People get more prone to infections with age too. lol

  28. lovetox

    shodan: there is a export in the account settings

  29. shodan

    Thanks that's great plain text format with all the image urls It's going to take only a little more effort to embed the images

  30. kurion

    hello, I am trying to make an appimage for Gajim. So having to look into dependencies.

  31. kurion

    is `systemd` a dependency for Gajim?

  32. kurion

    I've visited gajim/common/dbus/

  33. kurion

    I've visited gajim/common/dbus/ and feel a bit worried that I might need to bundle systemd, dbus (hopefully not; still exploring the AppImage format)

  34. lovetox

    Appimage does not work on Wayland

  35. lovetox

    Just so you know

  36. lovetox

    kurion: and we list dependencies in our readme

  37. kurion

    > Appimage does not work on Wayland Thanks for the heads-up

  38. kurion

    I plan to stick to X11 as long as it serves me well enough.

  39. polarian

    watch it the waylands gang might come for you ๐Ÿ˜‰

  40. unclearam

    > is `systemd` a dependency for Gajim? When I setup gajim on freebsd it didn't require systemd but it did require a machineID

  41. kurion

    polarian: :)

  42. kurion

    > unclearam: it did require a machineID

  43. kurion

    > unclearam: it did require a machineID is machineID a BSD-specific thing?

  44. unclearam

    kurion: no its specific to the systemd suite and a like. https://unix.stackexchange.com/questions/402999/is-it-ok-to-change-etc-machine-id#403054 You need to create a file in /etc/machine-id and randomly generate a string of characters.

  45. unclearam

    You will offend a lot of BSD people though cause you systemdified your instance.

  46. kurion

    unclearam: ๐Ÿ˜…

  47. beduk

    > i dont need an account for connecting > > just give me the address lovetox: My family only uses mobile client with my server. Images work for them. I decided that I can live without images on desktop. I always can look at the picture on the phone. Topic closed.

  48. beduk

    > beduk, https://security.stackexchange.com/a/105647 > > Every single article I have read on this says you are wrong > > soooo What can I say?๐Ÿคทbetter nothing. ๐Ÿ‘‹

  49. lovetox

    beduk, your problem was that you could not connect unencrypted

  50. lovetox

    i dont get why dont just give me the server adress so i can look into it

  51. pep.

    There's no way to re-share a file right? In a different tab

  52. pep.

    I mean, directly without looking for the file that's saved locally

  53. lovetox

    you mean like a share button

  54. lovetox

    no, you can copy the http upload link, and copy it to another chat

  55. pep.

    And gajim will add the oob itself?

  56. fjklp

    just to add, if image previews are enabled, right-click the image and select 'Copy Link', since that might be not noticed

  57. fjklp

    what is oob?

  58. agh

    >> unclearam: it did require a machineID > is machineID a BSD-specific thing? dbus

  59. pep.

    fjklp, https://docs.modernxmpp.org/client/protocol/#communicating-the-url

  60. fjklp

    thanks

  61. lovetox

    pep.: no, at least you can configure gajim that it does not care

  62. pep.

    Does not care about.. the oob tag?

  63. pep.

    I want receiving clients (on the other end) to display it nicely :)

  64. pep.

    But ok

  65. pep.

    I have just attached the file saved locally for now

  66. lovetox

    but how would the gui should look like which you expected

  67. lovetox

    a share button on the image? and this brings up some kind of contact dialog

  68. lovetox

    or switching to the other chat, pressing the file button, and see maybe "recent files" and select it there?

  69. pep.

    hmm, right it's not as obvious as on Android