Commit graph

17 commits

Author SHA1 Message Date
mathieui
6e13b8b735
yapf -rip on plugins 2018-08-15 13:13:17 +02:00
mathieui
84e59b05ff Don’t call input completion() functions inside completion methods
Use a placeholder object that can run it afterwards, so that we don’t
have side effects inside those functions.
2016-08-21 15:39:30 +02:00
Emmanuel Gil Peyrot
3a24d88353 Make plugins import from the absolute poezio package. 2016-06-28 00:10:52 +01:00
mathieui
633d023a6c Fix the alias plugin
(broken during linkmauve refactoring)
2016-06-24 19:14:14 +02:00
mathieui
db7fc6abb2 Fix an infinite recursion error on recursive aliases 2014-05-02 12:43:56 +02:00
mathieui
2b63e76ef9 Update the alias plugin
- use the new PluginConfig.remove method to remove aliases
- do not do weird stuff when no args are provided
- do not flood when re-creating stored aliases
2014-04-22 20:21:00 +02:00
mathieui
93594b8453 Do not reload unaliased aliases
TODO: implement the remove_option method from configparser
2014-04-20 17:35:16 +02:00
mathieui
ca0950db07 Remove unused imports
(thanks eijebong)
2014-04-04 00:24:16 +02:00
mathieui
e80ea90e58 Improve the alias plugin (save aliases, format strings, etc) 2014-03-27 23:10:07 +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
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
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
dc8b39709f Make the alias plugin behave like documented. 2012-05-19 21:56:13 +02:00
mathieui
88f7e690bd Fix the alias plugin 2012-01-26 10:05:36 +01:00
mathieui
158692fa99 Use the new args parser in the alias plugin 2011-11-18 23:35:28 +01:00
mathieui
5050d775d9 Alias plugin. Fixes #1523 2011-10-02 13:22:13 +02:00