Commit Graph

6154 Commits

Author SHA1 Message Date
levlam
e18ff8a810 Close socket on Windows only after pending write is confirmed. 2021-06-14 19:06:23 +03:00
levlam
8a418e9e03 Use Status::move_as_error_suffix to keep error type. 2021-06-14 01:24:15 +03:00
levlam
924286da8f Use manual checks instead of cmake_minimum_required to propagate policies. 2021-06-13 23:38:48 +03:00
levlam
aebbac0c37 Do not export symbols from executables on Linux with CMake 3.4+. 2021-06-13 05:44:31 +03:00
levlam
1e8724127a Add cache of channel participants for bots-administrators. 2021-06-12 23:53:14 +03:00
levlam
6f51690275 Add ContactsManager::on_get_channel_participant. 2021-06-11 20:02:49 +03:00
levlam
3941144700 tg_cli: fix FileLog opening. 2021-06-11 17:04:00 +03:00
levlam
c1db660d4a Add suggestedActionCheckPassword. 2021-06-11 02:48:10 +03:00
levlam
c4dab736c9 Add suggestedActionCheckPhoneNumber support. 2021-06-11 02:13:46 +03:00
levlam
b60c443edd Remove non-working link to Luagram project. 2021-06-11 01:47:06 +03:00
levlam
411d30e1c7 Remove Td::on_channel_unban_timeout proxy. 2021-06-10 21:56:05 +03:00
levlam
138535ccf8 Store multiple local backgrounds. 2021-06-10 18:58:19 +03:00
levlam
64df3b4b3c Remove unneeded add_local_background method and allow non-default installed backgrounds without file. 2021-06-10 04:55:58 +03:00
levlam
75fc042e09 Replace add_fill_background with add_local_background. 2021-06-10 04:44:39 +03:00
levlam
aba5b1ab7c Use autoincremented IDs for local backgrounds. 2021-06-10 03:57:58 +03:00
levlam
a04a481fd4 Remove unused variable. 2021-06-10 02:42:30 +03:00
levlam
ab4373833b Make BackgroundFill fields private. 2021-06-10 02:16:46 +03:00
levlam
636aa3f74e Improve BackgroundType constructor. 2021-06-10 02:09:16 +03:00
levlam
8b3c7b2c39 Impriove BackgroundType field names style. 2021-06-10 01:44:46 +03:00
levlam
958e1a83b1 Make BackgroundType fields private. 2021-06-10 01:29:42 +03:00
levlam
7b2c6bdbdb Move BackgroundType methods inside the class. 2021-06-09 21:19:08 +03:00
levlam
d768a194f6 Add BackgroundType::get_mime_type. 2021-06-09 20:58:39 +03:00
levlam
2657f41775 Use BackgroundType::has_file if possible. 2021-06-09 20:48:15 +03:00
levlam
8b87e8ed56 Allow pre, TextUrl and TextMention entities, containing only new lines. 2021-06-09 20:35:02 +03:00
levlam
3614425c8a Add is_hidden_data_entity function. 2021-06-09 19:59:52 +03:00
levlam
4a35b3e621 Remove BackgroundType::is_server. 2021-06-09 19:19:48 +03:00
levlam
5188a5b5e7 Allow to set non-local filled backgrounds. 2021-06-09 19:08:47 +03:00
levlam
d10cc1eb77 Add and use BackgroundId::is_local. 2021-06-09 17:14:10 +03:00
levlam
197992da2c Add logging on failed check. 2021-06-09 00:56:08 +03:00
levlam
0c3893737e Fix Back button in build.html on the main page. 2021-06-08 19:20:55 +03:00
levlam
d80b613b55 Remove support for secret chat layers before 73. 2021-06-08 18:31:29 +03:00
levlam
c30ccd1e0d Support removing Fill backgrounds from default list. 2021-06-08 01:10:19 +03:00
levlam
36bcbcb418 Simplify background unsaving. 2021-06-07 20:46:57 +03:00
levlam
c91653ba58 tg_cli: start group call screen sharing with different source identifiers. 2021-06-07 19:35:12 +03:00
levlam
554d1e3677 Apply self-leaving from group call through on_group_call_left_impl after other updates. 2021-06-07 16:56:56 +03:00
levlam
e73394ac98 Add comment about meaning of Working Set and Commit Charge. 2021-06-06 22:53:41 +03:00
levlam
06409d68f5 Update order of group call participants after min_order is decreased. 2021-06-06 03:22:43 +03:00
levlam
7c4ff60f79 Trim trainling slashes in the parameter of CreateDirectoryFromAppW. 2021-06-05 03:29:44 +03:00
levlam
d2f575fc1c Ignore FTP links in get_first_url. 2021-06-04 21:33:20 +03:00
levlam
89459ca497 Replace getInviteText with getApplicationDownloadLink. 2021-06-04 19:31:18 +03:00
levlam
70a76e333f Erase server_time_difference from binlog if time adjustment protection is disabled. 2021-06-04 17:18:59 +03:00
levlam
2af0aa0074 Support negative background intensity. 2021-06-04 16:05:29 +03:00
levlam
4b2c948a99 Minor. 2021-06-04 02:18:57 +03:00
levlam
af33e8343a Improve method name. 2021-06-04 01:17:15 +03:00
levlam
a96bf1531a Use FullMessageId in get_login_button_url. 2021-06-03 23:37:56 +03:00
levlam
fa7ce9b94d Move get_external_link_info to LinkManager. 2021-06-03 23:19:35 +03:00
levlam
126a20c318 Reload voice chat when user opens a voice chat link. 2021-06-03 20:16:14 +03:00
levlam
d77220c8ac Test find_urls in LinkManager tests. 2021-06-03 19:16:43 +03:00
levlam
a630c87178 Add tg URLs parsing. 2021-06-03 18:27:40 +03:00
levlam
2fb9df33d2 Check tg link host characters in check_link. 2021-06-03 17:17:36 +03:00