Commit Graph

13422 Commits

Author SHA1 Message Date
Andrea Cavalli
b6c5bd07bb Apply tdlight patch
- Memory manager
- TD_SKIP_TEST/TD_SKIP_BENCHMARK/TD_SKIP_TG_CLI
- Rebranding
- github workflow
- .gitignore
- Add crypt32 to windows
- Fatal crash log handler
- optionally unencrypted database
- malloc_trim support
- getMemoryStatistics

Options:
- disable_document_filenames
- disable_minithumbnails
- disable_notifications
- disable_group_calls
- disable_auto_download
- ignore_server_deletes_and_reads
- ignore_update_chat_last_message
- ignore_update_chat_read_inbox
- ignore_update_user_chat_action
- receive_access_hashes
- message_unload_delay modification
2024-08-27 15:24:01 +02:00
Andrea Cavalli
0d3a1552ed Update .gitignore 2024-08-27 15:11:43 +02:00
Andrea Cavalli
1ec6fecfe1 Disable ccache script 2024-08-27 15:09:39 +02:00
Andrea Cavalli
362f7d696c Always use 128 client threads (todo: make this behavior optional)
This change fixes some memory management issues
2024-08-27 15:09:29 +02:00
levlam
9b6ff5863e Fix default option value. 2024-08-17 21:03:53 +03:00
levlam
2684d8e4a3 Avoid digits in option names. 2024-08-17 20:10:26 +03:00
levlam
1a901a0e39 Fix tonsite links. 2024-08-17 20:07:34 +03:00
levlam
13187c945a Move get_can_send_story_result_object inside StoryManager. 2024-08-16 17:36:17 +03:00
levlam
7f0514d492 Split StoryManager and UpdatesManager by SplitSource. 2024-08-16 16:39:17 +03:00
levlam
9858220708 Move class OnUpdate inside UpdatesManager. 2024-08-16 16:38:25 +03:00
levlam
52f24d72f5 Save owned star count between restarts. 2024-08-16 15:56:43 +03:00
levlam
86afb5b0f3 Periodically reload owned star amount. 2024-08-16 15:32:47 +03:00
levlam
1c41488452 Explicitly specify inheritance mode. 2024-08-15 23:26:15 +03:00
levlam
7d270492bf Add create_http_url_request_promise. 2024-08-15 21:25:22 +03:00
levlam
59a175e758 Add create_text_request_promise. 2024-08-15 21:19:37 +03:00
levlam
b03f4d54e7 Add non-template RequestPromiseBase. 2024-08-15 20:42:21 +03:00
levlam
d97ae6c98d Add class RequestPromise. 2024-08-15 20:33:44 +03:00
levlam
f23959070b Add FileManager::preliminary_upload_file. 2024-08-15 19:57:58 +03:00
levlam
866f9f463a Improve includes. 2024-08-15 19:35:59 +03:00
levlam
97260f4853 Move GetRecentMeUrlsQuery to LinkManager. 2024-08-15 19:30:34 +03:00
levlam
2743e006de Use get_current_country_code() to test network. 2024-08-15 19:23:45 +03:00
levlam
fc07381efe Move SetBotUpdatesStatusQuery to BotQueries.cpp. 2024-08-15 19:17:16 +03:00
levlam
c8116a59a2 Move AnswerCustomQueryQuery to BotQueries.cpp. 2024-08-15 19:11:55 +03:00
levlam
7182ccfa67 Move SendCustomRequestQuery to BotQueries.cpp. 2024-08-15 19:09:21 +03:00
levlam
d8f2c204c7 Move alarm implementation to AlarmManager. 2024-08-15 18:49:24 +03:00
levlam
e6039ee308 Add AlarmManager. 2024-08-15 18:26:01 +03:00
levlam
210269a498 Improve includes. 2024-08-15 15:14:33 +03:00
levlam
980aa4bd22 Move create_request_promise implementation to header for SplitSource. 2024-08-15 10:45:34 +03:00
levlam
7664383813 Split Requests.cpp instead of Td.cpp. 2024-08-15 10:40:14 +03:00
levlam
c7eea9cf97 Move request implementation to Requests.cpp/h. 2024-08-15 10:31:43 +03:00
levlam
bf7a9b816a Remove forward declaration of an unexisting class. 2024-08-15 09:20:23 +03:00
levlam
4880db1dbf Remove unused function declaration. 2024-08-15 09:09:19 +03:00
levlam
8d08b34e22 Update version to 1.8.35. 2024-08-14 05:15:04 +03:00
levlam
076173dcf4 Various fixes. 2024-08-14 05:04:59 +03:00
levlam
072cba1396 Improve MessageReactor::is_valid(). 2024-08-14 04:41:48 +03:00
levlam
f02af59f4c Improve MessageReactions::toggle_paid_message_reaction_is_anonymous. 2024-08-14 03:55:45 +03:00
levlam
ede7a331f4 Ignore bot payload for paid media transactions in Test DC. 2024-08-14 01:33:22 +03:00
levlam
190aeb0849 Add td_api::editChatSubscriptionInviteLink. 2024-08-14 00:15:49 +03:00
levlam
8cefcc6ac7 Add separate createChatSubscriptionInviteLink. 2024-08-13 23:56:59 +03:00
levlam
357e59a781 Always reget app config if ignore_sensitive_content_restrictions changes. 2024-08-13 21:24:59 +03:00
levlam
0ed35e76aa Add message.has_sensitive_content. 2024-08-13 21:14:41 +03:00
levlam
843dff97a6 Add supergroup.has_sensitive_content. 2024-08-13 21:08:08 +03:00
levlam
f3f6f084d9 Ignore "sensitive" restriction for the whole chat. 2024-08-13 21:01:01 +03:00
levlam
4101db16a7 Add get_restriction_reason helper function. 2024-08-13 20:27:02 +03:00
levlam
4fbe7741dc tg_cli: support td_api::topChatCategoryWebAppBots. 2024-08-13 17:22:13 +03:00
levlam
b4d4d054de Log if there is unused paid media. 2024-08-13 16:31:10 +03:00
levlam
d142f39672 Support local channel posts sent by other channels. 2024-08-13 00:35:56 +03:00
levlam
0531816c6f Don't add author signature to posts on behalf of channel. 2024-08-13 00:29:01 +03:00
levlam
ef26678162 Support sending channel posts on behalf of other channels. 2024-08-13 00:24:45 +03:00
levlam
22e87be2fc Support getChatAvailableMessageSenders for channel chats. 2024-08-12 23:19:43 +03:00