Commit graph

44 commits

Author SHA1 Message Date
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
mathieui
51c7b3258b Complete the documentation of the OTR plugin
(and fix a possible traceback)
2013-08-07 20:55:21 +02:00
mathieui
65a73edc62 Fix the same issue with the OTR plugin 2013-08-06 22:30:03 +02:00
mathieui
e8a3f6f07c Add trust management to the OTR plugin (/otr trust|untrust) 2013-08-05 19:45:35 +02:00
mathieui
90161f81ac Add a new "drop" option to the OTR plugin (to drop the privkey) 2013-08-05 00:08:11 +02:00
mathieui
7373074e39 Notify properly in the OTR plugin when a message is received 2013-08-04 23:45:12 +02:00
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
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
915dc7fa9d Fix the OTR plugin completion 2012-05-29 12:37:50 +02:00
mathieui
5bdbca688c Use add_tab_command in the OTR plugin 2012-05-13 18:46:07 +02:00
mathieui
1133baa5f0 Add the OTR plugin 2012-03-25 23:40:22 +02:00