Commit Graph

8402 Commits

Author SHA1 Message Date
John Preston 15620b5c2d Divide speaking status and background noise. 2020-12-15 14:16:44 +04:00
John Preston 7f7e7b94d6 Fix Escape in comments section. 2020-12-15 12:42:10 +04:00
Ilya Fedin df9d19b16a Clean up static plugins list
- Qt example's Wayland integrations
- Legacy xdg-shell implementations
- QSvgIcon that was never needed, but added by an accident with lxqt-qtplugin
2020-12-15 12:35:37 +04:00
Ilya Fedin af17046a76 Enable xlib and libdrm in ffmpeg build in order to have va-x11 and va-drm enabled 2020-12-15 12:05:55 +04:00
John Preston cb6db82809 Beta version 2.4.14.
- Create voice chats in legacy groups.
- Fix sticker pack opening.
- Fix group status display.
- Fix group members display.
2020-12-14 21:12:06 +04:00
John Preston ad2d2c203f Respect 'just_joined' participant flag. 2020-12-14 20:08:47 +04:00
John Preston 7ab919e249 Allow skipping more bad packets after a good one. 2020-12-14 19:56:24 +04:00
John Preston d69caacded Improve top bar icons layout. 2020-12-14 19:56:01 +04:00
John Preston b6483cb65c Use shared_ptr<Memento> for sections. 2020-12-14 18:48:10 +04:00
23rd baba7e272d Updated phrase and colors for force muted state in group calls. 2020-12-14 17:58:45 +04:00
23rd 77775b5f7c Added ability to use application while recording voice message. 2020-12-14 17:09:24 +04:00
23rd dc7a754418 Added ability to prevent application lock and account switch. 2020-12-14 17:09:24 +04:00
23rd 24b8377a2a Added initial implementation of display sections prevent. 2020-12-14 17:09:24 +04:00
23rd c8643aa1ee Wrapped raw SectionMemento with unique_ptr. 2020-12-14 17:09:24 +04:00
23rd de6b460754 Fixed visual glitch in Replies section with tall input field. 2020-12-14 17:09:23 +04:00
23rd bb4be4f3dd Replaced float interpolation with implementation from lib_ui. 2020-12-14 17:09:23 +04:00
23rd 62fe44bde8 Slightly refactored LinearBlob animation in Calls::TopBar. 2020-12-14 17:09:23 +04:00
23rd de20ff05eb Fixed draft applying while recording voice message in HistoryWidget.
Relevant commit: d15a5c9bdc.
2020-12-14 17:09:23 +04:00
John Preston 1b624d67b8 Support voice chats in legacy groups, with migration. 2020-12-14 16:52:18 +04:00
Ilya Fedin cd3b989e70 Use xcb to set transient parent for gtk file dialog 2020-12-14 16:50:59 +04:00
Ilya Fedin dcd1e62c36 Move media viewer back to the right screen if it was moved by window manager 2020-12-14 14:02:15 +04:00
Ilya Fedin c9d2ef278f Call moveToScreen from handleVisibleChanged in OverlayWidget 2020-12-14 14:02:15 +04:00
Ilya Fedin 78a666a19d Make updateGeometry don't need the argument 2020-12-14 14:02:15 +04:00
John Preston 2b91eedcd4 Update API scheme. 2020-12-13 23:27:51 +04:00
John Preston 7217d14f09 Show speaking animations in voice chat bar. 2020-12-11 18:53:02 +04:00
John Preston fe23ba086a Animate userpics in join voice chat bar. 2020-12-11 17:16:37 +04:00
John Preston 424ba1dbea Track speaking state in non-joined voice chats. 2020-12-11 15:04:34 +04:00
John Preston 49b8340695 Fix top bar controls in chat view. 2020-12-11 14:20:17 +04:00
John Preston 4b31b4792a Restore call window from minimized on bar click. 2020-12-11 12:01:55 +04:00
John Preston df420e4ccf Revert "Use gtk not only to get image from clipboard, but also to set"
This reverts commit f88c132c96.

Fixes #9885.
2020-12-11 12:00:52 +04:00
Ilya Fedin cc35653c2c Add changelog2appdata into cmake build 2020-12-10 13:15:26 +04:00
Filippe LeMarchand 64c791a9ce Add changelog2appdata.py from flatpak 2020-12-10 13:15:26 +04:00
Ilya Fedin 7809cb8d30 Add execute bit to Telegram/build/docker/centos_env/build.sh 2020-12-10 09:56:40 +04:00
Ilya Fedin 379a3d74e2 Fix build without gtk 2020-12-10 09:43:47 +04:00
Ilya Fedin 05147016b0 Simplify XErrorHandlerRestorer API 2020-12-10 07:15:39 +03:00
Ilya Fedin 3297bdadb5 Add new dependencies to snap build 2020-12-09 22:36:06 +03:00
John Preston 43564d1850 Beta version 2.4.13.
- Fix voice messages sending.
- Fix crash in voice calls.
2020-12-09 17:40:27 +04:00
John Preston 092e0990e8 Request mic permission only on unmute. 2020-12-09 17:11:42 +04:00
John Preston 7feb841081 Create voice chats with confirmation. 2020-12-09 16:24:25 +04:00
John Preston d15a5c9bdc Revert "Fixed accidental stop of voice recording in sections."
This reverts commit 5f9e497d38.

Fixes #9871.
2020-12-09 16:01:09 +04:00
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
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
23rd 00e4ef7701 Added cross line animation to mute button in Calls::TopBar. 2020-12-01 20:05:26 +03:00
23rd d0358458ea Added gradient to Calls::TopBar. 2020-12-01 17:28:16 +03:00
John Preston c0af89f465 Show group name in the title. 2020-12-01 17:28:01 +03:00
John Preston c82bc691e0 Improve group call service messages. 2020-12-01 17:17:05 +03:00
John Preston 5a324756fd Track call_active flag in channels. 2020-12-01 16:22:07 +03:00
23rd 43ee8a402c Slightly refactored group call members. 2020-12-01 15:34:17 +03:00
John Preston 309b3a6f96 Keep speaking state only for 350ms. 2020-12-01 14:59:09 +03:00
John Preston ef119dadd5 Add bouncing of userpics in group call members. 2020-12-01 14:52:40 +03:00
John Preston 498d6226e3 Add blob animations to group call participants. 2020-12-01 12:06:06 +03:00
23rd 80597e190a Fixed permissions requesting for different call types. 2020-12-01 09:45:24 +03:00
23rd c4c18d16ab Updated docs. 2020-12-01 09:45:24 +03:00
23rd 346547c23d Fixed draft applying while recording voice message in HistoryWidget. 2020-12-01 09:45:24 +03:00
23rd 7b837e5138 Fixed section scrolling above voice recording lock. 2020-12-01 09:45:24 +03:00
23rd 5f9e497d38 Fixed accidental stop of voice recording in sections. 2020-12-01 09:45:24 +03:00
23rd c109e35d95 Fixed send options in CreatePollBox and SendFilesBox in replies. 2020-12-01 09:45:24 +03:00
John Preston c53d9c532f Delayed mic init in group call settings. 2020-12-01 09:45:24 +03:00
John Preston 02d5af7d71 Detect animated stickers by mime type. 2020-12-01 09:45:24 +03:00
John Preston 624ee3bf60 Send speaking typing actions. 2020-12-01 09:45:24 +03:00
John Preston 3134d68971 Closed alpha version 2.4.11.1. 2020-12-01 09:45:24 +03:00
John Preston 2f7a4730a4 Use new buttons and phrases. 2020-12-01 09:45:24 +03:00
23rd a2191a293e Added colors overriding for call settings button from mute button. 2020-12-01 09:45:24 +03:00
John Preston 5739b70844 Improve group call popup menu styles. 2020-12-01 09:45:24 +03:00
John Preston aeea262b92 Add fake round corners to call members list. 2020-12-01 09:45:23 +03:00
John Preston 53052c6140 Add member menu on click in group call members list. 2020-12-01 09:45:23 +03:00
John Preston 834516d4a7 Improve colors in group call panel. 2020-12-01 09:45:23 +03:00
John Preston 1a2fe59d88 Drag group call panel only by title area. 2020-12-01 09:45:23 +03:00
John Preston d5216a30c7 Forbid anonymous admins joining group calls. 2020-12-01 09:45:23 +03:00
John Preston d773f2c765 Handle call updates only from the correct session. 2020-12-01 09:45:23 +03:00
John Preston d40768f6b0 Use separate styles for group call boxes. 2020-12-01 09:45:23 +03:00
John Preston e66ad89a2a Load unknown participants by source. 2020-12-01 09:45:23 +03:00
John Preston cf8e45ab61 Check joined state if disconnected. 2020-12-01 09:45:23 +03:00
John Preston c42ef54417 Join call instead of creating a new one. 2020-12-01 09:45:23 +03:00
John Preston 5339523824 Add userpics to the active call bar. 2020-12-01 09:45:23 +03:00
John Preston e3a73378e7 Add recent members userpics to group call bar. 2020-12-01 09:45:23 +03:00
John Preston 058199aa0d Track speaking state in participants list. 2020-12-01 09:45:23 +03:00
John Preston 3a5b625d64 Allow inviting members to the group call. 2020-12-01 09:45:23 +03:00
John Preston 9e5006dd67 Add group call settings box. 2020-12-01 09:45:22 +03:00
John Preston abb81c764e Allow discarding group call when leaving. 2020-12-01 09:45:22 +03:00
John Preston e66a72876c Show call button only when you can create voice chat. 2020-12-01 09:45:22 +03:00
John Preston 7cfb39ea5d Use new button types from lib_ui. 2020-12-01 09:45:22 +03:00
John Preston bc01a364d0 Reset speaking status by timeout. 2020-12-01 09:45:22 +03:00
John Preston d1c821973a Update speaking status based on audio level. 2020-12-01 09:45:22 +03:00
John Preston b54a2aa40b Apply self mute status locally. 2020-12-01 09:45:22 +03:00
John Preston 7983d33ad5 Add manage_call admin right support. 2020-12-01 09:45:22 +03:00
John Preston d18b29efb8 Track three-state muted value. 2020-12-01 09:45:22 +03:00
John Preston c8dd486410 Update API scheme. 2020-12-01 09:45:22 +03:00
John Preston eb40edae22 Fix group call members list height. 2020-12-01 09:45:22 +03:00
John Preston b8f23bda59 Allow to toggle group call members mute. 2020-12-01 09:45:22 +03:00
John Preston a6b4cdd62d Improve group call members list updating. 2020-12-01 09:45:22 +03:00
John Preston 8618fe41ee Apply new group call from new service message. 2020-12-01 09:45:22 +03:00
John Preston 2ac0a2a10b Send mute state updates in group calls. 2020-12-01 09:45:22 +03:00
John Preston ec5aeb32f1 Add title to group call panel. 2020-12-01 09:45:22 +03:00
John Preston 858ee0e8c4 Update API scheme. 2020-12-01 09:45:22 +03:00
John Preston 0537d4c199 Update OpenAL to 1.21. 2020-12-01 09:45:22 +03:00
John Preston 2e62eb1186 Start group call members list. 2020-12-01 09:45:22 +03:00
John Preston 6a86ed1506 Handle SEARCH_QUERY_EMPTY in dialogs. 2020-12-01 09:45:21 +03:00
John Preston 267c2d32f0 Fix shadow of group call bar. 2020-12-01 09:45:21 +03:00
John Preston 41591ff2e9 Add group calls top bar. 2020-12-01 09:45:21 +03:00
John Preston 8833d3e45b Add empty group call panel. 2020-12-01 09:45:21 +03:00
John Preston 25f3c14780 Apply group call updates. 2020-12-01 09:45:21 +03:00
John Preston 33941ad1b9 Start group call bar in HistoryWidget. 2020-12-01 09:45:21 +03:00
John Preston 3aa2619a7f Update API scheme to layer 122. 2020-12-01 09:45:21 +03:00
John Preston 62eaa3f225 Update API scheme to layer 121. 2020-12-01 09:45:21 +03:00
John Preston cc48afac1c Beta version 2.4.11.
- Improve locked voice message recording.
- Fix main window closing to tray on Windows.
- Fix crash in bot command sending.
- Fix adding additional photos when sending an album
to a group with enabled slow mode.
2020-11-19 19:05:46 +03:00
23rd 0a0dcb9054 Delegated responsibility for clearing listen state to sections. 2020-11-19 18:41:13 +03:00
Ilya Fedin b1b01385d0 Restore 16px tray icon size
Looks like there are support for this size since b703f4e555
2020-11-19 18:36:57 +03:00
23rd a2e4403b28 Slightly refactored code for menu with send options. 2020-11-19 18:11:37 +03:00
23rd e1017380ec Fixed filling menu with send options for inline bots and autocomplete. 2020-11-19 18:11:37 +03:00
23rd a6e4ac679c Fixed reply stuck display at sending voice in Replies section. 2020-11-19 18:11:37 +03:00
23rd f75fb33c29 Removed delay for voice lock widget appearing. 2020-11-19 18:11:37 +03:00
23rd cbaca6382e Fixed unwanted flickering of record button when recorded data is empty. 2020-11-19 18:11:37 +03:00
23rd 1758f0fd8f Added send icon to VoiceRecordButton. 2020-11-19 18:11:37 +03:00
John Preston e29ee439cf Improve media viewer hiding workaround on macOS. 2020-11-19 17:59:43 +03:00
John Preston 51f960442e Make caption area height bigger. 2020-11-19 17:42:57 +03:00
John Preston fff2ee2758 Use 'Next' in send media box in Scheduled section. 2020-11-19 17:16:56 +03:00
John Preston b1ed15447b Scroll to bottom when sending a poll. 2020-11-19 17:01:50 +03:00
John Preston a086afb152 Fix legacy group service message in chats list. 2020-11-19 16:47:17 +03:00
John Preston 639e6d8e28 Fix sending albums in slowmode groups.
Fixes #9106.
2020-11-19 16:47:17 +03:00
John Preston 00504b61cd Allow all messages silent in support mode. 2020-11-19 16:23:57 +03:00
John Preston 1affb8172f Fix hime_qt build with -Werror. 2020-11-18 19:15:26 +03:00
John Preston c98a3825a5 Fix sending bot commands from autocomplete. 2020-11-18 14:50:10 +03:00
Ilya Fedin 76a7cc9229 Don't set screen for media viewer on Wayland 2020-11-18 14:29:00 +03:00
John Preston b2047c9558 Fix first media viewer open zoom. 2020-11-18 14:11:23 +03:00
John Preston 4a73bb7872 Fix main window on Windows.
Fixes #9089, fixes #9090.
2020-11-18 13:32:30 +03:00
John Preston 91b8ad171a Beta version 2.4.10.
- Use inline bots and sticker by emoji suggestions
in channel comments.
- Lock voice message recording,
listen to your voice message before sending.
2020-11-17 18:21:19 +03:00
John Preston 4f6f654e34 Check replies_pts before applying.
Fixes #9062.
2020-11-17 18:05:35 +03:00
John Preston ed50aa0d8e Fix build with Qt < 5.14. 2020-11-17 17:14:21 +03:00
mid-kid 49480001f7 Move IsWayland() checks into WaylandIntegration 2020-11-17 16:23:54 +03:00
Ilya Fedin 4ed6918a5e Disable some static plugins when building without wayland 2020-11-17 16:23:54 +03:00
Ilya Fedin 0563e1f878 Have the wayland build-time toggle affect the native window title 2020-11-17 16:23:54 +03:00
mid-kid 96b2e26f42 Build wayland support optionally 2020-11-17 16:23:54 +03:00
Ilya Fedin c0142726f8 Remove unneeded Xi and Xrender from docker build and add repo with new git 2020-11-17 15:49:50 +03:00
Ilya Fedin 985956e625 Update lib_base 2020-11-17 15:46:42 +03:00
23rd 04c068d8b3 Added filling send context menu to TabbedSelector from ComposeControls. 2020-11-17 12:58:08 +03:00
23rd 980ce9fba3 Replaced auto types with explicit types in VoiceRecordBar's lambdas. 2020-11-17 12:58:08 +03:00
23rd 024a35d770 Added ability to send recorded voice data from ComposeControls. 2020-11-17 12:58:08 +03:00
23rd ab38ddc21d Added ability to fill send context menu in ComposeControls. 2020-11-17 12:58:08 +03:00
23rd 79cc4da626 Reduced block size for voice record lock. 2020-11-17 12:58:08 +03:00
23rd 92298316ab Added transform animation from lock to stop icon for recording voice. 2020-11-17 12:58:08 +03:00
23rd c9314e5e5e Added ripple animation to stop recording voice button. 2020-11-17 12:58:07 +03:00
23rd eadd952e66 Added animation for recorded voice data delete. 2020-11-17 12:58:07 +03:00
23rd fb2924f2d6 Fixed size and position of lock/stop button at end of animation. 2020-11-17 12:58:07 +03:00
23rd 7dac42b523 Added ability to play/pause recorded voice data with Space key. 2020-11-17 12:58:07 +03:00
23rd d2defabd4b Improved waveform display of recorded voice data. 2020-11-17 12:58:07 +03:00
23rd e0cc3791ff Added edit message prevent when there is unsent recorded voice data. 2020-11-17 12:58:07 +03:00
23rd 6ecc446a8a Added ability to schedule and send without sound recorded voice data. 2020-11-17 12:58:07 +03:00
23rd 2668619758 Added ability to seek recorded voice data. 2020-11-17 12:58:07 +03:00
23rd 5eba680483 Added play button for recorded voice data. 2020-11-17 12:58:07 +03:00
23rd 7826d0246d Added duration display of recorded voice data.
const qptr
2020-11-17 12:58:07 +03:00
23rd 189c940710 Added waveform display of recorded voice data. 2020-11-17 12:58:07 +03:00
23rd 8b2bb722de Added ability to send and cancel recorded voice data with keys. 2020-11-17 12:58:07 +03:00
23rd a19e3ca3dc Added initial ability to send recorded voice data from listen state. 2020-11-17 12:58:07 +03:00
23rd 647cbc5464 Added initial ability to delete recorded voice data. 2020-11-17 12:58:07 +03:00
23rd 131c2e1c56 Slightly refactored waveform paint in voice messages. 2020-11-17 12:58:07 +03:00
23rd 81723a5d19 Slightly improved voice lock design. 2020-11-17 12:58:07 +03:00
John Preston b3eb7858e6 Save local drafts in scheduled / replies sections.
Fix inline bot switch inline in scheduled / replies sections.
2020-11-17 12:58:07 +03:00
John Preston 4a0efb9114 Remove Q_OBJECT from HistoryWidget. 2020-11-17 12:58:07 +03:00
John Preston f04b3da76a Add return from bot switch_pm to Scheduled/Replies. 2020-11-17 12:58:06 +03:00
John Preston 4a8b59b788 Pass reply info to Window::PeerMenu. 2020-11-17 12:58:06 +03:00
John Preston 4f22171dd6 Add start bot command and handle via@ links. 2020-11-17 12:57:03 +03:00
John Preston 10adbecb9c Support creating polls in RepliesSection. 2020-11-17 12:56:51 +03:00
John Preston a8564b166b Add inline bots to ComposeControls. 2020-11-17 12:56:51 +03:00
John Preston cf6ca3b1ac Handle bot command clicks in Replies / Scheduled. 2020-11-17 12:56:51 +03:00
John Preston ac02e2be9e Add FieldAutocomplete to ComposeControls. 2020-11-17 12:56:51 +03:00
23rd 5d2ffae215 Improved VoiceRecordButton colors. 2020-11-17 12:56:51 +03:00
23rd 1d120092cf Fixed previous values resetting in VoiceRecordButton. 2020-11-17 12:56:51 +03:00
23rd 2035392564 Removed bezier circle paint when animations are disabled. 2020-11-17 12:56:51 +03:00
23rd c4897cec0a Replaced dummy lock icons with lock animation. 2020-11-17 12:56:51 +03:00
23rd dd462eb8cf Slightly improved animation of bezier circle in VoiceRecordButton. 2020-11-17 12:56:51 +03:00
23rd 71e8bda7bb Replaced raw variables for animations in VoiceRecordButton. 2020-11-17 12:56:51 +03:00
23rd ce1ae5ba12 Removed redundant code from VoiceRecordButton. 2020-11-17 12:56:51 +03:00
23rd 6ae15485ad Added show animation to VoiceRecordButton. 2020-11-17 12:56:51 +03:00
23rd 7a32d78689 Replaced record circle button with bezier circle. 2020-11-17 12:56:51 +03:00
23rd cb84e70bdc Improved display management of voice record controls. 2020-11-17 12:56:51 +03:00
23rd b3925a3bec Added touchbar hiding while recording voice message. 2020-11-17 12:56:51 +03:00
23rd 041d8571c2 Added delay for start recording voice message. 2020-11-17 12:56:50 +03:00
23rd 367b487a6c Prettified fast locking of voice record. 2020-11-17 12:56:50 +03:00
23rd 57eb4f8234 Disabled drag'n'drop area when user is recording voice message. 2020-11-17 12:56:50 +03:00
23rd ad4bf9b5c8 Improved VoiceRecordBar support in ComposeControls. 2020-11-17 12:56:50 +03:00
23rd 6ed7615653 Removed redundant methods for record from SendButton. 2020-11-17 12:56:50 +03:00
23rd cab22c07a5 Replaced recording animation with simple red circle animation. 2020-11-17 12:56:50 +03:00
23rd ba3862e70f Added new send recorded voice button with recording animation. 2020-11-17 12:56:50 +03:00
23rd 4970740739 Fixed voice recording lock position on resizing. 2020-11-17 12:56:50 +03:00
23rd cdb77d46b1 Slightly refactored text drawing in VoiceRecordBar. 2020-11-17 12:56:50 +03:00
23rd b6743feec1 Added ability to send recording voice message with Enter key. 2020-11-17 12:56:50 +03:00
23rd fe5242d6d2 Added ability to pass filter for Escape key to voice record bar. 2020-11-17 12:56:50 +03:00
23rd 914e40fb62 Added red coloring of record button. 2020-11-17 12:56:50 +03:00
23rd 326342420d Added animation of voice recording lock with dummy lock icons. 2020-11-17 12:56:50 +03:00
23rd 478f5f671c Added initial implementation of voice recording lock. 2020-11-17 12:56:50 +03:00
23rd 43635f6e4b Slightly optimized paint in VoiceRecordBar. 2020-11-17 12:56:50 +03:00
23rd ebe1fa7408 Improved duration text paint in VoiceRecordBar. 2020-11-17 12:56:50 +03:00
23rd 5c006002b6 Added appearance animation to VoiceRecordBar. 2020-11-17 12:56:50 +03:00
23rd e7454e3849 Removed redundant record methods from SendButton. 2020-11-17 12:56:50 +03:00
23rd 3e4866d3b7 Moved active animation processing from SendButton to VoiceRecordBar. 2020-11-17 12:56:50 +03:00
23rd db564ca486 Replaced voice record processing with VoiceRecordBar in HistoryWidget. 2020-11-17 12:56:50 +03:00
23rd fd76b44dbd Replaced voice record processing with VoiceRecordBar in ComposeControls. 2020-11-17 12:56:50 +03:00
23rd 112dea8594 Created voice record bar as separated history view class. 2020-11-17 12:56:50 +03:00
23rd 6d775d6f45 Moved structures of compose controls to separated header. 2020-11-17 12:56:50 +03:00
23rd f7c6876e1b Moved history_view_compose_controls to controls folder. 2020-11-17 12:56:50 +03:00
23rd 8845652f77 Fixed macOS build. 2020-11-17 12:56:50 +03:00
Ilya Fedin cd67cb1c62 Update media viewer geometry on showing and screen change 2020-11-17 12:49:05 +03:00