Commit Graph

887 Commits

Author SHA1 Message Date
23rd
e7c6480396 [img-editor] Fixed exported animation sending as video or forbidden gif.
Related commit: 97e6ed84a1.
2026-09-09 13:03:32 +04:00
23rd
46c346bc9c Added archive writing to uploader with preparing progress in bubble. 2026-09-03 22:02:07 +03:00
John Preston
ccfb5b327d Give up clearing a history after enough failed retries.
Re-requesting the dialog entry until the last message is known has no
bound, so an entry that keeps coming back unknown - offline, or a flood
wait - spun requests forever and the clear never finished.
2026-08-26 23:25:38 +04:00
John Preston
ce094eda76 Fixed assertion clearing a history twice at once. 2026-08-26 23:25:37 +04:00
23rd
db7faca277 Got rid of cast-to-void result discarding. 2026-08-21 14:38:14 +03: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
23rd
fab70dede1 [vid-editor] Replaced video compression option with editor. 2026-08-17 08:33:45 +03:00
23rd
e704a6c4c4 Added extraction of animated scene into encode job at send time. 2026-08-17 08:33:44 +03:00
23rd
8996112947 Added quality reduction option for videos to send files box. 2026-08-17 08:33:44 +03:00
23rd
fb717781f0 Added accumulating queue for rich message task edits. 2026-08-17 08:33:42 +03:00
John Preston
9567d044b3 Filter-out non-forwardable music files. 2026-08-14 16:23:44 +04:00
John Preston
e2bc4cef5b Clear directly-deleted local photos from cache. 2026-08-14 13:27:51 +04:00
John Preston
5709a6c7da Forward delivered ephemeral messages
Task: 2026/08/13/forward-ephemeral-messages
2026-08-13 14:52:31 +04:00
23rd
29b61a4941 [ttl-media] Added chosen timer to sending pipeline. 2026-08-12 13:36:02 +03:00
23rd
90c89dcde9 Added missing const to local references in some files. 2026-08-12 13:36:02 +03:00
John Preston
3be3888051 Preserve rich draft media across send retry
Task: 2026/08/03/preserve-rich-draft-media-file-references
2026-08-10 18:42:49 +04:00
John Preston
896b626cff Enable media sending in Welcome Messages editor
Task: 2026/07/23/send-media-in-welcome-message-editor
2026-08-10 18:42:48 +04:00
John Preston
0ecd67331e Keep the reply bar until the rich editor sends.
Task: 2026/07/23/keep-reply-bar-until-rich-editor-send
2026-08-10 18:42:48 +04:00
John Preston
6fc1d2f3b4 Send and render rich and inverted ephemeral messages.
Task: 2026/07/21/send-rich-and-inverted-ephemeral-messages
2026-08-10 18:42:48 +04:00
23rd
abc4e368e4 Fixed restoring pinned community dialogs on launch. 2026-08-05 11:38:37 +04:00
23rd
ce089ee16b Fixed saving notify settings of communities to server. 2026-08-05 11:38:37 +04:00
John Preston
914c02f6b5 Enable rich editor while composing scheduled messages 2026-07-20 17:55:19 +04:00
23rd
eb6af7efe8 Added ephemeral send of media with command captions. 2026-07-15 13:11:47 +04:00
John Preston
5a2e611af3 Recover failed text sends into the draft, readable rich errors 2026-07-10 14:04:31 +04:00
John Preston
d9bd10c61c Strip ephemeral replies when sending rich drafts 2026-07-10 14:04:29 +04:00
23rd
112913cd53 Supported ephemeral media replies to bots. 2026-07-10 14:04:28 +04:00
23rd
c511e828b3 Added ephemeral messages data component with receive and send support. 2026-07-10 14:04:28 +04:00
John Preston
9c0d104b32 Support notify settings in communities. 2026-07-10 14:04:27 +04:00
John Preston
eef22271e0 Support pin/folder actions for community. 2026-07-10 14:04:27 +04:00
John Preston
a0fd43642a Update API scheme on layer 228. 2026-07-10 14:04:27 +04:00
John Preston
be83da2852 Add Api::Communities with basic operations. 2026-07-10 14:04:26 +04:00
John Preston
5d84fa0e11 Add Data::CommunityInfo, parse communityFull. 2026-07-10 14:04:26 +04:00
John Preston
da3cc6156a Update API scheme to layer 228. 2026-07-10 14:04:26 +04:00
John Preston
0da3e55cc0 Restore the rich draft via cloud draft on send fail 2026-07-02 17:49:08 +04:00
John Preston
8584f292bc Recover cleanly when rich submit is empty or rejected 2026-07-02 17:49:08 +04:00
John Preston
399b973440 Fix some editor bugs. 2026-07-02 17:49:07 +04:00
John Preston
051bc0dcf0 Refresh rich-draft media references from the server draft 2026-07-02 17:49:07 +04:00
John Preston
54eb43f00e Autosave rich draft on each media upload. 2026-07-02 17:49:07 +04:00
John Preston
1f87c04dfc Send previewed rich drafts from compose 2026-07-02 17:49:01 +04:00
John Preston
9dc4b8c8b8 Support rich messages drafts. 2026-07-02 17:48:57 +04:00
John Preston
8b8b3ebc09 Support server-provided limits for rich messages. 2026-06-09 14:28:11 +04:00
John Preston
a3f572e804 Fix build with Xcode. 2026-06-09 14:28:11 +04:00
John Preston
051763ebf6 Initial attempt to send articles. 2026-06-09 14:28:10 +04:00
John Preston
b1e012c466 Update API scheme to layer 227. 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
John Preston
c34d1104a4 Support photo/video display using messages. 2026-05-19 12:49:08 +04:00
John Preston
745d0ea574 Better balance check in TON stake. 2026-05-11 17:32:57 +04:00
John Preston
49db372296 Update cached reactions on remove. 2026-05-05 10:45:45 +04:00
John Preston
9821aa9615 Suggest deleting all reactions in moderate box. 2026-05-05 10:45:45 +04:00
23rd
ec94dc26ac Fixed file reference refresh for group and channel photos. 2026-04-06 11:49:27 +03:00