Commit graph

411 commits

Author SHA1 Message Date
Georg Lukas
f3aad52c7f Work around /upload not working in direct tabs (similar to #3449) 2018-12-16 19:02:06 +01:00
Georg Lukas
06159c0e1f Work around #3449 2018-12-16 19:02:06 +01:00
284103d370 upload: add user friendly error when upload service not found
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-10-13 12:13:32 +01:00
Georg Lukas
d006d273e8
contact plugin (XEP-0157), in memoriam Bunneh 2018-10-12 22:30:19 +02:00
mathieui
4463a0d5b5
Fix /irc_query in the IRC plugin 2018-08-23 21:35:28 +02: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
ee56589468
Fix some absolute imports 2018-08-09 00:56:28 +02:00
mathieui
53ea677bad
Fix the OTR plugin 2018-08-09 00:45:10 +02:00
mathieui
6cc1360a3a
Remove the GPG plugin
It’s broken and nobody is using it as far as I know.
2018-08-09 00:29:13 +02:00
Emmanuel Gil Peyrot
3006569ef5 plugins: Switch exec and upload to async/await. 2018-07-28 13:31:25 +02:00
mathieui
c6cf2d08b7
Fix close_all and change_title plugins 2018-07-22 16:17:06 +02:00
mathieui
534ba14d5c
Fix /reorder 2018-07-21 21:38:26 +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
efc9489f33 disco plugin: Allow any dataform to be displayed. 2018-05-30 21:04:02 +02:00
Seve
40bc7e6647 Initial start with the embed command 2018-05-16 11:37:19 +02:00
Emmanuel Gil Peyrot
507c45982d upload plugin: Don’t insert invalid URL after HTTP upload failed. 2018-03-11 19:42:42 +01:00
Emmanuel Gil Peyrot
aa3c4dea96 Add a check for slixmpp xep_0363 plugin. 2018-03-09 12:44:29 +01:00
Emmanuel Gil Peyrot
a468e16140 Add HTTP File Upload support. 2018-03-08 15:04:59 +01:00
Emmanuel Gil Peyrot
30200c83ea disco plugin: Fix traceback on unknown FORM_TYPE. 2017-12-19 16:13:26 +01:00
Emmanuel Gil Peyrot
be407c2408 Add a disco#info plugin, /disco. 2017-12-19 15:37:42 +01:00
Emmanuel Gil Peyrot
d3023b438f Also handle muc_nickchange for /tell.
Fixes #3349.
2017-11-23 18:13:58 +00:00
mathieui
3317604c65 Fix some excepts (bare, useless, unused) 2017-10-12 01:23:40 +02:00
mathieui
7592aebcdc Fix #3245 (make /exec async)
and also do not vomit stderr on top of poezio, but put it in an info
message
2017-10-08 21:45:15 +02:00
Emmanuel Gil Peyrot
f1b94534a4 Change all “not … in …” into “… not in …”. 2017-10-08 15:38:06 +01:00
mathieui
f3a08138ce Fix #3273 (be honest about the rainbow plugin) 2017-10-07 00:34:59 +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
4aa6e8eeba Add a rstrip plugin. 2017-06-19 23:04:18 +01: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
Emmanuel Gil Peyrot
8a62ae7ad8 Make the code plugin stop using extra attributes and div. 2017-02-24 17:36:17 +00:00
mathieui
38ba859854 Fix code plugin usage help 2017-02-24 18:30:16 +01:00
mathieui
5ef524d3b1 Don't override "id" and "type" builtins 2017-02-13 19:50:02 +01:00
Emmanuel Gil Peyrot
baf9c34aa2 Add a code plugin, for sending highlighted snippets of code. 2017-02-10 21:15:12 +00:00
Emmanuel Gil Peyrot
dd12a8ddd8 Add a white plugin, black backgrounds matter! 2017-02-10 21:14:45 +00:00
mathieui
fdb61cda27 Add missing message types (fix #3271)
Which were being filtered by the information popup filter
2016-12-26 16:01:35 +01:00
mathieui
0dece5c7e1 Update the bundled gnupg.py 2016-11-29 21:49:20 +01:00
Tanguy Ortolo
9eff396227 Fix inexistent method calls in the gpg plugin
The gpg plugin tries to call Presence.find() and Message.find(), that do not
exist. The correct calls are Presence.xml.find() and Message.xml.find().
2016-11-29 21:30:48 +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
Vinilox
92d23bc007 Link plugin : add support for magnets links. 2016-10-27 15:20:55 +02:00
Emmanuel Gil Peyrot
c1ce94987a send_delayed plugin: Give feedback on using /send_delayed. 2016-10-16 00:03:23 +01:00
Maxime Buquet
12a55845ff Make reorder plugin read create_gaps config 2016-10-15 01:50:41 +01:00
mathieui
9dd5f0b4de "information" is already plural, fix wording 2016-10-04 00:54:57 +02:00
mathieui
f1bfec332f Rename "roster" to "contact list" 2016-10-04 00:40:56 +02:00
mathieui
5a6ba4dda8 Replace "MUC" by "chatroom" in the documentation
And fix some linewrapping, obsolete references to poezio.eu, and
obsolete docs.
2016-10-04 00:29:19 +02:00
mathieui
8aec9f9dac Fix #3229 (add a command to list /tell messages) 2016-10-02 15:05:58 +02:00
louiz’
9d983abddf Update the IRC plugin to use % to address IRC users
See https://lab.louiz.org/louiz/biboumi/commit/0d2dd71de5292895f6
2016-09-20 10:22:22 +02:00
Emmanuel Gil Peyrot
95723fb649 OTR plugin: Implement XEP-0378 (OTR Discovery) 2016-08-28 20:33:28 +01:00
Emmanuel Gil Peyrot
dbbc24b7c6 Add a vcard plugin, to view other people’s vcard-temp as a dataform.
Fixes #1683 and #1843.
2016-08-28 20:58:35 +02:00
mathieui
b00d2fd2bc Fix #3204 (write a /server_part plugin) 2016-08-26 22:07:57 +02:00
mathieui
7946190019 Fix #3205 (doubled notification in simple_notify) 2016-08-26 21:33:19 +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
mathieui
f6960d09f0 Fix doc building
Broken by the namespace change
2016-07-27 19:05:27 +02:00
louiz’
059799bb2d Remove some unused things 2016-07-06 09:52:19 +02:00
mathieui
0276f2adf7 Fix the dice plugin config 2016-07-05 01:39:17 +02:00
mathieui
d55ce5b996 Fix #3197 (add a dice plugin)
also add some doc for the marquee plugin
2016-07-05 01:15:04 +02:00
mathieui
8f1f877c96 Add /save_order to the reorder plugin
And fix a breakage due to the recent change in tab creation.
2016-07-01 19:51:34 +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
Emmanuel Gil Peyrot
c1be52847b Fix core commands, broken in the previous commit. 2016-06-12 14:33:39 +01:00
Emmanuel Gil Peyrot
332a5c2553 Move the src directory to poezio, for better cython compatibility. 2016-06-11 20:49:43 +01:00
mathieui
0a2238def5 Add a manual CSI plugin 2016-06-05 13:48:04 +02:00
mathieui
d2dcd9f5c0 Fix #3184 (remove upper limit for infowin)
also, typo
2016-06-05 00:08:49 +02:00
mathieui
4fabdc42c0 Make CSI use in the screen plugin configurable
And false by default, as it might reduce the user experience in
chatrooms.
2016-06-04 23:23:33 +02:00
mathieui
46d3da365c Fix #3114 (implement CSI in the tmux/screen plugin) 2016-06-04 23:03:40 +02:00
mathieui
1ced580551 Use message processing hints in the OTR plugin 2016-06-04 19:37:57 +02:00
Lasse Aagren
8a491f250d change muc_list delimiter from comma to colon in simple_notify 2016-05-23 16:22:02 +02:00
Lasse Aagren
a68ace1971 fix simple_notify to not notify one messages from yourself in MUCs 2016-05-23 16:21:54 +02:00
Lasse Aagren
51025b8d78 add optional muc_list to configuration of simple_notify, as a whitelist of MUCs you want to be notified from. 2016-05-22 08:32:45 +02:00
mathieui
65a37c44dd Fix a crash in the marquee plugin
xml does not like ascii control chars.
2016-05-10 21:31:37 +02:00
mathieui
bea07f5210 Fix #3172 - Marquee plugin has a non-issue 2016-05-06 19:46:40 +02:00
mathieui
51566463bd Fix #3181 (make /marquee work in all chat tabs)
Detecting errors would be a pain though
2016-04-01 19:39:39 +02:00
Frédéric Meynadier
558ef877cb Added ability to notify new messages in MUCs 2016-03-09 17:53:42 +01:00
mathieui
0161f35f82 Fix the test plugin
(broken since slix)
2016-03-08 23:02:01 +01: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
41283a4ff7 Use the command_args_parser in the tell plugin 2015-11-11 21:05:38 +01:00
mathieui
4b8d66da0c Use the command_args_parser in the send_delayed plugin 2015-11-11 20:56:10 +01:00
Emmanuel Gil Peyrot
0fb0078df8 Add a plugin sending Bits of Binary (XEP-0231) images. 2015-09-06 13:47:50 +01:00
mathieui
980130f1db
Fix the timing of the marquee plugin 2015-08-27 01:48:05 +02:00
mathieui
e7c780d5a0
Add a marquee plugin
Using the power of last message corrections
2015-08-27 01:39:07 +02:00
mathieui
2cc9918ee9
Fix #3050 (better /ping completion) 2015-07-30 21:13:20 +02:00
mathieui
3557c834f9
Stress that the configuration file is the core of the irc plugin
Hopefully making it clearer
2015-07-23 00:37:52 +02:00
Florent Le Coz
68b40354cf Confusing wording in IRC doc 2015-07-21 18:49:26 +02:00
mathieui
74a90dfdb7
Fix a typo in the OTR plugin doc 2015-07-20 20:26:23 +02:00
mathieui
fb8816de06
Improve /reorder help 2015-07-20 20:24: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
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