Commit Graph

3555 Commits

Author SHA1 Message Date
23rd 7fb0e3900f Added ability to open full checked moderate box with pressed Ctrl. 2026-02-28 19:07:08 +04:00
23rd 385f05b21b Added ability to show moderate box with preset of options. 2026-02-28 19:07:08 +04: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 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 ca8959fc67 Added auto-close for moderate box when all messages are deleted. 2026-02-19 09:43:01 +03:00
23rd 4cdea65aa5 Added support of rpl name to color sample for your color buttons. 2026-02-15 12:10:35 +03:00
23rd a8a3c1555b Added highlight filter button from filters container on dialog drag. 2026-02-15 11:47:58 +03:00
23rd 51178d7dd7 Added ability to add peer to filter by link or username. 2026-02-13 11:56:57 +03:00
23rd 359675b446 Added ability to drag dialogs to search field. 2026-02-13 11:56:57 +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 e6e9dc201b Fix pagination requests in craft gifts slices. 2026-02-13 11:54:49 +04:00
John Preston 1695bdd63c Fix crafted gift number in result display. 2026-02-09 21:52:09 +04:00
John Preston 5c87c43007 Conditionally handle Tab in fields in custom way. 2026-02-09 21:52:08 +04:00
John Preston 5f4c3841a0 Fix sender label text for crafted. 2026-02-09 21:52:08 +04:00
23rd 2ccb55f675 Fixed possible title text overlap with account switcher in url auth box. 2026-02-09 20:41:38 +03:00
23rd b3dcb1596a Added session check to dialog drag-and-drop between different servers. 2026-02-09 20:26:58 +03:00
23rd e6ceea6bfc Added common util to install drag and drop on filters container. 2026-02-08 17:40:03 +03:00
23rd df14515927 Added ability to check if peer can be added to specific filter. 2026-02-08 11:02:25 +03:00
John Preston 8d85f1d76f Show non-craftable semi-transparent in box. 2026-02-06 22:43:53 +04:00
John Preston 955319fc23 Allow crafting another gift after success. 2026-02-06 20:36:25 +04:00
John Preston 3c3a65cc70 Fix gift to self, hide sender row in table. 2026-02-06 20:36:25 +04:00
John Preston 737ea42698 Make all custom emoji in messages clickable. 2026-02-06 13:24:43 +04:00
John Preston 27db7eee26 Show some error toasts on group info saving.
Fixes #30207.
2026-02-06 13:24:43 +04:00
John Preston 3c15ec6e49 Remove legacy profile cover code. 2026-02-06 13:24:43 +04:00
John Preston 1651f54208 Improve gift title + number positioning. 2026-02-06 13:24:43 +04:00
John Preston c80d0b73c2 Fix gift privacy check for unique. 2026-02-06 13:24:43 +04:00
23rd 2015a1c69f Simplified installing of tooltip to some labels. 2026-02-06 13:24:43 +04:00
23rd dfcc968c3a Fixed display of subsection title of restrictions list in moderate box. 2026-02-06 13:24:43 +04:00
23rd 19f2579640 Fixed display of phrase for admins when appoint new chat owner on leave. 2026-02-06 13:24:43 +04:00
John Preston 9dc71ad9fa Add crafting lottie to the process. 2026-02-06 13:24:42 +04:00
John Preston 28d22d2332 Display lottie on craft failure. 2026-02-06 13:24:42 +04:00
John Preston a7ae420645 Show all attribute chances. 2026-02-06 13:24:42 +04:00
John Preston 0f2ae9bde6 Use format-count-decimal for gift number. 2026-02-06 13:24:42 +04:00
John Preston 85e6b0b018 Improve unique gift view. 2026-02-06 13:24:42 +04:00
John Preston 7d172a6427 Allow to toggle between regular and crafted models. 2026-02-06 13:24:42 +04:00
John Preston d06a9539da Improve craft failed gift thumbnails. 2026-02-06 13:24:42 +04:00
John Preston b5cd717a8b Name crafted models correctly. 2026-02-06 13:24:42 +04:00
John Preston f96fe33747 Show burned gift badge and toast. 2026-02-06 13:24:41 +04:00
John Preston 24c8738ad7 Show chance percent in adding craft gifts. 2026-02-06 13:24:41 +04:00
John Preston a5dba00155 Make nicer rare variants preview. 2026-02-06 13:24:41 +04:00
John Preston 51bbe4d2bb Load more saved gifts for crafting. 2026-02-03 13:06:35 +04:00
John Preston b2169ff7d7 Name crafted with a separate lang key. 2026-02-03 13:04:00 +04:00
John Preston 026b4df014 Improve resale for craft display. 2026-02-02 23:34:51 +04:00
John Preston 86a622c49c Nice gift craft error handling. 2026-02-02 13:12:51 +04:00
23rd 4189c0b2dc Improved style of credits history entry out for upgrade gifts. 2026-02-01 23:33:58 +04:00
23rd eb1d383c05 Added info to empty list of available participants to appoint new owner. 2026-02-01 23:33:58 +04:00
John Preston be1fc22a05 Read correct attribute craft chances. 2026-02-01 23:33:58 +04:00
John Preston 15bd2132c2 Fix build with Xcode. 2026-02-01 23:33:58 +04:00