Commit graph

28 commits

Author SHA1 Message Date
mathieui
46d90bf832 plugins: remove callbacks 2021-02-03 15:22:09 +01:00
b2cf7c0ce8
plugins/ping: Remove safeJID call
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-14 15:03:09 +02:00
b5849a868e
plugins: Make all changed plugins work in 1:1 tabs
These were still using tabs.ConversationTab that's been replaced by
Dynamic and StaticConversationTab. These class have been introduced
after resource locking was removed in 1:1, because they were needed for
some plugins like OTR.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-19 18:55:16 +02:00
1a825de020
plugins/ping: Import missing JID value (thanks madhur, and pylint)
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-05-11 18:46:12 +01:00
7a1b2b982f
plugins: Update use of tab.name to tab.jid where appropriate
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-28 01:02:49 +01:00
mathieui
6e13b8b735
yapf -rip on plugins 2018-08-15 13:13:17 +02:00
Georg Lukas
6fb3151202 Ping: properly process IQ errors, always display error condition 2017-07-20 23:28:33 +02:00
Emmanuel Gil Peyrot
cc4132e0b4 Improve feedback from the ping plugin.
Always print the error-condition when the iq is of type error, also
include the error text if it is present, and set a 10s timeout before
giving up.
2017-05-15 22:22:56 +01: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
Emmanuel Gil Peyrot
c1be52847b Fix core commands, broken in the previous commit. 2016-06-12 14:33:39 +01:00
mathieui
2cc9918ee9
Fix #3050 (better /ping completion) 2015-07-30 21:13:20 +02:00
Florent Le Coz
158f73f70c Do not enable xep_0199 in the ping plugin, it's always enabled anyway 2014-11-25 13:51:04 +01:00
mathieui
bbdc14aaa5 Remove Tab.get_name() and use Tab.name instead
(keep a get_name() fallback just in case for now)
2014-04-30 21:34:09 +02:00
mathieui
ca0950db07 Remove unused imports
(thanks eijebong)
2014-04-04 00:24:16 +02:00
mathieui
550aa6efa4 Remove useless "installation" parts from the plugin documentations 2014-03-27 23:45:47 +01:00
Mathieu Pasquet
0ad9712d0c refactor the texts in core to be more readable and fix some typos 2013-11-26 18:37:06 +01:00
Mathieu Pasquet
91fe1f5c59 Fix #2356 (ping is blocking) 2013-10-06 18:03:24 +02:00
mathieui
248a9ea822 Update caps after loading the ping plugin 2013-06-01 17:00:56 +02: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
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
b37b7ec8e6 Fix the ping plugin 2012-05-06 21:10:13 +02:00
mathieui
b489b68e20 Fixes #2326 2012-02-14 02:43:00 +01:00
mathieui
ef6425b4e9 Add a /ping command through a ping plugin
Fixes #1734
2011-11-15 01:15:08 +01:00