Commit graph

2960 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
f1b94534a4 Change all “not … in …” into “… not in …”. 2017-10-08 15:38:06 +01:00
Emmanuel Gil Peyrot
b2b6442672 Add a cache for 0084 avatars. 2017-10-08 15:23:51 +01:00
Emmanuel Gil Peyrot
ae7d2b4f9d Add a cache for vCard avatars. 2017-10-08 15:09:49 +01:00
mathieui
3775e476b6 Fix tests 2017-10-07 22:04:34 +02:00
mathieui
4b51ce97e9 Fix update.sh for debian (?)
hopefully
2017-10-07 20:59:38 +02:00
Emmanuel Gil Peyrot
e8e1e1bbd1 ImageWin: Remove some Python 3.6+ syntax. 2017-10-07 19:05:23 +01:00
Emmanuel Gil Peyrot
62344cb725 Fix vCard avatars, and increase retrieve timeout to one minute. 2017-10-07 18:53:05 +01:00
Emmanuel Gil Peyrot
554ff650bf Display contact avatar in the roster.
Implements XEP-0084 and XEP-0153.
2017-10-07 18:11:33 +01:00
Emmanuel Gil Peyrot
232ef11630 windows: Add an ImageWin.
This adds an optional dependency on PIL.
2017-10-07 18:08:11 +01:00
Emmanuel Gil Peyrot
30b324cec4 windows: Remove useless __init__ overrides. 2017-10-07 16:34:39 +01:00
Emmanuel Gil Peyrot
b219c3dab7 rostertab: Import shell_split globally. 2017-10-07 14:05:11 +01:00
Emmanuel Gil Peyrot
27d2157c74 contact: Remove now-unused alias of presence to show. 2017-10-07 12:30:24 +01:00
Emmanuel Gil Peyrot
8eb7f73bef user: Fix typo. 2017-10-07 12:30:02 +01:00
Emmanuel Gil Peyrot
4691f840c3 xhtml: Mark private functions with a leading underscore. 2017-10-07 12:29:41 +01:00
Emmanuel Gil Peyrot
82eb89c2e1 xhtml: Split parse_css_color out of parse_css. 2017-10-07 12:29:06 +01:00
mathieui
d19fef5e70 asyncio.async() is deprecated since python 3.5 2017-10-07 01:00:35 +02:00
mathieui
a8680cc86b Fix #3334 (error when a service includes only the actor nick in a ban) 2017-10-07 00:56:48 +02:00
mathieui
f3a08138ce Fix #3273 (be honest about the rainbow plugin) 2017-10-07 00:34:59 +02:00
mathieui
d603126f9b Fix #3332 (showing a join for a type="unavailable" presence)
When a user isn't in a room, but due to a component bug we receive a
unavailable presence, we were showing a join.
2017-10-07 00:10:38 +02:00
mathieui
87e2c3dad9 Update the documentation for update.sh 2017-10-06 23:51:54 +02:00
mathieui
0b82033842 Use python -m venv and not pyvenv in update.sh 2017-10-06 23:45:35 +02:00
mathieui
9f1c0c3d54 Rename parse_message_line to parse_log_line 2017-09-28 00:59:45 +02:00
mathieui
377b58f1e8 Fix the poezio_logs script 2017-09-28 00:58:28 +02:00
mathieui
d886c4d3dc Add line start/end markers on the regex 2017-09-28 00:57:54 +02:00
mathieui
444af2be6f Add a simple test case 2017-09-28 00:57:17 +02:00
mathieui
9f7041f65e Use match groups instead of re.split because we don't want that 2017-09-28 00:32:10 +02:00
c88459c507 Add a no-op command 2017-09-11 17:41:31 +02:00
Jonas Wielicki
ae45666ff9 irssi theme: disable yellow and bright nick colours
This helps with distinguishing highlights and normal messages.
2017-08-31 00:47:19 +02:00
Jonas Wielicki
c6318db8c1 start work on an irssi-like theme 2017-08-31 00:47:04 +02:00
mathieui
0f10803c4d Remove reconnect_max_attemps (unused) 2017-08-27 16:20:01 +02:00
Georg Lukas
c57bbe256e Fix Logging - revert NARROW NO-BREAK SPACE (U+202F) to NO-BREAK SPACE (U+A0) 2017-08-13 14:35:16 +02:00
louiz’
ef22b509df Fix reception of private messages (variable used but not defined) 2017-08-07 19:21:15 +02:00
Emmanuel Gil Peyrot
51b908348e Simplify double negation. 2017-07-21 16:29:07 +01:00
mathieui
93129fb064 Fix message correction 2017-07-21 15:27:22 +02:00
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