Commit graph

61 commits

Author SHA1 Message Date
23rd
819020e515 Moved out common default style entries from settings. 2023-11-15 04:20:20 +03:00
23rd
f748de9dc4 Removed redundant include directives of settings_common headers. 2023-11-15 03:30:04 +03:00
23rd
f6cb9072d2 Moved AddSkip and AddDivier from Settings namespace to separate module. 2023-11-15 03:30:04 +03:00
23rd
282c076931 Removed redundant peerListShowBox / peerListHideLayer from delegates. 2023-11-09 16:02:18 +03:00
23rd
1852161fbf Moved out generating unique PeerListRowId from string to single place. 2023-11-04 21:24:00 +04:00
John Preston
65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
John Preston
312aa4b130 Update API scheme on layer 158. 2023-04-11 19:17:38 +04:00
23rd
58ed30d30e Moved constants of arc angles to td_ui. 2023-01-19 08:51:57 +03:00
John Preston
b775d577a4 Fix forum rounding in folder editing box. 2022-12-06 12:12:07 +04:00
23rd
2acedca6b7 Replaced some qstr with u""_q literal. 2022-11-29 14:12:50 +03:00
Ilya Fedin
7b5781b845 Use default-constructed QLocale for date/time/whatever else formatting
Qt 6 chenged the QDateTime API to use QLocale::c() rather than QLocale::system(), using default-constructed QLocale will make this consistent and overradable application-wide

Other formating use-cases as QLocale::decimalPoint use default-constructed QLocale now, too
2022-10-17 08:33:22 +04:00
John Preston
749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
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