-
shodan
How do I export my friend's group chat history into a cleanly formatted, easily viewable and searchable document at year's end ?
-
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
-
umu
shodan: sqlite
-
umu
u can export to any file
-
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
-
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 ?
-
umu
u need to select where channelid
-
umu
is the GC encrypted with omemo?
-
umu
then u need omemo db
-
umu
http://cheat.sh/sqlite3 or use dbeaver or something if ur unfamiliar
-
Paul Gupta
i just opened logs.db and i can't figure out how it stores what channel the log message belongs to
-
Paul Gupta
it states who sent it
-
Paul Gupta
like which user, but not which use in which room
-
Paul Gupta
what's the reason for sqlite vs. plain text here?
-
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
-
shodan
Ah, it's the jid_id columns, it has a lookup in the "jids" table
-
shodan
So it looks like this
-
shodan
https://chat.domn.net:5443/upload/500b07a7efeff7dd5a382d5bf3fa0d30cec686c6/DW3psscR1HFEqrDU9d5mRFJGWj28S1BckzurhRvZ/da5713dc-2ec3-4a46-8793-1f362b4b5716.png
-
Paul Gupta
weird
-
Paul Gupta
I haven't got much experience with SQL
-
umu
somewhere in there
-
umu
maybe no logs.db✎ -
umu
maybe not logs.db ✏
-
umu
check all da sqli files tbh
-
umu
it's gonna be in there somewhere if u see it in the client
-
umu
I'm not at my desk rn
-
fjklp
> People get more prone to infections with age too. lol
-
lovetox
shodan: there is a export in the account settings
-
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
-
kurion
hello, I am trying to make an appimage for Gajim. So having to look into dependencies.
-
kurion
is `systemd` a dependency for Gajim?
-
kurion
I've visited gajim/common/dbus/✎ -
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) ✏
-
lovetox
Appimage does not work on Wayland
-
lovetox
Just so you know
-
lovetox
kurion: and we list dependencies in our readme
-
kurion
> Appimage does not work on Wayland Thanks for the heads-up
-
kurion
I plan to stick to X11 as long as it serves me well enough.
-
polarian
watch it the waylands gang might come for you ๐
-
unclearam
> is `systemd` a dependency for Gajim? When I setup gajim on freebsd it didn't require systemd but it did require a machineID ↺
-
kurion
polarian: :)
-
kurion
> unclearam: it did require a machineID✎ -
kurion
> unclearam: it did require a machineID is machineID a BSD-specific thing? ✏
-
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.
-
unclearam
You will offend a lot of BSD people though cause you systemdified your instance.
-
kurion
unclearam: ๐
-
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.
-
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. ๐
-
lovetox
beduk, your problem was that you could not connect unencrypted
-
lovetox
i dont get why dont just give me the server adress so i can look into it
-
pep.
There's no way to re-share a file right? In a different tab
-
pep.
I mean, directly without looking for the file that's saved locally
-
lovetox
you mean like a share button
-
lovetox
no, you can copy the http upload link, and copy it to another chat
-
pep.
And gajim will add the oob itself?
-
fjklp
just to add, if image previews are enabled, right-click the image and select 'Copy Link', since that might be not noticed
-
fjklp
what is oob?
-
agh
>> unclearam: it did require a machineID > is machineID a BSD-specific thing? dbus
-
pep.
fjklp, https://docs.modernxmpp.org/client/protocol/#communicating-the-url
-
fjklp
thanks
-
lovetox
pep.: no, at least you can configure gajim that it does not care
-
pep.
Does not care about.. the oob tag?
-
pep.
I want receiving clients (on the other end) to display it nicely :)
-
pep.
But ok
-
pep.
I have just attached the file saved locally for now
-
lovetox
but how would the gui should look like which you expected
-
lovetox
a share button on the image? and this brings up some kind of contact dialog
-
lovetox
or switching to the other chat, pressing the file button, and see maybe "recent files" and select it there?
-
pep.
hmm, right it's not as obvious as on Android