Commit Graph

306 Commits

Author SHA1 Message Date
John Preston
6a7c8b342f Use the prepared popup path for the send files menu.
Align the only unguarded send menu call site with the canonical
pattern: check the fill result and skip the redundant second
geometry preparation that reran native window setup before show.
2026-08-24 17:23:26 +04:00
23rd
32159c18a6 Added lookup of prepared file by id after cover frame extraction. 2026-08-22 15:14:24 +04:00
23rd
725ee2bdb9 Moved check of self-destruct timer options to icon column in menu. 2026-08-22 08:17:34 +03:00
23rd
fab70dede1 [vid-editor] Replaced video compression option with editor. 2026-08-17 08:33:45 +03:00
23rd
98e4c6b22d Added GIF badge to send box previews for animated edits. 2026-08-17 08:33:44 +03:00
23rd
97e6ed84a1 Added sending of silent looping video for animated edited photos. 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
c09496510b [ttl-media] Forbade scheduling of timer messages. 2026-08-12 13:36:03 +03:00
23rd
219d6095e7 [ttl-media] Added custom time picker to timer menu. 2026-08-12 13:36:03 +03:00
23rd
c1132a0b5b [ttl-media] Added timer hint and preview badges to send box. 2026-08-12 13:36:03 +03:00
23rd
0a63095b94 [ttl-media] Added timer picker to media send box. 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
23rd
63e68f1f83 Added ability to edit video cover in chats with bots. 2026-08-10 09:05:49 +03:00
John Preston
608734d248 Show plain Send in file box for ephemeral replies 2026-07-10 14:04:31 +04:00
John Preston
8b8b3ebc09 Support server-provided limits for rich messages. 2026-06-09 14:28:11 +04:00
John Preston
04dbe641cf Remove caption position control for files. 2026-05-05 10:45:45 +04:00
John Preston
2cfdf1b32e Rename send as a file with extension. 2026-04-28 20:50:59 +07:00
23rd
9b9fb348a0 Fixed losing pasted text on cancel of send files box without caption. 2026-04-28 18:16:19 +07:00
23rd
bfe2b8bc10 Preserved caption text on cancel of send files box. 2026-04-23 21:09:43 +03:00
23rd
04aec11daa Added reply header with preview to send files box. 2026-04-20 12:53:48 +03:00
23rd
faa7c1ca55 Fixed spoiler menu entry display for non-media files in send files box. 2026-04-14 09:16:15 +03:00
John Preston
1c94acdeca Don't force drop-to-left in media context menu. 2026-04-08 17:35:05 +07:00
John Preston
cd1e0d710d Remove legacy context menu in send files box. 2026-04-03 10:35:21 +07:00
John Preston
50cd572754 Support blockquote / pre in caption / ai tools. 2026-03-31 14:26:57 +07:00
John Preston
1b153ded83 Support AI Tools in media box. 2026-03-30 22:23:29 +07:00
John Preston
8224e6ece1 Use menu items with checks for spoiler / quality. 2026-03-25 13:08:50 +07:00
John Preston
87ebd2720f Send high quality as first-class option. 2026-03-25 13:08:50 +07:00
23rd
4ba2581df8 Removed Replace button from attach previews and added More button. 2026-03-15 20:41:10 +03:00
John Preston
5507e9c00d Simplify file sending, always attach a caption. 2026-03-06 21:08:35 +04:00
John Preston
2de7fb5c25 Simplify caption management in SendFilesBox. 2026-03-06 21:08:35 +04:00
23rd
66a5e67cbf Fixed losing of extension when rename image from clipboard. 2026-03-04 11:08:19 +03:00
23rd
8c7d38ea25 Added ability to change caption to every file in SendFilesBox. 2026-03-04 07:08:51 +03:00
23rd
fe4f460a3b Added logic to process captions from attach prepared files. 2026-03-04 07:08:51 +03:00
23rd
47beb2e7e1 Added initial support of simple captions to attach prepared files. 2026-03-04 07:08:51 +03:00
23rd
3ebec4db75 Changed behavior to send text as caption to first file in files album. 2026-02-28 19:07:08 +04:00
23rd
7ffebafb60 Added ability rename files from send files box. 2026-02-19 12:02:11 +03:00
23rd
c6817a60cb Added ability to take written caption from SendFilesBox on cancel. 2026-02-13 11:56:57 +03:00
John Preston
6619cccd3e Allow sending videos as files. 2026-02-13 11:56:46 +04:00
John Preston
08a979e638 Use more simple tr::... text helpers. 2025-12-15 21:40:54 +04:00
23rd
eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
John Preston
70939c4b9c Correctly edit video stream comment price. 2025-11-15 11:59:19 +04:00
John Preston
b4272c306d Get rid of registerImageEmoji/registerInternalEmoji. 2025-08-04 22:27:08 +04:00
John Preston
b754ad5248 Use base::weak_qptr / base::make_weak. 2025-07-23 11:40:59 +04:00
John Preston
0a92e12a62 Allow placing your gifts on sale. 2025-05-05 11:43:50 +04:00
John Preston
c9fb97cd7c Simplify marked text context logic. 2025-03-07 19:03:40 +04:00
John Preston
8ea7bd4913 Simplify paid message button labeling. 2025-03-07 19:03:38 +04:00
John Preston
b3f9a77ba7 Star-count button in SendFilesBox/ShareBox. 2025-03-07 19:03:38 +04:00
John Preston
e05bb75b8a Allow sending videos with covers. 2025-02-12 17:24:24 +04:00
John Preston
5f10c1875c Ask for boosts to unlock group restrictions. 2025-01-06 21:42:23 +04:00
John Preston
9ace04d2c9 Support entities in star gift messages. 2024-10-04 10:06:21 +04:00