Commit Graph

151 Commits

Author SHA1 Message Date
levlam
5b9c066b34 Add binlog_ null checks. 2024-02-15 19:54:14 +03:00
levlam
04f3432574 Load all Saved Messages tags from database. 2024-02-02 16:30:11 +03:00
levlam
12914669e6 Don't sync binlog after creation of SQLite encryption key if it will not be used. 2024-02-02 15:23:26 +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
b55af58a69 Cache channel recommendations in database. 2023-11-21 14:13:06 +03:00
levlam
a2b133ead5 Add td_api::toggleChatViewAsTopics. 2023-11-16 16:57:18 +03:00
levlam
9289270cd9 Close databases and binlog on another thread. 2023-10-05 21:50:53 +03:00
levlam
7eef4ec47a Add InvalidateSignInCodesOnServerLogEvent. 2023-09-22 16:16:14 +03:00
levlam
df3d50b056 Add ResetWebAuthorizationsOnServerLogEvent. 2023-09-22 16:04:00 +03:00
levlam
86185f3b8e Add ResetWebAuthorizationOnServerLogEvent. 2023-09-22 15:58:25 +03:00
levlam
e65059e540 Add SetAuthorizationTtlOnServerLogEvent. 2023-09-22 15:49:51 +03:00
levlam
fb859209c1 Add SetAccountTtlOnServerLogEvent. 2023-09-22 15:06:53 +03:00
levlam
6600f9279e Add SetDefaultHistoryTtlOnServerLogEvent. 2023-09-22 15:03:02 +03:00
levlam
b222f48d05 Add ResetAuthorizationsOnServerLogEvent. 2023-09-22 14:50:44 +03:00
levlam
f2b2f01c33 Add ResetAuthorizationOnServerLogEvent. 2023-09-22 14:40:53 +03:00
levlam
e6fb913798 Add ChangeAuthorizationSettingsOnServerLogEvent. 2023-09-22 14:22:24 +03:00
levlam
cc1b01620b Drop cached channel lists when dialog database is recreated. 2023-09-20 19:09:51 +03:00
levlam
d1172d8530 Allow to use getTopChats without chat info database. 2023-08-23 18:28:07 +03:00
levlam
e523a5b2f6 Add story database. 2023-07-10 13:18:32 +03:00
levlam
88f04fe304 Add EditStoryLogEvent. 2023-07-04 18:42:43 +03:00
levlam
93149d09fd Add SendStoryLogEvent. 2023-07-03 22:03:29 +03:00
levlam
a52bdbf79c Add LoadDialogExpiringStoriesLogEvent. 2023-06-28 17:52:33 +03:00
levlam
2aeeb09b4d Add log event for story reading. 2023-06-15 15:25:32 +03:00
levlam
7ca2061848 Add DeleteStoryOnServerLogEvent. 2023-06-01 17:41:46 +03:00
levlam
64312c9b04 Drop some Sqlite PMC values when dialog database is recreated. 2023-05-15 19:02:58 +03:00
levlam
88ab425758 Reload marks as unread if there is no message database. 2023-05-15 18:20:24 +03:00
levlam
e626b5f68f Drop binlog events if message database was deleted. 2023-05-15 18:16:55 +03:00
levlam
1ce19c89ed Inline TdDb::binlog_path/sqlite_path. 2023-03-13 22:41:59 +03:00
levlam
201ac65a73 Don't store sqlite_path_ explicitly. 2023-03-13 22:34:23 +03:00
levlam
47c4d50907 Add TdDb::Parameters. 2023-03-13 22:29:56 +03:00
levlam
03e7c4ce7c Improve files_directory checking. 2023-03-13 21:33:35 +03:00
levlam
5b4f29e781 fix database parameters in the database thread, 2023-03-13 21:32:12 +03:00
levlam
f1311610e5 Remove unneeded TdParameters.h includes. 2023-03-13 20:10:18 +03:00
levlam
2baff56b7a Don't store TdParameters in Td. 2023-03-13 16:30:11 +03:00
levlam
22fdc0258b Use "receive"/"have"/"loaded" instead of "got" and other log message improvements. 2023-02-26 14:22:31 +03:00
levlam
47fd88b33f Add and use "since_last_open" internal option. 2023-01-30 01:29:33 +03:00
levlam
337aef5c02 Support chat.is_translatable, toggleChatIsTranslatable and updateChatIsTranslatable. 2023-01-20 12:38:25 +03:00
levlam
e3951e524c Fix warning. 2023-01-04 17:49:53 +03:00
levlam
c06ae49db4 Log if instance wasn't launched for more than 24 hours. 2023-01-03 13:54:49 +03:00
levlam
4258030967 Drop cached attachment menu bots when database is deleted. 2023-01-02 13:51:04 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
b0bfdd2b35 Improve setTdlibParameters errors. 2022-12-30 23:13:40 +03:00
levlam
f43956f25d Disable message thread database for now. 2022-11-12 09:59:56 +03:00
levlam
73adf2827f Add MessageThreadDatabase. 2022-11-10 19:46:17 +03:00
levlam
f78bf4005e Flush DialogDb on closing. 2022-11-10 19:20:17 +03:00
levlam
8e32de133a Rename MessagesDb to MessageDb. 2022-11-09 20:35:22 +03:00
levlam
43deaf4502 Add td_api::deleteForumTopic. 2022-10-30 00:35:37 +03:00
levlam
ac76e8604c Improve TdDb::check_parameters. 2022-10-24 13:37:34 +03:00
levlam
b788518f22 Add debug for get_binlog_pmc. 2022-10-22 00:38:04 +03:00