G
Related to #12849 Problem Link preview thumbnails (og:image data URIs, up to 50 KB) are decoded on the GUI thread by get_texture_from_data() without a dimension limit. If GdkPixbuf fails on a truncated image, the Pillow fallback (with LOAD_TRUNCATED_IMAGES) still allocates the full declared size. A tiny PNG declaring 13000×13000 px raised Gajim's memory use from 195 MB to 2 GB, again each time the chat was shown. Fix Read the image dimensions before decoding and refuse images above 4096×4096…
G
Related to #12849 Problem The download size limit compared num_bytes_downloaded, the compressed bytes received, with Content-Length. But iter_bytes() returns the decoded data, and that is what gets written to disk. A response with Content-Encoding: gzip could therefore produce a file far larger than the limit: a ~100 KB response was saved as a 100 MB file, with the 10 MB preview limit. Fix Send Accept-Encoding: identity. Refuse responses that still arrive with a Content-Encoding…
G
Related to #12849 Problem Files shared via OOB are previewed automatically. The download followed redirects without restrictions and didn't check the target address, so a file share pointing at a loopback, private or link-local address, directly or via a redirect, made Gajim send a request there without any user interaction. Fix http_request follows redirects manually and validates every hop: only http/https, no downgrade from https to http, and no redirect from a public host to a non-public…
G
I have pinned down what was happening, it was a bug where the MUC service crashes just after gajim turns on, and thus abruptly interrupts the join process. I have since fixed it, but I think gajim should not stay in this state forever: it is missing a timeout / retry.
G
Daniel Brötzmann (868be49f) at 02 Nov 23:11 change: Add shortcut label
G
Currently Plugins are not signed. Implement a signing scheme which raises the trust in installed plugins
G
lovetox (83c5542a) at 29 Oct 22:40 imprv: MUC: Improve rejoin logic ... and 1 more commit
G
lovetox (83c5542a) at 29 Oct 22:40
G
ruff format enforces line length
G
Fixed: the branch still contained the old copies of commits from before master was rewritten. I rebuilt it on current master, so the MR now only contains the four Dock badge commits. I dropped "cq: Typings: Add NSApplication and NSDockTile stubs", since those stubs are already in master via !1350 (merged).
G
Versions OS: macOS 27.0.1 (MacBook Air M1, Apple Silicon) Gajim: 2.6.0 (macOS) GTK: 4.22.4 python-nbxmpp: 7.4.0 Additional environment information: Adw: 1.9.3 GLib: 2.88.3 Pango: 1.58.2 PyGObject: 3.56.3 cairo: 1.18.4 pycairo: 1.29.1 libsoup: 3.6.6 Steps to reproduce the problem Launch Gajim with at least two workspaces (Workspace 1 and Workspace 2). Make sure there is an existing chat with a contact in Workspace 1. Switch to Workspace 2. Click "Start Chat" and select the same contact whose…
G
Yes, I think we can close it. The focus problem is fixed by !1348 (merged) (for all windows without a parent window, not just Start Chat), and the freeze is fixed in GTK 4.24.
G
lovetox (83c5542a) at 29 Oct 21:06 imprv: MUC: Improve rejoin logic ... and 4 more commits
G
You can download the nightly from here tomorrow https://gajim.org/downloads/snap/ would be good to test it with the bundle.
G
We had reports from users, that clicking a xmpp uri in a browser for example will not open the chat in Gajim. We register the URI scheme in our bundle See gajim.spec "CFBundleURLTypes": [ {"CFBundleURLName": "XMPP URI", "CFBundleURLSchemes": ["xmpp"]} ], But this seems to not help. Either We register the uri wrong Gtk does not implement receiving such open requests from the system
G
We had reports from users, that clicking a xmpp uri in a browser for example will not open the chat in Gajim. We register the URI scheme in our bundle See gajim.spec "CFBundleURLTypes": [ {"CFBundleURLName": "XMPP URI", "CFBundleURLSchemes": ["xmpp"]} ], But this seems to not help. Either We register the uri wrong Gtk does not implement receiving such open requests from the system
G
Fixes #12842 (closed) Problem Clicking an xmpp: link (e.g. in a browser) brings Gajim to the front, but no chat opens. macOS delivers URLs for registered schemes as a GetURL Apple Event (kInternetEventClass / kAEGetURL). GTK's NSApplication delegate only implements application:openFiles:, so the URL is dropped. The CFBundleURLTypes registration in gajim.spec is fine. Fix On macOS, register a handler for the GetURL Apple Event via PyObjC (NSAppleEventManager) at startup, and pass the URI to the…
G
lovetox (e86b2b54) at 29 Oct 21:04 fix: MacOS: Open xmpp URIs passed by the system
G
So everything is merged now, we can close this or?
G
lovetox (f22c144e) at 29 Oct 20:02 feat: Settings ... and 17 more commits
G
lovetox (5256a969) at 29 Oct 20:01 refactor: Settings: Move label and description to schema
G
lovetox (86852a6a) at 29 Oct 18:48 new: Settings: Add enums and ranges into schema ... and 6 more commits
G
lovetox (161ccf6d) at 29 Oct 18:46 new: Settings: Add enums and ranges into schema ... and 1 more commit
G
Fix is in !1353 (merged). Tested from source by sending the GetURL Apple Event directly; testing with a built app bundle is still open.
G
Fixes #12842 (closed) Problem Clicking an xmpp: link (e.g. in a browser) brings Gajim to the front, but no chat opens. macOS delivers URLs for registered schemes as a GetURL Apple Event (kInternetEventClass / kAEGetURL). GTK's NSApplication delegate only implements application:openFiles:, so the URL is dropped. The CFBundleURLTypes registration in gajim.spec is fine. Fix On macOS, register a handler for the GetURL Apple Event via PyObjC (NSAppleEventManager) at startup, and pass the URI to the…
G
Daniel Brötzmann (2fdcdb7d) at 25 Oct 22:48 feat: Add basic universal search
G
Daniel Brötzmann (8fdcddec) at 25 Oct 22:16 feat: Add basic universal search
G
Daniel Brötzmann (8156020f) at 25 Oct 22:11 feat: Add basic universal search
G
Groundwork for #11402 TODOs Display/open chats Handle message search Add preferences (?)