Commit graph

486 commits

Author SHA1 Message Date
Paul Nameless
5b3528c371 Add cmd in config to write long msgs 2020-05-19 15:24:49 +08:00
Paul Nameless
f0ddbb2dbb Add fallback to vim if $EDITOR env var is not set 2020-05-19 14:52:58 +08:00
Paul Nameless
c439c77a44 Merge branch 'master' into long-msg 2020-05-19 14:41:33 +08:00
Paul Nameless
14375ea376 Implement sending long msgs 2020-05-19 14:41:24 +08:00
Paul Nameless
f9ce147e11 Implement resize handling 2020-05-19 14:29:51 +08:00
Nameless
9cecba8443
Merge pull request #38 from paul-nameless/fix-ui-refresh-race-condition
fix UI refresh race condition
2020-05-19 14:12:07 +08:00
Alexander Zveruk
8358d291f4 fix race condition in send msg 2020-05-18 10:08:27 +03:00
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