Commit Graph

2692 Commits

Author SHA1 Message Date
John Preston 7f71e9dd52 Fix build with Xcode. 2026-03-09 21:23:26 +04:00
John Preston 8eab8af02d Don't always lower members count when banning.
Fixes #30371.
2026-03-06 22:03:20 +04:00
John Preston 5507e9c00d Simplify file sending, always attach a caption. 2026-03-06 21:08:35 +04:00
John Preston a4c4ea129c Always process item destroy in topics. 2026-03-06 14:08:37 +04:00
futpib dc6b9dda4d Use faster containers for bulk-populated custom emoji maps
Replace base::flat_map (sorted vector with O(n) insertion) with
std::unordered_map for CustomEmojiManager::_instances and std::map
for EmojiListWidget::_customEmoji. These maps accumulate ~8000
entries during startup with unsorted keys, causing O(n²) total
insertion cost. This change reduces refreshCustom() from ~3s to
~50ms (57x speedup).
2026-03-05 15:20:36 +04:00
Ilya Fedin d9ddb12500 Avoid using streaming loader with external video player
Streaming loader is unnecessary slow for this use-case

Co-authored-by: Codex <codex@openai.com>
2026-03-04 16:32:47 +04:00
Ilya Fedin d52d82f7e6 Fix GCC 15 -Wrange-loop-construct 2026-03-03 12:16:32 +04:00
Ilya Fedin ca0c9ab659 Fix GCC 15 -Wdangling-pointer 2026-03-03 12:16:32 +04:00
John Preston 221d79283d Admins don't edit tags in legacy groups. 2026-03-02 15:19:58 +04:00
John Preston a58047e88a Fix some regressions in accessibility commit. 2026-02-28 19:07:12 +04:00
John Preston 20f79c5ae5 Confirm enable sharing request sending. 2026-02-28 19:07:11 +04:00
John Preston c9ac77ccbf Use separate phrase for singular Edit Tag. 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 2aae67cb81 Show nice gift burned error everywhere. 2026-02-28 19:07:10 +04:00
John Preston c39c0b597c Nice tag badge click handler in groups. 2026-02-28 19:07:10 +04:00
John Preston 0f6a5480df Implement nice member/admin edit in groups. 2026-02-28 19:07:10 +04:00
John Preston e1a2fd2481 Start nice redesigned group tags display. 2026-02-28 19:07:10 +04:00
John Preston f60dfaf14a Always use fresh admin rank, remembered user rank. 2026-02-28 19:07:09 +04:00
John Preston 4c2d72d00b Support no-topics recipient state in bot-forums. 2026-02-28 19:07:09 +04:00
John Preston e9fced5c2c Nice design of admin/member tags. 2026-02-28 19:07:09 +04:00
John Preston e85bb2085c Update API scheme on layer 223. 2026-02-28 19:07:08 +04:00
John Preston aa94491ad7 Allow editing my rank / other ranks. 2026-02-28 19:07:08 +04:00
John Preston 7969795a01 Show custom ranks, allow toggling on. 2026-02-28 19:07:08 +04:00
John Preston 62d32a1bdf Update API scheme on layer 223. 2026-02-28 19:07:08 +04:00
John Preston 4e9c0ea3a5 Implement private chat noforward following. 2026-02-28 19:07:08 +04:00
23rd 1848748118 Fixed build. 2026-02-28 19:07:08 +04:00
mukthar777 eabeae20b6 Add lableing to birthday in profile action 2026-02-28 06:41:25 +04:00
23rd 0543491bab Guarded api requests in search calendar controller. 2026-02-13 11:56:57 +03:00
23rd dfd5df4265 Removed unused search functions for calendar. 2026-02-13 11:56:57 +03:00
23rd f777ad8d8c Replaced process of date in media calendar with offset message id. 2026-02-13 11:56:57 +03:00
23rd e04b6e9201 Moved PeerId parameter to SearchCalendarController constructor. 2026-02-13 11:56:57 +03:00
23rd 0134b928dc Added controller for calendar search. 2026-02-13 11:56:56 +03:00
23rd 9e434a9136 Added initial ability to info list widget to jump to date. 2026-02-13 11:56:56 +03:00
John Preston e6e9dc201b Fix pagination requests in craft gifts slices. 2026-02-13 11:54:49 +04:00
John Preston 5f4c3841a0 Fix sender label text for crafted. 2026-02-09 21:52:08 +04:00
John Preston 955319fc23 Allow crafting another gift after success. 2026-02-06 20:36:25 +04:00
John Preston 0f2ae9bde6 Use format-count-decimal for gift number. 2026-02-06 13:24:42 +04:00
John Preston 606bc5523d Use exact colors for uncommon rarities. 2026-02-06 13:24:42 +04:00
John Preston 1b26fea1e0 Allow "Enlarge Video" / "Shrink Video". 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 51bbe4d2bb Load more saved gifts for crafting. 2026-02-03 13:06:35 +04:00
John Preston 00fd140ff6 Allow buying gifts from resale for craft. 2026-02-01 23:33:57 +04:00
John Preston f5aabb414a Fix glitch on first craft open. 2026-02-01 23:33:57 +04:00
John Preston 966968db7b Update API scheme on layer 222. 2026-02-01 23:33:57 +04:00
John Preston 372f7b4198 Update API scheme on layer 222. 2026-02-01 23:33:57 +04:00
John Preston 8c515d3751 Support rare/legendary/epic rarities. 2026-02-01 23:33:56 +04:00
John Preston 1cb648c103 Initial no-design craft implementation. 2026-02-01 23:33:55 +04:00
23rd 7d1bc28103 Added initial support of forum bots that can manage topics. 2026-02-01 23:33:55 +04:00
23rd fa785b745b Fixed wrong color index fallback when cloud peer color is missing. 2026-02-01 08:50:58 +03:00
John Preston 9316cec95d Rewrite settings_premium to new builder pattern
- Move settings_premium.h/cpp from settings/ to settings/sections/
- Add BuildHelper with kMeta for search indexing
- Index premium features and subscribe button for search
- Keep complex Premium section UI (custom top bar, feature list) as non-indexed
- Update all include paths across the codebase

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:20 +04:00