Commit graph

17 commits

Author SHA1 Message Date
Kim Alvefur
a6e66cd50e Fix various spelling mistakes throughout the code 2019-03-19 17:50:58 +00:00
mathieui
6e13b8b735
yapf -rip on plugins 2018-08-15 13:13:17 +02:00
mathieui
7946190019 Fix #3205 (doubled notification in simple_notify) 2016-08-26 21:33:19 +02:00
Emmanuel Gil Peyrot
3a24d88353 Make plugins import from the absolute poezio package. 2016-06-28 00:10:52 +01:00
Lasse Aagren
8a491f250d change muc_list delimiter from comma to colon in simple_notify 2016-05-23 16:22:02 +02:00
Lasse Aagren
a68ace1971 fix simple_notify to not notify one messages from yourself in MUCs 2016-05-23 16:21:54 +02:00
Lasse Aagren
51025b8d78 add optional muc_list to configuration of simple_notify, as a whitelist of MUCs you want to be notified from. 2016-05-22 08:32:45 +02:00
Frédéric Meynadier
558ef877cb Added ability to notify new messages in MUCs 2016-03-09 17:53:42 +01:00
mathieui
cea4f3d189
Fix the second example in the simple_notify plugin doc 2015-03-09 01:26:02 +01:00
Emmanuel Gil Peyrot
a64dd02118 Remove the dependency on poezio from xhtml.py 2014-02-22 01:11:57 +01:00
mathieui
d676c2ee7b Move the plugins documentation
(use automodule directive & docstrings)
2013-04-13 22:33:06 +02:00
mathieui
9885203c67 Update the plugins to use the PluginAPI
Also:
- Add get_conversation_messages() to PluginAPI
- Make plugins_autoload colon-separated instead of space-separated
    (for consistency)
- Replace a JID() with a safeJID() in the uptime plugin
2013-03-08 22:53:35 +01:00
Florent Le Coz
a536c1dc4f Make the Executor class reliable.
Plugins do not need to escape the command arguments or remove the line
breaks and care about how the will get parsed anymore, they just need to
pass a list of args.

Do not spawn an additional shell, for more clarity, simplicity and possibly
security.
2012-10-22 17:14:21 +02:00
Florent Le Coz
d47c31a587 Properly quote the %(body)s and %(from)s used in the simple_notify plugin. 2012-07-05 00:50:47 +02:00
Florent Le Coz
4bc215806b Improve the simple_notify plugin and the daemon to execute a command to clean the notification and to execute the remote commands through sh -c, letting us use pipes and redirections. Also adds the highlight event for plugin, and make the simple_notify plugin use it as well. 2012-07-03 01:59:25 +02:00
mathieui
55edb64438 Remove useless stuff from the simple_notify plugin 2012-05-05 18:26:54 +02:00
Florent Le Coz
d32d92c269 And add the missing files. 2012-01-26 10:05:35 +01:00