Commit Graph

88 Commits

Author SHA1 Message Date
levlam
9fd72e86d0 Move scope notification settings tp NotificationSettingsManager. 2022-04-11 12:45:52 +03:00
levlam
1d647c7049 Disable DownloadManager database without message database. 2022-03-02 16:36:23 +03:00
Arseny Smirnov
f13598ec83 DownloadManager: WIP 2022-02-26 19:56:43 +01:00
Arseny Smirnov
29f8f79b16 DownloadManager: WIP 2022-02-25 23:18:07 +01:00
levlam
3150b3d491 Add readAllChatReactions. 2022-01-30 12:37:24 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
6941a4500a Support deletion from database messages by sender_dialog_id. 2021-11-19 16:00:21 +03:00
levlam
4e802d67ca Move out user_version logging from WARNING. 2021-11-17 09:09:01 +03:00
levlam
93f2436f0e Use Delete..OnServer instead of Delete..FromServer. 2021-10-27 15:38:09 +03:00
levlam
8916cacd21 Improve log event name. 2021-10-27 15:27:09 +03:00
levlam
d019d89d39 Add td_api::deleteChatMessagesByDate. 2021-10-25 20:39:22 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
e87bf3a174 Fix some MultiPromise locks. 2021-10-07 18:14:49 +03:00
levlam
5f19e0267f Add warning if TdDb::check_encryption fails. 2021-09-29 20:59:20 +03:00
levlam
493a9e5457 Erase more keys from binlog after database is deleted. 2021-09-26 21:15:31 +03:00
levlam
2ec2e4d78f Use "set"/"toogle" instead of "change". 2021-09-24 10:42:39 +03:00
levlam
23f585caf0 Unify set SQLite PRAGMAs. 2021-09-23 11:20:42 +03:00
levlam
a0cc1be3e6 Add allow_creation parameter to SqliteDb::init. 2021-09-22 19:04:56 +03:00
levlam
db18baa503 Unify include order. 2021-09-19 00:47:05 +03:00
levlam
a6a4eb6616 Don't include SliceBuilder.h in logging.h. 2021-05-17 15:21:11 +03:00
levlam
4fa29ab1b8 Add deleteAllCallMessages method. 2021-01-19 13:21:50 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
793e8409de Add td_api::unpinAllChatMessages.
GitOrigin-RevId: ad5aa1cf7ea0f1ee770900f5f58409436029b9a7
2020-10-23 01:56:06 +03:00
levlam
62fbb88969 Rename blockChatFromReplies to blockMessageSenderFromReplies.
GitOrigin-RevId: 820cbd60145c339c6cf5a7d319ff540ce03861e2
2020-10-18 01:26:36 +03:00
levlam
089fda8d13 Add blockChatFromReplies method.
GitOrigin-RevId: 45591f36bd5482d567c758b42572b953babe2537
2020-09-24 15:29:34 +03:00
levlam
cb3f390a92 Unify "log event" spelling.
GitOrigin-RevId: a1a491981596c56dbf7541d80ead1ea9f5d5bd04
2020-09-22 02:15:09 +03:00
levlam
08ff725767 Support viewing messages in message threads.
GitOrigin-RevId: 5bde413f4192993e12b8e89ff5cb569421b90d78
2020-09-22 01:13:06 +03:00
levlam
54308a86fe Replace blockUser and unblockUser with toggleChatIsBlocked.
GitOrigin-RevId: 454542b32a7b8efc487afed54c59ae3864ea138e
2020-09-20 03:00:01 +03:00
Arseny Smirnov
28596f1a3f TdDb: reuse derived sqlcipher version
GitOrigin-RevId: 28a94a5dee34f47850deb5cf1ca41e92e24bf648
2020-08-14 17:48:43 +03:00
Arseny Smirnov
45bfb1b384 TdDb: create sqlite db during SqliteDb::change_key
GitOrigin-RevId: bc0bff23a50f17d9111edac6ba4194fbdffaa1b4
2020-08-14 17:11:58 +03:00
levlam
b1419f9de5 Fix some includes.
GitOrigin-RevId: f4b44d2e91ca72b6090d7f1f35673e8268723241
2020-06-07 18:14:52 +03:00
levlam
d94afc648d Fix file database statistics.
GitOrigin-RevId: 4ad707a1e8cb17dffa1b6a7b6ed299dd772a563d
2020-06-02 18:19:44 +03:00
Arseny Smirnov
1ba4a5912d getDatabaseStats: return max filedb depth
GitOrigin-RevId: 7daf3dbabc342f1947777d0e2d52494edc65270e
2020-06-02 17:38:26 +03:00
levlam
ba0e0dacfa Store pinned dialog list in binlog.
GitOrigin-RevId: 819de60a7c5e8bdedf69e2e390494005af16ab6b
2020-05-03 01:10:54 +03:00
levlam
2c728d17b5 Remove handling of legacy promoted_dialog_id.
GitOrigin-RevId: bceea028730472fe367a9a904301896903afe571
2020-04-28 01:02:29 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
9948e41aed Add support for scheduled message IDs in MessagesManager.
GitOrigin-RevId: b489f50556450a142427159a80d6488bf36622d1
2019-11-29 15:03:03 +03:00
levlam
0aa0a3b967 Add td_api::setChatChatList.
GitOrigin-RevId: 42340bc1ce169eadc73d6f29a06f6e87b70fe948
2019-08-27 17:23:01 +03:00
levlam
c1afa189f3 Support multiple chat lists.
GitOrigin-RevId: 8adecce0ddf36bb2408eecc19b7f1fc8856151fc
2019-08-22 18:24:02 +03:00
levlam
c74263ce3d Better log message when database can't be opened.
GitOrigin-RevId: d5aeadb0e89fb1c9391721f716801bc239b6d9b0
2019-10-03 20:38:47 +03:00
levlam
b34737a562 Close broken database before destroying.
GitOrigin-RevId: ed3729139c843caba7d54e02d80262d4fccb81ef
2019-09-16 22:01:55 +03:00
levlam
f29c4a9ed1 Remove unneded explicit td::.
GitOrigin-RevId: e3888510ce72a55072a11d105311f07b4ba42bbf
2019-09-15 06:19:46 +03:00
levlam
4d6012ee7a Fix CE.
GitOrigin-RevId: 4acb5ef3939cafd4ece161f9def915ea8137129c
2019-04-26 05:10:02 +03:00
levlam
2898c8909b Add language_pack_database_size to storageStatisticsFast.
GitOrigin-RevId: 6c11b5b88edd470da8abe2a0459a9067c3cb6d21
2019-04-26 01:47:25 +03:00
levlam
c62ff7039e Minor fixes.
GitOrigin-RevId: f0ba3402adf4a26d8220d9b5545e9ea18f094e65
2019-04-22 03:46:51 +03:00
levlam
60c1fc935c Fix web page database statistics.
GitOrigin-RevId: e0ab106d981d871a9d2f14563cea613253435563
2019-04-19 01:11:58 +03:00
Arseny Smirnov
c1d94fc821 experimental td_api::getDatabaseStatistics
GitOrigin-RevId: ed4e39caef210a14e1c72f0660690ffd7e974aff
2019-04-17 12:17:51 +03:00
levlam
c435360799 Add more td_init logging.
GitOrigin-RevId: 98b5a8e3234ec57cb24d833c726c6d1c2d938992
2019-04-11 23:24:39 +03:00
levlam
e1a9630bd1 Support editing of notifications through pushes.
GitOrigin-RevId: 432555db5037bc3f1d5b4de21b0dac9dae24c923
2019-04-07 23:57:54 +03:00
levlam
28717876ad Improve get_binlog debug.
GitOrigin-RevId: 8c4480d6f60e792d8bd8a76001d0d9d931c743f6
2019-04-03 12:26:20 +03:00