Commit graph

346 commits

Author SHA1 Message Date
Paul Nameless
3148535ddf Fix utf-8 characters handling in messages which caused invalid drawing 2020-05-09 20:23:15 +08:00
Paul Nameless
7af32e6635 Fix black formatting 2020-05-09 20:19:27 +08:00
Paul Nameless
77c3680032 Autodownload files 2020-05-09 20:17:11 +08:00
Nameless
c247b119c6
Merge pull request #25 from paul-nameless/update-readme
Update documentation with instructions about how to run tg
2020-05-09 18:48:50 +08:00
Nameless
7f1349d57e
Merge pull request #24 from paul-nameless/suspend-refresh
Fix curses draws over terminal when suspended
2020-05-09 18:48:36 +08:00
Nameless
50c84bb087
Merge pull request #26 from paul-nameless/humanize
Humanize size and duration fields
2020-05-09 18:48:22 +08:00
Paul Nameless
3d26774f7d Humanize size and duration fields 2020-05-09 15:36:08 +08:00
Paul Nameless
aa07c9982c Update documentation with instructions about how to run tg 2020-05-09 14:34:02 +08:00
Paul Nameless
441cb0ec24 Fix curses draws over terminal when suspended 2020-05-08 22:07:07 +08:00
Nameless
57da72e141
Merge pull request #23 from paul-nameless/files
Add ability to download and open files
2020-05-07 17:35:44 +08:00
Paul Nameless
c6e7c21565 Change config option: login->phone 2020-05-07 17:17:42 +08:00
Paul Nameless
bceaafb2cd Fix invalid function call and download biggest available photo 2020-05-07 10:18:12 +08:00
Paul Nameless
5dbd7a843b Fix downloading voice msg and remove unnecessary sort operation 2020-05-07 10:14:34 +08:00
Paul Nameless
b20fc378de Add config file
Add mailcap support to open files
Fix setting invalid current_msg when new comes
2020-05-06 21:20:45 +08:00
Paul Nameless
c7d535fdd7 Remove color_pairs initializer 2020-05-06 19:22:02 +08:00
Paul Nameless
a24e34c9b5 Enhance drawing function
Fix the bug when last msg updated in chat,
current_chat points to another chat
2020-05-06 18:59:29 +08:00
Paul Nameless
64f5092fed Keep current downloading files in separate dict 2020-05-06 16:19:47 +08:00
Paul Nameless
1ae791b2e4 Add download and open files support 2020-05-06 15:33:12 +08:00
Nameless
eabdcd7407
Merge pull request #22 from paul-nameless/add-type-annotations
Add type annotations
2020-05-06 11:12:09 +08:00
Alexander Zveruk
970be70363 extra fixes 2020-05-06 00:31:03 +03:00
Alexander Zveruk
d94f6c89d8 Add type annotations 2020-05-06 00:07:10 +03:00
Nameless
7948fe1d97
Merge pull request #20 from paul-nameless/fix-get-current-chat
Fix getting current chat when they are resorted
2020-05-05 20:28:03 +08:00
Alexander Zveruk
10de932ab3 remove unsed code 2020-05-05 10:40:40 +03:00
Alexander Zveruk
0e0d56550c Merge branch 'master' into fix-get-current-chat 2020-05-05 10:36:44 +03:00
Alex
83cbd18dc4
Merge pull request #21 from paul-nameless/update-bindings
Update keybindings and remove some useless code
2020-05-05 10:32:20 +03:00
Paul Nameless
20140b5a61 Merge branch 'fix-get-current-chat' of https://github.com/paul-nameless/tg into fix-get-current-chat 2020-05-05 14:53:34 +08:00
Paul Nameless
3d7bc17e62 Fix black formating 2020-05-05 14:52:59 +08:00
Paul Nameless
71a05cfc6e Sort chats once, when updateChatLastMessage received 2020-05-05 14:52:50 +08:00
Paul Nameless
27b538ee2b Fix getting current chat when they are resorted 2020-05-05 14:52:50 +08:00
Paul Nameless
8b3c7ab22d Sort chats once, when updateChatLastMessage received 2020-05-05 14:47:42 +08:00
Alex
56fa268f63
Merge pull request #19 from paul-nameless/fix-colors
Fix colors
2020-05-05 09:41:32 +03:00
Paul Nameless
0ce4dc76d6 Fix adding wrong colors module 2020-05-05 14:32:04 +08:00
Paul Nameless
94c4179245 Add colors module to patch 2020-05-05 14:30:28 +08:00
Nameless
d5d19c356d
Merge pull request #18 from paul-nameless/fix-msg-loading-issues
Fix chat msgs loading issues
2020-05-05 13:49:30 +08:00
Paul Nameless
c70933c4b1 Add enter to act as "l" and "a" to send msg 2020-05-05 13:17:56 +08:00
Paul Nameless
6b8630ee87 Update keybindings and remove some useless code 2020-05-05 13:12:42 +08:00
Paul Nameless
180c147774 Fix getting current chat when they are resorted 2020-05-05 13:03:37 +08:00
Paul Nameless
a4d02b2b89 Merge branch 'fix-colors' of https://github.com/paul-nameless/tg into fix-colors 2020-05-05 12:48:50 +08:00
Paul Nameless
ab5412c23b Fix colors 2020-05-05 12:48:17 +08:00
Paul Nameless
6f171f5b9a Fix colors 2020-05-05 12:44:47 +08:00
Alexander Zveruk
b091b2d757 Fix chat msgs loading issues 2020-05-05 00:20:18 +03:00
Paul Nameless
e819a90cb9 Black formatting update 2020-05-04 15:24:40 +08:00
Paul Nameless
bc330c9a14 Update github actions yml file 2020-05-04 15:21:44 +08:00
Nameless
a8fd535dd0
Add black formatting check in github actions 2020-05-04 15:10:09 +08:00
Nameless
f6335b47fd
Merge pull request #16 from paul-nameless/black
Format with black
2020-05-04 15:04:21 +08:00
Paul Nameless
92bb00282c Format with black 2020-05-04 15:01:24 +08:00
Alex
2d1c03fda0
Merge pull request #15 from paul-nameless/fix-sort-chats
Sort chats when new message comes
2020-05-04 09:58:17 +03:00
Paul Nameless
da05614b08 Sort chats when new message comes 2020-05-04 14:50:50 +08:00
Nameless
3ee7a60948
Merge pull request #13 from paul-nameless/chat-title-dynamic-update
Chat title dynamic update
2020-05-04 14:30:29 +08:00
Nameless
7ccd252afe
Merge pull request #9 from paul-nameless/msg-delete-support
Support msg deleting from chats
2020-05-04 14:30:06 +08:00