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
Kim Alvefur
a6e66cd50e
Fix various spelling mistakes throughout the code
2019-03-19 17:50:58 +00:00
mathieui
b6e23355f1
Make pylint happy on plugins
...
It does not like dynamically defined attributes, unsurprisingly
2018-08-15 13:24:11 +02:00
mathieui
6e13b8b735
yapf -rip on plugins
2018-08-15 13:13:17 +02:00
mathieui
31fc9d00f5
Update the OTR plugin
...
make it more restrictive and give some hints
2018-08-12 13:03:01 +02:00
mathieui
53ea677bad
Fix the OTR plugin
2018-08-09 00:45:10 +02:00
Emmanuel Gil Peyrot
046a8650cd
OTR plugin: Use the new poezio.xdg module.
2018-07-04 12:53:02 +02:00
Emmanuel Gil Peyrot
f1b94534a4
Change all “not … in …” into “… not in …”.
2017-10-08 15:38:06 +01:00
Emmanuel Gil Peyrot
76445a6867
Add support for XEP-0380: Explicit Message Encryption
...
Both for displaying incoming messages, and sending OTR and legacy
OpenPGP.
2016-11-26 16:34:58 +00:00
Emmanuel Gil Peyrot
95723fb649
OTR plugin: Implement XEP-0378 (OTR Discovery)
2016-08-28 20:33:28 +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
1ced580551
Use message processing hints in the OTR plugin
2016-06-04 19:37:57 +02:00
mathieui
2354e7d102
Fix tab-specific options in the OTR plugin
...
(specifically, require_encryption and log)
2016-02-13 14:48:25 +01:00
mathieui
b242ea24bc
Fix #3150 (otr and require_encryption)
...
the require_encryption option would not be honored when opening a new
tab with a bare JID.
2016-02-02 20:05:18 +01:00
mathieui
74a90dfdb7
Fix a typo in the OTR plugin doc
2015-07-20 20:26:23 +02:00
mathieui
be9f447099
Make /otr end terminate all encrypted conversations with this bare JID
2015-06-29 23:49:11 +02:00
mathieui
7c99b82642
Fix a traceback in the OTR plugin
2015-06-29 23:28:39 +02:00
mathieui
87e16546b9
Fix a possible traceback in the OTR plugin
2015-04-08 19:47:21 +02:00
mathieui
342f24bfb0
Fix the OTR timeout message
...
for dynamic tabs.
2015-03-18 13:36:10 +01:00
mathieui
ef3f5bf1d1
Remove the ?OTR Error: prefix when displaying an OTR error
2015-01-20 20:39:51 +01:00
mathieui
45f280f56c
Fix a silent traceback in the otr plugin
...
(the “X has not enabled OTR after n seconds.” would not be displayed)
2015-01-15 21:40:57 +01:00
mathieui
391de9e11a
Fix a bug in the OTR plugin
...
if the plugin attempted to start or refresh an OTR session on its own
and the current tab was not this particular one, it would tb.
Also make poezio beep and make tab states change for SMP actions.
And update the documentation a bit.
2015-01-11 14:03:07 +01:00
mathieui
bd1c41472a
Fix a traceback in the OTR plugin
2015-01-05 16:52:53 +01:00
mathieui
1133d411cd
Fix #2523 (interoperability with jitsi)
...
Disable fragmentation entirely
2015-01-03 17:33:59 +01:00
mathieui
44ff71b3a3
Fix small issues in the OTR plugin
2015-01-03 17:25:11 +01:00
mathieui
f04728a82b
Rework the OTR plugin
...
- remove the allow_v1 and allow_v2 options (allow_v1 will now be always
false, as no one would want it to true, and allow_v2 will always be
true, which should also be what everyone wants until potr supports
OTRv3)
- add a “require_encryption” configuration option
- move all the plugin-generated messages to module level, to improve
readability
- split up some parts and add comments
2015-01-03 16:23:34 +01:00
mathieui
96442e93e3
Fix #2448 (SMP in the OTR plugin)
...
Add a /otrsmp <abort|ask|answer> command.
also improve usability a bit, and mention the trust status in the info
bar.
2014-12-30 22:52:11 +01:00
mathieui
ef3beab02b
Add a decode_newlines option to the OTR plugin
...
I wish I didn’t have to do such ugly things to get a close-to-decent
interop with legacy OTR plugins that insert awful HTML4 stuff inside
messages that do not need it.
2014-12-16 20:46:45 +01:00
mathieui
ad20d6dbc2
Add a decode_entities option to the OTR plugin
2014-12-08 20:07:31 +01:00
mathieui
e1543545ad
Keep using the OTR context for a specific resource when a DynamicConversationTab unlocks
...
and handle the case where the otr request was made before locking
2014-12-08 02:09:33 +01:00
mathieui
7b01c62e07
Change the API of Config.get_by_tabname
...
Make the "default" parameter optional and thus move it to the end of
the command with the other optional parameters.
And change all the calls.
2014-10-20 21:20:43 +02:00
mathieui
25e91b0c94
Give feedback on the OTR commands in the current tab
...
instead of the global info buffer
2014-10-12 22:23:45 +02:00
mathieui
a0c5f95881
Add a notification in the OTR plugin if the session isn't established
...
With a timeout option that lets the user choose the timeout
and if they want this notification.
2014-10-12 22:08:28 +02:00
mathieui
41a89dc2ac
Update OTR documentation
2014-09-26 13:55:26 +02:00
mathieui
c1803944ba
fix a tb in the otr plugin
2014-06-14 22:01:25 +02:00
mathieui
35e46c499d
Fix a regression that prevented beeps with OTR messages
2014-05-25 12:40:07 +02:00
mathieui
d7bbf339cf
Fix the color of OTR conversations in private chats
2014-05-22 22:07:49 +02:00
mathieui
f782516e95
End all otr conversations when the plugins is unloader (or poezio exits)
2014-05-19 23:58:15 +02:00
mathieui
71ae29df97
Make the otr plugin messages use the information color
2014-05-18 15:11:32 +02:00
mathieui
4e4ab569cf
Fix #2447 (OTR & HTML) -- partial WONTFIX
...
- Guess-parse the OTR messages in search for xhtml upon arrival
- add a configurable option to decode it or not
- We have XHTML-IM for a reason, and therefore we will *not* implement a
full html parser for clients that dump whatever formatting inside the
OTR payload (looking at you, pidgin)
2014-04-30 01:55:23 +02:00
mathieui
dc08adf605
Do not lock on the “composing” chat state with otr
...
might send too many stanzas when send_chat_states is false, but I don’t
care.
2014-04-17 20:39:01 +02:00
mathieui
cd38563076
Update install instructions and fix a typo
2014-02-19 00:39:51 +01:00
mathieui
f6e5cd186f
Log our own message with the otr plugin if configured
2014-02-03 09:34:19 +01:00
Mathieu Pasquet
8a44d31e85
Add a logging option to the OTR plugin
...
It is tab-specific and off by default.
2014-01-29 16:41:57 +01:00
mathieui
6461a77f29
Workaround for an otr lib bug (plaintext messages without warning)
...
See https://github.com/afflux/pure-python-otr/issues/47
2013-12-28 16:27:49 +01:00
mathieui
07ab1138a7
Fix /otr fpr and the remote user nick color
2013-08-18 22:32:26 +02:00
mathieui
e06eac8182
Mark OTR messages as private (as in carbons)
2013-08-11 23:32:44 +02:00
mathieui
54a2830091
Documentation update
2013-08-07 21:35:12 +02:00