Commit Graph

1047 Commits

Author SHA1 Message Date
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
levlam
34f5f96afd Add debug.
GitOrigin-RevId: d1a4df496847f44fa412dd0e0ac071b460bdf5d2
2018-10-28 18:21:27 +03:00
levlam
ccd96d92f2 Fix option name.
GitOrigin-RevId: e7203a982032d7c9f2e53605e8a14a90b0f61d9f
2018-10-27 03:15:55 +03:00
levlam
2fa81be614 Increase version to 1.3.3.
GitOrigin-RevId: 9e23e18639ee02bd2bddd6c4dc813dc516c3dd53
2018-10-27 03:10:08 +03:00
levlam
7d6f9c493b Add debug.
GitOrigin-RevId: aefa536bc203096a37709fa2ae5d478cfe65770e
2018-10-27 02:58:31 +03:00
levlam
8de6d7484f Fix call to PEM_read_bio_RSAPublicKey.
GitOrigin-RevId: 099e4b08a21f1d6788751222f7c98a6ab696eb49
2018-10-27 02:51:27 +03:00
levlam
b9cbd43e96 Add check for invalid DialogId in database.
GitOrigin-RevId: ac28b2afb276743fe203a25f53e0ff69e4e3e08d
2018-10-26 18:36:53 +03:00
levlam
4a8ba5075a Add EncryptedInputFile constructor.
GitOrigin-RevId: 9b65eebb5103753a4ceb163f0321361001686bfc
2018-10-26 18:04:04 +03:00
levlam
28bfa4c4a6 Fix some MSVC Analyzer warnings.
GitOrigin-RevId: f62e8173ae9a5b78818f6575548ce22d4aa5c51d
2018-10-26 17:11:20 +03:00
levlam
5368c96a41 Add parse_message function.
GitOrigin-RevId: 8bada6f99333add3548317ccca2ca4b5c8bb2136
2018-10-25 18:00:49 +03:00