Commit graph

8 commits

Author SHA1 Message Date
mathieui
f2caca5f23 Fix #2153 2012-12-27 18:18:20 +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
Florent Le Coz
83abd9f196 Add a simple_notify plugin
And also fix some issues, like the split of the exec_command arguments.
And the doc for the plugin, too.
2012-01-26 10:05:35 +01:00
Florent Le Coz
3d9193509e Make non-remote commands work. 2012-01-26 10:05:34 +01:00
Florent Le Coz
db1e84d34e Daemon now reads from a pipe and not in the fifo directly 2011-10-29 16:58:36 +02:00
Florent Le Coz
1303919706 Add the daemon. 2011-10-29 05:13:12 +02:00