Commit graph

467 commits

Author SHA1 Message Date
lightme16
4e196271ae display urls 2020-10-10 16:38:22 +03:00
lightme16
40d56d4baa Show reply markup 2020-10-10 16:30:21 +03:00
Nameless
3ab0779c61
Merge pull request #182 from paul-nameless/copy-file-shortcut
Add copy to download dir keybinding
2020-09-25 10:32:58 +03:00
Paul Nameless
8e7d4241e5 Add copy to download dir keybinding 2020-09-22 10:13:13 +03:00
Nameless
4a2569b12b
Merge pull request #181 from paul-nameless/add-seen-flag
Add seen flag
2020-09-22 09:50:38 +03:00
Paul Nameless
f315411e56 Add seen flag 2020-09-18 16:14:17 +03:00
Nameless
c38b1186d1
Merge pull request #178 from paul-nameless/mark-as-viewed
Mark msgs as viewed when sent new msg
2020-09-14 08:02:46 +03:00
Paul Nameless
489f2ccbf8 Fix type checking 2020-09-13 19:39:14 +03:00
Paul Nameless
b2b82e8407 View msgs when replied 2020-09-11 12:49:11 +03:00
Paul Nameless
d89abaa2db Mark msgs as viewed when sent new msg 2020-09-11 12:28:19 +03:00
Nameless
f78818554e
Merge pull request #177 from paul-nameless/custom-mailcap
Set custom path to mailcap file
2020-09-09 10:41:36 +03:00
Paul Nameless
5c067ab5c7 Fix type checking 2020-09-09 10:40:41 +03:00
Paul Nameless
78a5a30f65 Set custom path to mailcap file 2020-08-16 17:43:18 +03:00
Paul Nameless
5bf3f62797 Remove old way to count wide characters 2020-07-29 20:14:53 +08:00
Paul Nameless
98edcae1c4 Update readme: remove virtualenv instructions 2020-07-29 11:09:43 +08:00
Paul Nameless
4dc9b8ce25 Update readme: use "pip install ." when installing from sources 2020-07-28 20:46:55 +08:00
Paul Nameless
87e50e1081 Release 0.6.0 2020-07-28 10:07:05 +08:00
Paul Nameless
be1ae815d2 Rename mock->stub 2020-07-28 10:06:37 +08:00
Nameless
859de4a6d3
Fix hang when opened external app and resizing terminal (#167) 2020-07-27 17:50:15 +03:00
Nameless
44935ba908
Merge pull request #165 from paul-nameless/show-chat-info
Show chat info with <c> shortcut in msg panel
2020-07-27 20:06:18 +08:00
Nameless
5cf8ed016f
Merge pull request #166 from paul-nameless/fix-glitch
Fix drawing glitch with chat vertical separator
2020-07-27 20:05:58 +08:00
Paul Nameless
4c3ddbc879 Split big function into smaller 2020-07-27 20:04:09 +08:00
Paul Nameless
85811a50d9 Use break in a loop 2020-07-27 19:51:21 +08:00
jugendhacker
6452604186
Change AUR package to version following releases (#153)
* Change from telegram-tg-git to telegram-tg

* Add hint for developement version (telegram-tg-git)
2020-07-26 15:15:12 +08:00
Paul Nameless
3a6814f3b0 Fix drawing glitch with chat vertical separator 2020-07-26 14:16:31 +08:00
Paul Nameless
bf266c7999 Show chat info with <c> shortcut in msg panel 2020-07-26 14:12:56 +08:00
Nameless
ef09ba6e7b
Show user info (#161)
* Show user info

* Add block argument to get_user_full_info call

* Make consistent tdlib API
2020-07-25 09:36:08 +08:00
Paul Nameless
34a7ea0d4d Remove comma 2020-07-25 09:31:11 +08:00
Paul Nameless
98dbd21beb Make consistent tdlib API 2020-07-24 16:00:38 +08:00
Nameless
f94188a64d
Fix invalid width count when resizing and terminal width is uneven (#164) 2020-07-24 10:12:42 +08:00
Paul Nameless
d674c1d430 Add block argument to get_user_full_info call 2020-07-23 17:52:05 +08:00
Nameless
7a9e31231b
Create directory for logs if missing (#162) 2020-07-23 17:38:06 +08:00
Nameless
bb2d9b889f
Implement messageChatAddMembers, messageChatDeleteMember, messageBasicGroupChatCreate (#160)
* Implement messageChatAddMembers, messageChatDeleteMember, messageBasicGroupChatCreate

* Fix sort imports
2020-07-23 16:48:41 +08:00
Paul Nameless
fb11dafb38 Show user info 2020-07-22 20:39:57 +08:00
Nameless
50b93eb308
Implement creating new group and secret chat ( #150) (#156)
* Create new chat

* Implement creating new group and secret chat, close secret chat when deleted to prevent showing again after restart

* Update readme

* Add doc strings, show error if fzf does not exist

* Fix imports ordering
2020-07-22 19:10:41 +08:00
Nameless
8ea4873780
Add ability to view and send animation (GIFs) (#157)
* Add ability to view and send animation (GIFs)

* Fix black formatting
2020-07-22 16:59:28 +08:00
Nameless
9ee51c589b
Add phone number information (#158) 2020-07-22 16:57:56 +08:00
Alex
120d12cc47
add setup.py (#155)
* add setup.py

* respond to comments
2020-07-22 16:56:00 +08:00
Nicola Stanislao Vitale
58927d73ef
Fix typos (#154) 2020-07-21 19:56:10 +03:00
Paul Nameless
a3626df9ab Release 0.5.0 2020-07-21 21:40:18 +08:00
Nameless
31cd7d3908
Fix get input: returning invalid response (#151)
* Fix get input: returning invalid response

* Remove buff from args
2020-07-21 21:38:21 +08:00
Stefano Pigozzi
ecb8afb4ef
Use the __main__.py special filename for main.py (#118)
* Use the __main__.py special filename for main.py

This allows users to run the program directly with `py -m tg` instead of `py -m tg.main`.

* Updated script in pyproject.toml to reflect the previous rename

* Updated readme.md to reflect the previous rename

* Update readme.md with a better description of how to install the software

* Once installed through flit, the tg command can be used directly

* Fix errors in the readme.md introduced in the previous commit

* Run the folder instead of the script

* Change title
2020-07-21 20:03:52 +08:00
Nameless
0e13cc1cc1
Add ability to delete chat (#145)
* Add ability to delete chat

* Leave chat
2020-07-18 18:49:45 +08:00
Nameless
fbc3e5d07a
Do not draw status panel: it conflicts with another thread (#146)
* Do not draw status panel: it conflicts with another thread

* Remove comment
2020-07-16 19:48:44 +08:00
Nameless
3d682441f2
Fix sending msg: fallback to simple text when failed to parse entities (#147)
* Fix sending msg: fallback to simple text when failed to parse entities

* Fix black formatting
2020-07-16 09:37:35 +03:00
Alex
16b6a5a4d9
Contacts search (#144)
* wip

* improve search displaying

* add next chat support

* navigate chats backwards

* prettify

* add optional param
2020-07-16 14:29:26 +08:00
Nameless
c020ba1ea7
When entered markdown formatted text, parse it to display propely on official clients (#140) 2020-07-15 23:26:42 +03:00
Nameless
4aaf9d9d1f
update readme (#142)
* Add contacts shortcut and link to config file

* Remove logging in utils

* Remove unused imports and create script for checking formatting

* Remove unused import <Iterable> in models

* Fix check.sh script

* Reformat check.sh

* Update isort

* Add check flag for black
2020-07-15 23:26:14 +03:00
Nameless
b37bba8fb7
File picker (#136)
* File picker

* Add docstring to show in help

* Update doc

* Fix update_file: invalid get msg

* Catch ValueError when removing messages

* Ask to whether to upload file as document or compressed

* Clear status after sending file
2020-07-15 18:50:35 +08:00
Nameless
39a1e59f35
Use different storage model for msgs (#134)
* Use different storage model for msgs

* Do not sort if msg id already in right order
2020-07-13 20:51:14 +08:00