levlam
|
d9dcca7743
|
Send update about new loaded from database group.
GitOrigin-RevId: d80f4746c36946eb9b5042c74b3c4ebdcefa876e
|
2018-12-02 23:39:47 +03:00 |
|
levlam
|
7bdad0c877
|
Optimize NotificationManager::get_group.
GitOrigin-RevId: 0b0ae8d0ad274b1c91868943449d09e17aff25f7
|
2018-12-02 23:28:24 +03:00 |
|
levlam
|
7ce70d8056
|
Add add_group/delete_group methods.
GitOrigin-RevId: 71539381c1b3600bc18b8c79c6cdb63ffff1cb0f
|
2018-12-02 23:03:05 +03:00 |
|
levlam
|
7466a29da7
|
Fix dropping inline query results.
GitOrigin-RevId: e886dac54666ce0fc5a506d7db1c15ee62533034
|
2018-12-02 22:31:18 +03:00 |
|
levlam
|
013afad0ca
|
Fix races in get_group_force.
GitOrigin-RevId: 30b0902bd5ebaee142f45e06d1d7be6cf6d18762
|
2018-12-02 22:04:47 +03:00 |
|
levlam
|
3e843ece57
|
Fix order of chats with pending last message.
GitOrigin-RevId: 53496e0f5e3d48f69c5fe8692283a81a5011cc60
|
2018-12-02 20:47:39 +03:00 |
|
levlam
|
3e00a5e64b
|
Fix postponing of updateChatReadInbox.
GitOrigin-RevId: 22d8244d438e0d67531cf8f334e87334597c328d
|
2018-12-02 03:35:58 +03:00 |
|
levlam
|
c7cb2978fd
|
Send td_api::updateActiveNotifications.
GitOrigin-RevId: 23c45ad26f13220ff41479da4f4878e02dfbaede
|
2018-11-30 18:11:58 +03:00 |
|
levlam
|
9615604ecf
|
Fix race in get_message_notification_group_force.
GitOrigin-RevId: 7c75103e168f41b1964504f53d69cee85210d601
|
2018-11-30 01:57:24 +03:00 |
|
levlam
|
a7e8bd166c
|
Implement remove_message_notifications.
GitOrigin-RevId: bd85166d4fef4d7912300ffee1aa2d6ff2dc0717
|
2018-11-30 00:02:33 +03:00 |
|
levlam
|
31873111c7
|
Fix Dialog.last_notification_id after notification deletion.
GitOrigin-RevId: 2edbb4d4120953fc183833fd6d162dc8ce9ba954
|
2018-11-29 18:36:31 +03:00 |
|
levlam
|
6938d286e5
|
Simplify usage of remove_message_notification_id.
GitOrigin-RevId: 0538d4d965d93cc087955cb09b2eccbd564e780d
|
2018-11-29 16:29:39 +03:00 |
|
levlam
|
d069c6cf0e
|
Save last_notification_id in Dialog.
GitOrigin-RevId: 4933eb789e2213b3be2904ae9596d3f453c291ba
|
2018-11-29 16:17:17 +03:00 |
|
levlam
|
41b1a28e50
|
Allow instant view to be deleted.
GitOrigin-RevId: 5d8b26d3b583dc873b7fccf620317a4f04a19ae6
|
2018-11-29 15:43:25 +03:00 |
|
levlam
|
8bbc0f598e
|
Force restart after message_id overflow.
GitOrigin-RevId: 5cbf43ec9a0b85a02f2b99b5aa17331855a184cc
|
2018-11-29 14:37:48 +03:00 |
|
levlam
|
7b4e8c9e12
|
Increase version to 1.3.4.
GitOrigin-RevId: 81c40d23a07376167adf2cb14369b30aa81417ff
|
2018-11-29 02:51:10 +03:00 |
|
levlam
|
c5eee61308
|
Remove notifications from database by notification_id.
GitOrigin-RevId: 4e155c60a5e721c9d68a0e41b67b07c79ede3c8e
|
2018-11-29 02:48:47 +03:00 |
|
levlam
|
85352135fc
|
Repairing wrong last_notification_id.
GitOrigin-RevId: f45d3806ea0c6ca38fd7f3c6b820f8f52255edf3
|
2018-11-29 01:20:20 +03:00 |
|
levlam
|
c1fc81a204
|
Ensure that all chats have different notification group ids.
GitOrigin-RevId: 45aa312302c7df9616f8b8036d444000d186d149
|
2018-11-29 00:57:39 +03:00 |
|
levlam
|
113e264a5f
|
Add MessagesManager::get_message_notification_group_keys_from_database.
GitOrigin-RevId: 8ad93b1dc1782b5f0bf94d70ca8deba55a6ea58f
|
2018-11-29 00:51:25 +03:00 |
|
levlam
|
9e3171ca7a
|
Add MessagesManager::get_message_notifications_from_database.
GitOrigin-RevId: 1eaea2fcc61814c5c87b3c7b2ad90ce749c152c0
|
2018-11-28 23:19:30 +03:00 |
|
levlam
|
07f4d0d94e
|
Add notification_id field to message database.
GitOrigin-RevId: 036e3fb02d7d18c04f568495ae50be9614717a0f
|
2018-11-28 20:18:50 +03:00 |
|
levlam
|
1b14cffb19
|
Load message notification groups by group_id.
GitOrigin-RevId: 51169f873ea08a971f53f6c75cd7fe4ad5978b4d
|
2018-11-28 19:21:18 +03:00 |
|
levlam
|
b5abe4b751
|
Possibly better handling of wrong is_outgoing flag.
GitOrigin-RevId: a53999ddb5aee83b2a737364ab07c2906b5b84fb
|
2018-11-28 04:00:39 +03:00 |
|
levlam
|
4c618b6f92
|
Add notification_group_id to DialogDb.
GitOrigin-RevId: 119785b8a6904a9243ba559237a3f02bb4fe1950
|
2018-11-27 17:39:13 +03:00 |
|
levlam
|
a091d1d0c4
|
Fix AuthKey storer.
GitOrigin-RevId: 5b3388ec2a924af487bb70aaa24965330663011c
|
2018-11-27 05:06:34 +03:00 |
|
levlam
|
7d565e359d
|
Improve clean_filename behavior.
GitOrigin-RevId: da29b1a87a27b6bcb7651ae1b261d44dcf18849f
|
2018-11-27 04:24:43 +03:00 |
|
levlam
|
3e89fac991
|
Support for updating maximum notification group count and size.
GitOrigin-RevId: d7e3c8af8941763c07f8afa7dbc37790b7ebde8f
|
2018-11-27 04:10:52 +03:00 |
|
levlam
|
bd531081ad
|
Add Notification.h.
GitOrigin-RevId: e102973d5585fdf346ac01b09bd2262f9c11fd2e
|
2018-11-26 20:05:06 +03:00 |
|
levlam
|
60e685bd7c
|
Improve flush_pending_updates.
GitOrigin-RevId: 54cc8bddd6654e9972eb4346784c93e84f551ed1
|
2018-11-26 15:58:42 +03:00 |
|
levlam
|
173ba39ad0
|
Flush groups in reverse order to not exceed max_notification_group_count_.
GitOrigin-RevId: 8f1b03b389f7ef5b2b233591e6465ee13dc4fe5d
|
2018-11-24 23:36:08 +03:00 |
|
levlam
|
a84f096ae9
|
Fix behavior of flush_pending_updates.
GitOrigin-RevId: 16fe3975a93062961d28cecd0150a42bfefe7990
|
2018-11-24 02:55:30 +03:00 |
|
levlam
|
2fd5108aa0
|
Send silently notification deletions.
GitOrigin-RevId: dcb094417d830cd0a9810836b2f206b17460b125
|
2018-11-23 15:15:05 +03:00 |
|
levlam
|
3a126069f2
|
Fix handling of after_get_difference in NotificationManager.
GitOrigin-RevId: ef543b9f3253d4e3da08fe5d7ce0320d2bf9f4f5
|
2018-11-23 14:42:34 +03:00 |
|
levlam
|
9841b28693
|
Add insert_message function.
GitOrigin-RevId: c78957f5489e5efcc906c93b9ad9b9b5e2644240
|
2018-11-22 21:27:43 +03:00 |
|
levlam
|
9118cbc71c
|
Simplify adding message to dialog.
GitOrigin-RevId: c0cca65a5deafd763c215030c7dc82e92951b406
|
2018-11-22 21:08:26 +03:00 |
|
levlam
|
0362a95b7a
|
Remove deleted notifications from pending updates.
GitOrigin-RevId: 8061a9c0ba1814444fa9b906f4cbeb31da197dcb
|
2018-11-22 20:17:26 +03:00 |
|
levlam
|
949874c953
|
Better notifications logging.
GitOrigin-RevId: 3580e5ed687e5a2435bda175e2b90ea97cb4fb3a
|
2018-11-22 15:55:34 +03:00 |
|
levlam
|
989b984455
|
Delay notification updates during getDifference and fix bugs.
GitOrigin-RevId: 05f5921a195a9b90b50773ce701ea115cc19e5c8
|
2018-11-22 04:00:28 +03:00 |
|
levlam
|
12e779bc99
|
Combine notification updates.
GitOrigin-RevId: 2e9d85f46a7e4de568ca8d80a806ebadf62e67ef
|
2018-11-22 01:28:56 +03:00 |
|
levlam
|
1f40a2dc78
|
Support update_pts in updateChannelTooLong from getDifference.
GitOrigin-RevId: 4400186159d0dbc62eef70bd0d41f103a1dd2c41
|
2018-11-21 20:30:29 +03:00 |
|
levlam
|
5ee8b9ee3b
|
Fix total_count.
GitOrigin-RevId: 23ddc4c41de65b22e668886208abe8b84aaa8e24
|
2018-11-21 19:44:51 +03:00 |
|
levlam
|
a199a17282
|
Fix send_remove_group_update.
GitOrigin-RevId: c4ce6035da4e5cc72c7be2a2164c322884f0175c
|
2018-11-21 18:00:14 +03:00 |
|
levlam
|
68f477d71e
|
Add more getDifference logging.
GitOrigin-RevId: 047ed590512ec3f97c90d08d2cd709d7e4948519
|
2018-11-21 17:14:35 +03:00 |
|
levlam
|
f2a4cbd1f7
|
Better handling of channelDifferenceTooLong.
GitOrigin-RevId: db70a044bf34c7e30b57266e361cd9579f864e39
|
2018-11-21 16:08:37 +03:00 |
|
levlam
|
b666f554f4
|
Fix flush_pending_new_message_notifications.
GitOrigin-RevId: b3b2e75d95760c2f57e71a4eb66da0674ea56da0
|
2018-11-21 15:23:43 +03:00 |
|
levlam
|
28da401d87
|
Remove dialog notifications when necessary.
GitOrigin-RevId: d1d1b359d3703de41bd786fdfead9152628de9a6
|
2018-11-20 20:17:15 +03:00 |
|
levlam
|
53b02b38aa
|
Remove notifications when dialog history is read.
GitOrigin-RevId: 014c6aae7a0f741882c785db2cefe440b9c8c676
|
2018-11-20 18:03:49 +03:00 |
|
levlam
|
cb1d429eb2
|
Support removing notifications by max_message_id.
GitOrigin-RevId: 7841a68dcc05cb70910da0b28b93996c87782f4b
|
2018-11-20 17:08:44 +03:00 |
|
levlam
|
4ec3171d29
|
Remove logging of some static requests.
GitOrigin-RevId: 6781d147e8c98ae7ff729fed6ff7e34d1cdc9eaa
|
2018-11-20 16:23:35 +03:00 |
|
levlam
|
7ac17547be
|
Remove notifications support.
GitOrigin-RevId: 89669ed19bba2d9556005422d003dec7df8cf252
|
2018-11-20 16:11:34 +03:00 |
|
levlam
|
383119ebe6
|
Better actor names.
GitOrigin-RevId: 94d2c994f5a6ca26e3e35c84edb1df23d1efe75e
|
2018-11-18 15:33:06 +03:00 |
|
levlam
|
a28ac39ecf
|
Fix some MessageDb usages.
GitOrigin-RevId: 90db1e1576dc86b179ae24175cd9a36e00e27647
|
2018-11-18 02:39:51 +03:00 |
|
levlam
|
e59ea01c4d
|
Do not forse updateStatus after authorization.
GitOrigin-RevId: 323778dd60fb3f438f2af466df2eb26b89471d1c
|
2018-11-18 01:54:25 +03:00 |
|
levlam
|
a10de8fc9e
|
Better fix for unneded getDialog, getChannelDifference and getChannelFull queries.
GitOrigin-RevId: 74c6569ad38b74fb0d0c95a6a552a643c3b12244
|
2018-11-18 01:42:15 +03:00 |
|
levlam
|
fdd7987f0a
|
Fix preloading of just received in getDialogs dialogs.
GitOrigin-RevId: 0ff17a84046f76ede0ec4efda0707477b0ab9397
|
2018-11-18 00:24:19 +03:00 |
|
levlam
|
c5c3b8c95a
|
Implement updateNotification.
GitOrigin-RevId: 804e527cc2819e8fa6420d8a7ceea4ad6688a641
|
2018-11-16 18:00:46 +03:00 |
|
levlam
|
64c7362fd8
|
Calculate was_online_local/was_online_remote.
GitOrigin-RevId: 774c9172e2274f998daf244dcb8bfdea7c4c2448
|
2018-11-16 01:48:56 +03:00 |
|
levlam
|
c53eaf92a7
|
Support notification related options.
GitOrigin-RevId: f6e5574fe1466f779995fb3e2914fa48ba844ffe
|
2018-11-16 01:03:04 +03:00 |
|
levlam
|
bd8295c464
|
Add VLOG file_gc.
GitOrigin-RevId: 816f4f124006e29b0afba6a8e8838612faae4cf3
|
2018-11-16 00:25:08 +03:00 |
|
levlam
|
bc54e5e335
|
Fix full_split behavior on empty string.
GitOrigin-RevId: 74fcaeee970ab26f1bee221babf9b6029237c6cc
|
2018-11-16 00:11:03 +03:00 |
|
levlam
|
6fc90bb699
|
Add VLOG get_difference.
GitOrigin-RevId: afd6834f83c455d613949b59f65a3ef0ffed8cf4
|
2018-11-15 20:25:54 +03:00 |
|
levlam
|
b623357695
|
Disable delay for call and new secret chat notifications.
GitOrigin-RevId: a2c4baa804c84503c7c073dc1b6efae6d0590bc1
|
2018-11-15 19:09:01 +03:00 |
|
levlam
|
a86a9d2a00
|
Add support for updateNotificationGroup and delaying of updates.
GitOrigin-RevId: 28974259dcaf97d2ddc7b303c7609bd99b846089
|
2018-11-15 18:58:33 +03:00 |
|
levlam
|
d82e9b1b2c
|
Add last_notification_date to database.
GitOrigin-RevId: 1ae7310f0ec89a832e8081255c6cbca864c3ecc2
|
2018-11-12 17:44:42 +03:00 |
|
levlam
|
718f9e3532
|
Fix parsing of std::unordered_set.
GitOrigin-RevId: 6c946161748c71b36382c20e7bacac1299b4b9a8
|
2018-11-11 16:35:51 +03:00 |
|
levlam
|
0ca9b6493d
|
Send to NotificationManager notifications about new/edited messages.
GitOrigin-RevId: 79647054a22e1376c8a69da180ba293300468ed6
|
2018-11-11 15:58:52 +03:00 |
|
levlam
|
4240b785a0
|
Strong typing for NotificationId and NotificationGroupId.
GitOrigin-RevId: 2fe55d97bac2fa689ddb6da855ce32f62362699a
|
2018-11-10 02:08:47 +03:00 |
|
levlam
|
4605f56d3c
|
Add class NotificationType.
GitOrigin-RevId: 16951bb0dd0d13a1f3332449350fed4a4a1ef13e
|
2018-11-10 01:56:00 +03:00 |
|
levlam
|
5f23a99fca
|
Add dummy NotificationManager.
GitOrigin-RevId: f8915918dfa91562b7acad45133c1c493affc896
|
2018-11-09 17:14:02 +03:00 |
|
levlam
|
9fa8186287
|
Add flags2 support to Message parser/storer.
GitOrigin-RevId: 3eed28718fd30c328b7c97a7897b4c92a8e43977
|
2018-11-09 15:49:54 +03:00 |
|
levlam
|
5160e083b0
|
Move STORE/PARSE FLAGS to a dedicated block.
GitOrigin-RevId: c682b9b2a444a4b86c7c3c09736d3489c4e4f297
|
2018-11-09 15:38:41 +03:00 |
|
levlam
|
e59261ee10
|
Notification API draft.
GitOrigin-RevId: bda9cf7fb68f21529550c5087461940f02a01006
|
2018-11-08 21:00:03 +03:00 |
|
Arseny Smirnov
|
0575aa2983
|
DialogDb: last_notification_date
GitOrigin-RevId: d57526aa00fea63cc3efda091cfa9a1a89955065
|
2018-11-07 00:11:34 +03:00 |
|
Arseny Smirnov
|
591bfc542f
|
Drop session when we have to ignore a packet
GitOrigin-RevId: 2c6cc5bb4a022f0d7701cd8d7f8d3e4530191fc7
|
2018-12-07 00:01:55 +03:00 |
|
levlam
|
c2a873db4b
|
Add test for decreasing local_size.
GitOrigin-RevId: 4dbfd8e0ffd105cb2f87a64bc5d6c0d8112ddcc3
|
2018-11-21 13:56:14 +03:00 |
|
levlam
|
16707b0602
|
Minor improvements.
GitOrigin-RevId: 25ac84d8020557804fc89845e9764c3d50b098d3
|
2018-11-20 20:52:42 +03:00 |
|
Arseny Smirnov
|
c6dd53a76e
|
Session: set_online for nonmain connections
GitOrigin-RevId: 9bcfcdbaaf2440a307f221ab07aa650c449c3d26
|
2018-11-20 16:07:27 +04:00 |
|
Arseny Smirnov
|
fffe644aaa
|
Connections creation debug
GitOrigin-RevId: 1f906a0c00464ff7bdfcfc41932b39733bab6780
|
2018-11-20 13:09:52 +04:00 |
|
levlam
|
be92820691
|
Use online_update_period_ms option.
GitOrigin-RevId: 8354e248ff424d4bed7eb474521bdd2c9685f522
|
2018-11-08 16:06:17 +03:00 |
|
levlam
|
a3049fa4b4
|
Add debug logging.
GitOrigin-RevId: 6f1bf40ff7388359a95f14584bc54780df67b30a
|
2018-11-08 14:00:30 +03:00 |
|
levlam
|
95ff033aae
|
Silence 401th error for ordinary users.
GitOrigin-RevId: 3a371adef8cfc50609a9320c43a0c8cf5d9dd403
|
2018-11-07 21:26:21 +03:00 |
|
levlam
|
f005966752
|
tg_cli: fix "reset".
GitOrigin-RevId: f0c1522ac80d4ee65f4567a32ccf6ba87aa7f694
|
2018-11-07 00:09:05 +03:00 |
|
levlam
|
69d9173dcd
|
Minor Slice usage improvements.
GitOrigin-RevId: 44ceed78dfc3ec459a0c40b6863d1d6ffd863a64
|
2018-11-06 23:25:09 +03:00 |
|
Arseny Smirnov
|
a80e0621e4
|
FileManager: FILE_GENERATE_LOCATION_INVALID
GitOrigin-RevId: bc66c7e63376a3aca0bdcaf1d7f8cbb57e32eb53
|
2018-11-06 19:02:19 +03:00 |
|
levlam
|
2c6bd673c7
|
Use as_slice<Int> if possible.
GitOrigin-RevId: 931b5609e2eae0d5655287e84a71724f07d4090c
|
2018-11-06 19:00:03 +03:00 |
|
levlam
|
ac9e1da20e
|
Add as_input_document debug.
GitOrigin-RevId: 8b005c0f7e8752d2a5aa9cf85f166a7696484056
|
2018-11-06 17:24:32 +03:00 |
|
levlam
|
fc3906299c
|
Better replace document flags.
GitOrigin-RevId: 1b0e6575bd63b8125e5e96faeac1832b088b1cea
|
2018-11-06 14:37:07 +03:00 |
|
levlam
|
e533f55efe
|
Add missed actor verbosity.
GitOrigin-RevId: 25aca1f628f5559fb449d4d63bbf9478785ea15d
|
2018-11-06 10:00:34 +03:00 |
|
Arseny Smirnov
|
7471e62740
|
Destroy authorization keys: fixes
GitOrigin-RevId: 9538efa2deadda91c18c1c97aa22281597a44d4b
|
2018-11-06 14:06:08 +03:00 |
|
levlam
|
34a26188c6
|
Disallow switch_inline_query in channels.
GitOrigin-RevId: ad18c78f9abf4114ae72229f1b2f863f13ccba7a
|
2018-11-05 14:29:43 +03:00 |
|
levlam
|
b1d563719a
|
Simplify should_open in SessionProxy.
GitOrigin-RevId: 5bfa92ed175468d5a247780b73d643735427637c
|
2018-11-04 13:53:57 +03:00 |
|
Arseny Smirnov
|
130456a3bb
|
SessionProxy: rewrite session_open conditions
GitOrigin-RevId: 3a5757fdec567451671143937b5b942610f5ecdc
|
2018-11-03 09:33:22 +03:00 |
|
Arseny Smirnov
|
c610593e75
|
SessionProxy: bugfix
GitOrigin-RevId: f6874238d3aa79e980b3365dc19d9e9e0f0f3c22
|
2018-11-02 18:55:55 +03:00 |
|
levlam
|
32fc43655a
|
Better DeviceToken documentation.
GitOrigin-RevId: 57a792b600ef0f98d93d1e325efba4b8c1e19a7a
|
2018-11-02 17:18:46 +03:00 |
|
levlam
|
5d5c55596e
|
Minor improvements.
GitOrigin-RevId: 2f2099d91867ec302ff2d9426b6b088c8c625720
|
2018-11-01 20:08:20 +03:00 |
|
Arseny Smirnov
|
03604bb367
|
SessionProxy: bugfix
GitOrigin-RevId: b2cdc985d4465cdd19f85d024a5de9d8e882e8f0
|
2018-11-01 19:34:18 +03:00 |
|
levlam
|
1cb68fab96
|
Add mtime only to absolute original_path.
GitOrigin-RevId: 379ab8f47b8f2e4e6bf930977bfae8e26cf5fc60
|
2018-11-01 18:54:08 +03:00 |
|
levlam
|
ecaaae62ef
|
Fix mtime in generate location.
GitOrigin-RevId: 70235d7f9c0e21fdcb555a678f13afbfabf3767f
|
2018-10-31 21:11:02 +03:00 |
|
Arseny Smirnov
|
27770ce060
|
Destroy mtproto keys on logout
GitOrigin-RevId: 8ac2bafd2d1897dc0942a33d8406ea8c2e5dfaa7
|
2017-12-29 23:34:39 +03:00 |
|