Commit Graph

329 Commits

Author SHA1 Message Date
John Preston c01d9747e7 Fix inline via @bot click in additional windows
Fixes #24717.
2022-07-26 20:12:09 +03:00
John Preston b84c876ba2 Fix opening links from bot inline reply markup. 2022-06-18 00:02:27 +04:00
23rd e25b0e791d Provided window session controller to api functions for bots. 2022-06-09 06:23:51 +03:00
23rd cc7a4c2772 Removed Ui::showPeerProfile. 2022-06-09 00:45:04 +03:00
John Preston 87662de2a6 Support web_app_open_tg_link / web_app_open_invoice. 2022-05-19 17:27:03 +04:00
John Preston 646682b6a0 Add confirmation on first webview open. 2022-04-06 11:53:44 +04:00
John Preston a219cc43ce Fix simple web view support. 2022-03-30 12:23:06 +04:00
John Preston c6ded00461 Move webview attach code to a separate module. 2022-03-30 12:23:05 +04:00
John Preston df15ff9f8e Update API scheme on layer 140. 2022-03-30 12:23:05 +04:00
John Preston 20bdbf531a Add proof-of-concept support for keyboardButtonWebView. 2022-03-30 12:23:05 +04:00
John Preston 841da9dde8 Update API scheme on layer 140.
Handle attach argument in resolve username links.
2022-03-30 12:23:05 +04:00
23rd c9ebec1cf0 Removed base/observer.h from main pch.
Removed unused inheritances from base::Subscriber.
2022-03-15 18:02:30 +03:00
23rd 5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
John Preston 431e3035af Update API scheme to layer 135. 2021-11-26 18:00:18 +04:00
John Preston c534f3f22e Some internal HistoryItem refactoring.
Replace most IsServerMsgId / id <=> 0 with isRegular().
Track isLocal / isHistoryEntry in flags.
Remove toHistoryMessage.
2021-11-07 12:50:13 +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
23rd 479611f6df Removed ui_getPeerForMouseAction. 2021-07-27 02:50:08 +03:00
23rd dcc8a64d37 Removed App::sendBotCommand. 2021-07-27 02:50:08 +03:00
23rd 34cac3092f Moved utils for sending bot commands to separated file. 2021-07-27 02:50:08 +03:00
23rd 05f1caf944 Removed App::searchByHashtag from facades. 2021-07-27 02:18:49 +03:00
23rd 7924979dfb Removed Ui::showPeerHistoryAtItem from facades. 2021-06-17 10:57:46 +04:00
23rd 4db5624beb Completely removed Global namespace. 2021-06-16 09:31:32 +03:00
23rd 5334372671 Moved WorkMode global variable from facades to core settings. 2021-06-16 09:31:32 +03:00
23rd 16db8468fa Moved ScreenIsLocked variable from facades to application. 2021-06-16 09:31:32 +03:00
23rd 5b4d442799 Removed Adaptive namespace and related global variables from facades. 2021-06-16 09:31:32 +03:00
23rd d2c8780c0f Removed NotificationsDemoIsShown global variable from facades. 2021-06-16 09:31:32 +03:00
23rd 54dd63d61a Removed LocalPasscode global variable from facades. 2021-06-16 09:31:32 +03:00
23rd 77c8bf8176 Removed PeerChooseCancel global variable from facades. 2021-06-16 09:31:32 +03:00
John Preston b08d9fe0b8 Reactivate window on payment close. 2021-04-06 18:41:16 +04:00
John Preston 3ec3f6484f Update API scheme to layer 128. 2021-04-06 18:41:15 +04:00
John Preston 4c707bff29 Start proper payments processing. 2021-04-06 18:41:15 +04:00
John Preston 25bbde2739 Use navigation cancel in Webview. 2021-04-06 18:36:09 +04:00
John Preston 35610da750 Use lib_webview implementation on Windows. 2021-04-06 18:36:09 +04:00
John Preston 21228783da Fix webview on macOS. 2021-04-06 18:36:09 +04:00
John Preston b323e5ffcf 3DSecure in Proof-Of-Concept payments. 2021-04-06 18:36:09 +04:00
John Preston 7c979144fc Proof-Of-Concept simplest invoice payment. 2021-04-06 18:36:09 +04:00
23rd 1f80c297ec Removed App:wnd for opening settings.
Removed unused App::showSettings from facades.
2021-02-04 18:13:03 +04:00
John Preston f04b3da76a Add return from bot switch_pm to Scheduled/Replies. 2020-11-17 12:58:06 +03:00
John Preston 4a8b59b788 Pass reply info to Window::PeerMenu. 2020-11-17 12:58:06 +03:00
John Preston ae298818a8 Implement message bar with animations. 2020-10-30 18:32:17 +03:00
John Preston fcdc4cd465 Handle bot callback buttons with password. 2020-09-29 19:03:18 +03:00
23rd 9445ce4b09 Moved sending of bot's CallbackData and CallbackGame to separate file. 2020-07-14 19:03:41 +04:00
John Preston 895c65d518 Fix visual glitch on profile opening. 2020-07-02 12:15:21 +04:00
23rd 0227b5f2fa Removed Notify::inlineKeyboardMoved as completely unused code. 2020-06-29 06:26:09 +04:00
23rd b629e0c43a Replaced Notify::replyMarkupUpdated with Data::MessageUpdate. 2020-06-29 06:26:02 +04:00
John Preston 6068dc418d More auto-switching between accounts. 2020-06-26 15:48:28 +04:00
John Preston 83538675ce Move a lot of settings to Core::Settings. 2020-06-23 21:53:42 +04:00
John Preston 3a5ede534e Count all accounts in Core::App().unreadBadge. 2020-06-23 21:53:41 +04:00
John Preston 357caf8007 Keep separate MTP::Config's for separate accounts. 2020-06-23 21:53:41 +04:00