104 Commits

Author SHA1 Message Date
AlexeyZavar 0825ea0160 Merge tag 'v6.7.8' into dev
# Conflicts:
#	.github/workflows/mac_packaged.yml
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/api/api_chat_invite.h
#	Telegram/SourceFiles/boxes/language_box.cpp
#	Telegram/SourceFiles/boxes/send_files_box.h
#	Telegram/SourceFiles/boxes/sticker_set_box.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/data/data_types.h
#	Telegram/SourceFiles/history/history_item.cpp
#	Telegram/SourceFiles/history/history_widget.cpp
#	Telegram/SourceFiles/history/view/history_view_chat_section.cpp
#	Telegram/SourceFiles/history/view/history_view_message.cpp
#	Telegram/SourceFiles/history/view/history_view_translate_bar.cpp
#	Telegram/SourceFiles/history/view/history_view_translate_tracker.cpp
#	Telegram/SourceFiles/platform/mac/main_window_mac.mm
#	Telegram/SourceFiles/settings/sections/settings_main.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2026-04-24 20:47:17 +03: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
AlexeyZavar 2f5970d57c Merge tag 'v6.7.2' into dev 2026-04-04 05:32:26 +03:00
John Preston cd1e0d710d Remove legacy context menu in send files box. 2026-04-03 10:35:21 +07:00
John Preston 1b153ded83 Support AI Tools in media box. 2026-03-30 22:23:29 +07:00
John Preston 87ebd2720f Send high quality as first-class option. 2026-03-25 13:08:50 +07:00
AlexeyZavar b93c93a20c Merge tag 'v6.6.2' into dev 2026-03-19 01:24:29 +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 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 04dbbab4a1 Replaced vector container for SendFilesBox::Block with deque.
SendFilesBox::Block (aka Block) passes action
callbacks to AlbumPreview / SingleMediaPreview.
These callbacks access Block::_items through a captured "this" pointer.

With std::vector<Block>, _blocks.emplace_back() may reallocate and
move existing Block objects. Callbacks already stored inside previews
then keep a dangling Block*, and a later context-menu action can crash
when reading this->_items.

Switched _blocks to std::deque<Block> so existing element addresses stay
stable on std::deque::push_back, keeping callback captures valid
for previews.
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
AlexeyZavar be378eaacb feat: simple files reordering in send box 2025-05-19 15:44:02 +03:00
AlexeyZavar 631f5a1043 feat: restore caption from send files box 2025-05-19 00:59:34 +03: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 3eec43cacd Add FieldAutocomplete to SendFilesBox. 2024-09-19 10:34:01 +04:00
John Preston bd49887607 Fix paid media price tag background. 2024-06-30 21:16:11 +04:00
John Preston d47c5df73d Nice price tag on sending media. 2024-06-30 21:16:08 +04:00
John Preston a9bd7803e6 Edit price on send, send single paid media. 2024-06-30 21:16:08 +04:00
John Preston 67f7816088 Allow sending photo/video captions above media. 2024-05-30 21:35:10 +04:00
John Preston d1106e5ae6 Check effects availability in all SendMenu-s. 2024-05-30 21:35:05 +04:00
John Preston 571f1a5179 Implement free megagroup emoji set. 2024-02-15 13:51:40 +04:00
23rd 6de471db17 Added counter label of characters limit to send files box. 2024-02-15 09:37:11 +03:00
23rd 12272a450f Slightly optimized include directives in some headers. 2023-11-15 04:20:20 +03:00
23rd 4b503ad7ed Slightly refactored include directives in some source files. 2023-08-30 14:50:00 +03:00
John Preston 2c5d990e1c Implement full theming of attachments in stories. 2023-07-20 07:20:08 +04:00
John Preston e285b22398 Add "Send when online" to the send button context menu. 2023-04-22 22:26:09 +04:00
John Preston 554f66f089 Support separate message type group restrictions. 2023-02-02 22:12:31 +04:00
John Preston 2ce8094932 Add spoiler toggle to three dot menu in SendFilesBox. 2022-12-26 14:24:06 +04:00
John Preston 5bee6310c0 Allow sending media with spoilers. 2022-12-26 14:24:05 +04:00
23rd 8db8bc466e Added ability to remember last choice in send files box. 2022-12-26 14:24:05 +04:00
John Preston 7c2d3a8855 Fix custom emoji in initial send files caption. 2022-08-15 19:10:38 +03:00
John Preston b42f2784ab Allow sending premium emoji to Saved Messages. 2022-08-02 13:20:38 +03:00
John Preston 26c99cea7c Show all premium limits boxes. 2022-05-19 17:27:03 +04:00
23rd 2f8efb5ce6 Moved out setup of top and bottom scroll shadows to separated file. 2022-04-13 14:26:11 +03:00
23rd e30eacff41 Added photo editor hint to SendFilesBox. 2021-07-06 12:13:06 +03:00
23rd 3ce315111f Added draft menu to SendFilesBox to open photo editor. 2021-07-06 12:13:05 +03:00
John Preston 39777f6149 Fix compress images with drag-n-drop.
Fixes #8943.
2020-11-02 11:26:39 +03:00
John Preston 0d37949e74 Improve SendFilesBox previews layout. 2020-10-30 18:32:19 +03:00
John Preston d7fe2948ac Add edit/remove buttons to Single[File|Media]Preview. 2020-10-30 18:32:19 +03:00
John Preston 5589f51369 Allow delete / replace items in SendFilesBox. 2020-10-30 18:32:19 +03:00
John Preston bb4fdde616 Fix sending many files with a comment. 2020-10-30 18:32:19 +03:00
John Preston 85d08c8f52 Send files grouped in albums, show captions. 2020-10-30 18:32:19 +03:00
John Preston 843fba61ee Allow adding any amount of files in SendFilesBox. 2020-10-30 18:32:19 +03:00
John Preston 0539cc9448 Add a way to recreate SendFilesBox content. 2020-10-30 18:32:19 +03:00