Commit graph

86 commits

Author SHA1 Message Date
Florent Le Coz
be64b18b2f Display an error and don’t send the message if gpg failed to encrypt a message. 2012-11-05 15:03:20 +00: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
906c74f0be Use pipes.quote instead of a string.replace in the link plugin. 2012-07-30 23:56:48 +02:00
Florent Le Coz
5745a3e8f0 typo or something like that… 2012-07-07 04:56:38 +02:00
Florent Le Coz
8739662e31 Add a replace plugin. 2012-07-07 04:52:20 +02:00
mathieui
ab14923611 Prevent tracebacks in the mpd_client plugin
Do not traceback when:
    - The song has no album
    - the song has no title
    - the song has no artist
    - the playlist is empty
    - mpd is not playing
2012-07-07 04:39:01 +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
mathieui
975e0d96b2 Make /status comply with the command args rule
- if there are more args than handled, no message will be set
- fix the 'status' plugin accordingly
2012-07-03 03:55:57 +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
915dc7fa9d Fix the OTR plugin completion 2012-05-29 12:37:50 +02:00
mathieui
dc8b39709f Make the alias plugin behave like documented. 2012-05-19 21:56:13 +02:00
mathieui
5bdbca688c Use add_tab_command in the OTR plugin 2012-05-13 18:46:07 +02:00
mathieui
d949a379a3 Use add_tab_command in the link plugin 2012-05-13 18:45:40 +02:00
mathieui
ef8a7a647f Use add_tab_command in the quote plugin 2012-05-13 18:39:57 +02:00
mathieui
fc3a791188 Do not let figlet interpret - as args 2012-05-10 10:47:45 +02:00
mathieui
e1a817607b Make translate.py more customizable, and hide it for now 2012-05-09 19:19:17 +02:00
mathieui
39a61486de Fix the /remind help 2012-05-06 22:09:16 +02:00
mathieui
b37b7ec8e6 Fix the ping plugin 2012-05-06 21:10:13 +02:00
mathieui
c8728b31d5 Add /mute to the admin plugin 2012-05-05 19:45:45 +02:00
mathieui
55edb64438 Remove useless stuff from the simple_notify plugin 2012-05-05 18:26:54 +02:00
mathieui
794da2a6f2 Use add_tab_command in the mpd client plugin 2012-05-05 15:45:26 +02:00
mathieui
6ff2f2acc6 Add an "Admin" plug-in that add several shortcuts for room administration 2012-05-05 02:08:35 +02:00
mathieui
57e586531d Add a /tell plugin 2012-03-31 01:24:37 +02:00
mathieui
12e6de0cdc Fixes #2348 2012-03-30 02:43:43 +02:00
mathieui
1133baa5f0 Add the OTR plugin 2012-03-25 23:40:22 +02:00
mathieui
786066da18 Replace /load with /load_db in AI plugin… 2012-03-09 14:42:22 +01:00
mathieui
fb9d11cc79 Add a recreational « AI » plugin 2012-03-09 00:25:46 +01:00
mathieui
45e22f01b5 Fixes #2335 2012-02-24 02:14:54 +01:00
mathieui
b489b68e20 Fixes #2326 2012-02-14 02:43:00 +01:00
mathieui
42c8deb9e1 Remove some debugging prints 2012-02-09 11:08:14 +01:00
mathieui
e47c8d3c19 Add a /amsg plugin 2012-02-07 01:12:21 +01:00
mathieui
2dc7af10fb Do not traceback when /gpg outside a ConversationTab 2012-01-29 03:34:01 +01:00
mathieui
88f7e690bd Fix the alias plugin 2012-01-26 10:05:36 +01:00
Florent Le Coz
d32d92c269 And add the missing files. 2012-01-26 10:05:35 +01:00
Florent Le Coz
56b7d3ebd6 /quote can now be used by specifiying only the seconds, then completing. 2011-11-23 19:53:02 +01:00
Florent Le Coz
e23d905daa Remove TODO since this is done. 2011-11-23 19:50:20 +01:00
Florent Le Coz
7e48a16c4b First argument of /quote can complete a nickname, to filter time results. 2011-11-23 19:49:19 +01:00
Florent Le Coz
c8e260052a Add a quote plugin. 2011-11-23 09:09:48 +01:00
mathieui
158692fa99 Use the new args parser in the alias plugin 2011-11-18 23:35:28 +01:00
mathieui
cae620e3ef Fix plugin status 2011-11-16 13:26:07 +01:00
mathieui
241369c330 Use the new functions in reminder.py 2011-11-15 21:42:10 +01:00
mathieui
403406b60a Add a send_delayed plugins to send messages in some time 2011-11-15 21:35:39 +01:00
mathieui
b82b99f266 Add an iq_show plugin
Fixes #2075
2011-11-15 01:27:42 +01:00
mathieui
ef6425b4e9 Add a /ping command through a ping plugin
Fixes #1734
2011-11-15 01:15:08 +01:00
mathieui
cfa5520cfe Make it possible to use 'm', 'h', and 'd' in the time for the
reminder plugin.
2011-11-14 20:57:54 +01:00
mathieui
07d7189ab6 Useful improvements for the reminder plugin 2011-11-14 20:46:19 +01:00
Florent Le Coz
920c43dae2 Fix mpd plugin (the colors) 2011-11-14 00:54:50 +01:00
mathieui
d0beb6ac86 Add a "reminder" plugin. 2011-11-13 21:55:45 +01:00
Florent Le Coz
c4f7d9b98a Add a setkey command for the /gpg command. 2011-11-13 18:34:52 +01:00
Florent Le Coz
fed6952140 /gpg command lets you disable or force encryption. 2011-11-13 18:16:38 +01:00