Commit graph

74 commits

Author SHA1 Message Date
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
John Preston
a92394a81f Hide "Request admin approval" in public peers. 2021-11-03 16:01:25 +04:00
John Preston
81ff4d7497 Show joined list on permanent link "N joined" click. 2021-11-02 10:10:48 +04:00
John Preston
5cbfdad2e8 Separate strings for "requested to join {date}". 2021-10-31 12:33:22 +04:00
John Preston
fa8792927e Improve invite link name phrases. 2021-10-29 18:31:07 +04:00
John Preston
aaae5b0553 Support invite link label editing. 2021-10-29 18:31:07 +04:00
John Preston
7543351bc9 Add pending requests bar in the chat. 2021-10-29 18:31:06 +04:00
John Preston
0dfbd5fa6e Allow processing requests from full list. 2021-10-29 18:31:06 +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
John Preston
9e05e44a14 Inform about join request being sent. 2021-10-29 18:31:06 +04:00