Commit Graph

590 Commits

Author SHA1 Message Date
John Preston eab23df174 Improve narrow topics column in forum. 2022-11-01 19:25:41 +04:00
23rd fd2edb51e9 Fixed build in Xcode. 2022-11-01 19:25:41 +04:00
John Preston 4074a558e7 Get rid of Ui::FlatInput class.
Fixes #16172.
2022-11-01 19:25:41 +04:00
John Preston f9173ea849 Improve top bar design for forum / topic. 2022-11-01 19:25:41 +04:00
John Preston 4910a60499 Track mentions / reactions together with unread. 2022-11-01 19:25:40 +04:00
John Preston 08ba277327 Track forum unread state by topics inside. 2022-11-01 19:25:40 +04:00
John Preston a292f8a34e Allow opening forums from archive / filters. 2022-11-01 19:25:40 +04:00
John Preston df5602d203 Support topic icon display in topic profile. 2022-11-01 19:25:40 +04:00
John Preston 89d0a71591 Update API scheme on layer 148: Drafts in topics. 2022-11-01 19:25:38 +04:00
John Preston 6997e165c6 Forum three-dot menu, except search. 2022-11-01 19:25:37 +04:00
John Preston d92580b8fc Update API scheme on layer 148: Notifications.
Support editing / respect notification settings for topics.
2022-11-01 19:25:37 +04:00
John Preston b8bdca8921 Extract Data::Thread common for History / ForumTopic. 2022-11-01 19:25:37 +04:00
John Preston 6695eda1be Handle forum-non_forum changes in realtime. 2022-11-01 19:25:37 +04:00
John Preston 6a7f030ee7 Update API scheme on layer 148.
Extract message history corner buttons code.
2022-11-01 19:25:36 +04:00
John Preston 2c0b5b3210 Track unread mentions / reactions in topics. 2022-11-01 19:25:36 +04:00
John Preston 9348039313 Track unread posts in forums inside RepliesList-s. 2022-11-01 19:25:36 +04:00
John Preston f258b054e8 Request last topic message if it becomes unknown. 2022-11-01 19:25:36 +04:00
John Preston 377b86372b Don't jump above pinned chats.
Fixes #6802.
2022-11-01 19:25:36 +04:00
John Preston 2c50f7b18c Implement nice topic icon create / edit box. 2022-11-01 19:25:36 +04:00
John Preston ae3496d6a4 Update API scheme on layer 148: Topic icons. 2022-11-01 19:25:36 +04:00
John Preston e5f2d83548 Support new rounding in bot inline keyboards. 2022-11-01 19:25:35 +04:00
John Preston b13471672d Move some chat styles from basic.style to chat.style. 2022-11-01 19:25:34 +04:00
John Preston 405d8c327d Support different row styles in chats list. 2022-11-01 19:25:34 +04:00
John Preston 1401b19994 Add PaintContext for Dialogs::Ui::RowPainter. 2022-11-01 19:25:34 +04:00
John Preston 9f652b0d3f Unify message sending, track forum topic icons. 2022-11-01 19:25:34 +04:00
John Preston 3b3792ef75 Allow editing topic title and icon. 2022-11-01 19:25:33 +04:00
John Preston 73e56b0340 Support default General topic in forums. 2022-11-01 19:25:32 +04:00
John Preston eaf679916a Create / move forum topics on new messages. 2022-11-01 19:25:32 +04:00
John Preston 388fe6adfb Allow enabling forum, creating topics. 2022-11-01 19:25:32 +04:00
John Preston c88140e256 Update API scheme to layer 148, start forums. 2022-11-01 19:25:32 +04:00
Ilya Fedin 7b5781b845 Use default-constructed QLocale for date/time/whatever else formatting
Qt 6 chenged the QDateTime API to use QLocale::c() rather than QLocale::system(), using default-constructed QLocale will make this consistent and overradable application-wide

Other formating use-cases as QLocale::decimalPoint use default-constructed QLocale now, too
2022-10-17 08:33:22 +04:00
John Preston 4f948699c0 Correct spoiler selections. 2022-09-18 16:52:31 +04:00
John Preston cd00d41cca Correct spoiler colors in fully selected messages. 2022-09-18 16:52:31 +04:00
John Preston 749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
John Preston d81b2fbb69 Activate the chosen default folder on Escape. 2022-09-14 09:13:28 +04:00
John Preston f0955f2021 Add emoji-status disclaimer for unknown peers. 2022-09-06 11:20:55 +04:00
John Preston 2618ee3d75 Paint two-loops of custom emoji statuses. 2022-09-02 21:14:33 +04:00
John Preston 2d07539892 Support colored emoji statuses. 2022-09-02 21:14:33 +04:00
John Preston cece9cf09b Show in chats list EntityType::Pre like EntityType::Code. 2022-09-02 21:14:29 +04:00
John Preston 165d3143de Allow emoji status edit from self profile. 2022-09-02 21:14:28 +04:00
John Preston 21fd381778 Show emoji status in chats list / top bar. 2022-09-02 21:14:28 +04:00
John Preston 8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
John Preston f8e22210e7 Move Webm sticker to UnwrappedMedia. 2022-08-04 13:35:34 +03:00
23rd 1a6b6e6084 Fixed right padding of text in dialogs entries with unread reactions. 2022-07-26 20:12:10 +03:00
John Preston 11fbc8112f Fix monospace text color in chats list. 2022-07-26 20:12:09 +03:00
John Preston 68ee753fc7 Fix sender name / media color in chats list previews. 2022-07-26 20:12:09 +03:00
John Preston 6d17226c7f Don't show bold markup in chats list previews. 2022-07-26 20:12:09 +03:00
John Preston b976aa0872 Support custom emoji in chats list entries. 2022-07-26 20:12:08 +03:00
23rd 75d8e8ba7d Fixed opening of non-primary windows while recording voice message. 2022-06-24 04:07:16 +03:00
John Preston d81c40f4c8 Fix new window crash for unavailable channels. 2022-06-22 15:30:56 +04:00