Commit graph

444 commits

Author SHA1 Message Date
Nameless
4460c5f94b
View animated stickers thumbnail (#106)
* Draft: adding lock to message update and using indexes for msgs

* Fix black formatting

* Rename msg_ids->msg_idx to better represent what variable contains

* Fix black formatting

* Check if msg_id in not_found

* Use lock in udpate_handler

* Add shortcut to jump to replied msg

* Open preview for animated sticker and show it's emoji

* Remove lock

* Show if sticker is animated
2020-07-03 10:27:47 +08:00
Nameless
2a0c726792
jump to reply (#105)
* Draft: adding lock to message update and using indexes for msgs

* Fix black formatting

* Rename msg_ids->msg_idx to better represent what variable contains

* Fix black formatting

* Check if msg_id in not_found

* Use lock in udpate_handler

* Add shortcut to jump to replied msg

* Show correct error msg when trying to jump to reply msg which does not replies

* Remove lock
2020-07-03 10:17:30 +08:00
Nameless
eabe39d3c4
Add indexes for msgs (#91)
* Draft: adding lock to message update and using indexes for msgs

* Fix black formatting

* Rename msg_ids->msg_idx to better represent what variable contains

* Fix black formatting

* Check if msg_id in not_found

* Use lock in udpate_handler

* Remove lock
2020-07-03 10:05:12 +08:00
Nameless
723bd5cfeb
Cleanup cache: delete files older than days specified in config (#103)
* Cleanup cache: delete files older than days specified in config

* Use subprocess.Popen instead of os.system (does not wait for completion)

* Do not print infor about cleanup to stdout
2020-07-02 21:00:35 +03:00
Paul Nameless
07c6ea9b7f Release 0.2.0 2020-07-02 09:17:29 +08:00
Nameless
9604c302bc
Merge pull request #102 from paul-nameless/fix-decorator
Fix bug in update handler decorator
2020-07-01 20:13:55 +08:00
Paul Nameless
7fca99e377 Use discard on set instead of catching exception 2020-07-01 20:12:45 +08:00
Paul Nameless
718bf5a7a7 Fix bug in update handler decorator 2020-07-01 20:01:53 +08:00
Nameless
4e68561a95
Merge pull request #101 from paul-nameless/92
Draw users with different colors
2020-07-01 20:01:01 +08:00
Paul Nameless
7f1bdab07e Remove added accidentally line 2020-07-01 19:40:14 +08:00
Paul Nameless
10b2778309 Use 16 colors by default to color users 2020-07-01 19:36:15 +08:00
Paul Nameless
ebb251cb4d Specifiy range of colors to use for color users and make draw colors in chat pane 2020-07-01 14:43:38 +08:00
Paul Nameless
e0e4a4f46d Update readme and configure color range to use 2020-07-01 11:33:11 +08:00
Paul Nameless
ac972ef6c3 Do not use too bright color 2020-07-01 10:36:34 +08:00
Paul Nameless
06db6981b5 Draw users with different colors 2020-07-01 10:31:51 +08:00
Nameless
3ceb816961
remove msgs (#98)
* Delete msgs in batch
2020-06-30 17:50:38 +03:00
Nameless
d560eee3b7
Check msg not-found cache (#99)
* Check msg not-found cache

* Fix syntax error
2020-06-30 17:48:40 +03:00
Nameless
7ec5742a17
Display caption (when doc sent with text) (#97) 2020-06-30 17:47:58 +03:00
Nameless
9c155811f5
Merge pull request #95 from paul-nameless/change-ffmpeg-cmd-linux
Change default ffmpeg cmd for Linux
2020-06-30 15:10:08 +08:00
Nameless
60278f98ef
Merge pull request #94 from paul-nameless/more-mypy-checks
More strict mypy checks
2020-06-30 15:09:43 +08:00
Paul Nameless
4cea85c026 Update type hints after merging master 2020-06-30 15:08:44 +08:00
Paul Nameless
8c2316b74a Merge branch 'master' into more-mypy-checks 2020-06-30 15:04:24 +08:00
Nameless
1034d4b952
Merge pull request #93 from paul-nameless/status-panel
Introduce top status panel
2020-06-30 15:00:12 +08:00
Paul Nameless
268920f92a Fix black formatting 2020-06-30 14:51:18 +08:00
Paul Nameless
dd2433a7c7 Fix type hints 2020-06-30 14:46:34 +08:00
Paul Nameless
1d21329b7b Add type hint for return value 2020-06-30 14:43:35 +08:00
Paul Nameless
46cd48f556 Add type hints and remove redundant logs 2020-06-30 14:42:25 +08:00
Alexander Zveruk
22e7ba18a6 Change default ffmpeg cmd for Linux 2020-06-30 01:03:58 +03:00
Alexander Zveruk
4a3ebe5b5d do not use else in insert_replied_msg 2020-06-28 11:13:16 +03:00
Paul Nameless
ba38cd207c Use enum instead of dict and refactor code 2020-06-28 10:24:22 +08:00
Alexander Zveruk
19dc0f4c9a fix isort 2020-06-28 00:26:47 +03:00
Alexander Zveruk
b4d373aee5 fix gly type signature 2020-06-28 00:14:50 +03:00
Alexander Zveruk
346c73d0c2 update gitignore 2020-06-28 00:10:20 +03:00
Alexander Zveruk
f451473b39 make it prettier 2020-06-28 00:07:28 +03:00
Alexander Zveruk
55833054a9 add more strict types checks 2020-06-27 23:53:26 +03:00
Paul Nameless
9d27f6c3d9 Draft: introduce top status panel 2020-06-27 22:39:44 +08:00
Paul Nameless
f24e71f5c0 Release 0.1.3 2020-06-27 12:51:17 +08:00
Nameless
47f6b915c9
Merge pull request #90 from paul-nameless/show-unseen
Show unseen flag in chat pane
2020-06-26 10:31:58 +08:00
Paul Nameless
2f53e6edae Add type hints for remove_message function 2020-06-26 10:30:51 +08:00
Paul Nameless
801df444f1 Show unseen flag in chat pane 2020-06-24 21:18:36 +08:00
Nameless
4c449da54a
Merge pull request #89 from paul-nameless/fix-reply-id
Fix bug when there msg which was replied to does not exist anymore
2020-06-24 15:02:24 +08:00
Nameless
769185b3ac
Merge pull request #88 from paul-nameless/aur-to-readme
Add AUR package info to README
2020-06-24 15:02:04 +08:00
Alex
11b20c4ce8
Update README 2020-06-24 09:17:00 +03:00
Paul Nameless
617a3485d1 Fix bug when there msg which was replied to does not exist anymore 2020-06-24 09:51:27 +08:00
Alexander Zveruk
598dfbd46d Add AUR package info to README 2020-06-24 01:17:04 +03:00
Nameless
73bb8b2de6
Merge pull request #85 from Crax97/country_code
Requesting country code when the user forgets it
2020-06-22 21:50:16 +08:00
Giovanni Solimeno (Crax)
3d82ef6cb6 Formatted according to black 2020-06-22 15:37:19 +02:00
Giovanni Solimeno (Crax)
ef6945d010 Requesting country code in phone + appending '+' if it's missing 2020-06-22 15:33:56 +02:00
Giovanni Solimeno (Crax)
950da8fa54 Requesting country code when the user forgets it 2020-06-21 13:37:41 +02:00
Paul Nameless
e7b53eee3b Add license 2020-06-21 11:48:17 +08:00