Commit graph

397 commits

Author SHA1 Message Date
00b91fe462
reorder: Ensure valid JID
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-01 01:16:11 +02:00
f82e83067e
reorder: Add TODO
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-01 00:51:21 +02:00
mathieui
4c3b3e869e Merge branch 'invitation' into 'master'
invitation: QR plugin to show invitations

See merge request poezio/poezio!62
2020-03-29 16:17:00 +02:00
Emmanuel Gil Peyrot
cd0c2de8b7 plugins/disco: Add support for querying with a custom node, and disco#items.
This can be useful in some cases.
2020-03-28 20:21:23 +01:00
645707652b plugins/reorder: satisfy linter
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-03-25 17:24:33 +01:00
Célestin Matte
cd2adbbc3b Update remove_get_trackers plugin to only detect GET parameters in a URL context 2020-03-20 17:10:56 +01:00
Célestin Matte
9df7a439e8 Add remove_get_trackers plugin
Signed-off-by: Célestin Matte <celestin.matte@gmail.com>
2020-03-20 17:10:55 +01:00
Georg Lukas
3c5de0a49f invitation: display QR code black-on-white 2020-01-21 22:53:28 +01:00
Georg Lukas
612eebb5c3 invitation: QR plugin to show invitations 2020-01-19 19:07:33 +01:00
louiz’
d65ad614b3 Replace the %date% output with Year-Month-Day
Instead of some locale-specific format
2019-11-19 14:38:51 +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
5032905f96
plugins/lastlog: Display time and nickname
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-10 13:45:09 +02:00
472e4371b1
plugins/embed: use tab.jid instead of .name
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-15 12:26:50 +02:00
Madhur Garg
6df26dc98d Removed /mam as a plugin, added it as a command in basetabs. 2019-08-22 00:54:25 +05:30
Madhur Garg
ba93143e8a Removed extra jid and password fields 2019-08-22 00:54:25 +05:30
Madhur Garg
448f70a5c6 Added check for password in eval_password 2019-08-22 00:54:25 +05:30
Madhur Garg
258cb0ba08 Plugin to fetch an archive of messages using MAM 2019-08-22 00:54:25 +05:30
louiz’
036f79a662 Update a daemon.py link in the link plugin doc 2019-08-13 11:15:50 +02:00
Georg Lukas
b48c8c3c6c plugins: "new" emoji_ascii conversion plugin for terminally broken users 2019-07-29 18:50:07 +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
7fe073c602
plugins/link: typo in class name
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-19 18:22:16 +02:00
21d2698b09
plugins/link: make link plugin work in 1:1 tabs
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-19 18:20:01 +02:00
812d9485e3 e2ee-api: update b64 plugin with latest changes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01 19:42:45 +02:00
d56d442253 First shot of an E2EE plugin interface
Features:
- Decryption by default once the plugin is loaded if messages contains
the right EME magic
- Encryption of messages only if encryption is enabled for the current
tab

Missing pieces:
- No special treatment done on the order of the treatment for messages
yet
- No special handling of non-Partial(/Full) Stanza Encryption yet (i.e.,
removing stuff other than <body/>)

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-07-01 19:42:45 +02:00
d35256ccc9 Merge remote-tracking branch 'origin/mr/35' 2019-06-17 14:49:10 +02:00
Madhur Garg
f9d34fc789 Updated copyright for lastlog plugin 2019-06-17 18:17:56 +05:30
Madhur Garg
7250eff335 Corrected the search for lastlog messages and refresh of the window.
Corrected the search for lastlog messages and refresh of the window.

patch from Maxime Buquet

Corrected the search for lastlog messages and refresh of the window.
2019-06-14 22:33:15 +05:30
1e21de272a initial version of a lastlog plugin
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-06-12 19:43:22 +05:30
91eabbd17d
plugins/figlet: error out when figlet doesn't exist
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-06-07 16:09:06 +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
bf2225468e Revert work on tabs module to change tab.name to JID.
This reverts commits:
d693479d05
2d0cc092fc
89a61b84bd
8194d9afbd
e256c31875
a21335ac17
c96e528a8f
0551867bfd
6ab49c188a
2019-04-08 14:01:09 +01:00
6ab49c188a
Fix tab.name not being a string by calling the right property
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08 11:38:29 +01:00
Kim Alvefur
a6e66cd50e Fix various spelling mistakes throughout the code 2019-03-19 17:50:58 +00:00
Emmanuel Gil Peyrot
f7e3e003a2 code plugin: Add a language class to specify which language this code block is from. 2019-02-28 22:05:57 +01:00
Kim Alvefur
25f15233e0 disco plugin: Add iq error reporting
Previously it behaved as if the response was empty, which was confusing.
2018-12-26 10:47:33 +00:00
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