gajim issueshttps://dev.gajim.org/gajim/gajim/-/issues2023-11-15T22:21:35Zhttps://dev.gajim.org/gajim/gajim/-/issues/11640URL previews2023-11-15T22:21:35ZNicocoURL previewsIf you share a URL in most modern proprietary IM clients, instead of the URL is shown a preview of it, with a title, a description and usually a thumbnail too.
A possible solution to have that in gajim would be to make gajim fetch the co...If you share a URL in most modern proprietary IM clients, instead of the URL is shown a preview of it, with a title, a description and usually a thumbnail too.
A possible solution to have that in gajim would be to make gajim fetch the content of URLs and generate a preview from it. While that's probably reasonable for known contacts and private groups for most users, this is a privacy issue in public groups.
The elegant way to solve that is sender-generated previews. [Cheogram already does that in a custom way](https://wiki.soprani.ca/CheogramApp/LinkPreviews). There is no XEP yet, but it would be nice if gajim parsed and possibly sent these sender-generated URL previews.https://dev.gajim.org/gajim/gajim/-/issues/11603File download on Windows gets stuck at 100% when filename contains fullwidth ...2023-08-14T21:27:32ZkabelsalatFile download on Windows gets stuck at 100% when filename contains fullwidth questionmark## Versions
- OS: Windows 10 and 11
- Gajim version: 1.8.0
- GTK version: ?
- Python-nbxmpp version: ?
## Steps to reproduce the problem
Try to download a file with a filename like "wtf?.png" over HTTP. Notice that this is a "...## Versions
- OS: Windows 10 and 11
- Gajim version: 1.8.0
- GTK version: ?
- Python-nbxmpp version: ?
## Steps to reproduce the problem
Try to download a file with a filename like "wtf?.png" over HTTP. Notice that this is a "?" not a "?".
## Expected behavior
File is downloaded and a preview is shown. This works as expected on Linux.
## Actual behavior
![16a7588b-31c6-4f24-86b7-d24dcb9549df](/uploads/9495be22a5e699defaa7d497d63e7e45/16a7588b-31c6-4f24-86b7-d24dcb9549df.png)https://dev.gajim.org/gajim/gajim/-/issues/11596Clicking a picture preview fails to open the default image viewer (Windows, A...2024-01-28T01:21:49ZFrank LeekClicking a picture preview fails to open the default image viewer (Windows, AppX)## Actual behavior
The Windows appX Gajim fails to display a picture when clicked on an inline preview.
## Expected behavior
The image is displayed in the default image viewer when clicked on an inline preview.
## Versions
* OS: Win...## Actual behavior
The Windows appX Gajim fails to display a picture when clicked on an inline preview.
## Expected behavior
The image is displayed in the default image viewer when clicked on an inline preview.
## Versions
* OS: Windows 11 (build 22621.2070)
* Gajim version: 1.8.0
* GTK version: 3.24.38
* Python-nbxmpp version: 4.3.1
## Steps to reproduce the problem
1. Open a random chat
1. Click on a pic preview
1. The default img viewer can't open it
in my case it's Windows Photos app, it shows an error message:
"the file has been moved or renamed" (translated from italian).
![Screenshot_2023-08-05_150218](/uploads/ba93c79a921b39486e11bdb746f50361/Screenshot_2023-08-05_150218.png)
The image property inspector point to a file that is:
C:\Users\frapox\AppData\Roaming\Gajim\downloads\RImBlUN_QOO9nd_Xtr1KTg_d58f03e56b2a29d739f67afce0e1b6fc193f4f49.jpg
![Screenshot_2023-08-05_150228](/uploads/646097d69f643888418a05877c3dff5c/Screenshot_2023-08-05_150228.png)
That of course doesn't exist because it should point to:
C:\Users\frapox\AppData\Local\Packages\2126Gajim.Gajim_cyk1dwtbfm75p\LocalCache\Roaming\Gajim\downloads
Where the file actually reside.https://dev.gajim.org/gajim/gajim/-/issues/11415Preview: UnicodeEncodeError: 'latin-1' codec can't encode characters in posit...2023-04-26T18:03:53ZAlex HotoiPreview: UnicodeEncodeError: 'latin-1' codec can't encode characters in position 56-59: ordinal not in range(256)## Versions:
- OS: Linux 5.19.0-29-generic
- GTK Version: 3.24.36
- PyGObject Version: 3.42.2
- GLib Version : 2.74.5
- python-nbxmpp Version: 4.2.0
- Gajim Version: 1.7.1
## Traceback
```
Traceback (most recent call last):
File "/app...## Versions:
- OS: Linux 5.19.0-29-generic
- GTK Version: 3.24.36
- PyGObject Version: 3.42.2
- GLib Version : 2.74.5
- python-nbxmpp Version: 4.2.0
- Gajim Version: 1.7.1
## Traceback
```
Traceback (most recent call last):
File "/app/lib/python3.10/site-packages/gajim/common/preview.py", line 550, in _on_finished
write_file_async(preview.orig_path,
File "/app/lib/python3.10/site-packages/gajim/common/helpers.py", line 1379, in write_file_async
file = Gio.File.new_for_path(str(path))
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 56-59: ordinal not in range(256)
```
## Steps to reproduce the problem
...https://dev.gajim.org/gajim/gajim/-/issues/11299[preview] Add 'Share…' menu item2023-06-09T12:46:33ZJean Louis[preview] Add 'Share…' menu item20:20 - Louis: It would be useful to have right click on those widgets that appear in Gajim for pictures, files, and "Share to..." and select one or multiple users and groups to share to.20:20 - Louis: It would be useful to have right click on those widgets that appear in Gajim for pictures, files, and "Share to..." and select one or multiple users and groups to share to.https://dev.gajim.org/gajim/gajim/-/issues/11131Preview: Add button to remove received files via the UI2022-09-28T08:38:06ZmjkPreview: Add button to remove received files via the UIGoing through a file manager/terminal is very inefficient, but most importantly seems to be pointless, as Gajim might automatically re-download the file on another occasion. The easiest way to tell Gajim to put a kind of tombstone on th...Going through a file manager/terminal is very inefficient, but most importantly seems to be pointless, as Gajim might automatically re-download the file on another occasion. The easiest way to tell Gajim to put a kind of tombstone on the file would be by going through the UI (but bonus points for watching the downloads directory for removals).
The feature would be best modeled after Conversations:
* a 'Remove file' context menu item for file-messages;
* a visual 'File was removed' tombstone;
* ability to re-download _manually_;
* the message history is left intact, as the point of the feature is keeping downloads tidy (e.g., for storage space oder Ordnung), not redacting past conversations.
AFAIK, Conversations also watches the directory for removals, but not entirely sure.https://dev.gajim.org/gajim/gajim/-/issues/11097Manually approved self-signed certificate not used for HTTP file download2023-01-11T12:45:53ZthjderjktyrjktManually approved self-signed certificate not used for HTTP file download## Versions
- OS: Fedora 36
- Gajim version: 1.4.7
- GTK version: 3.24.34
- Python-nbxmpp version: 3.1.0
Basically the Flathub version.
## Steps to reproduce the problem
1. My XMPP server uses self-signed certificate.
2. Gaji...## Versions
- OS: Fedora 36
- Gajim version: 1.4.7
- GTK version: 3.24.34
- Python-nbxmpp version: 3.1.0
Basically the Flathub version.
## Steps to reproduce the problem
1. My XMPP server uses self-signed certificate.
2. Gajim prompts for certificate validation (do you want to trust this certificate balabala), I accepted the certificate.
3. Gajim connects to my server.
4. I upload a file using HTTP upload, the file got uploaded successfully, I try to check my uploaded file
## Expected behavior
I can see my uploaded file
## Actual behavior
I can't see the uploaded file, it says:
```
TLS verification failed: The signing certificate authority is not known
```
![image](/uploads/384b4f044f07bf6f256809d9083fc9f7/image.png)
---
This is not a cerfiticate issue as I use the same certificate on Conversations (Android) and HTTP file download has no issue.
Gajim has the same issue on Windows, although I could manually import my certificate to personal trust to workaround the issue. I don't know how to do that on Linux without root (user wide trust). Also from privacy perspective importing self-signed certificate into system store isn't a good idea, as all apps on this PC get to see that very unique certificate, this is better handled by specific application.
---
[#9179](https://dev.gajim.org/gajim/gajim/-/issues/9179) looks related to this issue but it seems you only fixed the uploading part but not downloading part, as I can see my uploaded file on my other device (with Conversations), which means Gajim actually used my self-signed certificate during uploading process.https://dev.gajim.org/gajim/gajim/-/issues/10698[preview] Gajim freezes when a certain gif is posted2023-03-16T19:39:07ZM-i-k-o-t-o[preview] Gajim freezes when a certain gif is posted## Versions
- OS: Debian sid
- Gajim version: 1.3.3-1
- Plugin version: gajim-urlimagepreview 2.5.6-2 and gajim-omemo 2.7.13-1
- GTK version: 3.24.30-3
- Python-nbxmpp version: 2.0.4-1
All of the above were installed using D...## Versions
- OS: Debian sid
- Gajim version: 1.3.3-1
- Plugin version: gajim-urlimagepreview 2.5.6-2 and gajim-omemo 2.7.13-1
- GTK version: 3.24.30-3
- Python-nbxmpp version: 2.0.4-1
All of the above were installed using Debian's sid repositories.
## Steps to reproduce the problem
1. upload this gif: https://bun.filedit.ch/QgIavfIEmPvfWZfcCPPw.gif
## Actual behavior
Gajim freezes and I have to pkill -9 it.
## Notes
I only tested it with omemo enabled. My friend with windows 7 and gajim 1.3.2 could not reproduce, my other friend with guixsd and gajim 1.3.2 could not reproduce either.https://dev.gajim.org/gajim/gajim/-/issues/10699[preview] Add warning before opening potentially dangerous executables2022-04-22T08:51:15ZDaniel Brötzmann[preview] Add warning before opening potentially dangerous executablesAdd a warning before opening potentially dangerous executables.
* Windows: exe, bat, ...Add a warning before opening potentially dangerous executables.
* Windows: exe, bat, ...https://dev.gajim.org/gajim/gajim/-/issues/10702[preview] Store downloaded files per JID2021-12-06T08:49:24ZDaniel Brötzmann[preview] Store downloaded files per JIDThis concerns both URL Image Preview and OMEMO, downloading files into `configpaths.get('MY_DATA')) / 'downloads'`.
I’m proposing to store downloaded files into separate (per JID) folders.
One potential use case for this would be an in...This concerns both URL Image Preview and OMEMO, downloading files into `configpaths.get('MY_DATA')) / 'downloads'`.
I’m proposing to store downloaded files into separate (per JID) folders.
One potential use case for this would be an integrated overview of files/pictures within Gajim per contact, without the need for an additional index tracking individual file-to-contact relationships. This could be implemented wthin a page of the corresponding ChatControl for example.https://dev.gajim.org/gajim/gajim/-/issues/10703[preview] Add calendar Event (.ics) / VCard (.vcf) preview2021-12-06T08:48:15ZDaniel Brötzmann[preview] Add calendar Event (.ics) / VCard (.vcf) preview## Description of the new feature
Parse received Event / VCard (.ics / .vcf) files and and display basic infos from the file:
* Event: DTSTART, SUMMARY, LOCATION
* VCard: FN, TEL## Description of the new feature
Parse received Event / VCard (.ics / .vcf) files and and display basic infos from the file:
* Event: DTSTART, SUMMARY, LOCATION
* VCard: FN, TELhttps://dev.gajim.org/gajim/gajim/-/issues/10706[preview] Make download folder customizable2022-08-08T16:09:54ZDaniel Brötzmann[preview] Make download folder customizablePlease make it possible to change the files/pictures folder from `.\AppData\Roaming\Gajim\downloads` to a custom directory chosen by the user.
*Split from gajim/gajim#9325*Please make it possible to change the files/pictures folder from `.\AppData\Roaming\Gajim\downloads` to a custom directory chosen by the user.
*Split from gajim/gajim#9325*https://dev.gajim.org/gajim/gajim/-/issues/10708[preview] Implement click-to-play for gif previews2023-10-29T15:27:13ZDaniel Brötzmann[preview] Implement click-to-play for gif previewsRight now, once a preview is generated for a .gif file, it plays in a loop.
A click-to-play feature would add the ability to start/stop the playback, thus adding some convenience.Right now, once a preview is generated for a .gif file, it plays in a loop.
A click-to-play feature would add the ability to start/stop the playback, thus adding some convenience.