Commit graph

292 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
a2ad4af79a Use slixmpp’s new cache module for avatars too. 2018-03-31 00:47:24 +02:00
Emmanuel Gil Peyrot
b03a92e7ea Use the new slixmpp filesystem cache to store caps. 2018-03-31 00:28:09 +02:00
Emmanuel Gil Peyrot
326de0f161 Factorise the /version callback and make it handle errors
Fixes #3376.
2018-03-14 17:18:46 +01:00
Emmanuel Gil Peyrot
ae172f84dd Add a “name” column to /bookmarks. 2018-03-12 08:33:31 +01:00
Emmanuel Gil Peyrot
a468e16140 Add HTTP File Upload support. 2018-03-08 15:04:59 +01:00
mathieui
ac6adbf21b
Update documentation (& formatting)
- nick colors are not random by default
- /close is a useful command
2018-02-20 21:52:55 +01:00
mathieui
87ed4aff12
Fix the nick conflict code
also yapf -rip
2018-02-11 19:53:38 +01:00
mathieui
957ee8084d
Remove the """smart""" command completion 2018-02-11 17:58:00 +01:00
Emmanuel Gil Peyrot
a9e2a0177b Use refresh_input in core.information() to avoid traceback. 2018-01-25 21:37:40 +01:00
Emmanuel Gil Peyrot
25898e9ee7 Check that avatar sha1 is consistent with the hash. 2018-01-25 16:00:33 +01:00
Emmanuel Gil Peyrot
4c2eee6a13 Fix caching newer avatars. 2018-01-25 15:42:51 +01:00
Emmanuel Gil Peyrot
e61d5fd947 Optimise the half-block codepath slightly. 2018-01-25 15:02:40 +01:00
Emmanuel Gil Peyrot
8076c1d094 Fix blinking in ImageWin.
Also display the border according to the theme.
2018-01-25 14:51:18 +01:00
Emmanuel Gil Peyrot
5feb718706 Use full-blocks by default for images.
This prevents bugs in some terminals.
2018-01-25 14:50:35 +01:00
3e3793b701 Use refresh_input in process_presence_buffer to avoid traceback 2018-01-16 11:52:09 +01:00
mathieui
322e10d1bd
yapf -rip 2018-01-16 00:10:35 +01:00
mathieui
323b77c2f4
Current tab input is refreshed on kick/ban even when it does not exist
leading to tracebacks and shenanigans
2018-01-16 00:05:02 +01:00
mathieui
020c7db1ae Fix binary opening 2018-01-14 23:16:25 +01:00
mathieui
12ede4d301
yapf -ir 2018-01-13 15:33:19 +01:00
mathieui
6fe2f20833
Enforce HOME, TERM, and PATH env vars when running
Instead of showing an ugly traceback
2018-01-13 15:31:10 +01:00
mathieui
391eb27964
Open and write logs and config files in utf-8 2018-01-13 15:29:23 +01:00
Emmanuel Gil Peyrot
b981327df5 Fix typos, thanks codespell! 2018-01-10 02:13:35 +01:00
mathieui
15c5d7822a
Fix #3354 (wrong formatting for /code messages)
Acks were asked for and received, but /xhtml was bad
2017-12-27 20:37:52 +01:00
mathieui
fbb0f8d8a6
Fix #3361 (/correct [tab][tab] breaks the line) 2017-12-27 20:28:29 +01:00
mathieui
03a2e21ed7
Do not show a message as bounced if it was acked by a client
Fixes #3365
2017-12-27 20:16:50 +01:00
mathieui
dd33ce58dc
Set bookmark_on_join default value to false
too many pitfalls
2017-12-20 19:04:48 +01:00
mathieui
1a1164b9b1
Do not use the /join interface on nickname conflict
Therefore do not add bookmarks while doing this, it is wrong.
2017-11-28 22:29:37 +01:00
Jonas Wielicki
4edf40c3bb XEP-0392 MUC: re-color users on nickname change 2017-11-28 19:03:12 +01:00
Jonas Wielicki
2ac65137aa XEP-0392 MUC: Base User color solely on nickname 2017-11-26 13:36:00 +01:00
Emmanuel Gil Peyrot
1edabb0c77 Remove bogus checks for resource features. 2017-11-24 03:28:02 +00:00
Emmanuel Gil Peyrot
068aa591e3 config: Switch the default for show_muc_jid from True to False. 2017-11-24 03:07:17 +00:00
Emmanuel Gil Peyrot
e629cb5f94 bookmarks: Set the bookmark name to the localpart. 2017-11-24 03:06:56 +00:00
Emmanuel Gil Peyrot
b355098b4b muctab: Display the bookmark name when available, instead of the localpart. 2017-11-24 03:06:22 +00:00
Emmanuel Gil Peyrot
eae2692647 Update the documentation to reflect the removal of features. 2017-11-23 20:11:14 +00:00
Emmanuel Gil Peyrot
304d1cc1ab Remove all remote_wants_chatstates logic, keep the stubs. 2017-11-23 20:05:31 +00:00
Emmanuel Gil Peyrot
d9129c9ced Remove resource locking in DynamicConversationTab. 2017-11-23 20:00:22 +00:00
Emmanuel Gil Peyrot
3bc33935d2 Include MUCs in /presence autocompletion.
Fixes #3347.
2017-11-23 18:29:06 +00:00
Emmanuel Gil Peyrot
b705aba4e2 Add an autojoined bookmark on /join. 2017-11-23 17:55:54 +00:00
mathieui
5f5cc186dc
Fix the case when we receive an unavailable presence while joining 2017-11-22 21:19:27 +01:00
mathieui
057f7ac9f5
Refactor logger.py to make it more testable
Also fixes:
- release the message log mmap when we are done with it
- Write the right character in log lines
2017-11-21 22:40:43 +01:00
mathieui
156d170d13
Make italics work 2017-11-14 19:23:35 +01:00
Emmanuel Gil Peyrot
bd7b52988c yapf -ir 2017-11-14 12:13:03 +00:00
Georg Lukas
395435c68d self-ping: add 'timeout' option for ping response 2017-11-14 11:55:54 +00:00
Georg Lukas
0ee4bb6129 self-ping: rename option from 'delay' to 'interval' 2017-11-14 11:55:11 +00:00
Emmanuel Gil Peyrot
a278ee2a8c Replace italics with reversed when the curses module is too old to support it. 2017-11-12 16:46:28 +00:00
Jonas Wielicki
a67b1d4eb0 Move definition of CCG_PALETTE to Theme object 2017-11-12 17:33:58 +01:00
Jonas Wielicki
6f1b7eb46e Fix ranges for ncurses to rgb conversion 2017-11-12 17:13:51 +01:00
Jonas Wielicki
7e576941ca Add support for XEP-0392 (Consistent Color Generation) 2017-11-12 15:32:32 +01:00
mathieui
3db74303ea
Remove unused variables 2017-11-12 15:24:29 +01:00
mathieui
0634add327
Fix list alignment in theming.py 2017-11-12 15:12:12 +01:00