Commit graph

242 commits

Author SHA1 Message Date
Paul Nameless
981f0c7e65 Fix key handlers 2020-05-22 13:43:56 +08:00
Paul Nameless
2e22cb9728 Reorder some functions in controller to keep them logically together 2020-05-22 13:36:53 +08:00
Paul Nameless
97730646d3 Fix wrong type name 2020-05-22 13:34:01 +08:00
Paul Nameless
f331affb58 Rewrite config file 2020-05-22 11:59:39 +08:00
Paul Nameless
797c9a82e0 Update forward property 2020-05-22 10:50:50 +08:00
Paul Nameless
ceb6c28c6e Merge branch 'refactor' into forward 2020-05-22 10:50:21 +08:00
Paul Nameless
d39d7eeac5 Remove repeat factor arguments that are not used in handlers 2020-05-22 10:43:41 +08:00
Paul Nameless
7889b0f3c3 Use space as separator for flags 2020-05-22 10:38:54 +08:00
Paul Nameless
b466724d05 Fix type hints 2020-05-21 21:59:31 +08:00
Paul Nameless
4baca243ef Fix black formatting 2020-05-21 21:56:29 +08:00
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