Commit Graph

176 Commits

Author SHA1 Message Date
Andrea Cavalli 69bb2b9b9e Update memory manager json 2024-03-20 23:26:18 +01:00
levlam 2a8156a1bc Add registerUser.disable_notification. 2024-01-29 16:43:42 +03:00
levlam 440d9de15a Update layer to 173. 2024-01-29 16:32:02 +03:00
levlam 0e311c404b Add more logging. 2024-02-06 13:13:50 +03:00
levlam 3a5630356a Fix destroy_auth_keys. 2024-02-06 12:59:01 +03:00
levlam 81907c1c7a Remove force_sync after starting auth key destroy. 2024-02-03 23:14:02 +03:00
levlam 8377726001 Add source to Binlog::sync. 2024-02-02 15:09:17 +03:00
levlam d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam 0a53e5ad0e Set bot online timeout right after authorization. 2023-12-14 15:59:16 +03:00
levlam 8cfcce6de2 Improve spelling in documentation. 2023-11-15 16:53:38 +03:00
levlam 70828853e8 Simplify AuthManager::is_bot. 2023-11-13 15:07:21 +03:00
levlam 1c758bbade Always send updateAuthorizationState, even the state ID is the same. 2023-09-25 16:07:21 +03:00
levlam 254a3bfef0 Remove useless check. 2023-09-21 20:41:11 +03:00
levlam 8fb3fca841 Improve error logging for banned accounts. 2023-09-20 21:28:23 +03:00
levlam 049d84beed Always call fetch_result on the whole NetQueryPtr. 2023-09-02 22:39:26 +03:00
levlam ce2e7192d7 Improve NetQueryPtr variable names. 2023-09-02 22:20:05 +03:00
levlam 1f38e4d49f Make AuthManager::on_current_query_error safer. 2023-09-02 22:11:01 +03:00
levlam 77baf0d770 Fetch result from NetQuery in AuthManager. 2023-09-02 02:47:06 +03:00
levlam 9dcfd9d66d Add ReactionManager and move there all reaction-related methods from StickersManager. 2023-08-09 12:59:48 +03:00
levlam a8c1b24318 Improve error messages. 2023-07-05 16:18:45 +03:00
levlam 36792bf7b3 Make AuthManager::DbState private. 2023-07-01 18:40:19 +03:00
levlam bcf9ff7d43 Explicitly include telegram_api.h in cpp files. 2023-07-01 14:53:04 +03:00
levlam 2702d19dc4 Remove is_me from on_get_user. 2023-06-23 18:22:58 +03:00
levlam f4daa4b61a Move dialog filter list to DialogFilterManager. 2023-03-27 17:44:13 +03:00
levlam a9ba8f5a6c Reload promo data sequentially. 2023-03-22 19:52:06 +03:00
levlam 1af942de49 Add td_api::resetAuthenticationEmailAddress. 2023-03-20 15:17:51 +03:00
levlam e47adeab37 Improve email address reset API. 2023-03-20 14:45:11 +03:00
levlam 61a4259bfe Add email address reset infomation to authorizationStateWaitEmailCode. 2023-03-20 01:40:05 +03:00
levlam 200b334f49 Update layer to 156. 2023-03-18 23:30:58 +03:00
levlam b27eeda8bd Add authorizationStateWaitPassword.has_passport_data. 2023-02-22 15:59:36 +03:00
levlam ffcc1719ef Improve log message spelling. 2023-02-26 13:41:49 +03:00
levlam e9aa2fd64b Don't try to check password without checkAuthenticationPassword/recoverAuthenticationPassword query. 2023-02-04 13:36:01 +03:00
levlam 65ddaea0f6 Add sendAuthenticationFirebaseSms. 2023-01-19 16:45:47 +03:00
levlam 696c7ef21d Fix AuthManager::on_sent_code. 2023-01-17 13:39:52 +03:00
levlam f638e83e34 Support authentication_token after authorization. 2023-01-06 13:00:21 +03:00
levlam 2cdb35d2fb Support auth.sentCodeSuccess. 2023-01-06 12:53:24 +03:00
levlam 050a11ece7 Update layer to 152. 2023-01-06 12:42:16 +03:00
levlam cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam 2e6ac1f22c Simplify authorization state timeout handling. 2022-11-15 11:36:39 +03:00
levlam 5a29dcd337 Avoid redundant usages of Status::error(). 2022-10-09 14:15:54 +03:00
levlam ba547561bb Support resending of email authentication code. 2022-09-07 19:42:21 +03:00
levlam cc8ef1a077 Add td_api::resendLoginEmailAddressCode. 2022-09-07 14:39:33 +03:00
levlam 886a6125e9 Add class EmailVerification. 2022-09-06 23:29:57 +03:00
levlam 8f16191182 Add authorizationStateWaitEmailCode.next_phone_number_authorization_date. 2022-09-06 18:15:43 +03:00
levlam cba73d5bba Support login with email verification. 2022-09-06 17:42:19 +03:00
levlam 3a84a9c226 Add td_api::checkAuthenticationEmailCode. 2022-09-06 17:17:39 +03:00
levlam 5e4a8ea664 Add authorizationStateWaitEmailCode. 2022-09-06 16:08:10 +03:00
levlam 45484ce53b Add td_api::setAuthenticationEmailAddress. 2022-09-06 14:04:39 +03:00
levlam 6ac839576c Add authorizationStateWaitEmailAddress. 2022-09-06 12:31:54 +03:00
levlam 077eba4ca2 Send auth.logOut even there is no authorization. 2022-08-30 14:32:12 +03:00