Commit graph

3266 commits

Author SHA1 Message Date
Kim Alvefur
9ba50cb7ed Include the JID blocked instead of "Contact"
It's useful to see what JID you blocked.
Any JID can be blocked, so "Contact" isn't always accurate.
2017-10-23 18:53:44 +01:00
Emmanuel Gil Peyrot
af73b413eb Check whether curses.A_ITALIC exists, fixes a traceback on <em/> on Python < 3.7. 2017-10-18 15:26:06 +01:00
mathieui
9844f288de
Always refresh the MUC when setting or unsetting a user color
Fixes #3213
2017-10-15 14:09:40 +02:00
mathieui
db69afc171
Fix #3316 (normal private messages in MUC do not open a private tab) 2017-10-14 22:07:17 +02:00
mathieui
c8e04d929c
Fix xhtml tests, and add tests with css disabled 2017-10-14 21:57:12 +02:00
mathieui
74ba7a85e6
Fix a traceback when creating a conversation tab 2017-10-14 21:42:44 +02:00
Emmanuel Gil Peyrot
16bdfdfe81 Add support for italic on ^Ci.
Fixes #2722.
2017-10-14 18:43:26 +01:00
Emmanuel Gil Peyrot
256119a574 Add an option to disable CSS parsing.
Fixes #3340.
2017-10-14 18:26:58 +01:00
mathieui
8af1a39d7e Add a refresh wrapper on the methods for scrolling the userlist 2017-10-14 16:45:31 +02:00
mathieui
fc6f2f2bf7 Use _ for unused arguments in tuple assignment 2017-10-14 16:38:07 +02:00
mathieui
1c43683275 Fix a bad indentation 2017-10-14 16:34:50 +02:00
mathieui
514434f446 Make remaining log.error/debug lazy 2017-10-14 16:33:24 +02:00
mathieui
9d261c902f Remove use of deprecated base64.encodestring method 2017-10-14 16:30:54 +02:00
mathieui
e7d8d2aaf5 Do not call poezio commands when we can call methods 2017-10-14 16:13:53 +02:00
mathieui
426dd35b94 Split the muctab recolor code 2017-10-14 16:13:42 +02:00
mathieui
7a0fcf855e Split command_topic in muctab 2017-10-14 16:01:53 +02:00
mathieui
67b850096e Split command_info in muctab 2017-10-14 15:55:53 +02:00
mathieui
a2440a8b21 Fix error presence handling 2017-10-14 15:45:36 +02:00
mathieui
9eb4b29d24 Refactor nick and affiliation changes
(and fix some small bugs that went unnoticed for years)
2017-10-14 15:45:36 +02:00
mathieui
6012bca6d0 Reformat muctab 2017-10-14 13:30:48 +02:00
mathieui
c2e0bcf735 Remove unused is_muc property 2017-10-14 13:09:35 +02:00
mathieui
225f300ef3 Remove some unused imports 2017-10-14 13:00:42 +02:00
mathieui
3b5e396469 Split command declaration from init in muctab
Make it slightly more declarative and readable (and longer), and put
it at the end of the file.
2017-10-14 12:54:49 +02:00
mathieui
cee802b6ef Fix the last pylint error (do not set the roster contact filter to None) 2017-10-13 23:15:03 +02:00
mathieui
858e333279 Clean the presence buffer whenever we leave the room 2017-10-13 19:04:19 +02:00
mathieui
bacbd835eb Fix more pylint errors 2017-10-13 01:18:22 +02:00
mathieui
69f29969ad Improve some bare or redundant excepts 2017-10-13 00:47:21 +02:00
mathieui
bbfb834827 Stop /win at the first tab found 2017-10-13 00:39:13 +02:00
6626208983 Change tab search behavior to select first matching tab, and cycle back the list. 2017-10-13 00:07:06 +02:00
mathieui
3317604c65 Fix some excepts (bare, useless, unused) 2017-10-12 01:23:40 +02:00
mathieui
b29b70da0f Set a default (noop) callback for Input.on_input instead of None 2017-10-12 01:09:45 +02:00
mathieui
0a4d66a657 Improve the poopt test 2017-10-12 00:17:09 +02:00
mathieui
39319d4937 Actually fix what the previous commit should have fixed 2017-10-12 00:07:01 +02:00
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