Commit Graph

209 Commits

Author SHA1 Message Date
John Preston 1061fb6c85 Implement collectible username / phone info boxes. 2024-04-02 22:56:21 +04:00
John Preston 615ad85d26 Fix possible crash in notifications setup.
Initial _account assignment triggered sync createManager(),
which in case of native Windows notifications called
ToastNotificationManager::CreateToastNotifier, which could enter
qt-wndproc-message processing with QEvent::ApplicationActivated
delivery and calling updateNonIdle() which called
Window::Controller::account(), that wasn't yet set.
2024-04-02 12:20:40 +04:00
John Preston da7a796edb Add session->appConfig() shortcut. 2024-04-01 22:44:22 +04:00
John Preston f65bc7c0bd Suggest premium on transfer speed limiting. 2024-04-01 22:44:21 +04:00
John Preston d05c4e0990 Start shortcut messages sending. 2024-03-08 10:53:59 +04:00
John Preston 571f1a5179 Implement free megagroup emoji set. 2024-02-15 13:51:40 +04:00
John Preston 5e255e56eb Don't allow gifting premium if can't buy. 2024-01-02 00:12:51 +04:00
23rd 4ad51ffb42 Removed some include directives. 2023-11-28 21:55:26 +04:00
John Preston b5b5c28ac5 Request possible peer colors from API. 2023-11-28 21:55:25 +04:00
John Preston 4b5e2582d9 Update API scheme on layer 167. 2023-11-28 21:55:24 +04:00
John Preston c46b659aa5 Version 4.11.
- View full statistics in your channels and group chats.
- Choose which link preview in added to the message.
- Choose if link preview is above or below the text.
- Choose if link preview has large or small image.
- Quote parts of text in replies.
- Add quote formatting.
- Reply in another chat.
- Add nice looking code blocks with syntax highlighting.
- Copy full code block by click on its header.
- Send a highlighted code block using ```language syntax.
- Change your name color in Chat Settings.
- Customize quotes, link previews and replies to your messages.
2023-10-28 23:39:31 +04:00
John Preston 5d335341ab Support server-side colors by index, up to three. 2023-10-27 09:55:09 +04:00
John Preston f90a010b84 Update API scheme on layer 166. 2023-10-26 14:08:41 +04:00
23rd 98bb520f47 Adjusted code for refactor of input fields in lib_ui. 2023-09-04 17:36:54 +04:00
John Preston a79deb89ce Update API scheme on laydr 160. 2023-07-20 07:20:33 +04:00
John Preston 2fb7bdc803 Skip refocus InputField::Inner if field unfocused.
I hope this fixes #26223.
2023-05-24 21:22:26 +04:00
John Preston 65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
23rd ca2a0d41c9 Moved some app config values to separated file. 2023-04-11 19:17:42 +04:00
John Preston 4351baffb3 Unify playback speed settings serialization. 2023-03-15 09:15:40 +04:00
John Preston bfd318cf3f Treat test mode accounts as premium accounts.
Fixes #25982.
2023-03-08 16:59:13 +04:00
John Preston 34c1bd950e Update API scheme to layer 154. 2023-03-07 08:42:29 +03:00
John Preston 1da635a5dd Fix crash in cloud lang manager destructor. 2023-02-12 15:01:50 +04:00
John Preston 94b489835c Add chat name / account name / unread count title settings. 2023-02-03 17:51:47 +04:00
John Preston a52bb21606 Fix activating account more than once. 2023-02-03 09:59:28 +04:00
John Preston d4897c8a95 Remove fake generated Premium Sticker Set. 2023-02-02 22:12:31 +04:00
John Preston 554f66f089 Support separate message type group restrictions. 2023-02-02 22:12:31 +04:00
John Preston e10964a0bc Allow opening new account in a separate window. 2023-02-02 10:55:04 +04:00
John Preston f713585f17 Remove non-authed account only without a window. 2023-02-02 10:55:04 +04:00
John Preston 7023b013ce Initial support of separate windows for accounts. 2023-01-19 09:45:28 +04:00
John Preston a1a5ef9d39 Fix possible crash on force-logout from the server.. 2022-12-29 12:21:21 +04:00
23rd d424a8b039 Added handler of urls for login. 2022-12-29 11:11:08 +03:00
John Preston cb653df0f6 Support adaptive forum userpic rounding radius. 2022-12-05 16:18:10 +04:00
John Preston 01139e1b04 Remove facades module. 2022-11-30 16:55:51 +04:00
John Preston 5d8a2bc7b7 Implement simple sub-column for topics list. 2022-11-30 13:03:42 +04:00
23rd 2acedca6b7 Replaced some qstr with u""_q literal. 2022-11-29 14:12:50 +03:00
John Preston 37308cde21 Support dialog rows with variable height. 2022-11-22 00:26:48 +00:00
John Preston 18bf5c0ee2 Handle nice topic / post-in-topic links. 2022-11-01 19:25:43 +04:00
John Preston 8dc27339b4 Support pinned messages bar in topics. 2022-11-01 19:25:43 +04:00
John Preston 602ba5bba9 Implement correct ForumTopic::canWrite logic. 2022-11-01 19:25:42 +04:00
John Preston d15173e09d Update API scheme on layer 148. 2022-11-01 19:25:35 +04:00
John Preston 9bb2bb09b9 Update API scheme on layer 145.
Restrict send from channels to premium in line with API restrictions.
2022-09-02 21:14:34 +04:00
John Preston 285ce81b7b Update API scheme to layer 145. 2022-09-02 21:14:28 +04:00
John Preston 068d3caef5 Allow hiding Premium Stickers fake-sticker-set. 2022-08-04 17:29:49 +03:00
John Preston 4915ea8ad3 Add convenient appConfig().get<int>(..). 2022-08-02 13:20:38 +03:00
John Preston 4cf4b6a368 Optimize emoji / stickers update requests. 2022-07-26 20:12:14 +03:00
John Preston b4b55973b5 Request and cache featured emoji sets. 2022-07-26 20:12:13 +03:00
John Preston 240b47da86 Check test/production DC in recent emoji. 2022-07-26 20:12:11 +03:00
23rd e84f5aaa3d Added support of service actions for premium gifts. 2022-07-26 20:12:11 +03:00
John Preston ddd5021966 Minimal emoji sets support. 2022-07-26 20:12:10 +03:00
John Preston 00d1828fbe Update API scheme on layer 144. 2022-07-26 20:12:08 +03:00