Commit Graph

9612 Commits

Author SHA1 Message Date
levlam
c4b7100ad8 Repair unread mention count in channels when a mention is read. 2023-02-22 13:09:24 +03:00
levlam
4b538adbdb Remove redundant Slice copy constructor usages. 2023-02-21 11:21:07 +03:00
levlam
de1c6a0ecd Store last handshake query in string instead of BufferSlice. 2023-02-21 11:02:10 +03:00
levlam
a369025cd3 Improve NetQuery debug. 2023-02-20 13:11:39 +03:00
levlam
bc8811ea82 Simplify MessagesManager::can_unload_message for bots; allow to unload the last message. 2023-02-20 12:40:49 +03:00
levlam
6e0ed42544 tg_cli: remove as_button_id. 2023-02-19 11:21:42 +03:00
levlam
bdbb8613f7 Improve PhotoSize type logging. 2023-02-18 23:14:59 +03:00
levlam
e3fac31061 Log photo date. 2023-02-18 23:09:04 +03:00
levlam
6c38e3c018 Use G()->close_status() instead of manual error. 2023-02-17 16:14:31 +03:00
levlam
3fef62a396 Reuse default_result. 2023-02-17 16:06:38 +03:00
levlam
6cf6f32418 Add Global::ignore_result_if_closing. 2023-02-16 13:35:27 +03:00
levlam
337bdc5f5e Use request promise in getWebPagePreview. 2023-02-15 15:05:37 +03:00
levlam
d9a4e5572f Don't pass default is_optional value to get_json_object_string_field. 2023-02-14 15:21:10 +03:00
levlam
abbeffe964 Improve thumbnail variable names. 2023-02-14 15:10:27 +03:00
levlam
e9cbb07dee Update .gitignore. 2023-02-13 15:51:04 +03:00
levlam
9db7834077 Remove now unused CI yml. 2023-02-13 15:48:05 +03:00
levlam
1f3de5bd99 Update src.sh/src.ps1. 2023-02-13 15:43:55 +03:00
levlam
ee4ecbc0be Avoid the use of low-numbered file descriptors. 2023-02-13 14:40:36 +03:00
levlam
b9f7cc4150 Add tests for erase_batch. 2023-02-12 03:36:52 +03:00
levlam
2543d00314 Add erase_batch to key-values. 2023-02-12 03:29:19 +03:00
levlam
af27ba7c32 Return 0 from erase_batch for empty event list. 2023-02-12 03:18:22 +03:00
levlam
896de65c3e Improve field name. 2023-02-11 22:37:43 +03:00
Arseny Smirnov
ebe93d7e4f Binlog::erase_batch, TQueue:pop_batch 2023-02-10 15:14:14 +01:00
levlam
1c9efb4283 Binlog: avoid sync on Binlog creation. 2023-02-10 15:21:43 +03:00
levlam
852a1640b0 Fix FileFd::sync_barrier. 2023-02-10 15:17:07 +03:00
Arseny Smirnov
8df048c0d2 Use FileFd::sync_barrier in Binlog 2023-02-10 12:17:56 +01:00
Arseny Smirnov
a0dd1e1a07 FileFd::sync_barrier uses F_BARRIERFSYNC on darwin 2023-02-10 12:17:56 +01:00
levlam
80fc0346e8 Fix tdactor benchmark. 2023-02-10 13:56:14 +03:00
Arseny Smirnov
f2ca22745a Avoid std::move to itself in BinlogEventsProcessor 2023-02-09 22:53:04 +01:00
Arseny Smirnov
cde74133a6 Store std::string instead of BufferSlice in BinlogEvent 2023-02-09 22:53:02 +01:00
Arseny Smirnov
fb854c93a8 Fix benchmark/bench_db.cpp 2023-02-09 22:52:59 +01:00
levlam
6ba394fc41 Add class StickerMaskPosition. 2023-02-09 20:15:21 +03:00
levlam
5a39bb4952 Use error code returned by get_input_file_id. 2023-02-09 18:31:02 +03:00
levlam
7b759a06bc Add StickersManager::get_sticker_input_document. 2023-02-09 17:26:50 +03:00
levlam
ed9df60e1e Update needs_repainting documentation. 2023-02-09 13:29:39 +03:00
levlam
58c4a12ca6 Fix getPremiumStickers. 2023-02-08 18:36:54 +03:00
levlam
7eee3f469a Update clang-format to 16.0.0. 2023-02-08 15:28:36 +03:00
levlam
a08b1f9107 Use __is_trivially_copyable if possible. 2023-02-07 13:13:56 +03:00
levlam
694378f9ab Support percent-encoding for Content-Disposition parameter values as per RFC7578. 2023-02-06 22:44:01 +03:00
levlam
1e6c3ef93d Don't try to reload data mutiple times without network. 2023-02-06 20:31:17 +03:00
levlam
d4833b7844 Reload autosave settings periodically. 2023-02-06 20:10:27 +03:00
levlam
2260944afe Save autosave settings to database. 2023-02-06 19:53:21 +03:00
levlam
3d0140b3ef Fix SQLite key-value usage. 2023-02-06 15:41:22 +03:00
levlam
5ed1d22d08 Fix watchOS compilation error. 2023-02-06 15:20:09 +03:00
levlam
43e5f2aded Support updateAutosaveSettings in getCurrentState. 2023-02-05 10:04:19 +03:00
levlam
f6616f6ba3 Fix creator in ForumTopicInfo. 2023-02-04 17:59:17 +03:00
levlam
e9aa2fd64b Don't try to check password without checkAuthenticationPassword/recoverAuthenticationPassword query. 2023-02-04 13:36:01 +03:00
levlam
1724002c60 Add Vala example. 2023-02-04 12:51:20 +03:00
AYMENJD
7f8c3e8402 Fix checkAuthenticationEmailCode in Python example. 2023-02-04 12:46:34 +03:00
AYMEN Mohammed
b07f99117d
Add update version script. (#2288) 2023-02-04 12:44:54 +03:00