Commit graph

2983 commits

Author SHA1 Message Date
mathieui
621b966528 Fix a pylint complaint 2017-10-12 00:01:41 +02:00
mathieui
dd8037faa5 Rename the self-command function to self_ and keep language semantics
Sorry Link Mauve
2017-10-11 23:47:57 +02:00
mathieui
2b0062a279 Handle PresenceError correctly 2017-10-11 23:47:10 +02:00
mathieui
38a0e614d4 Narrow the scope of a try/except 2017-10-11 23:41:32 +02:00
mathieui
9a7c2c2136 Fix #3338 (cycle tabs with /w foo instead of picking the first) 2017-10-11 23:34:32 +02:00
mathieui
88903095c7 Fix #3339 (pure python poopt fails on multiline messages) 2017-10-11 23:07:17 +02:00
mathieui
ee5e807fc2 Add a poopt.cut_text multiline unit test 2017-10-11 23:06:57 +02:00
mathieui
bde9b31184 Set enable_avatars to false until the colors issue is fixed 2017-10-11 00:14:45 +02:00
mathieui
f61d46b061 Avoid an exception when we receive a presence from unknown nicks
add a log because it should not happen
2017-10-10 23:29:17 +02:00
mathieui
fb68132e8a Add documentation on enable_avatar 2017-10-10 13:07:17 +02:00
mathieui
ef84a109e8 Fix #3190 (TOFU the SPKI hash and not the whole cert)
Makes letsencrypt renewals more pleasant.
Thanks jonasw and aioxmpp for the ASN.1 wizardry
2017-10-10 00:52:44 +02:00
mathieui
dcdc970acd Micro-optimize MUC presence handling
Keep all presence before status code=110 in a buffer, then batch-process
them when receiving our initial join.
2017-10-10 00:22:09 +02:00
Emmanuel Gil Peyrot
68e3cdcd49 Fix resize in some unknown condition, thanks eijebong. 2017-10-09 17:09:15 +01:00
Georg Lukas
88ae8a68a2 Properly use ellipsis in #3293 2017-10-09 08:06:45 +01:00
mathieui
3b5ea1a961 Fix #3322 (send a beep when we get disconnected) 2017-10-09 01:06:53 +02:00
mathieui
156cfb5546 Fix #3056 (send inactive chatstate when leaving a tab) 2017-10-08 21:30:11 +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
46487bed32 rostertab: Increase the size of the contact_info and avatar. 2017-10-08 19:40:25 +01:00
mathieui
f59fcc12ef Fix #3257 (print cert hashes after validating the dialog) 2017-10-08 20:33:54 +02:00
mathieui
ff0095b44f Fix #3336 (be clearer on "unbound" meaning) 2017-10-08 20:05:53 +02:00
mathieui
d70988b151 Fix #3293 (provide detailed presence in status line)
Less eye travel for short statuses.
(patch from Ge0rG)
2017-10-08 19:57:07 +02:00
mathieui
83ced76bb1 Fix #3281 (alias /subject to /topic) 2017-10-08 19:53:39 +02:00
Emmanuel Gil Peyrot
c2fad0d7dc Don’t put the vCard/0084 tracebacks in the error log. 2017-10-08 16:09:00 +01:00
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