Commit graph

128 commits

Author SHA1 Message Date
mathieui
bd81ef5cf3 Add a helpful help for /otr 2013-08-04 15:36:29 +02:00
mathieui
a8762b4746 Rewrite the OTR plugin to use pure-python-otr 2013-08-04 15:30:03 +02:00
mathieui
c2f6ece39d Fix #2300 (use re.sub in the replace plugin) 2013-08-02 23:59:49 +02:00
Florent Le Coz
18642ceb71 IT’S CAPS LOCK DAY 2013-06-28 11:31:25 +02:00
Florent Le Coz
3015b3b9e5 Add the stoi plugin 2013-06-18 20:30:36 +02:00
Florent Le Coz
b5362ff754 Add a mirror plugin 2013-06-18 20:23:49 +02:00
mathieui
356d8a2184 Fix a tb with the tell plugin on wrong input
it didn’t make anything crash, but still.
2013-06-16 14:47:14 +02:00
Florent Le Coz
31e55a451c Fix the link of daemon.py in the doc 2013-06-09 20:18:22 +02:00
mathieui
248a9ea822 Update caps after loading the ping plugin 2013-06-01 17:00:56 +02:00
mathieui
2b42c6a3ea Update setup.py to use distutils
(use new default directory, install the plugins as a separate
python module…)
2013-05-26 20:13:39 +02:00
mathieui
ab5a5f3aae Add the documentation for the /tell plugin 2013-05-20 23:14:37 +02:00
Florent Le Coz
708053991a Make the random_nick plugin work on "/nick RANDOM" as well 2013-05-09 13:18:44 +02:00
mathieui
be6f5ba512 Add a regex-admin plugin 2013-05-09 02:17:17 +02:00
Florent Le Coz
2ad793d367 The name is poezio, not Poezio 2013-05-06 21:48:18 +02:00
Florent Le Coz
64280ff30c Add a nice marketing plugin 2013-05-06 21:43:17 +02:00
Florent Le Coz
5038367b92 Add a new replace_word plugin. 2013-05-01 18:59:09 +02:00
Florent Le Coz
48aa8d0bda Actually have a random nick ONLY when our nick is RANDOM 2013-05-01 18:52:29 +02:00
Florent Le Coz
5ff6e2a8c6 Add a new random_nick plugin 2013-05-01 18:45:32 +02:00
Florent Le Coz
9d6acb0d7e Use ISO 8601 date format in the day_change plugin 2013-04-24 00:15:41 +02:00
mathieui
d676c2ee7b Move the plugins documentation
(use automodule directive & docstrings)
2013-04-13 22:33:06 +02:00
mathieui
e6cb43eeed Start the plugin documentation
(with admin.py)
2013-04-12 23:34:11 +02:00
mathieui
1797043464 Remove the thread from the mpd_client
(it should be in an external tool, not _inside_ poezio)
2013-03-31 18:30:18 +02:00
Florent Le Coz
86d4874718 Revstr works in all conversation tabs now. 2013-03-18 23:08:42 +01:00
mathieui
c1ae17c3d2 Add a timeout in the select() in mpd_client 2013-03-17 18:42:33 +01:00
mathieui
e4f72d05c3 Send the tune only if ther is a change from the previous state 2013-03-11 11:31:28 +01:00
mathieui
f11c15c0ce Stop broadcasting a tune if we are not playing (#1840) 2013-03-11 02:23:31 +01:00
mathieui
4deee7cb0b Implement user-tune publishing in the mpd plugin (#1840) 2013-03-11 02:09:04 +01:00
mathieui
f0fb3d5d7a missing space in the status plugin 2013-03-10 22:59:21 +01: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
mathieui
dbde08a526 Document with sphinx timed_events, common, and add methods to PluginAPI
- add methods related to timed events to the PluginAPI
- remove parse_command_args_to_alias because str.format does that, and
  better
→ update the alias plugin
2013-03-08 19:39:34 +01:00
mathieui
f84e3d1928 Fix a bug in the status plugin
(if python had real closures, I would not need that)
2013-03-03 01:33:06 +01:00
mathieui
e1956533a6 Fix #2231 (update the plugins to use the new help system)
And fix some imprecisions/mistakes in the help.
2013-03-01 19:25:31 +01:00
mathieui
43c93a0a1b Do not ping twice in private tabs 2013-03-01 12:25:21 +01:00
mathieui
9b92cb7fb6 Improve the ping plugin
fix a TB in the MUC
fix the completion (no quotes)
add a timeout of 5 seconds
2013-03-01 02:05:18 +01:00
mathieui
aab20c1e29 Fix a traceback with the Ping plugin 2013-02-01 17:15:24 +01:00
mathieui
b04d5c5f53 Update the gnupg wrapper - Fix #2162 2013-01-05 18:12:55 +01:00
Emmanuel Gil Peyrot
1313e7be38 Add a /display_corrections plugin. 2012-12-29 13:14:50 +01:00
Florent Le Coz
b0e9e0919f super useful plugin that does a revstr on your messages. 2012-12-18 02:08:38 +01:00
Florent Le Coz
ca7489fd8f super useful plugin that shuffles the message you send. 2012-12-18 02:03:24 +01:00
mathieui
be8ea85a9f super-useful plugin that duplicates the first word of a message 2012-12-18 01:54:20 +01:00
Florent Le Coz
29f3d9a0bc Add a nice time_marker plugin. 2012-12-17 04:56:46 +01:00
mathieui
2ce849968f fix a traceback on /unload iq_show
(also, per-tab option load_logs)
2012-12-16 14:58:44 +01:00
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