Commit Graph

1923 Commits

Author SHA1 Message Date
John Preston 906fc9cc1d Show more frozen errors. 2025-03-26 07:13:16 +04:00
John Preston f51320d1bc Add some more frozen restrictions. 2025-03-26 07:13:15 +04:00
John Preston fbab3964e6 Handle some frozen cases. 2025-03-26 07:11:20 +04:00
23rd f734c0475b Replaced SetupSwipeHandler signature from arguments to struct. 2025-03-24 22:58:04 +03:00
23rd 28c125a3ec Added some special cases when quick dialog action can't be performed. 2025-03-21 17:59:26 +03:00
23rd d7a89ef122 Added implementation for all swipe dialog actions. 2025-03-20 16:59:33 +03:00
John Preston fe0c1acd79 Fix crash in main menu swipes on macOS. 2025-03-17 10:45:23 +04:00
John Preston af35beefc2 Beta version 5.12.5: Fix build with Qt 6. 2025-03-14 17:23:54 +04:00
John Preston f9df522b41 Show error not-found on comment link click. 2025-03-14 16:40:49 +04:00
John Preston 188edce258 Support swipe-back from main menu. 2025-03-14 15:03:27 +04:00
Ilya Fedin b14c2878b3 Revert "Move icon name getter to cross-platform header"
This reverts commit d9318c9935.
2025-03-12 14:54:41 +04:00
23rd 2b43f2682a Fixed open of locked chats filter with shortcuts to open near filters. 2025-03-10 11:20:28 +04:00
23rd 7da0124286 Moved out lambda to jump to near chats filters to static function. 2025-03-10 11:18:43 +04:00
John Preston 0537c5f273 Fix crashes in empty repaint callbacks. 2025-03-08 07:05:45 +04:00
John Preston c9fb97cd7c Simplify marked text context logic. 2025-03-07 19:03:40 +04:00
John Preston 95ccc99fee Hide reply in notification for paid peers. 2025-03-07 19:03:39 +04:00
John Preston d1e6150874 Don't suggest userpics to paid-restricted. 2025-03-07 19:03:38 +04:00
John Preston 4121c99f36 Allow folders submenu to have a scroll. 2025-03-07 19:03:38 +04:00
John Preston 8ea7bd4913 Simplify paid message button labeling. 2025-03-07 19:03:38 +04:00
John Preston 97b021efaf Star-count button in multi-Forward/CreatePoll. 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 fe2df96953 Improve paid peer-box multi-send. 2025-03-07 19:03:38 +04:00
John Preston ee9d0cfd99 Update API scheme, disable scheduled paid. 2025-03-07 19:03:38 +04:00
John Preston 7b7e18e752 Support paid sending in ShareBox. 2025-03-07 19:03:38 +04:00
John Preston 37dd648686 Implement paid location sending. 2025-03-07 19:03:38 +04:00
John Preston 93a590774e Send paid stickers/gifs/inline-results. 2025-03-07 19:03:38 +04:00
John Preston 22b99b6d3e Send paid shared contacts. 2025-03-07 19:03:37 +04:00
John Preston 101d626d4f Support paid files-with-comment and polls. 2025-03-07 19:03:37 +04:00
John Preston 852ab19760 Update API scheme, track stars-per-message. 2025-03-07 19:03:37 +04:00
John Preston 909b01241b Update API scheme to layer 200. 2025-03-07 19:03:36 +04:00
Ilya Fedin 6f23010382 Fix IconGraphic::counterSlice for Window::WithSmallCounter 2025-02-24 13:25:59 +04:00
Ilya Fedin cf61dedc79 Simplify GNotification actions 2025-02-18 21:21:37 +04:00
Nikolai Nechaev 03af444735 Notifications: stop fading in before starting to fade out
When a notification is to start hiding (i.e., fade out), it is supposed
to start fading out from the maximum opacity, even if it was not fully
restored (which only happens if the cursor passed through the
notification too quickly). Thus, call `.stop()` for the previous
animation, if any, before `.start()`ing the next animation.
2025-02-14 20:17:02 +04:00
Nikolai Nechaev 7f6221b409 Manager::startAllHiding: don't treat fading in notifications specially
Previously, `Window::Notifications::Default::Manager` would not start
hiding notifications that are fading in when other notifications should
hide. This would lead to some notifications never hiding, e.g., when the
cursor passes through the notification too quickly and there was not
enough time for the notification to fade in completely.

Also renamed `Widget::isShowing` -> `Widget::isFadingIn` for clarity.

Fixes #28811.
2025-02-14 20:17:02 +04:00
John Preston 247a070405 Prioritize last used playback timestamp. 2025-02-12 17:24:24 +04:00
John Preston 6a415cf232 Support on-hover autoplay and position save. 2025-02-12 17:24:24 +04:00
John Preston 2077f51084 Open video from ?t= links. 2025-02-12 17:24:24 +04:00
John Preston 141a291523 Start video from required timestamp. 2025-02-12 17:24:24 +04:00
23rd 0c4bca312e Removed ability to set wallpaper to chat with require-premium user. 2025-02-10 22:52:25 +03:00
John Preston c82fbefcfc Don't show Send a Gift to service users. 2025-02-10 10:46:48 +04:00
23rd 97c4e79e96 Improved title for separated windows with shared media. 2025-01-30 13:59:53 +03:00
23rd 7442ea7a16 Added ability to open single typed shared media in window for topics. 2025-01-30 12:04:44 +03:00
23rd d6ba6ac41e Added initial ability to open single typed shared media in window. 2025-01-30 11:01:04 +03:00
Ilya Fedin 8534cf3756 Extract system dark mode from QPalette 2025-01-27 15:01:11 +01:00
Ilya Fedin 39b90092ff Revert "Fallback to portal on Linux if QStyleHints::colorScheme is unknown"
This reverts commit a88f48cd93.
2025-01-27 15:01:11 +01:00
John Preston 8287d717f8 Fix notifications without sounds on macOS. 2025-01-26 11:34:32 +04:00
Ilya Fedin e1f71baed6 Move native notifications option check logic to cross platform code 2025-01-25 18:33:13 +04:00
John Preston 22ec7a6d75 Fix notification sounds on macOS. 2025-01-24 21:08:54 +04:00
John Preston dfd07a4f4f Count all topics as one chat for outer badges. 2025-01-24 12:02:28 +04:00
John Preston aa0c56876c Use sound in native notifications on macOS. 2025-01-22 22:13:28 +04:00