Commit graph

84 commits

Author SHA1 Message Date
23rd
0c3cabf4ac Removed interface for subscription links from mega groups. 2024-08-15 16:18:33 +03:00
23rd
d6541d777f Added box of channel subscriber. 2024-08-14 18:17:51 +02:00
23rd
70d5dd8b71 Added initial list of subscriptions to credits settings section. 2024-08-14 18:17:50 +02:00
23rd
617ad38a68 Added subscription info to box for details of invite link. 2024-08-14 18:17:50 +02:00
23rd
7ed715b01c Added ability to edit invite links with subscription. 2024-08-14 18:17:50 +02:00
23rd
8158c52e82 Added ability to create invite links with subscription. 2024-08-14 18:17:50 +02:00
23rd
75b26b1a85 Moved bunch of arguments for creation of invite links to structure. 2024-08-14 18:17:50 +02:00
John Preston
6c9d5e1499 Improve clipboard QR code image logo quality. 2024-04-09 19:05:02 +04:00
John Preston
3d54f8ec49 Initial chat links edition implementation. 2024-04-01 22:44:21 +04:00
23rd
d03d50ef0d Removed cIntRetinaFactor and cRetinaFactor. 2024-03-24 07:10:07 +03:00
John Preston
e4ca8ae847 Fix several possible crashes. 2024-01-18 22:22:35 +04:00
John Preston
f3f660a180 Show toast on share attempt to premium required. 2024-01-18 10:39:00 +04:00
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
John Preston
c5d1739e95 Implement multiboost reassign box. 2023-11-09 22:33:14 +04:00
23rd
282c076931 Removed redundant peerListShowBox / peerListHideLayer from delegates. 2023-11-09 16:02:18 +03: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
John Preston
4444844443 Update API scheme on layer 158. 2023-04-11 19:17:38 +04:00
John Preston
b7d9d549ff Start filter share links management. 2023-04-11 19:17:37 +04:00
John Preston
554f66f089 Support separate message type group restrictions. 2023-02-02 22:12:31 +04:00
Ilya Fedin
66093f0cb5 cTimeFormat/cDateFormat -> QLocale::ShortFormat
This allows to use platform-specific formatting functions
2022-12-28 10:28:12 +04:00
John Preston
1b73b34810 Make HistoryItem a final class. 2022-12-26 14:24:04 +04:00
John Preston
cb653df0f6 Support adaptive forum userpic rounding radius. 2022-12-05 16:18:10 +04:00
23rd
2acedca6b7 Replaced some qstr with u""_q literal. 2022-11-29 14:12:50 +03:00
John Preston
fdf4129e5e Fix build with GCC. 2022-11-02 08:51:03 +04:00
John Preston
e6c2aa8021 Support topic choosing in ShareBox. 2022-11-01 19:25:45 +04:00
John Preston
d5ea0149e8 Implement drag-n-drop to forum topics. 2022-11-01 19:25:44 +04:00
John Preston
602ba5bba9 Implement correct ForumTopic::canWrite logic. 2022-11-01 19:25:42 +04: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
John Preston
8bc807dc40 Set name / phone texts on-demand. 2022-08-09 14:12:19 +03:00
John Preston
a780fbd09b Add "ctrl-click-chat-new-window" option. 2022-06-07 22:05:37 +04:00
23rd
fa50a5962c Removed Window::SessionNavigation from ShareBox. 2022-03-06 18:11:47 +03:00
23rd
fa1c2e9dbc Provided parent for toasts in some boxes for peer editing. 2022-03-06 18:11:47 +03: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
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
28331b3617 Removed Ui::showPeerProfile from controller of ShowInviteLinkBox. 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
23rd
641bb01ba2 Added ability to set forward options from ShareBox. 2022-02-04 22:20:17 +03:00
John Preston
2c36623cfb Add some icons to popup menus. 2021-12-29 21:22:33 +03:00
23rd
3647241f71 Removed unused MTP::Error from callbacks on fail. 2021-11-30 17:37:07 +04:00
John Preston
773755d70e Send as a channel in HistoryWidget. 2021-11-26 18:00:18 +04:00