Commit Graph

1056 Commits

Author SHA1 Message Date
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
levlam
abbb1a42a7 Static execute in JSON interface.
GitOrigin-RevId: 58748f011a6def1d81e11063e9a15f5a8750174e
2018-10-31 17:51:07 +03:00
levlam
035e4a69ed Improve iOS README.
GitOrigin-RevId: 5141bd0bb172f72c7cda70dba249d4c3f0d90849
2018-10-31 15:15:16 +03:00
levlam
6b3b190037 Add logging to Client::receive.
GitOrigin-RevId: 2cb36c61e186a0e598dd5ce3a330d1a0baa884c3
2018-10-31 15:09:25 +03:00
levlam
b886016254 Move Connections logging to INFO.
GitOrigin-RevId: a85aab69d18f4ef25d0853977a44d1a6cea695fd
2018-10-31 13:54:06 +03:00
Arseny Smirnov
f788c1e917 FileManager: add #mtime#<mtime># prefix to generate conversion
GitOrigin-RevId: 4253d68e4f7878d871f53e0bbcf77633258cc946
2018-10-30 17:25:31 +03:00
levlam
bc88b8e951 StringBuilder fixes.
GitOrigin-RevId: 1836df5f6931ca94e96e7281eeb1090163d8648f
2018-10-30 17:22:44 +03:00
levlam
53ecae8b0a Add dialog_id to on_load_dialog_from_database.
GitOrigin-RevId: 4c5d84b580ce716be7b14e2ea3a4321434dd97f9
2018-10-29 20:16:31 +03:00
levlam
51eec319b8 Fix some includes.
GitOrigin-RevId: 4c81e2fd0101f3c5bb23912681e7d02a60da5622
2018-10-28 20:30:47 +03:00
levlam
6a402ee0a3 Add temporary binlog fix.
GitOrigin-RevId: bf91645a6646f39fdbd36ac1351fdce2ae5b7763
2018-10-28 18:21:35 +03:00