Commit Graph

1534 Commits

Author SHA1 Message Date
23rd 2a99046bbd Added snowflakes effect. 2022-12-26 14:24:07 +04:00
John Preston 1dd83f3d34 Support personal photo edit in EditContactBox. 2022-12-26 14:24:06 +04:00
John Preston faf6c48f25 Remove ui/special_buttons module. 2022-12-26 14:24:06 +04:00
John Preston ca1c826c5c Simplify some code. 2022-12-26 14:24:06 +04:00
John Preston 1b73b34810 Make HistoryItem a final class. 2022-12-26 14:24:04 +04:00
Ilya Fedin 13eeddf479 Don't wait for input when there are fullscreen applications 2022-12-23 14:04:17 +04:00
John Preston 76d44172f1 Add "Copy Topic Link" topic profile menu item. 2022-12-06 23:22:50 +04:00
John Preston b0bb8b05fd Fix reply from notification replyTo field value. 2022-12-06 22:52:04 +04:00
John Preston 4db2b83c9b Fix Ctrl+Tab/Ctrl+Shift+Tab jumps in topics. 2022-12-06 14:32:46 +04:00
23rd 1b364f2621 Added support of drag events to filters menu. 2022-12-06 12:56:56 +03:00
23rd 84de08cad6 Added separated unread counter to single peer window titles. 2022-12-06 12:56:56 +03:00
23rd cc0b1b1d54 Added option for chat names in titles of single peer windows. 2022-12-06 12:56:56 +03:00
John Preston cb653df0f6 Support adaptive forum userpic rounding radius. 2022-12-05 16:18:10 +04:00
John Preston fe9cf7ddad Report in forum menu, remove from topic menu. 2022-12-05 09:03:31 +04:00
23rd 6cb0834d19 Added chat name to titles of single peer windows. 2022-12-05 02:49:34 +03:00
23rd b81868eeba Simplified drawing of empty userpics in theme previews. 2022-12-04 03:46:44 +03:00
John Preston b5cb2bc9f0 Fix build on Qt 5.* for Windows. 2022-12-02 18:31:52 +04:00
23rd 2c1e7bfcb6 Added ability to forward messages to multiple chats. 2022-12-02 17:02:11 +03:00
John Preston 32491ead5e Animate child topics list open / close. 2022-12-01 18:03:20 +04:00
John Preston b561705528 Use Window::SlideAnimation in all widgets. 2022-12-01 14:18:37 +04:00
23rd 4fabb3f2a2 Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
John Preston ad3f8e72a0 Remove namespace App. 2022-11-30 17:28:09 +04:00
John Preston 01139e1b04 Remove facades module. 2022-11-30 16:55:51 +04:00
John Preston eaed91263e Simplify HistoryHider, remove most of uses. 2022-11-30 16:13:31 +04:00
John Preston 01773e5bb1 Fix custom notifications in topics. 2022-11-30 13:03:42 +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 ae90347c6c Revert "Fixed switching between accounts with filters at screen edge."
This reverts commit 8f3c3b2a54.

Regressions with account switch in a maximized window.
2022-11-23 00:44:31 +01:00
23rd 8f3c3b2a54 Fixed switching between accounts with filters at screen edge. 2022-11-22 00:26:48 +00:00
John Preston 248337daf5 Implement topics pin limit box. 2022-11-22 00:26:48 +00:00
John Preston 8a288476b8 Implement pinned topics reordering. 2022-11-22 00:26:48 +00:00
Ilya Fedin f9dd2b4a0a Support GNotification
It's used if there's a gtk notification daemon or application is running sandboxed without access to the freedesktop protocol.

GNotification API is poor, but should feel native on environments using GNOME technologies.
2022-11-18 20:40:33 +04:00
John Preston 644ec1f599 Remove base::Observable / base::Variable. 2022-11-11 11:43:24 +04:00
John Preston 4a8b5c3015 Add "Show Topics List" button to topic profile. 2022-11-09 10:22:33 +04:00
Dragoon Aethis 9d59e42b52
Add an experimental "small message radius" toggle (#25305)
Add an experimental "small message radius" toggle.

This toggle allows switching to the pre-4.3.0, smaller message bubble
radius after an app restart. The message bubble radius styles now have
to be referenced via the Ui::BubbleRadius* and Ui::MsgFileThumbRadius*
wrappers to use the appropriate value.
2022-11-08 14:19:17 +04:00
John Preston bd8b90055e Fix showing forum in a single-column layout. 2022-11-07 13:19:40 +04:00
John Preston 0dd45de254 Remember scroll state between topic openings. 2022-11-03 16:29:40 +04:00
John Preston 9d4840c0de Respect window active state on mark as read. 2022-11-02 20:13:29 +04:00
John Preston 34a2c5c8ce Display topic name in chats list. 2022-11-02 16:39:13 +04:00
John Preston fdf4129e5e Fix build with GCC. 2022-11-02 08:51:03 +04:00
John Preston 45cacc94c0 Fix build with Xcode. 2022-11-02 01:16:55 +04:00
John Preston e62bdd286d Show topic title in the notifications. 2022-11-01 21:05:49 +04:00
23rd 3b79d944af Removed unused includes of observer file. 2022-11-01 20:03:14 +04:00
John Preston cddb2a4bac Improve video chat menu for forums. 2022-11-01 20:00:09 +04:00
John Preston fba0f0c49b Improve topic three-dot menu. 2022-11-01 19:25:45 +04:00
John Preston e6c2aa8021 Support topic choosing in ShareBox. 2022-11-01 19:25:45 +04:00
John Preston 7384cd3463 Support sharing games by link to topics. 2022-11-01 19:25:44 +04:00
John Preston d5ea0149e8 Implement drag-n-drop to forum topics. 2022-11-01 19:25:44 +04:00
John Preston 6d215d3729 Implement unpin all messages within a thread. 2022-11-01 19:25:44 +04:00
John Preston 1ac051a812 Implement forwarding to topics. 2022-11-01 19:25:44 +04:00
John Preston bc96bdf7a9 Add video chat management menu items to forum. 2022-11-01 19:25:43 +04:00
John Preston 18bf5c0ee2 Handle nice topic / post-in-topic links. 2022-11-01 19:25:43 +04:00
John Preston aa5f9467f2 Support attach webview bots in topics. 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 46ebbdb547 Open jump-to-date by date click in topics. 2022-11-01 19:25:43 +04:00
John Preston 850746b0ba Improve search-in-topic closing. 2022-11-01 19:25:43 +04:00
John Preston 5d76415a5d Implement jump-to-date in topics. 2022-11-01 19:25:43 +04:00
John Preston 88d1a502a5 Implement search in topics / forum messages. 2022-11-01 19:25:42 +04:00
John Preston 97d8aa0a0d Add a distinct forum icon in chats list. 2022-11-01 19:25:42 +04:00
John Preston 76330eaaa6 Provide a draft from notification to correct thread. 2022-11-01 19:25:42 +04:00
John Preston 06d1644baa Mark topics as read on reply from notification. 2022-11-01 19:25:42 +04:00
John Preston c6bc7c3de1 Disable "Clear history" in forums. 2022-11-01 19:25:42 +04:00
John Preston 48fb410bc7 Fix third column profile in topics. 2022-11-01 19:25:42 +04:00
John Preston 602ba5bba9 Implement correct ForumTopic::canWrite logic. 2022-11-01 19:25:42 +04:00
John Preston 72354f52d4 Improve top bars in forums, in narrow column. 2022-11-01 19:25:41 +04:00
John Preston 5314833c82 Show requests / group call / report in forums. 2022-11-01 19:25:41 +04:00
John Preston b92b8e56cb Improve single column layout forum / topic top bar. 2022-11-01 19:25:41 +04:00
John Preston b497e5ea21 Add a Reopen Topic button on topic top for admins. 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 3a967bbbfe Ignore unread counts in non-opened topics. 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 a292f8a34e Allow opening forums from archive / filters. 2022-11-01 19:25:40 +04:00
John Preston 7cdf20a7c5 Allow topic deletion. 2022-11-01 19:25:40 +04:00
John Preston adaa1d0c55 Support pinned topics in forums. 2022-11-01 19:25:40 +04:00
John Preston ad2f9438a2 Support topic closing. 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 fcc4503791 Add "View as Messages" in forums. 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 ead427793b Handle forum / topic links. 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 92a4b27e65 Support per-topic notification settings. 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 58b8eb8e96 Implement per-topic shared media. 2022-11-01 19:25:37 +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 032e6c57e9 Request full album for last topic message. 2022-11-01 19:25:36 +04:00
John Preston 3722e55b67 Support topic on-the-fly creation. 2022-11-01 19:25:35 +04:00
John Preston 83008fa358 Support new rounding in theme preview generator. 2022-11-01 19:25:35 +04:00
John Preston d15173e09d Update API scheme on layer 148. 2022-11-01 19:25:35 +04:00
John Preston e5f2d83548 Support new rounding in bot inline keyboards. 2022-11-01 19:25:35 +04:00
John Preston dd52c53ec0 Allow more file attach layout customization. 2022-11-01 19:25:34 +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 ba2f92906b Implement new bubble rounding. 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