Commit graph

275 commits

Author SHA1 Message Date
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
Florent Le Coz
0d1ea0d8c3 Merge branch 'self-ping' into HEAD
Conflicts:
	src/tabs/muctab.py
2015-05-16 20:42:30 +02:00
mathieui
1914cfe003
Add a cyberplugin 2015-05-11 23:35:47 +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
cea4f3d189
Fix the second example in the simple_notify plugin doc 2015-03-09 01:26:02 +01:00
mathieui
60231c27c7
Fix the uptime plugin
(slixmpp update)
2015-02-18 22:33:17 +01:00
mathieui
ef3f5bf1d1
Remove the ?OTR Error: prefix when displaying an OTR error 2015-01-20 20:39:51 +01:00
mathieui
0975b343f0
Fix the tmux detection of the screen_detach plugin 2015-01-19 13:35:49 +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
a4771623a5
Fix a bug in the IRC plugin
(forgot to add the arguments to one call)
2015-01-15 16:44:55 +01:00
Florent Le Coz
addac1785f Add an /irc_query command to the irc plugin 2015-01-13 20:02:10 +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
Florent Le Coz
ebbca7e314 Fix little “typos” in the screen_detach plugin 2015-01-06 00:02:02 +01:00
mathieui
bd1c41472a
Fix a traceback in the OTR plugin 2015-01-05 16:52:53 +01:00
mathieui
8afbb44cee
Add a reorder plugin
/reorder command to organize the tabs according to a fixed layout
2015-01-03 23:09:43 +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
1debbe6a72
Fix #2561, Fix #2525 (broken GPG plugin)
Fix issues in presence signatures (no tests SHA-512), typos, update
gnupg.py to a recent version, fix the completion, and display the
messages we send properly
2014-12-29 21:34:24 +01:00
mathieui
668c1eb677
Fix the irc plugin
(and fuck the scoping of python closures)
2014-12-23 23:48:39 +01:00
mathieui
510372cb39
Fix #2543 (irc plugin doesn't authenticate properly)
Join the fake room first, then send the message to nickserv, then join
initial rooms.

Also add two commands and one option.
2014-12-18 23:39:13 +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
21d8a3e7e1
Make the screen_detach plugin support tmux, and use asyncio 2014-12-10 23:21:58 +01:00
mathieui
067ad58f08
Fix #2457 (add real regex support to the autocorrect plugin) 2014-12-09 19:33:55 +01:00
mathieui
ed7fe693b4
Fix #2802 (add a /closeall command, with a new plugin) 2014-12-09 01:13:14 +01:00
mathieui
ad20d6dbc2
Add a decode_entities option to the OTR plugin 2014-12-08 20:07:31 +01:00
mathieui
780fff009a
Document the pipe_cmd plugin 2014-12-08 17:49:54 +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
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
Florent Le Coz
691200fafa Merge branch 'master' into slix 2014-11-02 18:05:06 +01:00
Eijebong
1ff6b40e20 The quote plugin now uses full messages instead of timestamps. 2014-11-02 17:58:38 +01:00
mathieui
1c1ab3cb83
Merge branch 'master' of git.poez.io:poezio into slix
Conflicts:
	src/bookmark.py
	src/config.py
	src/connection.py
	src/core/commands.py
	src/core/core.py
	src/core/handlers.py
	src/windows/info_bar.py
	src/windows/muc.py
	src/windows/roster_win.py
	src/windows/text_win.py
	src/xhtml.py
2014-10-31 19:16:44 +01:00
mathieui
22f9b7a66a
Prevent a (harmless) traceback while generating the documentation 2014-10-27 19:00:38 +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
545ad1bd71
Merge branch 'master' of git.poez.io:poezio into slix
Conflicts:
	src/core/handlers.py
	src/tabs/xmltab.py
2014-10-14 15:51:30 +02:00
mathieui
8305f3bd53
Document the before_quote and the after_quote options of the quote
plugin
2014-10-13 00:39:55 +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
bec71fe38d
Fix #2581 (fix /untell completion) 2014-09-17 18:51:56 +02:00
Florent Le Coz
1390c87c05 [link] add a way to use a custom browser, directly with the command arguments 2014-09-17 16:16:51 +02:00
Florent Le Coz
0e2bba640e Update the pipe_cmd plugin to use asyncio and be awesome 2014-08-01 17:56:43 +02:00
Florent Le Coz
992fe72554 Fix a few blocking iq, and remove all block=False function arguments 2014-08-01 15:01:25 +02:00
Florent Le Coz
6f7ac5a4a6 Use ChatTab in day_change 2014-08-01 01:26:19 +02:00
Florent Le Coz
9c3fece96b Use slixmpp 2014-07-24 02:11:45 +02:00
mathieui
dc5e3b33f7
Fix #2546 (ugly tb with the gpg plugin) 2014-07-09 16:00:22 +02:00
Florent Le Coz
dc46286afb Make the thread from the cmd_plugin be a daemon
Without it, poezio never exits when the plugin is loaded

Thanks to xunien

fix #2542
2014-07-05 17:07:02 +02:00
Florent Le Coz
4b0d9a2872 Add the pipe_cmd plugin
This plugins lets the user manipulate a poezio instance by writing commands
into a pipe, read by poezio which will execute them.
2014-07-05 17:05:17 +02:00
Akim Sadaoui
ba32d74a61 Use xdg-open by default in the /link plugin
fix #2550
2014-06-26 15:56:32 +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
e356c442b2 Do not autocorrect when the remote entity does not support correction 2014-05-17 15:54:06 +02:00
mathieui
db7fc6abb2 Fix an infinite recursion error on recursive aliases 2014-05-02 12:43:56 +02:00
mathieui
48e59d377f Fix #2282 (change the terminal title depending on the tab name)
- change_title plugin
2014-04-30 21:55:19 +02: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
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
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
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
a1b2055127 Fix #2500 (better “C’est toi le”)
Thanks, anonymous contributor
2014-04-10 19:34:26 +02:00
mathieui
ca0950db07 Remove unused imports
(thanks eijebong)
2014-04-04 00:24:16 +02:00
mathieui
3c688335af Fix #2453 (malformed stanzas with stupid plugins)
remove xhtml prior to performing stuff
2014-04-01 23:04:10 +02:00
mathieui
dbc21a6617 Also document manual plugin load
(why wasn’t that already here?)
2014-03-28 00:15:31 +01:00
mathieui
cf752c27b2 Add an IRC/biboumi plugin 2014-03-28 00:03:20 +01:00
mathieui
550aa6efa4 Remove useless "installation" parts from the plugin documentations 2014-03-27 23:45:47 +01:00
mathieui
e80ea90e58 Improve the alias plugin (save aliases, format strings, etc) 2014-03-27 23:10:07 +01:00
mathieui
7a736470df Add a mention about poezio_gpg_export in the doc 2014-03-07 22:53:41 +01:00
mathieui
bc6b9b1aaf Remove the translate plugin (API has been broken for a long time) 2014-02-24 23:43:46 +01:00
Emmanuel Gil Peyrot
a64dd02118 Remove the dependency on poezio from xhtml.py 2014-02-22 01:11:57 +01:00
mathieui
cd38563076 Update install instructions and fix a typo 2014-02-19 00:39:51 +01:00
Florent Le Coz
f1995d060b Add a fun spaces.py plugin 2014-02-12 23:30:19 +01:00
mathieui
199ac46d90 Fix #2208 (time_marker shows an useless timestamp) 2014-02-03 23:37:22 +01:00
Florent Le Coz
d52e82660d Don’t set our status to None on /unload gpg 2014-02-03 21:00:01 +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
Mathieu Pasquet
c2b673308f Add an “autocorrect” plugin with a sed-like syntax
TODO (eventually):
    - correct words when using “word*” or “*word” using levenshtein distance
    - allow regular expressions for replacement
2013-11-28 21:22:17 +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
Florent Le Coz
4a091b3d2d Make the /link plugin accept a range
Like /link 1:10 to open the last 10 links

Fixes #2130
2013-10-21 02:25:34 +02:00
Mathieu Pasquet
91fe1f5c59 Fix #2356 (ping is blocking) 2013-10-06 18:03:24 +02:00
Florent Le Coz
2f6324571e Add the pointpoint plugin 2013-09-06 16:10:33 +02: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
3cc86e7145 Add the missing regex admin documentation 2013-08-07 21:10:03 +02:00
mathieui
65a73edc62 Fix the same issue with the OTR plugin 2013-08-06 22:30:03 +02:00
mathieui
703cd1b958 Don’t send the xhtml body with a gpg-encrypted message
(bug introduced after a change in the attribute name)
2013-08-06 19:09:13 +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
c2f6ece39d Fix #2300 (use re.sub in the replace plugin) 2013-08-02 23:59:49 +02:00