Commit Graph

8605 Commits

Author SHA1 Message Date
John Preston ec468431b4 Raster render of wide mode in single widget. 2021-05-24 22:45:16 +04:00
John Preston 4774f438a9 Update API scheme. 2021-05-24 22:45:16 +04:00
John Preston f40659a7b4 Round corners of LargeVideo. 2021-05-24 22:45:16 +04:00
John Preston 047989abcf Fill solid background in OpenGL renderer. 2021-05-24 22:45:16 +04:00
John Preston 3e79b67032 Start OpenGL renderer for group calls. 2021-05-24 22:45:16 +04:00
John Preston ca4b1e6ae0 Fix build for macOS. 2021-05-24 22:45:16 +04:00
John Preston b56749426b Fix build on Clang/GCC. 2021-05-24 22:45:16 +04:00
John Preston cbe6e1caad Closed alpha version 2.7.5.2. 2021-05-24 22:45:16 +04:00
John Preston 748eb9ff12 Remove labels from wide mode buttons. 2021-05-24 22:45:16 +04:00
John Preston 385b98ff3d Nice three-button narrow mode with gradient fading. 2021-05-24 22:45:16 +04:00
John Preston c12a50544e Allow force-disabling OpenGL. 2021-05-24 22:45:15 +04:00
John Preston c64e953174 Choose OpenGL / Raster in media viewer. 2021-05-24 22:45:15 +04:00
John Preston ccc599c83e Fix PiP window first show. 2021-05-24 22:45:15 +04:00
John Preston a45064257a Choose OpenGL / Raster surface at runtime. 2021-05-24 22:45:15 +04:00
John Preston 9510ba07f7 Drop old sticker set cover locations. 2021-05-24 22:45:15 +04:00
John Preston 451332b2e7 Closed alpha version 2.7.5.1. 2021-05-24 22:45:15 +04:00
John Preston 445c798bbc Improve pin video button design and controls hiding. 2021-05-24 22:45:15 +04:00
John Preston c48c4d4283 Use QOpenGLWidget on all systems. 2021-05-24 22:45:15 +04:00
John Preston f7454a4284 Fix crash on quit in idle state. 2021-05-24 22:45:15 +04:00
John Preston 9144f4ea7b Fix streaming frames prepare. 2021-05-24 22:45:15 +04:00
John Preston aaea367fba Hide controls when mouse is out of video area. 2021-05-24 22:45:15 +04:00
John Preston b905a18161 Destroy all tgcalls instances before quit. 2021-05-24 22:45:15 +04:00
John Preston f4ae7ecbe7 Remove tracking of video ssrc-s. 2021-05-24 22:45:15 +04:00
John Preston 9a8812d00b Move participants list to the right of the window. 2021-05-24 22:45:15 +04:00
John Preston 13b3de683a Improve narrow participants column design. 2021-05-24 22:45:15 +04:00
John Preston 64243d1437 Fix crash in joining active video chat. 2021-05-24 22:45:15 +04:00
John Preston a730c88491 Add icons and improve narrow participants column. 2021-05-24 22:45:15 +04:00
John Preston bd90cc4134 Fix closing of pre-launch windows. 2021-05-24 22:45:15 +04:00
John Preston 316f0537c4 Implement video pin / controls hiding in video tiles. 2021-05-24 22:45:15 +04:00
John Preston 7f739065e8 First version of tiled layout. 2021-05-24 22:45:15 +04:00
John Preston bd83ed8130 Add 'pin screencast' context menu item. 2021-05-24 22:45:15 +04:00
John Preston e39ffbc83c Update tgcalls, request required video channels. 2021-05-24 22:45:15 +04:00
John Preston 1471e9b8e2 Destroy group call instances async. 2021-05-24 22:45:15 +04:00
John Preston 4c23d51be5 Fix volume icon over video. 2021-05-24 22:45:15 +04:00
John Preston 412cfb24d2 Stop video when rejoining-as, handle errors. 2021-05-24 22:45:15 +04:00
John Preston 2a5977e97f Support enlarge / minimize of video. 2021-05-24 22:45:15 +04:00
John Preston 64c34b7029 Hide controls in wide video mode. 2021-05-24 22:45:15 +04:00
John Preston 0db0abe608 Use LargeVideo in the default mode. 2021-05-24 22:45:15 +04:00
John Preston 5f4903a279 Show controls in the middle of wide video. 2021-05-24 22:45:14 +04:00
John Preston 20ff79abf4 Fix camera / screen self track activation. 2021-05-24 22:45:14 +04:00
John Preston 3a321d64f6 Switch between videos by left click. 2021-05-24 22:45:14 +04:00
John Preston 7e8d1f7974 Toggle video pin from LargeVideo. 2021-05-24 22:45:14 +04:00
John Preston 9f41461209 Load .dll symbols in a similar way. 2021-05-24 22:45:14 +04:00
John Preston 6b10045b7b Enable screen sharing on Linux. 2021-05-24 22:45:14 +04:00
John Preston 2830049a53 Add support for DirectX desktop capturer backend. 2021-05-24 22:45:14 +04:00
John Preston 50558de591 Show name and information on wide large video. 2021-05-24 22:45:14 +04:00
John Preston 80e3e8a01e Extract MembersRow from calls_group_members module. 2021-05-24 22:45:14 +04:00
John Preston d38780c94d Add shadow under name over video. 2021-05-24 22:45:14 +04:00
John Preston 801435e57c Show participant names in narrow column. 2021-05-24 22:45:14 +04:00
John Preston 8001efe6ab Track peer together with video endpoint. 2021-05-24 22:45:14 +04:00
John Preston 909a3cef9b Create a new Instance for each screencast. 2021-05-24 22:45:14 +04:00
John Preston 9ac510a1ad Fix title of wide mode video chat. 2021-05-24 22:45:14 +04:00
John Preston 00ce302b38 Improve narrow participants column design. 2021-05-24 22:45:14 +04:00
John Preston 0dcc7a05f7 Fix crash in pinned video switching. 2021-05-24 22:45:14 +04:00
John Preston 54c2769d8a Improve voice /video chat members management. 2021-05-24 22:45:14 +04:00
John Preston 2e400d88d3 Fix creating group calls. 2021-05-24 22:45:14 +04:00
John Preston d9aa660253 Handle members slice loaded. 2021-05-24 22:45:14 +04:00
John Preston ba1dade4b0 New API/tgcalls with two outgoing videos. 2021-05-24 22:45:14 +04:00
John Preston a48649987e Improve screencast source choosing design. 2021-05-24 22:45:14 +04:00
John Preston 022c0a1327 Update tgcalls library. 2021-05-24 22:45:14 +04:00
John Preston 69ceed5bbc Update API scheme to layer 129. 2021-05-24 22:45:14 +04:00
John Preston b3fcb4ef36 Allow 'mute for me' of muted by admin participants. 2021-05-24 22:45:14 +04:00
John Preston 8342b2d275 Fix bug with video_muted flag. 2021-05-24 22:45:14 +04:00
John Preston 36888f844f Disable (crashing) capturer on Linux. 2021-05-24 22:45:14 +04:00
John Preston 1a784fc678 Track video_muted from API. 2021-05-24 22:45:14 +04:00
John Preston dac9017df1 Improve video chat controls layout. 2021-05-24 22:45:14 +04:00
John Preston 7b3b5a1463 Use 'Screencast' video content type. 2021-05-24 22:45:14 +04:00
John Preston b7fc3f67d7 Add toggle video and screen sharing buttons. 2021-05-24 22:45:13 +04:00
John Preston e0bfaad3a2 Make style of mute button customizable. 2021-05-24 22:45:13 +04:00
John Preston 380a0d1f86 Improve wide video layout. 2021-05-24 22:45:13 +04:00
John Preston b7f6fc9a2d Update API scheme. 2021-05-24 22:45:13 +04:00
John Preston e12fe974b2 Add pinned video in wide mode. 2021-05-24 22:45:13 +04:00
John Preston b15623d435 Allow pinning video to top of members list. 2021-05-24 22:45:13 +04:00
John Preston eb8f709943 Show members list in PanelMode::Wide. 2021-05-24 22:45:13 +04:00
John Preston c93ddf6aac Separate Call/GroupCall delegates and Instance. 2021-05-24 22:45:13 +04:00
John Preston 6e34360f7e Move some group call modules. 2021-05-24 22:45:13 +04:00
John Preston c9d07cd0f8 Proof-of-concept desktop capture source picker. 2021-05-24 22:45:13 +04:00
John Preston 9ff6b57b94 Use common desktop_capturer code on Windows. 2021-05-24 22:45:13 +04:00
John Preston fb49b0ca27 Add proof-of-concept screen sharing on macOS. 2021-05-24 22:45:13 +04:00
John Preston fef1f80570 Disable video preview in Settings when in group call. 2021-05-24 22:45:13 +04:00
John Preston 38cb1b195d Add proof-of-concept screen sharing on Windows. 2021-05-24 22:45:13 +04:00
John Preston ebdbe4a8d6 Show video instead of userpics in members list. 2021-05-24 22:45:13 +04:00
John Preston ba02a5c46a Resolve video chat participants by unknown ssrcs. 2021-05-24 22:45:13 +04:00
John Preston a6f379a17a Parse and serialize video parameters. 2021-05-24 22:45:13 +04:00
Ilya Fedin e0d6faf45b Fix build with LTO 2021-05-19 12:26:07 +03:00
John Preston fbe4e3f0ec Fix build with mallocng. 2021-05-17 13:38:28 +04:00
Ilya Fedin 837485974a Use mallocng on Linux 2021-05-17 10:35:18 +03:00
Ilya Fedin 3cf739eca9 Use event filter to get surface expose event 2021-05-17 10:00:01 +03:00
Ilya Fedin cfee688feb Replace call_delayed with InvokeQueued in MainWindow::handleVisibleChanged 2021-05-17 10:00:01 +03:00
Ilya Fedin 30d8894c30 Use nodiscard in WaylandIntegration 2021-05-17 10:00:01 +03:00
Ilya Fedin 0b86feeeb5 Implement appmenu on Wayland with org_kde_kwin_appmenu protocol 2021-05-17 10:00:01 +03:00
Ilya Fedin 434ef34378 Implement taskbar icon hidding on Wayland with org_kde_plasma_shell protocol 2021-05-17 10:00:01 +03:00
Ilya Fedin 166c28c215 Get rid of default_delete 2021-05-17 10:00:01 +03:00
Ilya Fedin 17c514e851 Use surface as XdgExporter parent 2021-05-17 10:00:01 +03:00
Ilya Fedin f7489592d6 Fix BIO_new_mem_buf leaks 2021-05-17 09:53:02 +03:00
John Preston a8807bc915 Fix voice recoding with FFmpeg 4.4.
Fixes #16217.
2021-05-13 15:36:27 +04:00
John Preston 71deaa48af Don't crash on voice recording error.
Fixes #16217.
2021-05-13 15:36:24 +04:00
John Preston e7ca35a276 Fix possible deadlock in debug logs. 2021-05-13 15:36:08 +04:00
John Preston 2d8f43bd8c Fix text color for crash report window. 2021-05-13 15:35:36 +04:00
John Preston 383acf0ffc Fix crash in native notifications on Linux. 2021-05-12 12:10:55 +04:00
c0re100 ee156fc6a8 Add "Archive Sticker" into Sticker Box 3dots menu 2021-05-11 10:54:25 +03:00
Ilya Fedin 680a9a7ca7 Implement parent setting for portal and gtk dialogs on Wayland via xdg-foreign-v2 2021-05-11 10:53:32 +03:00
Ilya Fedin 7de8d6f9ac Fix resetting of available geometry fix in some cases 2021-05-11 10:43:04 +03:00
John Preston 0cb32181c5 Handle small SLOWMODE_WAIT as FLOOD_WAIT. 2021-05-10 16:44:28 +04:00
Ilya Fedin 95b4435396 Resubscribe to signal when running with old xdg-desktop-portal 2021-05-07 18:32:02 +03:00
John Preston f1a9884011 Beta version 2.7.5.
- Add "Voice chats" filter in "Recent actions" for channels.
- Write local drafts to disk on a background thread.
- Support autoupdate for Telegram in write-protected folders on Linux.
- Fix crash in native notifications on Linux.
- Fix crash in file dialog on Linux.
2021-05-04 00:27:59 +04:00
John Preston 691dcb8ae1 Fix build on macOS and Linux. 2021-05-04 00:02:24 +04:00
John Preston db6b571f60 Add voice chat admin event log filter in channels. 2021-05-03 23:05:58 +04:00
John Preston 5ce1b00291 Fix build on Windows #2. 2021-05-03 23:05:22 +04:00
John Preston 8332ba8450 Fix build on Windows. 2021-05-03 21:39:50 +04:00
John Preston b1c4524612 Fix crash dump generation on Linux. 2021-05-03 17:34:33 +04:00
Ilya Fedin 9a857659ce Check action type before launching new version 2021-05-03 14:53:21 +03:00
Ilya Fedin 68dc00be27 Move weak_ptr include to .cpp in linux notifications 2021-05-03 14:39:24 +03:00
Ilya Fedin ee00f12131 Launch new version directly in write-protected mode 2021-05-03 14:39:24 +03:00
John Preston 7444f17c4e Use sendfile only on Linux. 2021-05-03 14:59:24 +04:00
Ilya Fedin 578833446d Add support for write-protected update on Linux 2021-05-03 12:54:08 +03:00
John Preston 4fae827f1e Use a separate string for voice chat ending in groups. 2021-05-03 13:23:28 +04:00
John Preston 98180d3a9e Always guard and send on_main in native notifications. 2021-05-03 13:08:50 +04:00
John Preston 434a4af9ef Fix sendfile() arguments. 2021-05-03 12:43:36 +04:00
John Preston 298215542e Fix legacy-style connect in Intro. 2021-05-03 12:29:21 +04:00
John Preston 197b3c1cb5 Push all QSaveFile-s to background thread. 2021-05-03 12:27:45 +04:00
John Preston 3cad89f299 Fix build, add logs for sendfile(). 2021-05-03 11:21:38 +04:00
Ilya Fedin 56a5363eb9 Move keyPressed out of GSDMediaKeys::Private 2021-05-03 10:20:26 +03:00
Ilya Fedin b1c95d719a Use crl::guard in XDPFileDialog 2021-05-03 10:20:26 +03:00
Ilya Fedin d87ea056c6 Fix a crash in NotificationData::show 2021-05-03 10:20:26 +03:00
Ilya Fedin 34534a9653 Use kernel accelerated sendfile to copy files on Linux 2021-05-03 09:59:58 +03:00
GitHub Action 5d0222b1c1 Update User-Agent for DNS to Chrome 90.0.4430.85. 2021-05-02 10:45:06 +03:00
Ilya Fedin b72260f420 Avoid 30s freeze when opening file dialog in broken envirionments 2021-04-30 08:43:25 +03:00
Ilya Fedin 896eee9841 Check whether portal dialog is failed to open 2021-04-30 08:43:25 +03:00
Ilya Fedin 0d96657c33 Fix check for disconnected error 2021-04-30 08:43:25 +03:00
Ilya Fedin 89b11ef084 Move gtk initialization back to ThirdParty::start 2021-04-30 08:41:05 +03:00
Ilya Fedin 26d3995424 Move wayland helper to cmake_helpers 2021-04-30 08:41:05 +03:00
John Preston b6fad35146 Improve library loading on Linux. 2021-04-29 12:05:32 +04:00
John Preston 70bf328e7d Load wayland-client dynamically and provide functions. 2021-04-29 11:21:57 +04:00
John Preston 404538c989 Fix build with dummy notifications manager on Linux. 2021-04-29 11:21:57 +04:00
John Preston 9c9fc9e881 Version 2.7.4: Fix build for macOS. 2021-04-28 14:08:02 +04:00
John Preston 1d089366ff Version 2.7.4.
- Fix crash in viewing an invoice after a payment is made.
- Respect Focus Assist only for native notifications.
- Mark messages as read only in active window.
2021-04-28 13:16:01 +04:00
John Preston fe40464e33 Force separate panel into the screen geometry. 2021-04-28 13:16:00 +04:00
John Preston 728b1efb9a Respect Focus Assist only for native notifications.
Fixes #16215.
2021-04-28 11:20:39 +04:00
Ilya Fedin 16ba20f898 Prefer portal file dialog in all environments 2021-04-28 09:39:20 +03:00
Daniil d8ffc114d3 Revert number keys check 2021-04-28 09:38:23 +03:00
Daniil 23bd76a8dd Expand moderating mode some more
Revert key check, since number keys stopped working if bot have 
Add missing commands since last PR, also add keys to respect both keypad and regular keyboard users.
2021-04-28 09:38:23 +03:00
John Preston d85981cca0 Revert "Check if the window is not overlapped when is not active"
This reverts commit 6b1bc1e845.

Fixes #16188. Maybe add an option later.
2021-04-28 10:36:15 +04:00
Ilya Fedin 7b466e0643 Take shadow into account when saving/restoring window geometry 2021-04-28 10:13:54 +04:00
John Preston d984c5924d Fix crash in invoice view.
Fixes #16210.
2021-04-27 22:18:35 +04:00
Ilya Fedin cb930a89ce Silence ServiceUnknown and Disconnected errors for native notifications 2021-04-27 17:44:16 +03:00
John Preston 3808874da0 Version 2.7.3.
- Fix crash on some versions of Linux.
- Fix video not stopping when PiP window is closed.
- Fix messages marking as read if the Windows session is locked.
2021-04-27 14:15:25 +04:00
John Preston 3be8521b9a Fix 'Start Now' in scheduled voice chats. 2021-04-27 14:15:25 +04:00
John Preston 9fb72e1c3e Add 'MM / YY' and 'CVC' to langpack. 2021-04-27 14:15:25 +04:00
John Preston e26e666135 Hide native notification details on lock screen. 2021-04-27 13:51:52 +04:00
John Preston e9196bbbb5 Fix closing PiP that was opened without media viewer.
Fixes #16193.
2021-04-27 13:31:51 +04:00
John Preston 819ce06dfb Don't mark messages as read when screen is locked. 2021-04-27 13:31:51 +04:00
John Preston ffdcda5a90 Version 2.7.2.
- Offer real goods and services for sale in any group,
channel or bot – Telegram doesn't charge a commission.
- Pay for goods securely using one of the 8 integrated
payment providers – Telegram doesn't collect your payment info.
- See how this works in our @TestStore.
- Schedule voice chats to let participants know about them in advance.
- View a countdown to the voice chat and get notified when it starts.
- Try two new, fully-featured versions of Telegram Web – both
supporting animated stickers, dark mode, chat folders and more:
https://webk.telegram.org/ and https://webz.telegram.org/.
2021-04-26 16:51:32 +04:00
John Preston 06292e7442 Fix crash and glitch in video-in-PiP preserve. 2021-04-26 16:51:32 +04:00
John Preston 5bb73d8d3d Move recent emoji and variants to common settings.
Fixes #16163, fixes #4018, partially fixes #10123.
2021-04-26 10:51:10 +04:00
John Preston 68e35b232d Fix updating langs in payments form buttons. 2021-04-26 10:51:10 +04:00
John Preston 2843500ce3 Add url with the Focus Assist API information.
Thanks https://www.withinrafael.com/2019/09/19/
determine-if-your-app-is-in-a-focus-assist-profiles-priority-list/
2021-04-26 10:51:10 +04:00
John Preston 2730ab1596 Query Focus Assist state on Windows. 2021-04-23 08:04:43 +04:00
Ilya Fedin 6b1bc1e845 Check if the window is not overlapped when is not active 2021-04-20 15:44:09 +03:00
John Preston 1d64b53cd0 Improve black-and-white QR code border. 2021-04-20 16:42:43 +04:00
John Preston c360bb9da4 Use LOG/DEBUG_LOG from lib_base. 2021-04-20 16:42:43 +04:00
John Preston 42d40a6f8f Remove 'Restrict user' button in gigagroups. 2021-04-19 11:26:04 +04:00
John Preston d93d47f2cf Always use black-over-white login QR code.
Some android devices don't read light-on-dark QRs.

Fixes #10077. Fixes #16152.
2021-04-19 11:26:04 +04:00
John Preston 25470cde3c Fix unread badge styles on palette changes. 2021-04-19 11:26:04 +04:00
John Preston c242a61e8c Fix money input field limit without decimal separator. 2021-04-19 11:26:04 +04:00
John Preston 286cb74620 Make WebLoadManager live on the main thread only. 2021-04-19 11:26:04 +04:00
Loïc Molinari 336405b3c7 Fix voice record button infinite animation
Enabling animations triggers an animation of the voice record button
that keeps firing uselessly at ~120 calls per second until the button
is manually toggled. The animation callback cannot stop itself since
it expects the button to be visible.

This commit fixes the issue by preventing spawning the animation if
the widget is hidden.
2021-04-15 16:22:29 +03:00
Loïc Molinari 06618a5253 Use fine grained session timers
The check of sent requests and containers is done unconditionally
every second even though the request timeout is 10 seconds and the
container timeout is 600 seconds. This commit uses fine grained timers
instead in order to avoid useless system wake-up events.

The check of sent requests is now scheduled on demand when a new
request is queued. Then the callback, while parsing queued requests,
computes the delta to the closest expiring request and automatically
schedules the next check if necessary.

Given the high value of the container timeout, its callback is called
repeatedly every 600 seconds, unless it computes a lower delta for an
expiring container using the same logic as for the requests.
2021-04-15 16:20:42 +03:00
John Preston cf6dbfaf55 Fix a crash in case of corrupt local data. 2021-04-14 09:45:51 +04:00
John Preston 6cbee72b8a Closed alpha version 2.7.1.3. 2021-04-13 19:47:28 +04:00
John Preston 0a0803de6f Fix couple of crashes. 2021-04-13 19:46:42 +04:00
John Preston bee6a1dc06 Second click on Tips button resets tips to $0. 2021-04-13 19:04:27 +04:00
John Preston 3e5e0cb9df Fix crash on right click in ConfirmBox with link. 2021-04-13 19:02:17 +04:00
John Preston be74a391ba Show floor()-ed days count till voice chat start. 2021-04-13 18:27:38 +04:00
John Preston d71b6effd6 Return request for code resend on auth. 2021-04-13 17:54:12 +04:00
John Preston 04c0d79ccc Add payment button icon to the corner. 2021-04-13 17:21:24 +04:00
John Preston 34c5ce16d0 Fix contract violation in shutdown with webview. 2021-04-13 16:52:40 +04:00
John Preston e52f947f98 Improve webview progress style. 2021-04-13 16:38:38 +04:00
John Preston 40e46e8480 Hide webview progress instantly. 2021-04-13 15:37:25 +04:00
Ilya Fedin c87802ce65 Move GTK initialization before Qt initialization
To ensure Qt doesn't load GTK earlier than us and gdk_set_allowed_backends respected
2021-04-13 14:03:00 +03:00
John Preston 73c63cb2c7 Hide payments webview progress when destroying. 2021-04-13 14:05:31 +04:00
John Preston 0ead0879d7 Support blocking progress in payment panel. 2021-04-12 19:24:36 +04:00
John Preston a9422111a2 Fix crash in leaving Recent Actions with GIFs. 2021-04-12 17:46:46 +04:00
John Preston e5ac7a1416 Fix creating a scheduled voice chat. 2021-04-12 15:36:19 +04:00
Alexander Bushnev 99501d844d Remember that media view was switched to PIP and open it as PIP again.
Very useful, especially on large monitors.
Since the permanent opening of the video in full screen interferes and hide other applications.
This functionality allows remembering (in the current session) that the window has been switched to a PIP mode and will open a new video directly in the PIP mode.
2021-04-12 12:03:48 +03:00
Loïc Molinari 46ee5598f5 Remove dangling timer in MTP Session
Commit bdc7f4114f got rid of
_timeouter's callback without removing the timer that still fires
every second.
2021-04-12 12:03:15 +03:00
John Preston aa843ee978 Update lib_ui. 2021-04-12 13:02:53 +04:00
Ilya Fedin ad0c93cbb1 Take shadow into account when saving/restoring window geometry 2021-04-12 11:55:30 +03:00
John Preston 35ff621b5b Show toast on successfull payment. 2021-04-12 12:50:31 +04:00
John Preston 0e1a445614 Fix serializing peers. 2021-04-12 10:48:17 +04:00
John Preston 13d0d15a50 Closed alpha version 2.7.1.2. 2021-04-12 10:48:17 +04:00
John Preston 16f1875fdc Fix crash in reading StorageFileLocation. 2021-04-12 10:48:17 +04:00
John Preston 4625e7613b Use data_peer_id in export. 2021-04-12 10:48:17 +04:00
John Preston a100048cce Fix build on macOS and Linux. 2021-04-12 10:48:17 +04:00
John Preston 188070d03f Closed alpha version 2.7.1.1. 2021-04-12 10:48:17 +04:00
23rd 23996d14d3 Fixed display of chat buttons on main touchbar after audio touchbar.
Fixed #10361.
2021-04-12 10:48:17 +04:00
23rd 07c65dfd74 Fixed song covers for voice chat records. 2021-04-12 10:48:17 +04:00
23rd 61741b53c3 Fixed display of rescheduling selected messages in other sections. 2021-04-12 10:48:16 +04:00
John Preston ae74c8a6b8 Show voice chat start time in service message. 2021-04-12 10:48:16 +04:00
John Preston 4ecd1049b2 Allow scheduling voice chats for up to 7 days. 2021-04-12 10:48:16 +04:00
John Preston 71c4cc9623 Pass theme params to payments.GetPaymentForm. 2021-04-12 10:48:16 +04:00
John Preston d41bd1483e Queue skipped self updates in voice chats. 2021-04-12 10:48:16 +04:00
John Preston 0e47c6b415 Show 'Late by' state and glow in ForceMuted state. 2021-04-12 10:48:16 +04:00
John Preston 4d91ab7079 Update lottie icons in voice chats. 2021-04-12 10:48:16 +04:00
John Preston dc2192d5ca Invoke click handler from a closed ConfirmBox.
Fixes #10597.
2021-04-09 15:05:00 +04:00
John Preston 1342077dcb Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId. 2021-04-09 15:05:00 +04:00
John Preston 61d0cc38b0 Add native card input support through smartglocal. 2021-04-08 12:49:28 +04:00
John Preston 79f7aa703a Allow clearing saved payments information. 2021-04-07 15:43:32 +04:00
John Preston 65dd9b82c0 Share instead of Settings for scheduled voice chats. 2021-04-07 14:56:53 +04:00
John Preston 96bc4858c1 Add schedule voice chat link in ConfirmBox. 2021-04-07 11:21:59 +04:00
John Preston 27fc61c676 Add confirm for starting scheduled voice chat early. 2021-04-06 20:09:52 +04:00
John Preston 8c7217ad56 Fix build on macOS. 2021-04-06 18:53:03 +04:00
John Preston bd42c68978 Fix members list after schedule voice chat start. 2021-04-06 18:41:16 +04:00
John Preston c2900db061 Allow change join_as in scheduled call. 2021-04-06 18:41:16 +04:00
John Preston d7e90fec1a Add a nice countdown to scheduled voice chat panel. 2021-04-06 18:41:16 +04:00
John Preston 66e7f05df1 Improve scheduled voice chat top bar design. 2021-04-06 18:41:16 +04:00
John Preston 088fda4ed8 Correctly track mute button scheduled state. 2021-04-06 18:41:16 +04:00
John Preston 15d17c8b0e Add creating of a scheduled group call. 2021-04-06 18:41:16 +04:00
John Preston e6587f2556 Add limited webview support on Linux. 2021-04-06 18:41:16 +04:00
John Preston d40687adb8 Remove testing code. 2021-04-06 18:41:16 +04:00
John Preston ee098d00ad Add better error reporting to payments. 2021-04-06 18:41:16 +04:00
John Preston e106bd143e Add a warning once per bot on payment. 2021-04-06 18:41:16 +04:00
John Preston 62684ab9bb Warn before closing payment panel. 2021-04-06 18:41:16 +04:00
John Preston 69b70cda54 Explain registration from mobiles only. 2021-04-06 18:41:16 +04:00
John Preston b6c86fd298 Add nice tips buttons. 2021-04-06 18:41:16 +04:00
John Preston d55d7f37d7 Close payments panel by escape. 2021-04-06 18:41:16 +04:00
John Preston b1c122a260 Add ' (Test)' to checkout panel titles. 2021-04-06 18:41:16 +04:00
John Preston bdffdea358 Always jump to next field in payments. 2021-04-06 18:41:16 +04:00
John Preston 491ec2db7f Always show footer in webview in payments. 2021-04-06 18:41:16 +04:00
John Preston cd4a9d7c16 Show 'phone/email passed to provider' in payments. 2021-04-06 18:41:16 +04:00
John Preston 7cbe158d00 Update API scheme. 2021-04-06 18:41:16 +04:00
John Preston 1cc1f380d0 Implement a nice money input field. 2021-04-06 18:41:16 +04:00
John Preston 0188719d04 Fix payments with zero tips. 2021-04-06 18:41:16 +04:00
John Preston e6ba6050e7 Update button on paid invoices to 'Receipt'. 2021-04-06 18:41:16 +04:00
John Preston 889e0dc035 Fix build for macOS / Linux. 2021-04-06 18:41:16 +04:00
John Preston 663db64688 Allow saving and using saved credentials. 2021-04-06 18:41:16 +04:00
John Preston 2e58993181 Use title/description from paymentReceipt. 2021-04-06 18:41:16 +04:00
John Preston f09a468a7c Improve design of payment bottom buttons. 2021-04-06 18:41:16 +04:00
John Preston b08d9fe0b8 Reactivate window on payment close. 2021-04-06 18:41:16 +04:00
John Preston 619f70ab22 Improve design of shipping option selection. 2021-04-06 18:41:16 +04:00
John Preston 21b502c754 Format money amount same way as server does. 2021-04-06 18:41:16 +04:00
John Preston 8cac76931e Support adding tips in payments. 2021-04-06 18:41:15 +04:00
John Preston 00c915e58d Add support for inline invoices. 2021-04-06 18:41:15 +04:00
John Preston 8889329415 Support sending live location in inline bot results. 2021-04-06 18:41:15 +04:00
John Preston 3ec3f6484f Update API scheme to layer 128. 2021-04-06 18:41:15 +04:00
John Preston c7a1771dec Simple receipt viewing. 2021-04-06 18:41:15 +04:00
John Preston 320adcd389 Fix showing comments from the beginning. 2021-04-06 18:41:15 +04:00
John Preston 1050447eed Add phone format and validation in payments. 2021-04-06 18:41:15 +04:00
John Preston 0af6c4b0b6 Add local validation for card information. 2021-04-06 18:41:15 +04:00
John Preston e077163322 Add nice country choosing in payments. 2021-04-06 18:41:15 +04:00