Commit Graph

58 Commits

Author SHA1 Message Date
23rd 4fabb3f2a2 Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
23rd 2acedca6b7 Replaced some qstr with u""_q literal. 2022-11-29 14:12:50 +03:00
John Preston c6aba83a6b Fix crash on local edit draft, fix reading drafts. 2022-11-01 19:25:45 +04:00
John Preston 7cdf20a7c5 Allow topic deletion. 2022-11-01 19:25:40 +04:00
23rd 5751d29c47 Removed username from public data members of UserData. 2022-11-01 19:25:38 +04:00
John Preston 89d0a71591 Update API scheme on layer 148: Drafts in topics. 2022-11-01 19:25:38 +04:00
John Preston b0fab8c987 Show featured custom sets in the panel. 2022-07-26 20:12:13 +03:00
John Preston b4b55973b5 Request and cache featured emoji sets. 2022-07-26 20:12:13 +03:00
John Preston bb7249f280 Allow viewing emoji sets used in a message. 2022-07-26 20:12:12 +03:00
John Preston a821c3c31d Support thumb_document_id in emoji sets. 2022-07-26 20:12:10 +03:00
John Preston ddd5021966 Minimal emoji sets support. 2022-07-26 20:12:10 +03:00
23rd 1d475ee727 Slightly optimized includes in application.h. 2022-06-12 16:07:41 +03:00
John Preston 308f106dc1 Support large files in Downloads. 2022-05-19 17:27:03 +04:00
John Preston 5874ae7c51 Update API scheme on layer 142: Premium stickers. 2022-05-19 17:27:01 +04:00
John Preston 646682b6a0 Add confirmation on first webview open. 2022-04-06 11:53:44 +04:00
John Preston 2917a53b75 Beta version 3.5.3: Fix build with GCC. 2022-02-28 23:25:55 +03:00
John Preston 57f17b7afe Save and restore downloads between launches. 2022-02-27 20:26:52 +03:00
Ilya Fedin 847c01d605 Add Qt 6 support
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
John Preston 1e660fc2a2 Allocate 64 bits for message ids. 2021-09-30 13:49:37 +04:00
John Preston e4e5c4a1d2 Support 64 bit peer-bare-ids in export settings. 2021-09-07 23:41:07 +03:00
John Preston a6c98f4bb4 Update API scheme to layer 133. 2021-09-07 23:41:07 +03:00
John Preston 23e9e7b9f0 Remove for_const macro. 2021-09-06 13:13:26 +03:00
John Preston 85e4c8527b Always write local drafts the same way. 2021-08-30 20:32:58 +03:00
John Preston 4206ff0483 Don't use MTP* for StickersSet flags. 2021-07-09 09:08:58 +03:00
John Preston 75090dedaa Don't store MTPInputStickerSet in data. 2021-07-08 22:08:59 +03:00
23rd e7104b5ebe Added support for archived masks. 2021-07-06 12:13:05 +03:00
23rd 1cdb83462e Added initial implementation of masks panel. 2021-07-06 12:13:05 +03:00
John Preston 4124c2eb57 Show inline path thumbnails for stickers. 2021-07-02 13:13:48 +03:00
John Preston b56749426b Fix build on Clang/GCC. 2021-05-24 22:45:16 +04:00
John Preston 9510ba07f7 Drop old sticker set cover locations. 2021-05-24 22:45:15 +04:00
John Preston 197b3c1cb5 Push all QSaveFile-s to background thread. 2021-05-03 12:27:45 +04:00
John Preston 5bb73d8d3d Move recent emoji and variants to common settings.
Fixes #16163, fixes #4018, partially fixes #10123.
2021-04-26 10:51:10 +04:00
John Preston 1342077dcb Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId. 2021-04-09 15:05:00 +04:00
John Preston e106bd143e Add a warning once per bot on payment. 2021-04-06 18:41:16 +04:00
Ilya Fedin f25b2a2094 Apply autofixes from clazy 2021-03-13 15:25:47 +03:00
John Preston 8f0e23bb25 Improve editing messages with link previews.
Now preview state can be one of (allowed, cancelled, empty-in-edit).

In case of editing a message without preview we set the state to
empty-in-edit and it changes to allowed if the links in the message
are changed somehow.

That way we don't need to cancel the preview when editing a message
with a cancelled preview and at the same time adding a link to
a message that had no preview in the first place will add a preview.
2021-01-29 15:27:17 +04:00
John Preston b3eb7858e6 Save local drafts in scheduled / replies sections.
Fix inline bot switch inline in scheduled / replies sections.
2020-11-17 12:58:07 +03:00
John Preston 8b96f4c214 Move Media::Clip::Reader and FileLocation to td_ui. 2020-10-30 18:32:18 +03:00
John Preston 55edb3bdfe Update API scheme to layer 119. Count replies. 2020-09-29 19:03:18 +03:00
John Preston 8c4e8212cd Add 'respect system dark mode' checkbox. 2020-07-22 17:18:17 +04:00
John Preston 90f7f482ee Take main DC and phone prefix from active account. 2020-06-29 22:14:24 +04:00
John Preston c777f51427 Fix new settings saving. 2020-06-29 21:49:58 +04:00
John Preston 4d65df6ca2 Remove legacy temp download folder. 2020-06-23 21:53:44 +04:00
John Preston f129b6b90d Fix invalid cache settings being read. 2020-06-23 21:53:43 +04:00
John Preston 2635ca33f8 Move background to global settings. 2020-06-23 21:53:42 +04:00
John Preston 83538675ce Move a lot of settings to Core::Settings. 2020-06-23 21:53:42 +04:00
John Preston 4d6cc58f0d Move session settings to main_session_settings. 2020-06-23 21:53:42 +04:00
John Preston 3a5ede534e Count all accounts in Core::App().unreadBadge. 2020-06-23 21:53:41 +04:00
John Preston 357caf8007 Keep separate MTP::Config's for separate accounts. 2020-06-23 21:53:41 +04:00
John Preston c83659f0c7 Fix logouting from the passcode. 2020-06-23 21:53:41 +04:00