Commit graph

129 commits

Author SHA1 Message Date
Nameless
9bba7544dd
Merge pull request #37 from paul-nameless/quick-fix-notification
quick fix notification settings
2020-05-16 19:36:08 +08:00
Alexander Zveruk
f17a42bad2 Merge branch 'master' into quick-fix-notification 2020-05-16 12:35:18 +03:00
Nameless
f23596a0d1
Add u: read/unread, r: read all chat msgs, p: pin/unpin, m: mute/unmute (#36)
* Add u: read/unread, r: read all chat msgs, p: pin/unpin, m: mute/unmute

Co-authored-by: Paul Nameless <reacsdas@gmail.com>
Co-authored-by: Alexander Zveruk <sanyazveruk@gmail.com>
2020-05-16 12:33:42 +03:00
Nameless
20c8b03d65
Fix colors, details in view (#34)
* Fix colors, details in view
* Fix last_msg failed to draw

Co-authored-by: Paul Nameless <reacsdas@gmail.com>
2020-05-16 12:31:29 +03:00
Alexander Zveruk
b13588901a quick fix notification settings 2020-05-16 12:13:03 +03:00
Nameless
35ee2b58f5
Merge pull request #35 from paul-nameless/chats-scrolling
Chats scrolling
2020-05-16 11:27:17 +08:00
Nameless
e44149cae8
Merge pull request #33 from paul-nameless/proccess-some-updates
Proccess msg & chat updates
2020-05-16 11:23:00 +08:00
Nameless
51f2b0e238
Merge pull request #32 from paul-nameless/chats-scrolling
Chats scrolling
2020-05-16 10:21:59 +08:00
Nameless
fed1998db1
Merge branch 'master' into chats-scrolling 2020-05-16 10:21:50 +08:00
Nameless
f7b25d2a67
Merge pull request #30 from paul-nameless/load-older-msg-in-the-chat
Add msg scrolling
2020-05-16 10:20:02 +08:00
Alexander Zveruk
f8e53ac6c1 processing updateMessageContent 2020-05-16 00:54:55 +03:00
Alexander Zveruk
4a719af003 updateChatIsMarkedAsUnread 2020-05-16 00:32:01 +03:00
Alexander Zveruk
c3f09546d6 process updateChatReadInbox 2020-05-16 00:22:59 +03:00
Alexander Zveruk
2fe6a83190 process updateChatTitle 2020-05-16 00:16:38 +03:00
Alexander Zveruk
81bf42718a processing updateChatDraftMessage 2020-05-15 23:55:18 +03:00
Alexander Zveruk
77a8102000 showing pinned messages on the UI 2020-05-15 23:45:39 +03:00
Alexander Zveruk
a4b9adb9b9 processing updateChatOrder & updateChatIsPinned 2020-05-15 23:38:09 +03:00
Alexander Zveruk
cd0cca368c fixing bug 2020-05-15 22:31:06 +03:00
Alexander Zveruk
939ea46e09 remove extra logging 2020-05-15 10:39:48 +03:00
Alexander Zveruk
c7031d0533 poc 2020-05-15 10:34:38 +03:00
Alexander Zveruk
b9532280c4 add chat scrolling 2020-05-15 00:13:03 +03:00
Alexander Zveruk
3965285c29 add some type annotations 2020-05-14 10:18:41 +03:00
Alexander Zveruk
f61500df33 add dynamic scrolling 2020-05-14 10:02:43 +03:00
Alexander Zveruk
7eaf10711a add msg scrolling 2020-05-13 01:49:55 +03:00
Nameless
d92cd24c8e
Merge pull request #29 from paul-nameless/mute
Do not notify new msgs if chat is muted
2020-05-12 19:29:21 +08:00
Paul Nameless
6982b5aaff Remove useless enumerate 2020-05-12 19:28:41 +08:00
Paul Nameless
73d8067f53 Do not notify new msgs if chat is muted
Mark muted chats
Fix bug with msgs longer than status's width
Add vertical line separtor between chats and msgs
Update chat view
2020-05-12 19:01:29 +08:00
Nameless
f36eef5b39
Merge pull request #28 from paul-nameless/send-files
send files
2020-05-12 10:29:42 +08:00
Paul Nameless
e2d0e98066 Add record_cmd to README 2020-05-12 10:27:04 +08:00
Paul Nameless
4fe6c2c222 Sort imports 2020-05-11 10:37:09 +08:00
Paul Nameless
d688f3b066 Fix black formatting 2020-05-11 10:35:01 +08:00
Paul Nameless
7a3a0b9106 Add base functionality to send files
Record and send voice msgs
Handle keyboard interrupt to prevent exiting app
when recording voice msg
Refresh msgs only if update came to current chat
2020-05-11 10:29:30 +08:00
Nameless
9e47784e6c
Merge pull request #27 from paul-nameless/audo-download
Autodownload files
2020-05-10 18:17:22 +08:00
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