Commit Graph

278 Commits

Author SHA1 Message Date
23rd 22449a0913 Fixed opening of stories in albums with reorder enabled.
Regression was introduced: c5ea86b474.
2026-04-20 07:37:21 +03:00
23rd 52615a3ccb Added support of draw-to-reply from shared media. 2026-04-14 09:16:15 +03:00
23rd 9a9307ead3 Fixed compose search calendar jumps for pinned and sublist threads. 2026-04-10 15:06:20 +03:00
23rd 2b89fb9d40 [poll-shared] Added Polls section.
- Introduced SharedMediaType::Poll and registered poll messages
as shared media in data_media_types.

- Added Data::PollMessagesViewer — a producer that loaded poll
message slices for a given history/topic/monoforum peer.
(data_poll_messages.cpp/h)

- Implemented Info::Polls::ListWidget and ListMemento — a new content
widget that rendered poll messages using HistoryView::ListWidget
with a custom chat theme, similar to existing shared media sections.

- Connected the new section into info_memento, info_controller,
info_media_buttons, and info_media_widget so it appeared as a button
in the Shared Media panel.
2026-03-28 10:29:08 +03:00
John Preston 4e9c0ea3a5 Implement private chat noforward following. 2026-02-28 19:07:08 +04:00
23rd 491f569ca3 Added simple loading placeholder while jumping to date in shared media. 2026-02-16 13:15:02 +03:00
23rd 2fc23dc8fb Added simple tooltip to shared media buttons in profile.
Related commit: d6ba6ac41e.
2026-02-16 13:15:02 +03:00
23rd cb13636622 Fixed profile gifts button showing empty before recent gifts loaded. 2026-02-13 11:56:57 +03:00
23rd f777ad8d8c Replaced process of date in media calendar with offset message id. 2026-02-13 11:56:57 +03:00
23rd c085245747 Replaced jump to date method with jump to message in info provider. 2026-02-13 11:56:57 +03:00
23rd b6121a5d64 Added initial ability to open media calendar from info media sections. 2026-02-13 11:56:57 +03:00
23rd 9e434a9136 Added initial ability to info list widget to jump to date. 2026-02-13 11:56:56 +03:00
23rd d80cd8d7aa Added virtual method to info data providers to jump to date. 2026-02-13 11:56:56 +03:00
23rd eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
John Preston 03df5b8546 rpl::type_erased() -> rpl::type_erased. 2025-12-10 14:27:05 +04:00
23rd 59814aaeb0 Added ability to view stories anonymously from info stories section. 2025-11-29 09:04:42 +03:00
John Preston ecfb343690 Fix crash in going from saved music to a chat. 2025-11-24 17:38:54 +04:00
23rd ef5ec47797 Slightly improved code style of info media list section. 2025-11-17 18:30:36 +03:00
23rd 147ad4a773 Slightly improved code style of info media list widget. 2025-11-17 18:30:36 +03:00
23rd 035087987c Added icon for reorder to media list section with one column mode. 2025-11-17 18:30:36 +03:00
23rd 18422c4193 Added ability to get both item and section by point in layout overview. 2025-11-17 18:30:36 +03:00
23rd 42900787e1 Added initial ability to filter layout items for reordering. 2025-11-16 23:52:56 +03:00
23rd c5ea86b474 Added initial implementation of reorder items in media layouts.
Except mosaic.
2025-11-16 23:52:56 +03:00
23rd 130176fd7e Replaced raw DocumentId with full star gift data in api recent gifts. 2025-10-28 13:53:39 +03:00
John Preston b4d1ba07a6 Initial forum support in bots data classes. 2025-10-10 09:26:57 +04:00
John Preston 4a23da6ce1 Fix build with GCC. 2025-09-01 12:42:29 +04:00
John Preston 10448bcc3d Support fileref refresh in saved music. 2025-08-31 20:53:12 +04:00
John Preston dbaa7b5e67 Allow forward / delete saved music. 2025-08-31 20:53:11 +04:00
John Preston 0d6ea0845e Make nice music button in profile. 2025-08-31 20:53:11 +04:00
John Preston b8e10fb34b Proof-of-concept saved music API support. 2025-08-31 20:53:11 +04:00
John Preston 0bbfe20089 Improve pending rating info. 2025-08-01 22:09:07 +04:00
John Preston 79650cf318 Support collection links. 2025-07-31 22:20:18 +04:00
John Preston 953487bb65 Display hidden state in story albums. 2025-07-31 22:20:18 +04:00
John Preston 8d2a7b00dc Implement story album management. 2025-07-31 22:20:18 +04:00
John Preston 1c251a308a Allow loading stories in different albums. 2025-07-31 22:20:18 +04:00
John Preston a1e36594c2 Allow creating albums of stories. 2025-07-31 22:20:18 +04:00
John Preston b754ad5248 Use base::weak_qptr / base::make_weak. 2025-07-23 11:40:59 +04:00
John Preston 4b85c9e2df Add spoilers to shared GIFs. 2025-07-23 11:40:37 +04:00
23rd 20815eecbc Fixed request of recent gifts only when peer has gifts. 2025-07-02 10:18:22 +03:00
23rd 7253d764d2 Guarded requests of recent gifts for button from shared media section. 2025-07-02 11:05:48 +04:00
23rd cd8e944751 Added recent gifts to section of shared media from info profile. 2025-06-29 21:14:20 +03:00
John Preston dfc1ec3ccf Support shared media / pins for sublists. 2025-06-04 10:00:23 +04:00
John Preston 76db55ff19 Support forwarding to monoforums. 2025-06-04 10:00:18 +04:00
John Preston 21f8403357 Merge SublistSection into ChatSection. 2025-06-04 10:00:18 +04:00
John Preston d3f9a84a0a Allow enabling direct messages in channels. 2025-06-04 10:00:14 +04:00
23rd b45a696b5d Fixed build of macOS on Github CI. 2025-05-17 09:22:12 +03:00
John Preston f51320d1bc Add some more frozen restrictions. 2025-03-26 07:13:15 +04:00
23rd f89bac7781 Improved handle of existing separated windows for shared media. 2025-01-30 13:59:53 +03:00
23rd 1d8a7f8fd3 Removed redundant template from Info::Media::AddCountedButton. 2025-01-30 13:59:35 +03:00
23rd ef9f7ab27a Moved process of separated window for shared media to correspond file. 2025-01-30 13:59:00 +03:00