Commit Graph

759 Commits

Author SHA1 Message Date
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 87ebd2720f Send high quality as first-class option. 2026-03-25 13:08:50 +07:00
John Preston 9f57a82c75 Update API scheme to layer 224. 2026-03-25 13:08:49 +07:00
23rd 7ffebafb60 Added ability rename files from send files box. 2026-02-19 12:02:11 +03:00
23rd dff3698432 Replaced FileLoadTask constructor parameters with structs. 2026-02-19 11:00:02 +03:00
John Preston 6619cccd3e Allow sending videos as files. 2026-02-13 11:56:46 +04:00
John Preston f25c5f7bfe Pass force_file to send video as file. 2026-02-13 11:56:46 +04:00
John Preston 28434f4bee Full support and build fix. 2025-12-22 17:56:55 +04:00
23rd 5026b07626 Added ability to replace user photo entry in storage. 2025-12-22 17:56:55 +04:00
23rd eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
John Preston 41d206e354 Rename SuggestPostOptions to SuggestOptions. 2025-12-05 20:11:53 +04:00
John Preston 14295d59d1 Add some debug logs on app startup timing. 2025-11-17 12:55:44 +04:00
John Preston c3f5f69c2a Remove some debug code. 2025-11-15 12:00:01 +04:00
John Preston 1320e7ac2f Allow placing bid with message / anonymous. 2025-11-15 12:00:01 +04:00
John Preston cab93600dd Add about auction box layout (no icons yet). 2025-11-15 12:00:01 +04:00
John Preston 0e5e4ca7ea Simple KV storage in session().local(). 2025-11-15 12:00:00 +04:00
John Preston 9028d9a339 Check support mode on full self load. 2025-10-06 11:23:54 +04:00
John Preston 0fa50f1951 Update API scheme on layer 206. 2025-06-27 21:29:34 +04:00
John Preston 7e5a29a5cc PoC suggesting posts to channels. 2025-06-27 21:29:34 +04:00
John Preston dfc1ec3ccf Support shared media / pins for sublists. 2025-06-04 10:00:23 +04:00
John Preston f65556acb7 Support drafts in monoforum sublists. 2025-06-04 10:00:21 +04:00
23rd adc1ee71a9 Slightly improved box to edit caption of grouped file. 2025-06-03 17:55:18 +03:00
John Preston 59abfcbd6d Support "Device Storage" web app feature. 2025-05-01 11:13:20 +04:00
23rd 9ad1d1c25d Fixed some unused-but-set-variable warnings. 2025-05-01 11:13:00 +04:00
John Preston c6fd8bcb99 Edit paid messages exceptions. 2025-03-07 19:03:38 +04:00
John Preston bbc14ba74f Allow sending paid messages. 2025-03-07 19:03:37 +04:00
John Preston e05bb75b8a Allow sending videos with covers. 2025-02-12 17:24:24 +04:00
John Preston 6a415cf232 Support on-hover autoplay and position save. 2025-02-12 17:24:24 +04:00
John Preston da426ae03b Introduce fast-buttons-bots for support mode. 2025-01-27 19:25:17 +04:00
John Preston fecddb5203 Allow wearing collectibles from emoji status. 2025-01-22 22:13:26 +04:00
John Preston 99a7a13218 Always send video messages as not "big" files. 2024-12-23 21:27:12 +04:00
John Preston 9d74d93ed7 Fix some warnings from PVS-Studio.
Fixes #28667.

Some warnings fixed detailed in this post:
https://pvs-studio.com/en/blog/posts/cpp/1186/
2024-11-18 12:50:36 +04:00
John Preston 338122793c Implement bot downloads list UI. 2024-11-17 15:08:16 +04:00
John Preston 341ab781b2 Implement download of files in miniapps. 2024-11-17 15:08:16 +04:00
John Preston 78a0fa55b5 Send correct round video upload actions. 2024-11-12 22:58:05 +04:00
John Preston f091f2b344 Fix album sending with video processing. 2024-11-01 17:52:05 +04:00
John Preston 7ee2e3d8bc Support hashtags with mentions. 2024-10-25 18:14:44 +04:00
John Preston ccc6c6daa5 Save last camera image as a placeholder. 2024-10-24 13:26:46 +04:00
John Preston c010ecfe38 Allow sending one-time round videos. 2024-10-24 13:26:45 +04:00
John Preston 552343fa37 PoC video messages sending. 2024-10-24 13:24:43 +04:00
K900 f2e0e481de Update for lib_ui API change 2024-10-12 19:54:34 +04:00
K900 566f279137 Fix build without QT_IMPLICIT_QCHAR_CONSTRUCTION 2024-10-12 19:54:34 +04:00
John Preston df2b020b42 Add debug logs for recent/top peers resetting. 2024-10-05 20:32:09 +04:00
John Preston a2fad84dae Update API scheme to layer 188. 2024-09-19 12:47:54 +04:00
John Preston d1e3b9f15d Revert "Check for local URLs more strictly."
This reverts commit c3fda41224.
2024-09-10 14:19:37 +04:00
John Preston ca47440950 Don't treat .gif as "small image". 2024-09-06 21:07:17 +04:00
John Preston c3fda41224 Check for local URLs more strictly. 2024-08-21 09:35:46 +02:00
John Preston ac92e1c99e Start paid reaction toast notification. 2024-08-14 18:17:49 +02:00
John Preston 4f37343e8b Use special webview storage for tonsite. 2024-07-31 17:03:55 +02:00
John Preston 5c797d1f31 Update API scheme to layer 185. 2024-07-31 17:03:53 +02:00