Commit Graph

383 Commits

Author SHA1 Message Date
John Preston 1f47b8e130 Fix userpics list glitch. 2023-07-20 22:19:32 +04:00
John Preston 70ca3d4f1a Show hidden stories in archive. 2023-07-20 07:20:46 +04:00
John Preston a0ffa15885 Update story mention layout, add outline.
Also use uint32 for bool-bitfields, otherwise:

int a : 1 = 0;
...
const auto test = true;
const auto b = test ? 1 : 0;
if (a != b) {
    a = b;
    ...
}
Assert(a == b); // Violation, because a == -1, not 1 (after a = b).
2023-07-20 07:20:33 +04:00
John Preston 41eac3692c Correctly show views count without viewers. 2023-07-20 07:20:11 +04:00
John Preston 39538e89e0 Show stories reactions in dark theme. 2023-07-20 07:20:10 +04:00
John Preston aba84a6010 Update API scheme on layer 160: Duration. 2023-07-20 07:20:10 +04:00
John Preston d28bd36d22 Load and show list of users who viewed a story. 2023-07-20 07:20:10 +04:00
John Preston 2c5d990e1c Implement full theming of attachments in stories. 2023-07-20 07:20:08 +04:00
John Preston 75d2b5994f Apply dark theme to reply controls in stories. 2023-07-20 07:20:08 +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
John Preston 27aa678f6a Version 4.8: Fix build with GCC. 2023-04-22 16:09:52 +04:00
John Preston 8a64a9b2ad Close forward options box by Enter. 2023-04-21 14:15:19 +04:00
John Preston 458082c738 Add correct icons for dark/light mode switch. 2023-04-21 13:42:06 +04:00
John Preston 4617ba5fb9 Add couple of phrases to the langpack. 2023-04-20 23:02:33 +04:00
John Preston 65f54d937f Toggle wallpaper dark mode / edit dimming. 2023-04-20 22:55:42 +04:00
John Preston a27ef55ff8 Improve chat theme selector design. 2023-04-20 11:55:23 +04:00
John Preston da7d4687ca Drop custom wallpaper on theme change. 2023-04-18 22:06:53 +04:00
John Preston 352ae5100a Support chat wallpaper set from gallery. 2023-04-18 16:47:31 +04:00
John Preston bf27185feb Show custom chat wallpapers in chats. 2023-04-17 16:35:50 +04:00
John Preston 42c96b4c7f Edit media captions in message field. 2023-04-11 19:17:42 +04:00
John Preston 77939ae9bd Add more-chats-added bar to cloud folders. 2023-04-11 19:17:38 +04:00
Ilya Fedin d52cabb386 Update to the new WebKitGTK 6.0 API 2023-04-02 17:19:15 +04:00
23rd 8b61cf1ee3 Fixed style of menu for sponsored messages with large additional info. 2023-03-16 21:44:46 +03:00
John Preston 7682ccf6a7 Update API scheme to layer 155. 2023-03-12 07:25:39 +04:00
John Preston 05ffc79539 Handle only left click on voice chat bar. 2023-03-08 16:59:28 +04:00
23rd 728ec0974a Slightly improved style of menu for sponsored messages. 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
23rd ae5f2add0e Added possible info about sponsors to menu from sponsored messages. 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 ce0e07d332 Implement "Save Power on Low Battery" function. 2023-03-01 09:12:02 +04:00
John Preston d1230167bf Improve title controls in Windows media viewer. 2023-03-01 09:12:02 +04:00
John Preston 2a4c39b9d7 Implement some power saving options. 2023-03-01 09:12:02 +04:00
John Preston 4a37846605 Feed initial messages slice to translation tracker. 2023-02-07 17:29:30 +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 2886ae6909 Block field with toast if texts are not allowed. 2023-02-02 22:12:33 +04:00
23rd a8a9b638bb Removed unused keys from chat.style. 2023-02-02 22:12:33 +04:00
John Preston f5be551ff8 Add translation bar dropdown menu. 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 54117cc762 Fix styles in reactions expanded panel. 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 5e12cd27df Fix web_app_request_[theme|viewport].
Fixes #25752.
2023-01-20 09:35:18 +04:00
John Preston ff331c040a Allow huge range of interface scales. 2023-01-09 09:05:07 +04:00
23rd 6467ba7739 Fixed painting of photo with spoiler in SendFilesBox on Retina. 2023-01-09 09:05:07 +04:00
John Preston 84288112fc Allow sending photos larger 1280 (experimental).
Improves #6520.
2023-01-02 14:26:41 +04:00
John Preston b6ade7ce19 Fix spoiler / custom emoji in pinned bar unpause. 2022-12-30 14:27:00 +04:00
John Preston d02819db13 Support spoilers in reply previews / pinned bar. 2022-12-30 14:06:20 +04:00
John Preston 80e932a083 Fix group call userpics on Retina. 2022-12-29 14:06:52 +04:00
Ilya Fedin 66093f0cb5 cTimeFormat/cDateFormat -> QLocale::ShortFormat
This allows to use platform-specific formatting functions
2022-12-28 10:28:12 +04:00