Commit Graph

220 Commits

Author SHA1 Message Date
John Preston 645ad5e1bd Update pinned icon in stories list. 2024-04-23 19:13:47 +04:00
John Preston 468d8b04d6 Implement stories pin-to-top. 2024-04-23 19:13:47 +04:00
John Preston d33e3dc13a Rename Story::pinned to Story::inProfile. 2024-04-23 19:13:46 +04:00
23rd 1c223e570a Slightly improved code style for long equality expressions. 2024-04-15 11:20:30 +04:00
23rd a1369aaad0 Added references to structured bindings since Apple clang supports them. 2024-01-16 11:18:55 +04:00
John Preston 4e6d8f06d9 Show saved messages entry point from profiles. 2023-12-31 19:42:23 +04:00
John Preston 18c4d210e5 Show saved messages sublists in profile. 2023-12-31 19:42:23 +04:00
John Preston ae1da5baf4 Implement premium lock of similar channels. 2023-11-28 21:55:27 +04:00
23rd f748de9dc4 Removed redundant include directives of settings_common headers. 2023-11-15 03:30:04 +03:00
23rd f629bf76ff Removed AddButton and CreateButton without icon from Settings. 2023-11-15 03:30:04 +03:00
John Preston 39f8394f98 Enable story actions in channels. 2023-09-22 09:43:31 +04:00
John Preston 29c5f6b706 Support channel stories archive. 2023-09-22 09:43:31 +04:00
John Preston f3647d7f8c Show saved stories / current stories in channels. 2023-09-22 09:43:31 +04:00
23rd 7ffb341597 Removed some unwanted include directives of styles in header files. 2023-09-08 11:40:18 +03:00
23rd 9bf5f992a3 Removed not really necessary HistoryView::Media::dragItem method. 2023-08-15 10:26:52 +03:00
John Preston 6441266879 Improve tabbed slider design. 2023-08-10 18:19:00 +03:00
John Preston b7370127ff Correctly clear story instances on deletion. 2023-07-21 12:22:53 +04:00
John Preston 6607848abc Fix build with GCC. 2023-07-20 07:20:46 +04:00
John Preston f0ab6e5690 Update main menu and stories icons. 2023-07-20 07:20:33 +04:00
John Preston ac534780cc Implement context menu actions in stories list. 2023-07-20 07:20:33 +04:00
John Preston a733b83642 Use stories ShareBox from the saved stories list. 2023-07-20 07:20:33 +04:00
John Preston 5f72a5238c Save to Profile / Archive / Delete in list. 2023-07-20 07:20:33 +04:00
John Preston eb260b91c1 Improve unsupported stories design. 2023-07-20 07:20:12 +04:00
John Preston e98770d418 Improve saved / archive stories design. 2023-07-20 07:20:12 +04:00
John Preston 119ee6044a Update stories icons in some places. 2023-07-20 07:20:12 +04:00
John Preston 881867186a Load more saved / archive in the viewer. 2023-07-20 07:20:11 +04:00
John Preston 5e5b252f2f Support correct saved stories / archive loading. 2023-07-20 07:20:10 +04:00
John Preston 7f8a985067 Start stories overview in profile / My Stories. 2023-07-20 07:20:10 +04:00
John Preston f671897a4d Fix a possible crash in Go to Message on macOS.
Fixes #26273.

This crash happens with a very deep stack trace that is caused by
destroying shared media layer on Go to Message click, which starts
destroying Media::ListWidget, which destroys Ui::PopupMenu, which is
a window, so when it destructs it triggers a sync repaint of the main
window (by a system event), which tries to render the new messages slice,
which starts a photo download, which calls an item repaint in Data::Session,
and the semi-destroyed Media::ListWidget is still subscribed to the
item repaint requests and tries to repaint and crashes there.

The fix is to destroy all session-related subscriptions before the PopupMenu.
2023-05-24 20:22:41 +04:00
John Preston d51d1939b0 Add search with categories to GIF. 2023-02-02 22:12:31 +04:00
John Preston b4571b80d6 Show spoilers in shared media overview. 2022-12-27 13:10:38 +04:00
John Preston 1b73b34810 Make HistoryItem a final class. 2022-12-26 14:24:04 +04:00
23rd 4fabb3f2a2 Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
John Preston 01139e1b04 Remove facades module. 2022-11-30 16:55:51 +04:00
John Preston 7cdf20a7c5 Allow topic deletion. 2022-11-01 19:25:40 +04:00
23rd 4f4d0bef25 Added usernames info to ChannelData. 2022-11-01 19:25:38 +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 3722e55b67 Support topic on-the-fly creation. 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 b13471672d Move some chat styles from basic.style to chat.style. 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 749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
John Preston 3c19d7b302 Show shared link long URL tooltips. 2022-07-27 14:24:34 +03:00
John Preston d9bbfeead1 Provide section title from the section class. 2022-04-05 16:31:09 +04:00
John Preston 95f5f28906 Add search to the Downloads section. 2022-03-11 15:14:07 +04:00
John Preston 6dd720b76e Don't show downloads bar while message is visible. 2022-03-09 14:52:44 +04:00
John Preston dd5aeeb65a Show information about downloads from cloud. 2022-03-01 18:59:59 +03:00
John Preston 3262c2d1b9 Support select by drag in Downloads. 2022-03-01 18:55:35 +03:00
John Preston 2917a53b75 Beta version 3.5.3: Fix build with GCC. 2022-02-28 23:25:55 +03:00