Commit Graph

8880 Commits

Author SHA1 Message Date
John Preston 085eef15c2 Revert "Fixed draft applying while recording voice message in HistoryWidget."
This reverts commit 346547c23d.

Fixes #9871.
2020-12-09 15:50:40 +04:00
John Preston 7f7ac64c6d Init top bar blobs geometry safely. 2020-12-09 15:43:54 +04:00
John Preston 9f2903f81d Fix crash in one-on-one calls. 2020-12-09 14:48:07 +04:00
John Preston e523687328 Show bar waves from any member-s level. 2020-12-09 13:08:36 +04:00
John Preston 468597f54d Beta version 2.4.12: Fix Release build on macOS. 2020-12-09 12:40:11 +04:00
John Preston d55a05739b Beta version 2.4.12.
- Voice chats in groups. (alpha version)
2020-12-09 11:21:09 +04:00
23rd 448b6bb905 Added initial implementation of LinearBlob animation to Calls::TopBar. 2020-12-09 11:21:02 +04:00
John Preston 569570ddc4 Update tg_owt commit in snap build. 2020-12-09 10:46:59 +04:00
Ilya Fedin 4bc6c6c3c8 Handle cursor size in the custom GTK integration 2020-12-08 21:21:03 +03:00
Ilya Fedin 86be105c25 Media Play key is expected to behave like Toggle Media Play/Pause
Looks like Qt maps "Media Play" to the common play/pause button on keyboards:
https://github.com/qt/qtbase/blob/5.15/src/platformsupport/input/xkbcommon/qxkbcommon.cpp#L293
https://github.com/qt/qtbase/blob/5.15/src/plugins/platforms/windows/qwindowskeymapper.cpp#L392
https://github.com/qt/qtbase/blob/5.15/src/plugins/platforms/android/androidjniinput.cpp#L519
https://github.com/qt/qtbase/blob/5.15/src/plugins/platforms/android/androidjniinput.cpp#L607

While "Toggle Media Play/Pause" is some special case:
https://github.com/qt/qtbase/blob/5.15/src/plugins/platforms/windows/qwindowskeymapper.cpp#L488
https://github.com/qt/qtbase/blob/5.15/src/plugins/platforms/ios/quiview.mm#L584

It is worth to behave on "Media Play" like on "Toggle Media Play/Pause".
2020-12-08 21:20:26 +03:00
Ilya Fedin 8819938bf2 Remove unneeded moveToScreen calls 2020-12-08 21:19:59 +03:00
Ilya Fedin cffb05e3c9 Detect more dark themes on Linux 2020-12-08 21:19:28 +03:00
Ilya Fedin f88c132c96 Use gtk not only to get image from clipboard, but also to set 2020-12-08 21:18:49 +03:00
GitHub Action 61b7b5d03b Update User-Agent for DNS to Chrome 86.0.4240.198. 2020-12-08 21:17:22 +03:00
John Preston 5fe8c0ed7e Show user as active when in call panel. 2020-12-08 21:06:56 +04:00
John Preston d6ab9347c1 Update API scheme, add admin log filter. 2020-12-08 20:05:55 +04:00
John Preston 546881c720 Join other calls with confirmation. 2020-12-08 19:09:13 +04:00
John Preston 529c12ea3a Hide call panel when starting hanging up. 2020-12-08 16:03:59 +04:00
John Preston 33fc3fe354 Make 'voice chat' links clickable in service messages. 2020-12-08 15:51:18 +04:00
John Preston a61567e1a8 Create a call in legacy group with migration. 2020-12-08 13:52:48 +04:00
John Preston 49fc066480 Handle GROUPCALL_FORBIDDEN in joinGroupCall. 2020-12-08 13:39:54 +04:00
John Preston a14a62eefa Update API scheme, add group call admin log events. 2020-12-08 12:45:40 +04:00
John Preston dde94d486b Change button round radius. 2020-12-08 11:19:23 +04:00
John Preston a527d5c535 Improve join group call bar style. 2020-12-08 10:44:22 +04:00
John Preston ba185d1f6f Change group call icon in top bar. 2020-12-07 17:15:45 +04:00
John Preston 8b0430a255 Improve group call error messages. 2020-12-07 17:15:34 +04:00
John Preston f11df0519e Add global shortcut permissions check on macOS. 2020-12-07 16:16:03 +04:00
John Preston 25ffdcc919 Update Qt to 5.15.2. 2020-12-07 16:13:46 +04:00
23rd e97140a311 Fixed blob animations in group calls with enabled push-to-talk. 2020-12-06 19:56:42 +03:00
23rd 54567a4253 Replaced Application::appDeactivates with appDeactivatedValue. 2020-12-06 18:36:39 +03:00
John Preston 628a02d99c Hide push to talk release delay option by default. 2020-12-06 19:13:18 +04:00
John Preston bfce832a7a Don't leave call when joining other call from other device. 2020-12-06 18:12:24 +04:00
John Preston 78067fd996 Improve group call window controls on Windows. 2020-12-06 17:53:17 +04:00
John Preston 732bc38e8e Show chats list badge only for non-empty calls. 2020-12-06 17:28:27 +04:00
John Preston fa55fd7dd7 Update API scheme. 2020-12-06 16:46:14 +04:00
John Preston 72a8b92827 Add push-to-talk release delay. 2020-12-06 16:44:20 +04:00
John Preston 80b7858f5e Don't reorder members while menu is shown. 2020-12-06 16:16:11 +04:00
John Preston af4f10b1bb Special mute state for Push-to-Talk unmute. 2020-12-06 14:27:42 +04:00
John Preston 8f11868bb6 Use new global shortcuts interface. 2020-12-06 13:41:00 +04:00
23rd 8b2d75502b Fixed background color in Calls::TopBar for force muted state. 2020-12-05 15:32:41 +03:00
23rd be9644c2ff Removed redundant condition in drawing of voice chat indicator.
Related commit: 4a20a4d739.
2020-12-05 15:32:41 +03:00
23rd 190b1c9872 Added key filter to calls settings box while shortcut is recording. 2020-12-04 01:28:52 +03:00
23rd d36fad7268 Fixed crash in shortcut editor of push-to-talk. 2020-12-04 01:17:23 +03:00
John Preston d41e93fb1c Add push-to-talk with global shortcut on Windows. 2020-12-03 21:17:15 +03:00
23rd f4dfd738ec Added hiding of Blob animations at animations disabling. 2020-12-03 21:10:08 +03:00
23rd 79d5a49e7c Added hiding of Blob animations at application deactivating. 2020-12-03 19:44:17 +03:00
23rd a57d23f7d9 Added ability to handle application deactivating. 2020-12-03 19:34:18 +03:00
23rd 4a20a4d739 Fixed drawing of voice chat indicator for non-default scales. 2020-12-03 00:16:26 +03:00
John Preston 101409d866 Add animations to group call member mute status. 2020-12-02 15:25:30 +03:00
John Preston fdbe6bdeb2 Add voice chat indicator in the chats list. 2020-12-02 13:52:33 +03:00