Commit Graph

49 Commits

Author SHA1 Message Date
23rd 972b421fc6 Delegated display of ShareInviteLinkBox to caller. 2022-03-06 18:11:47 +03:00
23rd d9cdff3e6e Provided parent for toast to CopyInviteLink. 2022-03-06 18:11:47 +03:00
23rd 71ee2de354 Delegated display of InviteLinkQrBox to caller. 2022-03-06 18:11:47 +03:00
23rd dc6788706c Delegated display of RevokeLinkBox to caller. 2022-03-06 18:11:47 +03:00
23rd 905a7e6346 Added simple PeerListDelegate to show content. 2022-03-06 18:11:47 +03:00
23rd 9dccc12734 Delegated display of EditLinkBox to caller. 2022-03-06 18:11:47 +03:00
23rd b18d665fbe Delegated display of DeleteLinkBox to caller. 2022-03-06 18:11:47 +03:00
23rd 5ddb9f9097 Delegated display of ShowInviteLinkBox to caller. 2022-03-06 18:11:47 +03:00
23rd f48cf2e27a Provided instance of Ui::Show to AddPermanentLinkBlock. 2022-03-06 18:11:47 +03:00
23rd 026045af17 Removed Ui::show from ManageInviteLinksBox. 2022-03-04 11:25:10 +03:00
23rd 5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
John Preston 2c36623cfb Add some icons to popup menus. 2021-12-29 21:22:33 +03:00
John Preston 1bfa97d4fd Fix invite link icons on macOS Retina. 2021-11-01 16:57:40 +04:00
John Preston aaae5b0553 Support invite link label editing. 2021-10-29 18:31:07 +04:00
John Preston ab58aa020e Allow many custom elements in PeerListRow. 2021-10-29 18:31:06 +04:00
John Preston b4895ef730 Allow to accept / reject requests by link. 2021-10-29 18:31:06 +04:00
23rd 80461bd9fe Moved ConfirmBox to Ui namespace. 2021-10-19 06:34:27 +03:00
23rd 6148edbc7d Moved ConfirmBox to td_ui. 2021-10-19 06:34:27 +03:00
John Preston 19ce1edc16 Use base::SafeRound instead of std::round.
Previous assertion violations because of NaN from std::round were
in video streaming, see commits 27d58ba07b, 8f5830d520.

Now the crashes happened in the ConvertScale() call from a background
thread when preparing an image from clipboard for sending to a chat.
2021-09-27 12:13:57 +04:00
Ilya Fedin 79cc797aff Fix -Wunused-variable warnings 2021-07-13 21:43:34 +03:00
John Preston 38506d27a1 Hide member rows with active small videos. 2021-05-30 18:09:59 +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 7b80514986 Fix time formatting in links. 2021-02-24 15:10:06 +04:00
John Preston 16b4959e71 Add invite link QR code generation. 2021-02-23 18:47:43 +04:00
John Preston 7dabcf5a32 Fix build on Linux. 2021-02-22 23:42:42 +04:00
John Preston 15e03687f8 Add auto-delete period edit box. 2021-02-22 23:42:41 +04:00
John Preston 107d4aea36 Add admin link count phrase to langpack. 2021-02-22 23:42:41 +04:00
John Preston c9fccc8ea7 Improve revoked link view box. 2021-02-22 23:42:41 +04:00
John Preston 7a5dc72f86 Improve invite links UI. 2021-02-22 23:42:41 +04:00
John Preston d81c8f002d Improve other admins list style in Invite Links. 2021-02-22 23:42:40 +04:00
John Preston 3399a05f1f Improve phrases for invite links. 2021-02-22 23:42:40 +04:00
John Preston d188ab6719 Fix other admins links management. 2021-02-22 23:42:40 +04:00
John Preston ac33a8bd96 Fix other admin links box layout. 2021-02-22 23:42:40 +04:00
John Preston 9262b773cb Fix invite link updates handling. 2021-02-22 23:42:40 +04:00
John Preston 4153603d09 Add ability to see invite links of other admins. 2021-02-22 23:42:40 +04:00
John Preston 9d3edb785c Return rich invite links section. 2021-02-22 23:42:40 +04:00
John Preston 1774b21e88 Add ability to completely delete legacy group. 2021-01-25 16:50:58 +04:00
John Preston 50c07bfc98 Update API scheme, add view link box. 2021-01-25 16:50:58 +04:00
John Preston 819cd4a099 Allow deleting revoked invite links. 2021-01-25 16:50:58 +04:00
John Preston 144bad6c74 Update link rows in Manage Invite Links. 2021-01-25 16:50:58 +04:00
John Preston 97fb310f54 Move CalendarBox and ChooseDateTimeBox to td_ui. 2021-01-25 16:50:56 +04:00
John Preston 1cce383d15 Add a box to create / edit invite links. 2021-01-25 16:47:41 +04:00
John Preston 01ecf0ca93 Show invite links list with context menu. 2021-01-25 16:47:41 +04:00
John Preston 3862b3b90e Make sharing invite links using ShareBox. 2021-01-25 16:47:41 +04:00
John Preston 542abb26b9 Allow sharing link to chats. 2021-01-25 16:47:41 +04:00
John Preston c7b1a37722 Implement revoke of permanent link. 2021-01-25 16:47:41 +04:00
John Preston be1afb4781 Show recently joined by permanent link userpics. 2021-01-25 16:47:41 +04:00
John Preston 8c7030378a Add 'Copy Link' and 'Share Link' buttons. 2021-01-25 16:47:41 +04:00
John Preston 754dedc40e Improve permanent link edit design. 2021-01-25 16:47:40 +04:00