gajim-plugins issueshttps://dev.gajim.org/gajim/gajim-plugins/-/issues2023-06-06T18:40:22Zhttps://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/612[triggers] Add keyword triggers2023-06-06T18:38:33ZJean Louis[triggers] Add keyword triggersPlease add to Triggers plugin that it can recognize some keyword, as then it is possible to launch external command, and use gajim-remote to return back some information to user who launched it. This implies that username must be passed ...Please add to Triggers plugin that it can recognize some keyword, as then it is possible to launch external command, and use gajim-remote to return back some information to user who launched it. This implies that username must be passed to environment somehow, like %u for external command to work.
This feature can then enable many other goodies such as that user can send message, and receive list of pending task or current to-do list or get contact information from external programs and other features.https://dev.gajim.org/gajim/gajim-plugins/-/issues/602ValueError 'contact_connected' is not in list2022-08-02T16:03:37ZDaniel BrötzmannValueError 'contact_connected' is not in list# Error Details:
- Sentry event: https://dev.gajim.org/gajim/gajim/-/error_tracking/18/details
- First seen:
2022-06-04T08:12:03+00:00
- Last seen: 2022-06-04T08:12:03+00:00
- Events: 3
- Users: 0# Error Details:
- Sentry event: https://dev.gajim.org/gajim/gajim/-/error_tracking/18/details
- First seen:
2022-06-04T08:12:03+00:00
- Last seen: 2022-06-04T08:12:03+00:00
- Events: 3
- Users: 0https://dev.gajim.org/gajim/gajim-plugins/-/issues/580[triggers] Only first trigger condition shown after upgrade from 1.3 to 1.42022-06-02T08:45:47ZMartin[triggers] Only first trigger condition shown after upgrade from 1.3 to 1.4After upgrading Gajim from 1.3.3-1 to 1.4.0~dev1+20220123.4f76a5b1-1 and the triggers plugin from 1.3.1-2 to 1.4.4-1, only the first of multiple trigger conditions is shown in the configuration dialog. However, the "invisible" conditions...After upgrading Gajim from 1.3.3-1 to 1.4.0~dev1+20220123.4f76a5b1-1 and the triggers plugin from 1.3.1-2 to 1.4.4-1, only the first of multiple trigger conditions is shown in the configuration dialog. However, the "invisible" conditions continue to work.
## Versions
- OS: Debian 12 (bookworm/sid)
- Gajim version: 1.4.0~dev1+20220123.4f76a5b1-1
- Plugin version: 1.4.4-1
- GTK version: 3.24.31-1
- Python-nbxmpp version: 3.0.0~dev1+20220122.f79f9df6-1
## Steps to reproduce the problem
1. Have multiple trigger conditions in version 1.3
1. Upgrade everything to 1.4
1. Open triggers configuration dialog
## Expected behavior
All congurations are visible.
## Actual behavior
Only one (first?) trigger is visible.https://dev.gajim.org/gajim/gajim-plugins/-/issues/500[triggers] configuration dialog not entirely visible2020-05-06T07:15:12ZMartin[triggers] configuration dialog not entirely visible**Please first check if another issue has been opened for your problem**
## Versions
- OS: Debian testing
- Gajim version: 1.1.99~20200429.65506e31
- Plugin version: 1.2.4
- GTK version: 3.24.18
- Python-nbxmpp version: 0.9.9...**Please first check if another issue has been opened for your problem**
## Versions
- OS: Debian testing
- Gajim version: 1.1.99~20200429.65506e31
- Plugin version: 1.2.4
- GTK version: 3.24.18
- Python-nbxmpp version: 0.9.95~20020429.5303bb12
## Steps to reproduce the problem
1. use a screen with 768 pixels height and 11 point system font
1. open triggers configuration
1. expand the advanced configuration options
## Expected behavior
all buttons etc. remain visible and accessible
## Actual behavior
some switches and the "Close" button get out of screen
## Comment
Maybe the dialog should get scroll bars, or alternatively, other configuration options could be expandable, too, so that dialog can be kept small.
*On a side note:* The conditions list/table is rather small. Its height cannot be changed by the user, which is not nice, if one has a lot of rules.Daniel BrötzmannDaniel Brötzmannhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/495[triggers] Throws exception with current Gajim master2020-04-26T11:37:28ZMartin[triggers] Throws exception with current Gajim master## Versions
- OS: Debian testing
- Gajim version: 1.1.94 (master of 2020-04-21)
- Plugin version: 1.2.3
- GTK version: 3.24.18
- Python-nbxmpp version: 0.9.94 (master of 2020-04-19)
## Steps to reproduce the problem
1. Con...## Versions
- OS: Debian testing
- Gajim version: 1.1.94 (master of 2020-04-21)
- Plugin version: 1.2.3
- GTK version: 3.24.18
- Python-nbxmpp version: 0.9.94 (master of 2020-04-19)
## Steps to reproduce the problem
1. Configure a trigger to play a sound, when a message by a specific contact is received
1. Get a message by them
## Expected behavior
Hear a sound.
## Actual behavior
```
Error while running an event handler: <bound method Triggers._nec_decrypted_message_received of <triggers.triggers.Triggers object at 0x7f7f96eacd60>>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gajim/common/ged.py", line 101, in raise_event
if handler(*args, **kwargs):
File "/usr/lib/python3/dist-packages/gajim/./data/plugins/triggers/triggers.py", line 248, in _nec_decrypted_message_received
self._nec_all(obj, self.check_rule_apply_decrypted_msg,
File "/usr/lib/python3/dist-packages/gajim/./data/plugins/triggers/triggers.py", line 224, in _nec_all
if check_func(obj, rule):
File "/usr/lib/python3/dist-packages/gajim/./data/plugins/triggers/triggers.py", line 161, in check_rule_apply_decrypted_msg
return self.check_rule_all('message_received', obj, rule)
File "/usr/lib/python3/dist-packages/gajim/./data/plugins/triggers/triggers.py", line 131, in check_rule_all
if not self._check_rule_status(obj, rule):
File "/usr/lib/python3/dist-packages/gajim/./data/plugins/triggers/triggers.py", line 84, in _check_rule_status
our_status = app.SHOW_LIST[obj.conn.connected]
AttributeError: 'Client' object has no attribute 'connected'
```Daniel BrötzmannDaniel Brötzmannhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/131Add an option to the trigger plugin to bring gajim into the front when clikin...2017-11-19T17:54:26ZanonymousAdd an option to the trigger plugin to bring gajim into the front when cliking a popupCurrently clicking on a notification of the trigger plugin does nothing, it would be nice if it could bring the chat to front like normal notifications for new messages do.Currently clicking on a notification of the trigger plugin does nothing, it would be nice if it could bring the chat to front like normal notifications for new messages do.Yann LeboulangerYann Leboulangerhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/111Trigger: Add condition based on focus of conversation2018-03-30T12:24:21ZanonymousTrigger: Add condition based on focus of conversationThe trigger plugin currently allows me to make triggers conditional on whether there already is a conversation open with a certain peer or not.
I'd like to argue that this is a fairly useless distinction for at least some use-cases.
* I...The trigger plugin currently allows me to make triggers conditional on whether there already is a conversation open with a certain peer or not.
I'd like to argue that this is a fairly useless distinction for at least some use-cases.
* I am often working with multiple windows, like a browser, an editor and a chat program.
* I do not close all the conversation windows I had opened just because I change focus to another window. Doing that would be fairly annoying - not only would the conversation be cut off and only the last few messages shown, it would also involve doing way more clicks to switch from Gajim to another program.
* As a result, I often have a Gajim window in background that has quite a few conversations already open. But in terms of me noticing that anything happens, they could just as well all be closed - I won't actually see anything happening on any of these conversations, because the window is in background.
With the trigger plugin, I now have the choice between getting notifications even for the very conversation I am currently in, and not getting notifications for conversations that are open, but hidden in background. Every other chat program I used can detect whether the *input focus* is currently in some conversation, and only inhibit notifications for focused conversations (and/or maybe for all conversations of the focused window).
So, please, offer the option to make triggers conditional on where the input focus is. Currently, Gajim notifications are inferior compared to other messagers, even with all the flexibility offered by the Triggers plugin. Personally, I cannot imagine a situation where I would want to treat a conversation that's closed differently from a conversation that's open, but not visible to the user at all due to its window being minimized, in background, or on another workspace. But the focus option(s) could easily be added to the ones that depend on whether the conversation is open or not, so any previous setup continues to work.Yann LeboulangerYann Leboulangerhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/92Allow Triggering Sound for Group Chat Messages without Group Chat Join/Leave2018-09-16T16:28:34ZanonymousAllow Triggering Sound for Group Chat Messages without Group Chat Join/LeaveI have several group chat windows open all day long in the background on my machine. I want to rely on sound to let me know to switch to them and check out what's going on when a message is posted. But joins and leaves happen constantl...I have several group chat windows open all day long in the background on my machine. I want to rely on sound to let me know to switch to them and check out what's going on when a message is posted. But joins and leaves happen constantly in these rooms, and I can't turn on sounds until there is a way to notify on one but not the other.
So...please make it possible to notify on gc-message-received (I think this is right) but stay quiet on gc-presence-received (again, please check that I have this right). Specifically I'd like to be able to set sounds for one and not the other.https://dev.gajim.org/gajim/gajim-plugins/-/issues/57Triggers crashes2017-11-19T17:54:27ZanonymousTriggers crashesThe Triggerplugin crashes, whenever a rule fires (See the attached stderr log).
----
## Software
* Gajim 0.15.3
* Triggers Plugin 0.0.6
* Python 2.7.3
* PyGTK 2.24.0-!r3
* GTK+ 2.24.17
----
## Reproducible
Always
## Steps to reproduce
*...The Triggerplugin crashes, whenever a rule fires (See the attached stderr log).
----
## Software
* Gajim 0.15.3
* Triggers Plugin 0.0.6
* Python 2.7.3
* PyGTK 2.24.0-!r3
* GTK+ 2.24.17
----
## Reproducible
Always
## Steps to reproduce
* Activate triggersplugin
* Add one or more rules
* Wait until it firesYann LeboulangerYann Leboulangerhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/56Triggers lost on gajim restart2017-11-19T17:54:27ZanonymousTriggers lost on gajim restartI have the 0.6 version of the triggers plugin. I configure a trigger (see attached screenshot if the content of trigger makes difference). Then I close the configuration window, close gajim through its menu and start it again. Now the tr...I have the 0.6 version of the triggers plugin. I configure a trigger (see attached screenshot if the content of trigger makes difference). Then I close the configuration window, close gajim through its menu and start it again. Now the trigger I created is not there.Yann LeboulangerYann Leboulangerhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/41additional action: remove action2017-11-19T17:54:27Zanonymousadditional action: remove actionan additional action "Remove this trigger" would allow creating one-shot triggers. that would be useful in combination with ticket #40 for ad-hoc triggers that are created to remind the user of talking to a contact next time he logs in, ...an additional action "Remove this trigger" would allow creating one-shot triggers. that would be useful in combination with ticket #40 for ad-hoc triggers that are created to remind the user of talking to a contact next time he logs in, and might even be suitable as the default there.Yann LeboulangerYann Leboulangerhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/40add trigger from contact menu2023-06-06T18:39:27Zanonymousadd trigger from contact menuadding an "Add trigger…" option to the contacts' context menus would make it much easier to create contact-specific rules (sometimes called "buddy pounce" / "buddy alert"). activating that menu item would create a new rule "When contact ...adding an "Add trigger…" option to the contacts' context menus would make it much easier to create contact-specific rules (sometimes called "buddy pounce" / "buddy alert"). activating that menu item would create a new rule "When contact changes status for contact \<the selected one>" and open it for editing.
this would be especially useful because entering contacts into rules is error-prone as there is no auto-completion or similar for selecting the contacts. (that would be a bug by itself, but i think it is better handled as described above.)Yann LeboulangerYann Leboulangerhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/39additional action: urgency notification2020-05-12T13:52:33Zanonymousadditional action: urgency notificationan additional action that could be taken when a trigger happens is to make gajim show an urgency hint, as it is done with incoming messages. if there is no gajim-specific way to do that, that's done by setting GtkWindow's urgency-hint pr...an additional action that could be taken when a trigger happens is to make gajim show an urgency hint, as it is done with incoming messages. if there is no gajim-specific way to do that, that's done by setting GtkWindow's urgency-hint property.Yann LeboulangerYann Leboulangerhttps://dev.gajim.org/gajim/gajim-plugins/-/issues/23Popup is open even if chat window is foreground2017-11-19T17:54:26ZanonymousPopup is open even if chat window is foregroundIf 'Inform me with a popup window' option is selected for 'receive a message' event, notification popup is shown even if chat window is already foreground and is removed either after timeout or after switching from and back to the chat w...If 'Inform me with a popup window' option is selected for 'receive a message' event, notification popup is shown even if chat window is already foreground and is removed either after timeout or after switching from and back to the chat window.
The proper behaviour would be to not show popup if notification window is foreground (or, at least, if the exact chat tab is foreground).Yann LeboulangerYann Leboulanger