-
*IM*
Kris: >Not really. Element is using much weaker e2ee that cycles keys rarely. Do you have more information to this / source?
-
bot
lovetox pushed 1 commits to branch gajim/master fix: RosterItemExchange: Display optional message in the chat - https://dev.gajim.org/gajim/gajim/-/commit/a33786b54f7e3a10f3ac6d46e21b4aa6631a6405
-
ε¦ε
δΊΊ
γ
-
cal0pteryx
fjklp: not sure what you mean, but either way, I'd have to go search at the gtk tracker myself
-
sch
I have added OMEMO support to Slixfeed, and it appears thta Gajim does not display images of encrypted URL messages that do not start with aesgcm://✎ -
sch
I have added OMEMO support to Slixfeed, and it appears that Gajim does not display OOB media of encrypted URL messages that do not start with aesgcm:// ✏
-
sch
Gajim does display OOB media as expected for unencrypted URLs from Slixfeed.
-
sch
Version 1.8.4
-
cal0pteryx
sch: gajim only displays a preview if body == oob url
-
fjklp
> fjklp: not sure what you mean, but either way, I'd have to go search at the gtk tracker myself I found our original exchange on this. You only said "might be a gtk bug", so nevermind. ↺
-
sch
> sch: gajim only displays a preview if body == oob url It appears that it does not when the URL is encrypted and does not start with aesgcm. *I need to verify this with the XML Console.*✎ -
fjklp
I often experience where seemingly randomly the text that I am typing into the message input field will become shaded dark, the same as quoted text, often randomly switching back and forth between dark and normal. Does anyone else experience this?
-
sch
> sch: gajim only displays a preview if body == oob url cal0pteryx: It appears that it does not when the URL is encrypted and does not start with aesgcm. *I need to verify this with the XML Console.* ✏
-
cal0pteryx
fjklp: I don't think we have code for that in gajim :D never experienced this
-
fjklp
interesting, do you think theme could affect it?
-
cal0pteryx
sch: https://xmpp.org/extensions/xep-0454.html
-
cal0pteryx
fjklp: no clue. We're developing against adwaita
-
fjklp
ok
-
sch
> sch: https://xmpp.org/extensions/xep-0454.html cal0pteryx: Thank you. It appears that there is no mention of non AESGCM URI scheme.
-
bot
lovetox pushed 2 commits to branch gajim/master cq: Preferences: Remove obsolete code - https://dev.gajim.org/gajim/gajim/-/commit/c861b4cfecf9f974735c1b29b66d6518bce6d49f imprv: Proxies: Add option to ignore system proxies - https://dev.gajim.org/gajim/gajim/-/commit/92ddcc8664d23fd81bc0e69bbf8d8c5f4d5868dd
-
bot
lovetox pushed 1 commits to branch python-nbxmpp/master cfix: Revert: Fallback to direct connection if system proxies are not suitable - https://dev.gajim.org/gajim/python-nbxmpp/-/commit/c4bb5dc60fe92630a117826001d1eff59a496326
-
lovetox
zak, next version will have a option "No-Proxy", you can tell your colleagues to set this, then it should work again
-
lovetox
i wonder though if in your company http connections work without proxy
-
zak
Hi lovetox, it works from within the company network without this setting. I will test the option then.
-
zak
Is it possible to activate this option even when creating a completely new account?
-
lovetox
yes
-
lovetox
account wizard, advanced checkbox, then you can set the proxy
-
zak
It is not perfect I guess though with this setting. Especially if a user does not know why a connection does not work.
-
lovetox
it is weird that it works without vpn
-
lovetox
vpn is basically a way to be "in" the company network from at home
-
zak
I need to tell everyone to pay attention when upgrading Gajim. Otherwise for sure nobody will notice to set this option. I wonder if other users who run into this will know.
-
zak
I will check the proxy settings again tomorrow, when I am at work. Maybe this is disabled there.
-
amogus
> lovetox pushed 1 commits to branch python-nbxmpp/master > > cfix: Revert: Fallback to direct connection if system proxies are not suitable - https://dev.gajim.org/gajim/python-nbxmpp/-/commit/c4bb5dc60fe92630a117826001d1eff59a496326 this is bad, what if tor users havent configured their daemon correctly? then their data gets leaked, instead of having no connection ↺
-
zak
lovetox, there is no way to automatically catch this problem somehow and then use the no-proxy configuration automatically?
-
lovetox
amogus, you misunderstand the commit line
-
zak
I think an automatic fallback would be more user-friendly
-
zak
To be honest, I think the answer in the issue is weird. It's kind of like "To make it work, you have to enable the "make it work" switch.
-
lovetox
i have to dig a bit, on gnome indeed it behaves correctly
-
lovetox
But on Windows i dont think so
-
debacle
Funny: Three different date formats in one chat window ποΈ Above the day: "Sat 07/06/24" Message of yesterday: "Sat Jul 6 00:01:07 2024" Message of today: "2024-07-07 09:31:18" I wonder, if Gajim uses the locale settings? How can I force ISO style always and everywhere?
-
fjklp
debacle: afaik, it's all set in the ACE. date_format, date_time_format, time_format
-
fjklp
> ISO style excellent choice
-
Kris
this is not yet in 1.9.1 right? https://dev.gajim.org/gajim/python-nbxmpp/-/merge_requests/84
-
Kris
ah wait, I see: https://dev.gajim.org/gajim/gajim/-/merge_requests/1023
-
Kris
was confused with the two repos
-
Codimp
Kris, same just a few minutes ago ahah
-
lovetox
zak, i found the problem, if your company sets a proxy setting just to some ip or uri, then this means in windows, everything must go through that
-
lovetox
you can set it this way http=http://1.2.3.4;https=https://1.2.3.4
-
lovetox
if you set it like that, then libproxy will not return it for tcp connections
-
lovetox
its unfortunate that you company setup this setting that way, it will probably not break only Gajim, though of course there are not many applications that dont use http
-
lovetox
a workaround could be that you setup on your xmpp server, websockets, then of course this proxy setting would work, as its http
-
lovetox
or at least i think a websocket connection can go trough a http proxy
-
lovetox
otherwise you will have to live with setting "No Proxy"
-
cal0pteryx
debacle: using 1.9.1?
-
lissine
It's the same for me, and I'm using 1.9.1
-
zak
lovetox: I don't know where it is configured. I can download a wpad.dat file that contains many rules and conditions and in the end it just says `return "PROXY 2.3.4.5:3128; PROXY 2.3.4.6:3128; DIRECT"; `
-
zak
This is a PAC file.
-
zak
I don't know if http can be added there.
-
zak
...and it says DIRECT there as well, so I wonder why this is not taken into account from libproxy.
-
lovetox
i meant manual proxy config
-
lovetox
if they do auto config i have no idea about it
-
lovetox
its javascript and it should return the right proxy
-
lovetox
you would need to get into the syntax and see for yourself is something is wrong there
-
zak
Setting to manual proxy is an action the user needs to take. We can as well then set the no-proxy configuration.
-
zak
So far the PAC file seems correct in my opinion.
-
lovetox
i meant i thought your company used the manual setting
-
zak
No
-
lovetox
> So far the PAC file seems correct in my opinion. how can you say its correct, did you read the documentation for PAC files :d ↺
-
zak
Yes, I read what I could find.
-
zak
And I do not see http or something like that anywhere for a rule.
-
zak
And as I said, it gives two IP addresses for proxy and then DIRECT as third option. To my understanding, this should tell the application exactly this: Try these two IP's, then use DIRECT connection if it does not work.
-
zak
Only GLib only tries the IP addresses with http.
-
lovetox
thats idiotic
-
zak
What exactly is idiotic?
-
lovetox
it should ask if a protocol was given, then return the correct proxy, not give 3 proxies and say, try for yourself what works
-
lovetox
https://igorpuhalo.wordpress.com/2022/08/09/windows-proxy-settings-ultimate-guide-part-iii-wpad-pac-configuration-file/#pac-wpad-script
-
lovetox
here see at the bottom they return the correct proxy depending on protocol
-
zak
I see... well this is not included in our PAC. All the references I found however mentioned PAC files in conjunction with a web browser.
-
lovetox
GLib does not support multiple proxies per protocol, it can only hold one
-
lovetox
so it probably takes the first one
-
zak
In the debug output it gave both IP addresses, if you remember.
-
lovetox
hmm
-
zak
And it automatically(?) added the http before that. But http is not given in our proxy PAC
-
zak
before the IP addresses I mean.
-
lovetox
thats was not glib though
-
lovetox
that was libproxy
-
zak
``` pxbackend-DEBUG: px_manager_get_proxies_sync: url=none://xmpp.company.de:5222 online=1 pxbackend-DEBUG: px_manager_get_proxies_sync: Config[0] = wpad:// pxbackend-DEBUG: px_manager_get_proxies_sync: Proxy[0] = http://ip.proxy1:3128 pxbackend-DEBUG: px_manager_get_proxies_sync: Proxy[1] = http://ip.proxy2:3128 ```
-
lovetox
yes thats lib proxy
-
zak
It seems GLib uses libproxy here?
-
lovetox
hm i was wrong, indeed it tries to connect to all proxies
-
lovetox
still lib proxy seems to return the 2 http proxies and not direct
-
zak
yes
-
zak
and it adds the http:// before the IP addresses
-
lovetox
this is normal i think, only ips could be considered http proxies
-
222m5
> Yes, I read what I could find. zak: idk if this ref is relevant (or helpful) https://developer.mozilla.org/en-US/docs/Web/HTTP/Proxy_servers_and_tunneling/Proxy_Auto-Configuration_PAC_file
-
zak
This is one of the links I found.
-
zak
I did not find anything about the protocol specification there, but the doc specifically seems to be for browser requests only
-
zak
Ah, well maybe it should be return HTTP 2.3.4.5:3128 instead of return PROXY 2.3.4.5:3128
-
lovetox
i dont think this will change something, glib knows that its a http proxy
-
lovetox
and knows thats its not suiteable
-
lovetox
the question is why direct is not tried afterwards
-
zak
Well in any case, I think next to "System" and the two pre-defined Tor-Proxies it wouldn't hurt to add a no-proxy option. It would be interesting to find out what exactly is happening here, but you already invested much time in this.
-
cal0pteryx
debacle, check date_format, time_format, and date_time_format. Only the "date separator" between days deviates a bit from that format, since it adds %a (weekday) in front
π 1 -
lovetox
zak, its already added in master
-
lovetox
zak, one thing could also be that lib proxy does not even get the wpad file
-
lovetox
and finds the proxy at some other locations
-
lovetox
hm no
-
lovetox
i think the wpad code simply does not return the direct option
-
zak
I was thinking about that, too. But where? According to this... https://superuser.com/questions/346372/how-do-i-know-what-proxy-server-im-using ...there is the command `netsh winhttp show proxy`. But that gives: > Aktuelle WinHTTP-Proxyeinstellungen: > DirectAccess (kein Proxyserver)
-
Takto
hello
-
Takto
to whom I ought to talk about key recognition compatibility between Conversations and Gajim?
-
zak
With http://wpad/wpad.dat I get the PAC file with the code I mentioned.
-
lovetox
https://github.com/libproxy/libproxy/blob/main/src/backend/px-manager.c#L475
-
lovetox
this code take the response from the wpad file and converts it into proxies
-
lovetox
i dont see any special handling for the DIRECT keyworkd✎ -
lovetox
i dont see any special handling for the DIRECT keyword ✏
-
zak
I see... Question is: Is this wrong, i.e. a bug? Or should DIRECT be ignored, because DIRECT is no proxy per se.
-
lovetox
no idea, what says the wpad doc :D
-
lovetox
the mozilla docs mention it
-
lovetox
maybe lets do a bug report at libproxy
-
zak
Yes, I think it may be a bug. Because in the px-manager.c code, it has code for direct connection: ``` /* In case no proxy could be found, assume direct connection */ if (((GPtrArray *)builder)->len == 0) px_strv_builder_add_proxy (builder, "direct://"); ```
-
zak
It should probably do this as well, when DIRECT is given.
-
zak
Do you open the issue? I can do that as well if you want?
-
lovetox
https://github.com/libproxy/libproxy/issues/304
-
zak
ποΈ You were faster
-
zak
I think the last sentence you write is not correct. It returns direct://, but only if the line does not return any proxies, i.e `return DIRECT`.
-
zak
But nevermind, I think they should unterstand
-
222m5
> but the doc specifically seems to be for browser requests only zak: fwiw https://wikipedia.org/wiki/Proxy_auto-config > The Proxy auto-config file format was originally designed by Netscape in 1996
-
zak
Yes, that's what I thought.
-
lovetox
if it works it works :D
-
epic
is there already a MR/idea for the Correct button to be added next to the other hover-on-message buttons?
-
epic
would be great to actually correct a last message by clicking arrow_up
-
lovetox
you can with CTRL + arrow up
-
lovetox
contact info is right click on avatar
-
epic
sweet!
-
rion
how can I open settings in new/nightly gajim? does it need some dbus global menu?
-
meson
rion: try Ctrl+M
-
rion
thanks @meson. but it seems it's not my day anyway. Got a segfault somewhere in glib
-
rion
installing flatpak instead :)
-
debacle
> debacle, check date_format, time_format, and date_time_format. Only the "date separator" between days deviates a bit from that format, since it adds %a (weekday) in front Now it's perfect! ↺