303 Commits

Author SHA1 Message Date
23rd
14454053fc Replaced option lookup with cached flag in dialogs sort key.
Related commits: 5d52a283d4, 8509f9e410.
2026-08-24 07:51:04 +03:00
John Preston
3667c0e7ae Attribute poll vote notifications to the voted message
Task: 2026/08/18/attribute-poll-vote-notifications-to-voted-message
2026-08-18 18:15:11 +04:00
John Preston
9caa7f7469 [chat] Resolve reviewed follow-ups: restriction bar, access errors, perf.
- Send-restriction UI now has a single owner: ComposeControls' write
  restriction bar, matching Replies/Sublist modes. BottomControls'
  duplicate (overlapping, wrongly sized) bar is removed and the
  monoforum-admin "choose a message to reply" state is ported into the
  section's write restriction producer.
- History load failures with CHANNEL_PRIVATE / CHANNEL_PUBLIC_GROUP_NA /
  USER_BANNED_IN_CHANNEL close the chat with the not-accessible toast
  (and handle expired invite peeks), like the legacy view, via a new
  Data::Session::historyAccessLost signal fired from
  ApiWrap::requestHistory.
- SparseIdsList::Slice::merge inserts single ids instead of re-sorting
  the whole accumulated set, so the every-message full-history index
  updates in O(log n) instead of O(n log n).
- Unread counting queries the index in place through the new
  SparseIdsList::countAfter instead of copying up to 10000 ids on every
  read-marking tick.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-18 11:17:57 +04:00
John Preston
e2bc4cef5b Clear directly-deleted local photos from cache. 2026-08-14 13:27:51 +04:00
John Preston
59d475ec41 Don't suggest export when passlocked. 2026-08-13 17:10:34 +04:00
23rd
b028c7d22c [ttl-media] Added expiry engine with cache eviction. 2026-08-12 13:36:02 +03:00
John Preston
a66544cc35 Add welcome messages editing section for groups.
Task: 2026/07/21/edit-group-welcome-messages
2026-08-10 18:42:47 +04:00
23rd
abc4e368e4 Fixed restoring pinned community dialogs on launch. 2026-08-05 11:38:37 +04:00
John Preston
a0fd43642a Update API scheme on layer 228. 2026-07-10 14:04:27 +04:00
John Preston
4980f0068a Show becoming community admin box. 2026-07-10 14:04:26 +04:00
23rd
5d52a283d4 Added experimental option to keep unmuted unread dialogs on top. 2026-06-22 11:51:49 +03:00
John Preston
2f6c10d260 Simple rich message view in separate window. 2026-06-09 14:27:37 +04:00
John Preston
5c5bacaf41 Update API scheme to layer 226. Guard-bots. 2026-06-09 14:27:37 +04:00
23rd
e8d0a8da74 Allowed admin log original entries to carry preview photo or document. 2026-06-04 12:45:19 +04:00
23rd
aa0ddf1b37 Added view removal reason to skip animations on rebuilt views. 2026-06-01 18:46:42 +03:00
John Preston
7ba610fd33 Initial attempt to feed IV into the new viewer. 2026-05-19 12:49:08 +04:00
23rd
1167523f4a [thanos] Pre-captured snapshots before batch destruction via event. 2026-05-18 10:36:52 +03:00
23rd
e75dba5c80 [thanos] Added GPU-accelerated particle dissolution effect for messages. 2026-05-18 10:36:52 +03:00
John Preston
49db372296 Update cached reactions on remove. 2026-05-05 10:45:45 +04:00
John Preston
497b2a45bc Make nice custom style tone preview and links. 2026-05-05 10:45:44 +04:00
John Preston
3cc2192791 Initial cloud tones support. 2026-05-05 10:45:44 +04:00
John Preston
4009a47377 Fix word-wrapping of streamed text. 2026-04-08 23:14:07 +07:00
John Preston
55e284729e Initial implementation of gradual draft streaming. 2026-04-07 22:26:41 +07:00
23rd
094c43293d Added support of notifications for poll votes. 2026-03-30 10:19:14 +03:00
23rd
bbdc6abea8 Added recent voters to media view. 2026-03-28 10:29:08 +03:00
23rd
9275b45ab8 Added initial implementation of draw-to-reply. 2026-03-12 12:59:50 +04:00
John Preston
20f79c5ae5 Confirm enable sharing request sending. 2026-02-28 19:07:11 +04:00
John Preston
90129c10d8 Initial formatted date support. 2026-02-28 19:07:10 +04:00
John Preston
7969795a01 Show custom ranks, allow toggling on. 2026-02-28 19:07:08 +04:00
John Preston
f96fe33747 Show burned gift badge and toast. 2026-02-06 13:24:41 +04:00
23rd
71a4d7d310 Added ability to request particularly repaint history views. 2025-12-29 14:06:24 +03:00
23rd
1002e8e6ad Replaced with struct returned rpl data for requests of view repaint. 2025-12-29 14:02:24 +03:00
John Preston
6ca4de8457 Scroll and highlight message when summary is shown
Add requestItemShowHighlight signal to Data::Session for triggering
scroll-to-item with highlight animation from any part of the codebase.

Both HistoryWidget (legacy) and ListWidget (modern) subscribe to this
signal and perform animated scroll with highlight when triggered.

The signal is emitted in two cases:
1. When API returns a fresh summarization result
2. When toggling visibility of a cached summary to shown state
2025-12-29 11:21:23 +04:00
John Preston
28434f4bee Full support and build fix. 2025-12-22 17:56:55 +04:00
John Preston
53324d5494 Initial support for min-user-from-message request. 2025-12-22 17:56:55 +04:00
23rd
1f2fd3ad96 Added support of auctions to history view web page. 2025-11-20 18:22:43 +03:00
John Preston
312d5f0121 Improve auction gift display. 2025-11-20 11:39:22 +04:00
John Preston
b898cf4fde Integrate paid reaction logic to video streams. 2025-11-15 11:59:18 +04:00
23rd
679c932697 Added local event for recent joined chats. 2025-11-01 18:50:00 +03:00
23rd
29f533b170 Added info about origin peer to data about recent forwards. 2025-10-10 09:27:01 +04:00
23rd
8cc7d80121 Added ability to notify about successful forwarded messages to self. 2025-10-10 09:27:01 +04:00
23rd
699ffc8b50 Returned unreadBadge/Muted but keep unreadWithMentionsBadge/Muted. 2025-10-09 19:06:03 +04:00
23rd
9bbb8ef31c Replaced unreadBadge/Muted with unreadWithMentionsBadge/Muted. 2025-09-29 15:12:34 +03:00
John Preston
b8e10fb34b Proof-of-concept saved music API support. 2025-08-31 20:53:11 +04:00
John Preston
4a33d3227e Suggest upgrading next gift. 2025-08-31 20:53:11 +04:00
John Preston
62c9666013 Show star rating preview. 2025-08-01 16:13:27 +04:00
John Preston
5b1739246d Correctly handle gift collection updates. 2025-07-25 21:15:36 +04:00
John Preston
22515c8c29 Support gift collections editing. 2025-07-25 10:21:46 +04:00
John Preston
b754ad5248 Use base::weak_qptr / base::make_weak. 2025-07-23 11:40:59 +04:00
John Preston
fd24f7045e Fix editing price per message. 2025-07-02 12:36:07 +04:00