Commit graph

2976 commits

Author SHA1 Message Date
mathieui
90f43e2bb5 Simplify /cycle as well 2017-07-20 23:54:28 +02:00
mathieui
360b1350b6 Fix /server_cycle weirdness
exit the rooms properly, call functions instead of full-blown commands,
do not randomly focus stabs, etc
2017-07-20 23:50:37 +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
12136b48a5 handlers: Stop appending <replace/> elements on incoming messages.
Fixes #3186.
2017-07-18 00:04:38 +01:00
Eijebong
a07c87bcbe Fix the resource duplication when reconnecting while auto_reconnect is true.
The problem is that core.legitimate_disconnect is set to True in the
on_connecting callback which is called before the session_end for some
reasons. on_connecting sets core.legitimate_disconnect back to False so
session_end thinks we've been disconnected and connects automagically
adding a resource and thus duplicating everything.

Moving the reset of legitimate_disconnect to the on_connected callback
fixes the problem.
2017-06-27 20:41:03 +02:00
mathieui
bc08858b8a Do not end log lines with a space
… it's about time I fixed this
2017-06-27 20:36:56 +02:00
Emmanuel Gil Peyrot
4aa6e8eeba Add a rstrip plugin. 2017-06-19 23:04:18 +01:00
mathieui
ffb8bbe63f Remove extra colon
It creates a syntax error
2017-05-16 09:11:32 +02:00
Emmanuel Gil Peyrot
83e28a2be8 Add /add in conversation tabs.
This is a quick shortcut to add someone to your roster when talking
with them.

Fixes #3313.

Also fixes typos.
2017-05-15 23:09:27 +01:00
Emmanuel Gil Peyrot
c66c5a6e27 Replace '/' with '-' in base64 hashes before saving an image.
Fixes #3312.
2017-05-15 22:47:19 +01:00
Emmanuel Gil Peyrot
2419e82143 Send a <gone/> chatstate on /close.
Fixes #3296.
2017-05-15 22:43:57 +01:00
Emmanuel Gil Peyrot
a3dfd55e04 Merge /unquery and /close into OneToOneTab. 2017-05-15 22:41: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
95b7be7479 Fix dead link in install. 2017-05-06 16:05:25 +01:00
Emmanuel Gil Peyrot
9dc23d422b Fix XHTML-IM, broken in the previous commit. 2017-05-03 16:08:47 +01:00
Emmanuel Gil Peyrot
7228c9cf6d Avoid some deprecation warnings when casting raw XML into bool. (thanks pypy3) 2017-05-03 16:07:11 +01:00
mathieui
7d00b94f16 Add the XMPP classifier to setup.py 2017-04-10 02:21:51 +02:00
mathieui
e0f9de6d2f Fix #3307 (add nickname to /join bookmark completion) 2017-04-09 21:29:47 +02:00
mathieui
f2a0caafaf Fix #3149 (wipe xmltab messages for real with /clear) 2017-04-09 21:20:27 +02:00
mathieui
fa3e91aa6b Fix ssl warning tab
It wasn’t blocking because the asyncio api slightly changed in december
which prevent us from running another event loop while a first one was
already running. This bypasses asyncio completely, thus avoiding future
problems (hopefully the select() API won’t change soon)
2017-04-09 20:26:51 +02:00
mathieui
f154dcbc82 Fix inline muc images 2017-04-06 23:26:59 +02:00
Emmanuel Gil Peyrot
2406204d1c Add a pure-Python alternative to pooptmodule, for pypy3. 2017-04-01 19:10:33 +01:00
Emmanuel Gil Peyrot
d99558b9b8 Fix some typos in pooptmodule. 2017-04-01 19:09:53 +01:00
Georg Lukas
c8ee85cca7 self-ping: consider 'feature-not-implemented' a valid ping response 2017-03-28 10:50:46 +02:00
mathieui
e9a96470ba Fix #3299 (/message <muc> is buggy)
Make /message <muc-bare-jid> send the message to the room instead of
failing.
2017-03-26 00:58:21 +01:00
mathieui
edd9b499e1 Force xmlns when parsing self-generated xhtml-im (Fix #3274) 2017-02-24 19:23:04 +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
Emmanuel Gil Peyrot
23927711c1 Stop using SHA-1 for generated filenames. 2017-02-24 17:05:29 +00:00
mathieui
5ef524d3b1 Don't override "id" and "type" builtins 2017-02-13 19:50:02 +01:00
mathieui
747529845e Remove a useless lambda 2017-02-13 19:45:28 +01:00
mathieui
5e40b63031 Don't require parameters for the ignored args wrapper 2017-02-13 19:21:16 +01:00
mathieui
1cc741c0c1 Add the python 3.6 version specifier 2017-02-13 19:03:12 +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
66f3cf630c Prepare for next version 2017-01-31 00:22:19 +01:00
mathieui
49b785d5be Poezio 0.11 release 2017-01-31 00:17:32 +01:00
mathieui
806485dbe0 Fix a crash when using XEP-0380
(which nobody uses yet)
2017-01-08 12:58:34 +01: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
louiz’
2243687c44 Add a very basic gitlab-ci.yml file 2016-12-06 10:27:24 +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
efc2ebe2c4 XHTML-IM: Check for the existence of elements manually.
This fixes part of #3186, slixmpp was previously adding a new XHTML-IM
payload whenever we just wanted to check for its presence.  Also makes
the code abort faster in the common case where no XHTML-IM element is
present.
2016-11-26 17:57:51 +00:00
Emmanuel Gil Peyrot
c8b2d2650f List XEP-0380 as supported in the documentation. 2016-11-26 17:39:12 +00: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
louiz’
1f43535f45 Reword the doc for /topic, and add the fact that it prints it with no argument
see #3263
2016-11-21 12:03:09 +01:00
mathieui
474966c5f7 Merge branch 'popup_filters' of https://github.com/LukeMarlin/poezio 2016-11-06 18:54:45 +01:00
Luke Marlin
62a04803f0 Made doc more clear on how to configure information_popup_type_filter 2016-11-06 17:42:25 +01:00
louiz’
e708f81826 Document ctrl-j 2016-11-04 10:42:46 +01:00
Emmanuel Gil Peyrot
e9583bd0b7 Optimise all PNG images with optipng -o8. 2016-11-01 02:40:10 +00:00