gajim-plugins issueshttps://dev.gajim.org/gajim/gajim-plugins/-/issues2022-05-17T11:44:19Zhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/586[translations] Plugin does not work with current master2022-05-17T11:44:19ZDaniel Brötzmann[translations] Plugin does not work with current master`version` attribute has been removed in 17f165348a13b72a175fc778c0f29c298a8f22e2
```
Traceback (most recent call last):
File "src/gajim/gajim/gtk/application.py", line 236, in _startup
self.interface.run(self)
File "src/gajim/ga...`version` attribute has been removed in 17f165348a13b72a175fc778c0f29c298a8f22e2
```
Traceback (most recent call last):
File "src/gajim/gajim/gtk/application.py", line 236, in _startup
self.interface.run(self)
File "src/gajim/gajim/gui_interface.py", line 732, in run
app.plugin_manager.init_plugins()
File "src/gajim/gajim/plugins/pluginmanager.py", line 286, in init_plugins
self.activate_plugin(plugin)
File "src/gajim/gajim/plugins/pluginmanager.py", line 573, in activate_plugin
plugin.activate()
File ".local/share/gajim/plugins/plugins_translations/plugins_translations.py", line 25, in activate
if self.config['last_version'] == self.version:
AttributeError: 'PluginsTranslationsPlugin' object has no attribute 'version'
```Gajim 1.4.0https://dev.gajim.org/gajim/gajim-plugins/-/issues/572Adapt plugins to Gajim 1.42022-05-07T06:35:37ZDaniel BrötzmannAdapt plugins to Gajim 1.4Gajim plugins need to be adapted to Gajim changes for Gajim 1.4 (current mainwindow branch). In this issue we keep track on the migration progress for Gajim plugins.
* [x] Acronyms Expander
* [x] Anti Spam
* [x] Ayatana Appindicator Int...Gajim plugins need to be adapted to Gajim changes for Gajim 1.4 (current mainwindow branch). In this issue we keep track on the migration progress for Gajim plugins.
* [x] Acronyms Expander
* [x] Anti Spam
* [x] Ayatana Appindicator Integration (migrate to Gajim core)
* [x] ~~Birthday Reminder (missing `vcard-received` network event in Gajim, may be ported later)~~
* [x] Clickable Nicknames (migrate to Gajim core)
* [x] Clients Icons
* [x] ~~Form Handler (needs to be ported to new ConversationView, may be ported later)~~
* [x] ~~Latex (may be ported later)~~
* [x] Length Notifier
* [x] Message Box Size
* [x] Now Listen
* [x] OMEMO
* [x] OpenPGP (not tested)
* [x] PGP (not tested)
* [x] Plugin Installer
* [x] Plugins Translations
* [x] Quick Replies
* [x] Regex Filter
* [x] ~~Set Location (may be ported later)~~
* [x] Syntax Highlighting (migrate to Gajim core)
* [x] ~~Tic Tac Toe (missing `make_new_session` in Client; missing resource selection for jingle, may be ported later)~~
* [x] Triggers
* [x] URL Image Preview (migrate to Gajim core)
* [x] ~~Whiteboard (missing resource selection for jingle, may be ported later)~~Gajim 1.4.0https://dev.gajim.org/gajim/gajim-plugins/-/issues/563Preview error for audio files if GstPbutils is not installed2021-12-02T20:21:31ZMario HommelPreview error for audio files if GstPbutils is not installed## Versions
- OS: Ubuntu 20.04.2 LTS
- GTK Version: 3.24.20
- PyGObject Version: 3.36.0
- GLib Version : 2.64.2
- python-nbxmpp Version: 3.0.0-dev1
- Gajim Version: 1.4.0-dev1+gajim@d28358d197ef10a3872dffa3b678156bfd6535bd
## Traceback
...## Versions
- OS: Ubuntu 20.04.2 LTS
- GTK Version: 3.24.20
- PyGObject Version: 3.36.0
- GLib Version : 2.64.2
- python-nbxmpp Version: 3.0.0-dev1
- Gajim Version: 1.4.0-dev1+gajim@d28358d197ef10a3872dffa3b678156bfd6535bd
## Traceback
```
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gajim/common/helpers.py", line 1347, in _on_load_finished
callback(contents, None, user_data)
File "/home/mario/.local/share/gajim/plugins/url_image_preview/url_image_preview.py", line 386, in _on_orig_load_finished
self._update_textview(preview, None)
File "/home/mario/.local/share/gajim/plugins/url_image_preview/url_image_preview.py", line 537, in _update_textview
preview_widget = self._create_preview_widget(preview, data)
File "/home/mario/.local/share/gajim/plugins/url_image_preview/url_image_preview.py", line 600, in _create_preview_widget
self._contains_audio_streams(preview.orig_path)):
File "/home/mario/.local/share/gajim/plugins/url_image_preview/url_image_preview.py", line 733, in _contains_audio_streams
discoverer = GstPbutils.Discoverer()
NameError: name 'GstPbutils' is not defined
```
## Steps to reproduce the problem
Start gajim. The error window appears. After closing the window gajim works without problems.Gajim 1.4.0Daniel BrötzmannDaniel Brötzmannhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/558[url_image_preview] Don't load preview automatically for untrusted sources2021-12-04T23:00:29Zpg mr[url_image_preview] Don't load preview automatically for untrusted sources## Description of the new feature
Right now url_image_preview downloads images automatically. It might be a good idea to give an option to start download only on user interaction such as click some "show preview" button. It would be nice...## Description of the new feature
Right now url_image_preview downloads images automatically. It might be a good idea to give an option to start download only on user interaction such as click some "show preview" button. It would be nice if you could enable this behaviour only for users outside of your roster or unknown OEMO devices.Gajim 1.4.0https://dev.gajim.org/gajim/gajim-plugins/-/issues/548[appindicator_integration] New message icon not shown2021-12-04T23:00:39ZArno Onken[appindicator_integration] New message icon not shown## Versions
- OS: GNU/Linux Debian Sid
- Gajim version: 1.3.0
- Plugin version: 1.3.3
- GTK version: 3.24.24
- Glib version: 2.66.2
- PyGObject version: 3.38.0
- Python-nbxmpp version: 2.0.2
- Sway version: 1.5.1
- Wa...## Versions
- OS: GNU/Linux Debian Sid
- Gajim version: 1.3.0
- Plugin version: 1.3.3
- GTK version: 3.24.24
- Glib version: 2.66.2
- PyGObject version: 3.38.0
- Python-nbxmpp version: 2.0.2
- Sway version: 1.5.1
- Waybar version: 0.9.5
## Steps to reproduce the problem
1. Start Gajim with appindicator_integration plugin active.
2. Receive a message while Gajim is in the background.
3. Read the message.
## Expected behavior
When the message is received, the tray icon should change from "online" to "new-message" and back to "online" once the message is read.
## Actual behavior
The icon remains at "online" without changing.
The ```self.indicator.set_status(appindicator.IndicatorStatus.ATTENTION)``` seems to not trigger an icon change.
## Solution
In ```plugin.py```, changing
```
self.indicator.set_status(appindicator.IndicatorStatus.ATTENTION)
```
to
```
self.indicator.set_status(appindicator.IndicatorStatus.ATTENTION)
self.indicator.set_icon_full('mail-unread', 'New Message')
```
and adding
```
if self.connected == 1:
self.indicator.set_icon_full(self.online_icon, _('Online'))
else:
self.indicator.set_icon_full(self.offline_icon, _('Offline'))
```
to the end of the file fixes the problem for me. These should be harmless changes making the plugin more robust.Gajim 1.4.0https://dev.gajim.org/gajim/gajim-plugins/-/issues/531Birthday reminder causes traceback on startup2021-12-04T23:00:51ZGhost UserBirthday reminder causes traceback on startup## Versions
- OS: Windows 10
- GTK Version: 3.24.20
- PyGObject Version: 3.36.1
- GLib Version : 2.64.1
- python-nbxmpp Version: 1.0.1
- Gajim Version: 1.2.1
## Traceback
```
Traceback (most recent call last):
File "C:\Users\Noah Keck...## Versions
- OS: Windows 10
- GTK Version: 3.24.20
- PyGObject Version: 3.36.1
- GLib Version : 2.64.1
- python-nbxmpp Version: 1.0.1
- Gajim Version: 1.2.1
## Traceback
```
Traceback (most recent call last):
File "C:\Users\Noah Keck\AppData\Roaming\Gajim\Plugins\birthday_reminder\plugin.py", line 108, in _check_birthdays_at_start
self._check_birthdays()
File "C:\Users\Noah Keck\AppData\Roaming\Gajim\Plugins\birthday_reminder\plugin.py", line 116, in _check_birthdays
account, contact = self._find_contact(jid)
File "C:\Users\Noah Keck\AppData\Roaming\Gajim\Plugins\birthday_reminder\plugin.py", line 141, in _find_contact
return account, contact[0]
IndexError: list index out of range
```
## Steps to reproduce the problem
...
1. Install the "Birthday reminder" plugin
2. Start up Gajim on latest Windows 10
There seems to be no clear trigger on my end, I simply keep getting this dialog immediately on startup no matter what. On ubuntu this appears to work fine.Gajim 1.4.0https://dev.gajim.org/gajim/gajim-plugins/-/issues/502[omemo] use account name in dropdown2023-04-11T06:47:34ZMartin[omemo] use account name in dropdownCurrently, in the omemo plugin config, a dropdown shows the domain names of own accounts.
IMHO, the user provided name ("label") should be used instead for better usability.
This is esp. relevant, when two accounts are on the same doma...Currently, in the omemo plugin config, a dropdown shows the domain names of own accounts.
IMHO, the user provided name ("label") should be used instead for better usability.
This is esp. relevant, when two accounts are on the same domain, where currently only an arbitrary number is added to the domain name.OMEMO Integrationhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/491SyntaxHighlight: Indent the whole codeblock2021-12-04T23:01:50ZPhilipp Höristphilipp@hoerist.comSyntaxHighlight: Indent the whole codeblock## Description of the new feature
It would be nice if the whole codeblock is indented by something like one tab or a few spaces
This could be achived by adding a texttag with the property left-margin## Description of the new feature
It would be nice if the whole codeblock is indented by something like one tab or a few spaces
This could be achived by adding a texttag with the property left-marginGajim 1.4.0https://dev.gajim.org/gajim/gajim-plugins/-/issues/440[omemo] Separate own fingerprints from others2023-04-11T06:48:08Zandy[omemo] Separate own fingerprints from othersContens of the OMEMO Fingerprints window is slightly chaotic, because own, and another user fingerprints are mixed with each other in one section.
My proposition is to show own other device fingerprints and user all fingerprints in sepa...Contens of the OMEMO Fingerprints window is slightly chaotic, because own, and another user fingerprints are mixed with each other in one section.
My proposition is to show own other device fingerprints and user all fingerprints in separate section in that window. Button for own current device fingerprint will stay.
Mockup for new look:
![Screenshot_20190808_131910](/uploads/ecf5bb25a0b8651e08f7526af1f4f733/Screenshot_20190808_131910.png)OMEMO Integrationhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/408[syntax_highlight] Code widget in chat textview2021-12-04T23:02:39ZFlorian Münchbach[syntax_highlight] Code widget in chat textview* Gajim Version: 1.1.2 / master
* Plugin Version: >= 1.0.0
* Operating System: all
Instead of using the current text-only highlighting inside the chat textview using a custom widget offers more styling options and better usability.
Sc...* Gajim Version: 1.1.2 / master
* Plugin Version: >= 1.0.0
* Operating System: all
Instead of using the current text-only highlighting inside the chat textview using a custom widget offers more styling options and better usability.
Screenshot of a recent draft:
![screenshot](/uploads/d8c8730f4b8cdf3887ca03e186ef428a/screenshot.png)
* [x] create a code widget
* [x] show line numbers, identify wrapped lines
* [ ] (partial) add copy/quote buttons (see #407)
* [x] add display of currently selected language
* [ ] add a way to change the current language
* [x] add config dialog option to switch between current text-only and widget views
* [ ] add config dialog option to change widget width **or** automatically adapt to window width (<- seems to create more issues than it solves in first tests...)
Extension (just to capture the thought here): allow line number offsetGajim 1.4.0Florian MünchbachFlorian Münchbachhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/407[syntax_highlight] Add "copy" and "quote" commands for code blocks2021-12-04T23:02:28ZFlorian Münchbach[syntax_highlight] Add "copy" and "quote" commands for code blocks* Gajim Version: 1.1.2 / master
* Plugin Version: >= 1.0.0
* Operating System: all
Code (blocks and inline spans) have to be selected manually in order to be copied. It would be nice to have a simple way to copy or cite code blocks.
Im...* Gajim Version: 1.1.2 / master
* Plugin Version: >= 1.0.0
* Operating System: all
Code (blocks and inline spans) have to be selected manually in order to be copied. It would be nice to have a simple way to copy or cite code blocks.
Implementation could add entries to the context (right-click) menu.Gajim 1.4.0https://dev.gajim.org/gajim/gajim-plugins/-/issues/406[syntax_highlight] Inline code spans not highlighted if followed by punctuation2021-12-04T23:02:03ZFlorian Münchbach[syntax_highlight] Inline code spans not highlighted if followed by punctuation* Gajim Version: 1.1.2 / master
* Plugin Version: >= 1.0.0
* Operating System: all
Currently, the plugin matches (and formats) inline code spans only if pre-/succeeded by whitespaces, including newlines.
This leads to unexpected non-fo...* Gajim Version: 1.1.2 / master
* Plugin Version: >= 1.0.0
* Operating System: all
Currently, the plugin matches (and formats) inline code spans only if pre-/succeeded by whitespaces, including newlines.
This leads to unexpected non-formatted code spans if, for instance, followed by a comma.
Hence, the plugin should not only allow whitespaces to surround code spans, but also any of the following characters as long as they are not part of another markup formatting directive (see: #405).
Allowed punctuation characters:
* comma: `,`
* quotation marks ("fancy" ones, incl. guillements, too?!): `"'‘’“”‹›«»`
* end marks: `.?!`; plus their spanish "begin" counterparts: `¡¿`
* colon + semicolon: `:;`
* brackets: `{}[]()<>`
* ellipses: `… ... . . .`
* others: `-_*~`
Quite a lot already. I guess, this should cover most cases in many languages where punctuation is needed directly before/after code spans. Since I don't know them all, please add more characters that you might need/want in the comments.Gajim 1.4.0https://dev.gajim.org/gajim/gajim-plugins/-/issues/405[syntax_highlight] Support for mixed/inlined markup directives in inline code...2021-12-04T23:02:16ZFlorian Münchbach[syntax_highlight] Support for mixed/inlined markup directives in inline code spans* Gajim Version: 1.1.2 / master
* Plugin Version: >= 1.0.0
* Operating System: all
The plugin should be able to handle different inlined markup directives, as [defined in XEP-0393, 5.2.5 Preformatted Span](https://xmpp.org/extensions/x...* Gajim Version: 1.1.2 / master
* Plugin Version: >= 1.0.0
* Operating System: all
The plugin should be able to handle different inlined markup directives, as [defined in XEP-0393, 5.2.5 Preformatted Span](https://xmpp.org/extensions/xep-0393.html#mono), e.g.:
```
*`print('hello, wold')`*
```
should be rendered as
> **`print('hello, wold')`**
TBD: The above works best with the highlighting language being pure monospace. If this is not the case and/or the highlighting of the code span would contradict the outer formatting directives, it should be discussed how the outer formatting is treated.
Imho, the user's explicitly expressed wish for an additional formatting should be honored and the highlighter's output should be overridden where it does not (yet) match the user's formatting.Gajim 1.4.0https://dev.gajim.org/gajim/gajim-plugins/-/issues/381OMEMO in chats is auto-disabled if plugin could not be loaded once before2023-04-11T06:46:01ZAndrey GurskyOMEMO in chats is auto-disabled if plugin could not be loaded once before- gajim-plugins git master, OMEMO: 2.6.40
How to reproduce:
- after update some OMEMO plugin dependency gets broken
- start Gajim, notice OMEMO plugin actually could not be loaded (expected: GUI pop-up with warning)
- close Gajim, repai...- gajim-plugins git master, OMEMO: 2.6.40
How to reproduce:
- after update some OMEMO plugin dependency gets broken
- start Gajim, notice OMEMO plugin actually could not be loaded (expected: GUI pop-up with warning)
- close Gajim, repair dependencies
- start Gajim, ensure OMEMO plugin could be successfully loaded
- notice, that OMEMO is not enabled anymore in chats where it was enabled before (this should not happen!)OMEMO Integrationhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/376[omemo] Implement a place to look up all fingerprints of an account2023-04-11T06:47:06ZFlorian Stecker[omemo] Implement a place to look up all fingerprints of an accountUntil some weeks ago, there was a list of all known fingerprints available in the OMEMO plugin config. Seems like it was removed here: https://dev.gajim.org/gajim/gajim-plugins/commit/80a7a5db57fc587c03c8ee259758769fc53583b1
Was there a...Until some weeks ago, there was a list of all known fingerprints available in the OMEMO plugin config. Seems like it was removed here: https://dev.gajim.org/gajim/gajim-plugins/commit/80a7a5db57fc587c03c8ee259758769fc53583b1
Was there a good reason to remove it? Unless I'm missing something, there is now no way to get a list of all trusted fingerprints.OMEMO Integrationhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/207Use proxy for plugin connections2022-05-07T06:59:46ZTyler SchwendUse proxy for plugin connectionsUse proxy for plugin installer updates, fetching images, etc.Use proxy for plugin installer updates, fetching images, etc.Gajim 1.4.0https://dev.gajim.org/gajim/gajim-plugins/-/issues/624Triggers: Improve Message rule2023-06-06T18:40:22ZPhilipp Höristphilipp@hoerist.comTriggers: Improve Message ruleIt now seems to trigger whenever a message stanza is received. It should probably only trigger if message stanzas with a body are received.It now seems to trigger whenever a message stanza is received. It should probably only trigger if message stanzas with a body are received.https://dev.gajim.org/gajim/gajim-plugins/-/issues/620Outdated OmemoGajimPlugin Documentation for Fedora2023-03-25T19:05:12ZX SpielinboxOutdated OmemoGajimPlugin Documentation for FedoraOn [wikis/OmemoGajimPlugin](https://dev.gajim.org/gajim/gajim-plugins/wikis/OmemoGajimPlugin) the instructions about how to install OMEMO for Fedora are outdated, as the copr repo seems dead and isn't needed anyway, as as the OMEMO depen...On [wikis/OmemoGajimPlugin](https://dev.gajim.org/gajim/gajim-plugins/wikis/OmemoGajimPlugin) the instructions about how to install OMEMO for Fedora are outdated, as the copr repo seems dead and isn't needed anyway, as as the OMEMO dependencies are installed automatically from the standard Fedora Linux Repos when installing Gajim.
It should probably now state something like: "OMEMO is automatically installed on Fedora Linux. (Tested on Fedora 37)"
The "Verification QR Codes" section should be updated too. `python3-qrcode` is the name of the package in Fedora Linux too and is needs to be manually installed there too (as of today).https://dev.gajim.org/gajim/gajim-plugins/-/issues/619OpenPGP issue with 'ChatControl' object has no attribute 'control_id'2023-06-10T11:19:20ZDaniel BrötzmannOpenPGP issue with 'ChatControl' object has no attribute 'control_id'Using Gajim 1.7.1
```
Traceback (most recent call last):
File "C:\Users\user2\AppData\Roaming\Gajim\Plugins\openpgp\gtk\wizard.py", line 93, in _on_page_change
self._activate_encryption()
File "C:\Users\user2\AppData\Roaming\Gaj...Using Gajim 1.7.1
```
Traceback (most recent call last):
File "C:\Users\user2\AppData\Roaming\Gajim\Plugins\openpgp\gtk\wizard.py", line 93, in _on_page_change
self._activate_encryption()
File "C:\Users\user2\AppData\Roaming\Gajim\Plugins\openpgp\gtk\wizard.py", line 83, in _activate_encryption
'set-encryption-%s' % self._chat_control.control_id)
AttributeError: 'ChatControl' object has no attribute 'control_id'
```https://dev.gajim.org/gajim/gajim-plugins/-/issues/618Audio player clips the last fraction of a second2023-03-03T14:40:31ZHugo BarreraAudio player clips the last fraction of a secondWhen playing audios files, the last bit of them is cut off.
Depending a lot on the audio clip, it might be easier or harder to hear, since it's only a fraction of a second that gets cut off.
## Reproduction steps:
- Drag an audio file...When playing audios files, the last bit of them is cut off.
Depending a lot on the audio clip, it might be easier or harder to hear, since it's only a fraction of a second that gets cut off.
## Reproduction steps:
- Drag an audio file into a MUC. Something short and with no silence at the end is ideal.
- Play the file in the MUC view.
## Samples
These particular files makes it easy to hear the clipped part:
- https://upload.whynothugo.nl:5281/file_share/azq8HxLlRlaSw62hG515aoD1/2CLICK.mp3
- https://upload.whynothugo.nl:5281/file_share/Cj0Sjh67CZ8R8_WEWpEjRfvs/Communicator.mp3
- https://upload.whynothugo.nl:5281/file_share/6qgcL7RY0ayLhabm3YfXIsJB/Transmission.mp3