Commit graph

3007 commits

Author SHA1 Message Date
John Preston
e6b92eaf37 Add a power saving option to stop user statuses. 2023-03-10 10:44:57 +04:00
John Preston
3a0b912274 Fix bot about text selection. 2023-03-08 16:59:02 +04:00
John Preston
ff4af1b9bc Fix pasting images from Firefox on Windows.
Fixes #10564.

Together with the image data Firefox sets to the clipboard an URLs list
which has a path to local temp file, created from that image.

Reading images from disk is slower + sometimes the content of the file
is wrong so for this case we prefer to read the image data directly.
2023-03-08 16:10:36 +04:00
John Preston
221b0d19c7 Support media covers for bot descriptions.
For that replace custom handling of _botAbout by a fake message.
2023-03-08 16:10:36 +04:00
23rd
59c66d1f49 Fixed showing of multiline toast from comments button. 2023-03-07 08:42:29 +03:00
23rd
728ec0974a Slightly improved style of menu for sponsored messages. 2023-03-07 08:42:29 +03:00
23rd
ec6dda47ae Fixed injecting of sponsored messages at first load of history messages. 2023-03-07 08:42:29 +03:00
John Preston
1b3cf0a654 Add an "Open App" button for bot app link previews. 2023-03-07 08:42:29 +03:00
John Preston
b95ea28e12 Implement dates of who read your message list. 2023-03-07 08:42:29 +03:00
John Preston
af51307aa6 Implement opening of t.me/bot/app-s. 2023-03-07 08:42:29 +03:00
23rd
ae5f2add0e Added possible info about sponsors to menu from sponsored messages. 2023-03-07 08:42:29 +03:00
23rd
5a43e7718a Moved out menu item with multiline text to separated file. 2023-03-07 08:42:29 +03:00
John Preston
4fe568cb82 Implement switch_webview and "web_app_switch_inline_query". 2023-03-07 08:42:29 +03:00
John Preston
34c1bd950e Update API scheme to layer 154. 2023-03-07 08:42:29 +03:00
23rd
e2450101c0 Added ability to use back button in top bar with any mouse button. 2023-03-02 10:45:47 +03:00
John Preston
8dcb69ccdd Fix switch-inline bot buttons in topics. 2023-03-01 14:49:35 +04:00
John Preston
2a4c39b9d7 Implement some power saving options. 2023-03-01 09:12:02 +04:00
John Preston
3573b84e8b Fix drag area in comments appearance. 2023-02-15 10:02:14 +04:00
John Preston
bb900c195c Fix possible crash in top bar back button.
Fixes #25882.
2023-02-15 09:43:42 +04:00
Vitaly Zaitsev
b48dee0af7 Fixed build with GCC 13.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2023-02-14 21:00:37 +04:00
Ilya Fedin
c65b45460b Fix range-v3 deprecation warnings 2023-02-14 18:37:01 +04:00
John Preston
29d93d348c Fix possible crash in migration tracking. 2023-02-14 10:00:10 +04:00
John Preston
6834cdb969 Check restrictions in attach menu bots. 2023-02-09 13:15:45 +04:00
John Preston
f2ed77649e Preload complex last message on demand. 2023-02-09 09:56:54 +04:00
John Preston
7fa229537d Version 4.6.2: Fix translating to fallback language. 2023-02-08 18:12:08 +04:00
John Preston
ee1162faff Version 4.6.2: Fix ghost drafts appearing in channels. 2023-02-08 15:48:05 +04:00
John Preston
4a37846605 Feed initial messages slice to translation tracker. 2023-02-07 17:29:30 +04:00
John Preston
64f4e0dd52 Don't offer translate from / to the same language. 2023-02-07 16:38:16 +04:00
John Preston
d889cd0e72 Fix polls forwarding to private chats. 2023-02-07 16:28:59 +04:00
John Preston
81fb4046d1 Fix possible crash with pinned message deletion. 2023-02-06 10:36:21 +04:00
John Preston
fb283c4828 Fix bot buttons disappearing on chat switch. 2023-02-06 09:12:06 +04:00
John Preston
6f797a17ad Fix activating chat list entry from global search. 2023-02-04 21:19:46 +04:00
John Preston
b9188f892f Version 4.6.
- Emoji Profile Pictures.
Quickly create group and profile pictures from animated emoji
and stickers with the new "Use an Emoji" option.
- Emoji Categories.
Filter stickers and emoji by categories like "love", "cheers"
or "sleeping" in the sticker and emoji tabs.
- Chat Translation.
As a Premium user, translate entire chats in real time
as you scroll them or receive new messages.
- Media Permissions in Groups.
Control whether members of your groups can send
9 distinct media types – like Photos, Voice or Video Messages.
- Select Chats for Bots.
Bot developers can now let users quickly select groups,
channels or contacts that meet predefined criteria (more in @BotNews).
- Open in New Window.
Open chats or additional accounts in separate windows.
2023-02-03 22:13:26 +04:00
John Preston
ebfddc1a68 Fix return to saved history state with translate bar. 2023-02-02 22:12:33 +04:00
John Preston
3ac86adf10 Support translations in replies / pinned. 2023-02-02 22:12:33 +04:00
John Preston
6957376a21 Improve translation bar styles. 2023-02-02 22:12:33 +04:00
John Preston
9344e78889 Fix translation of the pinned message. 2023-02-02 22:12:33 +04:00
John Preston
2886ae6909 Block field with toast if texts are not allowed. 2023-02-02 22:12:33 +04:00
John Preston
19f346e658 Fix translate bar show after slide animation. 2023-02-02 22:12:33 +04:00
John Preston
17ce93fd5e Add choose chat for bot confirmation. 2023-02-02 22:12:33 +04:00
23rd
9940ee21d3 Added api support to upload emoji markup of userpic instead of image. 2023-02-02 22:12:32 +04:00
John Preston
f4455663fc Don't add views counter when editing media. 2023-02-02 22:12:32 +04:00
John Preston
19e43cfd1d Show "Translate" in three-dot if bar was hidden. 2023-02-02 22:12:32 +04:00
John Preston
be71139515 Add "Translate Entire Chat" button to Settings. 2023-02-02 22:12:32 +04:00
John Preston
f5be551ff8 Add translation bar dropdown menu. 2023-02-02 22:12:32 +04:00
John Preston
7d2ad39a26 Fix build on macOS. 2023-02-02 22:12:32 +04:00
John Preston
dc464b2718 Translate pinned message as well. 2023-02-02 22:12:32 +04:00
John Preston
719466fcac Initial chat-translation feature implementation. 2023-02-02 22:12:32 +04:00
John Preston
22f9e87fbe Grab/return focus in status/reactions search. 2023-02-02 22:12:31 +04:00
John Preston
2e88ada392 Improve reactions expanding animation. 2023-02-02 22:12:31 +04:00