Commit Graph

74 Commits

Author SHA1 Message Date
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
levlam
3a2af5d4b1 Add TdDb::get_binlog debug.
GitOrigin-RevId: c1a155df722fbc8901f02875eabb00e857179914
2019-04-03 02:22:34 +03:00
levlam
28351e8529 MAke push notifications persistent.
GitOrigin-RevId: 3cb231596e1f75a8157db48880e48f542c0b811d
2019-03-31 04:30:25 +03:00
levlam
168add9006 Add td_api::stopPoll.
GitOrigin-RevId: f2d9b5d42e267b9d06591450d69efb323639bb66
2019-02-22 18:09:55 +03:00
levlam
2e144e6e3e Add setPollAnswer logevent.
GitOrigin-RevId: e73a3c5af859053fa9210eec2874077f47b00a12
2019-02-21 17:40:37 +03:00
levlam
9b42166c68 Explicitly include common.h.
GitOrigin-RevId: 5ae32c18d0ff18aac36334b494ea526ce7da4a9a
2019-02-13 00:26:36 +03:00
Arseny Smirnov
20bfcaa979 Use LOG_CHECK where it is necessary
GitOrigin-RevId: a8bd17cc2ee6e43dcea52bb25aef9ee1f91c7ec4
2019-02-12 19:17:20 +03:00
levlam
a062fa4f0c Forward-declare SqliteConnectionSafe and SqliteDb. Finally, all DB usages are private.
GitOrigin-RevId: 63d904c6ba9e3896f46ce8844e328f77c7e50553
2019-01-07 03:17:11 +03:00
levlam
9bdc13e89f Forward declare Binlog in TdDb.
GitOrigin-RevId: 24ba74bc79bf1dc8fc35fceacd377809a3b4323b
2019-01-07 02:49:49 +03:00
levlam
424faa44f3 Use KeyValueSyncInterface and BinlogInterface in TdDb.
GitOrigin-RevId: 6e038ac9124855660da72fc64ec131a6e8211055
2019-01-07 02:44:29 +03:00
levlam
a2a7b44ad6 Use KeyValueSyncInterface in ConfigShared.
GitOrigin-RevId: 8670b43b1dc9d5619fee2081aa98ddc936820c64
2019-01-07 01:58:09 +03:00
levlam
aaae105785 Safer ConfigShared.
GitOrigin-RevId: 505e66d4341c29bbc0b8801073997fafd8ddf820
2019-01-07 01:20:38 +03:00
levlam
8e822fd44f Minor interface change.
GitOrigin-RevId: 1ab4e9a57714911fa6f88440b7ded136e6eea83f
2019-01-07 00:06:52 +03:00
levlam
5438119bb4 Fix Global.h and TdDb.h includes.
GitOrigin-RevId: 89fa1ee3e8071ad3f27687f79d1a52de113f9705
2019-01-06 22:59:17 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00