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
0a2bd90c6d
Fix PluginAPI.run_command()
2013-03-08 16:55:27 +01:00
mathieui
370cc874c2
Introduce a new way for plugins to interact with poezio
...
- Try to reduce the use of the “core” object in the plugins
- New “api” member for each BasePlugin which is a wrapper around
the unique PluginAPI object. (instead of having the methods
directly in BasePlugin and then calling the PluginManager)
- Documented methods with rst (for sphinx)
2013-03-06 22:57:41 +01:00
mathieui
3755b51430
Use the new command scheme in plugins too
...
(while staying backwards-compatible)
2013-01-18 23:25:33 +01:00
mathieui
0af1c7fe9a
Docstrings, and small cleanup
2012-05-21 02:14:25 +02:00
mathieui
f40f5cb6c2
Add a wrapper for RawConfigParser.options() in PluginConfig
2011-11-16 09:44:07 +01:00
mathieui
6e35dcf612
Fix PluginConfig.set
2011-11-14 20:45:59 +01:00
mathieui
a5f115a6e2
Fix Plugin.config.get to use the right section instead of Poezio
2011-11-14 00:45:15 +01:00
mathieui
338a4b5717
Add a way for a plugin to add a keybind only for a type of tab
2011-11-13 20:17:33 +01:00
mathieui
39fcd9a4f6
Allow a plugin to add a keybinding
2011-11-13 19:43:31 +01:00
mathieui
1efdfcd566
Fix some incoherences and possible bugs with PluginConfig objects
2011-11-13 00:58:16 +01:00
mathieui
628ff3b0d9
Add per_tab_type commands for the plugins
2011-11-10 14:39:19 +01:00
mathieui
e8e4b0bb4c
Plugin docstrings
2011-11-09 18:38:56 +01:00
mathieui
98b9506983
Remove poezio_event_handler to keep only event_handler
2011-11-09 14:02:17 +01:00
mathieui
d6b8ca50f2
Remove first&last and only use "position" in plugins events
2011-11-07 15:09:39 +01:00
mathieui
961cf5df85
New type of events to be used with the plugins
2011-11-06 23:46:00 +01:00
Florent Le Coz
a090b235d7
Make the PluginConfig class heritate the poezio Config
...
We can use the nice and safe get() method
2011-10-29 07:04:32 +02:00
mathieui
d589896599
Adds a way to delete the commands without reloading the plugin
2011-10-02 13:21:51 +02:00
Todd Eisenberger
b7279678df
Frumious hacks to make plugins less likely to kill a client
2011-10-02 00:09:50 -07:00
Florent Le Coz
55d624c0ee
exec plugin
2011-09-25 21:16:31 +02:00
mathieui
1a6d903e34
Add a config file to the plugins by default
2011-09-25 02:39:00 +02:00
Florent Le Coz
f275567478
[teisenbe] Use the imp module to import modules.
...
Also add a simple translator module
2011-09-24 22:26:31 +02:00
Florent Le Coz
e3b933445f
[teisenbe] first attempt at a plugin system.
2011-09-23 17:43:01 +02:00