100 Commits

Author SHA1 Message Date
John Preston 18114458b8 Upgrade settings_calls to full builder pattern
- Move Calls class to anonymous namespace in .cpp
- Export only Type CallsId() from header
- Move AddCameraSubsection to be a free function (exported)
- Keep all device helper functions exported
- Update all references to use CallsId() and AddCameraSubsection()
- Add missing include to calls_group_settings.cpp

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston ca5e18391b Rewrite settings_calls to new builder pattern
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:19 +04:00
John Preston 1e5a93249c Support all required deep links. 2026-01-28 11:55:19 +04:00
23rd 5146c05ec3 Added ability to start outgoing call without user confirmation. 2026-01-28 08:57:57 +03:00
John Preston 08a979e638 Use more simple tr::... text helpers. 2025-12-15 21:40:54 +04:00
23rd eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
John Preston 313ae0f86c Remove CenterWrap layout. 2025-08-18 17:55:20 +04:00
John Preston b754ad5248 Use base::weak_qptr / base::make_weak. 2025-07-23 11:40:59 +04:00
John Preston c6b2967da0 Implement "Create New Call" interface. 2025-05-01 11:13:18 +04:00
John Preston 346f7aadd6 Render confcall messages as phone calls. 2025-05-01 11:13:16 +04:00
23rd 9ad1d1c25d Fixed some unused-but-set-variable warnings. 2025-05-01 11:13:00 +04:00
23rd 8d449f91c6 Fixed phrases in list of active group calls from Calls box. 2025-05-01 11:13:00 +04:00
23rd 393f330d15 Added ability to go to message from Calls box. 2024-03-16 04:40:56 +03:00
John Preston 0faf801de7 Update API scheme to layer 171. 2024-01-16 11:16:27 +04:00
John Preston ead40c759e Update API scheme to layer 170. 2023-12-31 19:42:23 +04:00
John Preston 65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
John Preston 8ddbfb7de5 Beta version 4.5.8: Fix build with GCC. 2023-01-22 00:13:13 +04:00
23rd 37454b4ff4 Added list of active group calls to Calls box. 2023-01-21 07:29:40 +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 e5f2d83548 Support new rounding in bot inline keyboards. 2022-11-01 19:25:35 +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 bd089f20a8 Emoji status selector in MainMenu/Settings. 2022-09-02 21:14:28 +04: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 ab58aa020e Allow many custom elements in PeerListRow. 2021-10-29 18:31:06 +04:00
23rd 9117b3cdfa Extracted DeleteMessagesBox to separated file. 2021-10-19 06:34:27 +03:00
John Preston 1e660fc2a2 Allocate 64 bits for message ids. 2021-09-30 13:49:37 +04:00
John Preston a6c98f4bb4 Update API scheme to layer 133. 2021-09-07 23:41:07 +03:00
John Preston c79cd0b692 Use Images::Read instead of App::readImage. 2021-08-11 18:55:08 +03:00
John Preston 116a768fde Don't use MTP* for Message flags. 2021-07-28 15:28:17 +03:00
23rd b422ec025e Removed Ui::show from classes that have pointer to Controller. 2021-06-17 10:57:45 +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 68b0a85369 Rename RPCError to MTP::Error. 2021-03-12 16:58:26 +04:00
John Preston ce5c19dfe9 Update API scheme for phone log clearing. 2021-01-26 14:28:25 +04:00
John Preston 52000566cf Don't close calls log box after delete confirmation. 2021-01-26 12:41:52 +04:00
John Preston b2c84d675c Allow clearing calls log. 2021-01-25 16:50:59 +04:00
John Preston cc28ba4284 Update API scheme to layer 120. 2020-10-30 18:32:17 +03:00
John Preston 454fe8cdf7 Fix crash in calls box. 2020-10-01 17:52:02 +03:00
John Preston 00cdae0369 Implement replies list request. 2020-09-29 19:03:18 +03:00
John Preston 55edb3bdfe Update API scheme to layer 119. Count replies. 2020-09-29 19:03:18 +03:00
23rd 3d8b691ff9 Added video icon in call row in calls box. 2020-08-18 12:48:26 +03:00
John Preston 83759adb5f Start video call from video call service message. 2020-08-11 18:21:40 +04:00
John Preston 79a361ba43 Move call management to Core::App. 2020-06-25 21:57:36 +04:00
John Preston 83538675ce Move a lot of settings to Core::Settings. 2020-06-23 21:53:42 +04:00
John Preston 357caf8007 Keep separate MTP::Config's for separate accounts. 2020-06-23 21:53:41 +04:00
John Preston 3c4e959468 Replace observer_peer with rpl interface. 2020-06-23 21:53:40 +04:00
John Preston b0f9ad71dd Check some more App::main()s. 2020-06-23 21:53:40 +04:00
John Preston 0ad7dcaef9 Remove MTP::MainInstance() global access point. 2020-06-23 21:53:40 +04:00