Commit graph

182 commits

Author SHA1 Message Date
Paul Nameless
a215b0bc65 Add forward msg functionality and multiple msgs selection 2020-05-21 21:55:57 +08:00
Paul Nameless
3413d8fed8 Add type hints 2020-05-21 20:59:30 +08:00
Paul Nameless
cf80ce41af Rewrite keybinding handlers: use dict to keep mapping of key->handler 2020-05-21 20:23:09 +08:00
Paul Nameless
b668d13eef Move update handlers to separate module 2020-05-21 19:05:53 +08:00
Paul Nameless
d6f50c5483 Move extended implementation of telegram api to tdlib.py 2020-05-21 19:01:12 +08:00
Nameless
4c83254908
Merge pull request #50 from paul-nameless/fix
Fix after merge invalid self.current_msg usage
2020-05-21 15:30:41 +08:00
Paul Nameless
cd3cb13dca Fix after merge invalid self.current_msg usage 2020-05-21 15:28:39 +08:00
Nameless
0c00820806
Merge pull request #49 from paul-nameless/rename-modules
Rename modules
2020-05-21 15:23:58 +08:00
Paul Nameless
c931e83275 Merge branch 'master' into rename-modules 2020-05-21 15:22:50 +08:00
Nameless
c7e17bb753
Merge pull request #48 from paul-nameless/add-esc-handler
Add esc handler when writing msg
2020-05-21 15:22:20 +08:00
Paul Nameless
e1f75e00b2 Rename modules 2020-05-21 15:19:27 +08:00
Paul Nameless
bfb24d38da Add esc handler when writing msg 2020-05-21 15:16:16 +08:00
Nameless
8c48c26025
Merge pull request #47 from paul-nameless/flags
Show message flags
2020-05-21 15:14:51 +08:00
Paul Nameless
b331013ccc Update chages according to master 2020-05-21 15:13:50 +08:00
Paul Nameless
aea2e0e1c9 Merge branch 'master' into flags 2020-05-21 15:09:52 +08:00
Paul Nameless
5ea169ed2a Fix space between flag and msg 2020-05-21 14:53:56 +08:00
Paul Nameless
b70be64998 Do not mark messages as read when open chat 2020-05-21 14:34:15 +08:00
Nameless
84b2b14680
Merge pull request #45 from paul-nameless/edit-msg
Edit messages
2020-05-21 14:21:07 +08:00
Paul Nameless
7f6d910544 Mark as seen msgs when opening chat 2020-05-21 14:16:57 +08:00
Alexander Zveruk
2927190c76 attemp to fix editing 2020-05-21 09:15:53 +03:00
Paul Nameless
c4d4574d17 Fix black formatting 2020-05-21 14:12:47 +08:00
Paul Nameless
9ba483271d Show message flags
Next flags supported:
edited, new, unseen, failed, pending
2020-05-21 14:10:12 +08:00
Alexander Zveruk
eb87e602ce add more status bar updates & check "can_be_edited" 2020-05-21 08:40:17 +03:00
Alex
36d5d8a1e3
Merge branch 'master' into edit-msg 2020-05-21 08:28:51 +03:00
Nameless
4641931ed9
Add support for openMessageContent and updateMessageContentOpened (#43)
* Add support for openMessageContent and updateMessageContentOpened

Co-authored-by: Alexander Zveruk <sanyazveruk@gmail.com>
2020-05-21 08:27:50 +03:00
Alexander Zveruk
b23268b0ed fix styling 2020-05-21 08:00:33 +03:00
Nameless
c08db7c270
Merge pull request #46 from paul-nameless/write-important-logs-in-status-bar
Write imporant logs in status bar
2020-05-21 11:18:57 +08:00
Nameless
38d7758822
Merge pull request #42 from paul-nameless/msg-replies
Showing replies in msg view
2020-05-21 10:54:42 +08:00
Alexander Zveruk
c16b9d971a write imporant logs in status bar 2020-05-20 23:53:53 +03:00
Alexander Zveruk
8feda11051 wip 2020-05-20 23:33:19 +03:00
Alexander Zveruk
2f68cfe556 prettify code 2020-05-20 22:09:37 +03:00
Alexander Zveruk
ea5d77c0b6 fix msg lines counting 2020-05-20 21:53:16 +03:00
Alexander Zveruk
5476d3be30 Merge branch 'master' into msg-replies 2020-05-20 19:06:47 +03:00
Nameless
afcc945416
Merge pull request #44 from paul-nameless/add-mypy
Add mypy to CI
2020-05-20 18:18:32 +08:00
Alexander Zveruk
2523415456 fix elemets space padding 2020-05-20 12:48:27 +03:00
Alexander Zveruk
8c7615f62f fix type annotation 2020-05-20 09:25:57 +03:00
Alexander Zveruk
0037e361cf add some mypy flags 2020-05-20 09:19:51 +03:00
Alexander Zveruk
f991fd8f84 use python 3.8 for CI 2020-05-20 09:07:58 +03:00
Alexander Zveruk
83ef16ad73 add ci mypy config 2020-05-20 00:18:51 +03:00
Alexander Zveruk
0f59652b1b fix all mypy problems 2020-05-20 00:03:39 +03:00
Alexander Zveruk
1441cd2197 Merge branch 'master' into msg-replies 2020-05-19 23:36:50 +03:00
Alexander Zveruk
96d23510cd fix bug with message update wrong type in model 2020-05-19 23:29:50 +03:00
Nameless
f804c325d0
Merge pull request #40 from paul-nameless/long-msg
Implement sending long msgs
2020-05-19 18:45:16 +08:00
Nameless
a166459db7
Merge branch 'master' into long-msg 2020-05-19 18:44:32 +08:00
Nameless
2f7d1ee32e
Merge pull request #41 from paul-nameless/resize
Implement resize handling
2020-05-19 18:43:46 +08:00
Alexander Zveruk
70bb3bce8a Showing replies in msg view 2020-05-19 10:35:43 +03:00
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