Commit Graph

19255 Commits

Author SHA1 Message Date
23rd a61334247d Fixed ratio of icon in update button from dialogs widget.
Related commit: c6bf905253.
2026-03-12 12:59:49 +04:00
23rd f5281b7418 Fixed compose search list freeze by resetting merged search state flags. 2026-03-12 12:59:49 +04:00
23rd 08be7f1960 Enabled ability to open full checked moderate box for channel senders.
Related commit: 9b483c390d.
2026-03-12 12:59:49 +04:00
23rd 5e44170091 Added initial ability to trim recorded voice messages. 2026-03-12 12:59:49 +04:00
23rd ff3dc8987d Implemented Opus audio trimming and concatenation with waveform. 2026-03-12 12:59:49 +04:00
23rd f4a2be34ea Clamped experimental sticker size override to a safe scaled range. 2026-03-12 12:59:48 +04:00
linux 5521ff621a Add accessible names to pinned and contact status bar buttons. 2026-03-12 12:49:58 +04:00
linux 37037d0713 Add accessible names to Compose Controls buttons 2026-03-12 12:49:58 +04:00
linux 9672c147e2 Fix top bar action buttons focus on selection cancel 2026-03-12 12:35:32 +04:00
Ilya Fedin b7d3aa4b07 Fix missing QFile::open result check in logs 2026-03-11 17:01:20 +04:00
John Preston 09f9819233 Fix reorder freeze in chats list. 2026-03-11 15:54:08 +04:00
John Preston cf2a44792f Add member tag ripple. 2026-03-10 22:48:42 +04:00
John Preston c61c249405 Ripple effects for links. 2026-03-10 21:34:10 +04:00
John Preston aa582be321 Fix possible crash in streamed-reply-drafts. 2026-03-10 19:03:13 +04:00
John Preston 4dff43a65e Improve code-spoilering regular expression. 2026-03-10 17:14:18 +04:00
John Preston 97345dbd59 Fix "Deleted Message" reply in streamed drafts. 2026-03-10 15:55:38 +04:00
John Preston 6564a42f21 Fix saved music shuffled playing.
Fixes https://bugs.telegram.org/c/60020
2026-03-10 15:50:53 +04:00
John Preston f7679c50d8 Always spoiler codes in notifications. 2026-03-10 15:31:17 +04:00
John Preston dbb7e34950 Fix editing of checklist in Saved Messages. 2026-03-10 15:01:38 +04:00
Ilya Fedin 34f0d7026e Open photos with external media viewer
Co-Authored-By: GLM-5 <contact@zhipuai.cn>
2026-03-10 12:40:17 +04:00
Ilya Fedin 59ecfd67f0 Add location tracking to PhotoData
Add persistent file location storage for downloaded photos,
similar to DocumentData. This allows the app to remember
where a photo was saved and reuse that path.

Co-Authored-By: GLM-5 <contact@zhipuai.cn>
2026-03-10 12:40:17 +04:00
Ilya Fedin 6acc2633a5 Open any document type via external media viewer 2026-03-10 12:40:17 +04:00
Ilya Fedin 07649b3c16 External video player -> External media viewer 2026-03-10 12:40:17 +04:00
Ilya Fedin a2c268c923 Don't require second click to open cached videos in external viewer 2026-03-10 12:40:17 +04:00
Ilya Fedin 0b98b88dfc Support file saving for streaming videos with external video player 2026-03-10 12:40:17 +04:00
Ilya Fedin c2f64700c1 Move external video player option handling to SessionController::openDocument 2026-03-10 12:40:17 +04:00
Ilya Fedin f6ac2c5aa9 Revert "Don't stream videos when external player is used"
This reverts commit b0ce88395f.
2026-03-10 12:40:17 +04:00
Ilya Fedin ff08ab1023 Revert "Avoid using streaming loader with external video player"
This reverts commit d9ddb12500.
2026-03-10 12:40:17 +04:00
John Preston b30948fd81 In GroupAdmin scope send /start only with token.
Fixes #30026.
2026-03-10 12:35:55 +04:00
John Preston 008600f6d3 Faster controls disappearing in media viewer. 2026-03-10 12:25:58 +04:00
John Preston 73686ae930 Add ripple animation to reactions in messages. 2026-03-10 12:07:38 +04:00
John Preston 3223e6389c Add ripple effect to send button. 2026-03-10 11:59:29 +04:00
John Preston b9d3b9364c Fix t.me/bot?start=param for bot-forums. 2026-03-10 11:59:29 +04:00
John Preston 7f71e9dd52 Fix build with Xcode. 2026-03-09 21:23:26 +04:00
John Preston 4212be1b6c Add ripple effect to reply button. 2026-03-09 17:38:41 +04:00
futpib 5f1121123c Freeze chat list order while mouse hovers over it
When subscribed to many active chats, the list reorders too quickly,
causing misclicks. Freeze the visual order while the mouse is over the
chat list and replay deferred reorderings when the mouse leaves or
after 5 seconds of inactivity.

Fixes #1504.
2026-03-06 23:16:40 +04:00
John Preston 68e1504685 Use crl::on_main_queue for chained init steps. 2026-03-06 22:49:10 +04:00
futpib ffea1e3917 Defer sticker reads via crl::on_main chain for faster first paint
Instead of reading all sticker sets synchronously in crl::on_main,
chain each read step via crl::on_main so that paint events can be
processed between heavy file reads. This moves first paint from
~2807ms to ~1294ms by allowing the UI to render before sticker
loading completes.
2026-03-06 22:32:21 +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 9d371ddb94 Fix controls. 2026-03-06 22:02:43 +04:00
John Preston 58d334c1c8 Fix crash in restrict-from-recent-actions. 2026-03-06 21:59:51 +04: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
cumdev1337 485d820fe2 Do not exit fullscreen mode when applying video quality 2026-03-06 21:07:52 +04:00
John Preston b1d08b3e30 Preserve topicRootId() on edition-to-history-clear. 2026-03-06 14:09:06 +04:00
John Preston e86fec4ab6 Fix messages clear on history delete. 2026-03-06 14:08:51 +04:00
John Preston a4c4ea129c Always process item destroy in topics. 2026-03-06 14:08:37 +04:00
John Preston 56e675ec9c Revert "Fixed ability to delete chat as forum with all topics."
This reverts commit f40064333e.

This destroys messages that were not really deleted.
2026-03-06 12:04:40 +04:00
futpib 61b7b2d5dc Use rename instead of copy for log file rotation at startup
Replace the expensive file copy in Logs::instanceChecked() with an
atomic rename. The old code copied log_startX.txt to log.txt then
deleted the original, which took ~83ms of synchronous I/O. A simple
rename on the same filesystem is nearly instant (~0.3ms).
2026-03-06 10:53:05 +04:00
futpib ec7c76b8d2 Cache Webview::Availability() result for startup checks
Iv::ShowButton() and LocationPicker::Available() each called
Webview::Availability() separately (~200ms each on Linux). Replace
the per-caller static caches with a single shared cache in
Core::CachedWebviewAvailability(), reducing startup from two
~200ms calls to one.
2026-03-05 16:13:38 +04:00