Commit Graph

1380 Commits

Author SHA1 Message Date
levlam
ca92472b69 Support numeric hosts in GoogleDnsResolver.
GitOrigin-RevId: 6768a90ad7f98d83f507051564fb1646d3834aad
2019-02-04 06:32:10 +03:00
levlam
fc8917a4ed Rename ResolveType to ResolverType.
GitOrigin-RevId: 64350527620c08bb192a18d951d5b3b5216f1162
2019-02-04 04:36:13 +03:00
levlam
da59ac47ea Support list of resolve types in GetHostByNameActor.
GitOrigin-RevId: 5aabc978b9a6caaecc2bf6c432421b2a4d766559
2019-02-04 04:32:32 +03:00
Arseny Smirnov
c07b26e45c GetHostByNameActor: Options and test
GitOrigin-RevId: afebe6e940b2048d3ef6f6368ff824443d55a909
2019-01-24 17:07:11 +04:00
levlam
6cc83f025f Better fir for merge_choose_generate_location.
GitOrigin-RevId: 23286b6d59cbfefae852b63f6cf6daa7e41d2690
2019-01-19 22:42:06 +03:00
levlam
c47b737ef7 Fix merge_choose_generate_location.
GitOrigin-RevId: 811ba253ffab93da2894d8792186b077e8ab3156
2019-01-19 22:35:28 +03:00
levlam
b275a77a84 Add reload_wallpaper method.
GitOrigin-RevId: 3750ae5bc58719da6d1715d00e4edb054bde12ed
2019-01-18 14:33:23 +03:00
levlam
2bb8a7549d Do not check mtime for files generated from log files.
GitOrigin-RevId: 45800dd09ce09dc924d3f9e2cb7592604d3becb6
2019-01-18 01:25:11 +03:00
levlam
5bf92283b6 Add LogInterface::get_file_paths method.
GitOrigin-RevId: 5cb749915b181b33250f56eb5d441d0c22c35800
2019-01-18 01:17:20 +03:00
levlam
b6f4249221 Add notification_if fixing.
GitOrigin-RevId: bf8d5cbafb2ea872798e9aded586e7f5c03750c8
2019-01-18 00:00:49 +03:00
levlam
f633d754c7 Fix initialization order.
GitOrigin-RevId: d27f3c18063093345436c55e3d4959297b7c234f
2019-01-17 23:12:31 +03:00
levlam
33657d521a Wallpapers cache and combinig of queries.
GitOrigin-RevId: 4dbad3fadcff8d0978b2600c500e3dd7e9d0bd1c
2019-01-17 03:27:43 +03:00
levlam
eaf7e36532 Add fix_formatted_text test.
GitOrigin-RevId: 90e0f7d0fdcef077f88927311a9c0678711c5da8
2019-01-16 21:18:26 +03:00
levlam
2fb5fbfd4c Allow TextURL/TextMention entities consistining only of spaces.
GitOrigin-RevId: fa17848434a90b70e1a10560b367864973bcbdb8
2019-01-16 03:30:42 +03:00
levlam
1b06a66888 Better variable names for "whitespace".
GitOrigin-RevId: 0f4d0c54af87f0813bdad3ab3ff9ee20d056382f
2019-01-15 22:34:38 +03:00
levlam
8dec79e05c Improve FileDownload logging.
GitOrigin-RevId: f01b8365ba65e139b3018c3d1c307bd78521434f
2019-01-15 20:57:09 +03:00
levlam
e987178e1c WallpaperManager.
GitOrigin-RevId: fcaf2ef58122484f7a9ee86cb0b9af8ecb39b047
2019-01-15 17:11:00 +03:00
levlam
626d1e07d0 Add reload_saved_animations.
GitOrigin-RevId: e69e2d60bc5464b880ed478dedc084656a1e878d
2019-01-15 03:04:10 +03:00
levlam
6f813b25ac Add reload_chat/reload_channel methods.
GitOrigin-RevId: 82f650328672dcde337f692d986a338e48711d91
2019-01-15 01:38:17 +03:00
levlam
303a006fb3 Add reload_user_profile_photo method.
GitOrigin-RevId: cc0e9d51b98adcb359310a239e707a7ef5e0523a
2019-01-14 23:04:53 +03:00
levlam
b19dacf20b Do not try to load history in empty chats.
GitOrigin-RevId: 6ab22148eff7843abe251f7138e79f1f69f05b17
2019-01-14 01:32:30 +03:00
levlam
90cde3dea0 Better handling of empty dialogs and last pending message.
GitOrigin-RevId: cb9905ab05a7f60c2430d64b6f6a17ddbd54beb3
2019-01-14 01:22:06 +03:00
levlam
ee2d557531 Fix wrong calls to remove_notification.
GitOrigin-RevId: 3e752924af1511d9fd8f721fde93aa90e7f96123
2019-01-13 23:26:14 +03:00
levlam
ca4fe0ecb3 Support unencrypted pushes in getPushReceiverId.
GitOrigin-RevId: f8404aec776934ae804f7b76dd8cbbe352ace50b
2019-01-13 22:56:38 +03:00
levlam
4618d0611e Fix CHECK.
GitOrigin-RevId: 376b93e35f13c5637762c03a5a50013c6d4febed
2019-01-13 22:28:25 +03:00
levlam
7cead9fc0f Add more logging.
GitOrigin-RevId: c943c0ee7ebbe7c3dc0b50b147226063e11c1e0a
2019-01-13 21:22:00 +03:00
levlam
e22e23a5ff Add source to on_get_user and on_get_chat.
GitOrigin-RevId: a3f187dc0d7d981df6ca3f2566f66678b4ad4774
2019-01-12 06:48:39 +03:00
levlam
f0dd4b1bad Unify handling of messages.Messages.
GitOrigin-RevId: ebce77b6e8417b0d011e6dd91087432de0a85524
2019-01-12 05:38:17 +03:00
levlam
91627605f6 Remove secret chat notification on chat opening.
GitOrigin-RevId: 4bd180b95b520bc1a9aca645d07580d5e3aa4228
2019-01-12 03:44:32 +03:00
levlam
14f5ce9a29 Delete reused notification groups from database and other fixes.
GitOrigin-RevId: d07e452682df5d781bd0bb992ef572c0c3990540
2019-01-12 03:40:06 +03:00
levlam
d375ff0f29 Fix file statistics after forwarding files to secret chat.
GitOrigin-RevId: 9ae1f492fe003da011622effadc143e9aad517e9
2019-01-11 20:54:27 +03:00
levlam
15dda847f4 Fix storage fast statistics after file checking.
GitOrigin-RevId: c912dc17c00ba61e1ad5b11bf6d411783fba58df
2019-01-11 20:08:56 +03:00
levlam
5ea6fda925 Better on_new_file.
GitOrigin-RevId: 0f102cc0c166bbde4b99e7c6735bd79b45f5748a
2019-01-11 05:45:03 +03:00
levlam
042c43ff46 Always send updateScopeNotificationSettings.
GitOrigin-RevId: 60d7e10e9b9e7d1f67f80cd7193ade42e52f3ef9
2019-01-11 03:30:55 +03:00
levlam
9b95544677 Always cancel file upload.
GitOrigin-RevId: d23729bde64972012a37a81620b1c4626648b342
2019-01-11 02:55:40 +03:00
levlam
a8b09b8cea Add more upload logging.
GitOrigin-RevId: 1201af06efe11275a3ab74c27ce5409577b753fc
2019-01-11 00:12:51 +03:00
levlam
f6f4f70290 Add remove_dialog_pinned_message_notification.
GitOrigin-RevId: 278ca1ea9914c9a71b3d6835fecd01fb36b536cb
2019-01-10 22:16:05 +03:00
levlam
68cc159a54 Fix updating user links.
GitOrigin-RevId: 9c4098524f6f3f817bae9d4eb33b244282dd378e
2019-01-10 22:02:45 +03:00
levlam
134785fc3d Preload pinned message.
GitOrigin-RevId: 9805a684ce0bfe5af26ac27c608748484c11d64d
2019-01-10 22:01:15 +03:00
levlam
3aa95a20ef Notification settings for mentions.
GitOrigin-RevId: 54afec57ab351bcce98b51f06c2dc2769bc25f0f
2019-01-10 20:54:46 +03:00
levlam
ed9e4baae8 Support per chat disable_pinned_message_notification setting.
GitOrigin-RevId: 775384f42d6f31ac983e40836a88b63c0eab1962
2019-01-10 03:47:33 +03:00
levlam
5b941456d2 Add td_api::getMessageLocally.
GitOrigin-RevId: 8b6dec4aadc0d9b1005444fe82a7db12cf1841a7
2019-01-09 05:57:43 +03:00
levlam
ef7914a26d Delay notifications in the open chat for 1 second.
GitOrigin-RevId: 9162b726f404b5116fd64a4894bb16a76e1c1aea
2019-01-09 05:13:03 +03:00
levlam
cccab2ba62 Better forward_info changes logging.
GitOrigin-RevId: 49ba4447cbe7998e7c275377e545c2fe7e54b92a
2019-01-08 22:48:43 +03:00
levlam
42d59ba6b3 Add additional delay for somw service message notifications.
GitOrigin-RevId: 181e4e4d8eab72b161ae9cc1ab5961f80a0b5d99
2019-01-08 21:24:06 +03:00
levlam
2dae55013c Fix documentation.
GitOrigin-RevId: a41ddbd90921efddbfe9b7f077eaf28903965e38
2019-01-08 06:10:16 +03:00
levlam
eeb2faede0 Fix pinned_message_notification_message_id after notification removal.
GitOrigin-RevId: 88cd26d1888a83c5d3448f9f2deeb92ed96140ec
2019-01-07 23:30:34 +03:00
levlam
8e402b8a48 Fail fast on photos bigger than 10 MB.
GitOrigin-RevId: 4f4cfd5415c3e9a851fd7d580ecfa11b3d7c6046
2019-01-07 20:41:05 +03:00
levlam
d61f44ac35 Fix comparisons with get_last_updated_group_key.
GitOrigin-RevId: 46d2d729616b3cd19b361f767a35df58229711bd
2019-01-07 20:26:47 +03:00
levlam
ccb2649306 Better removing of reply markup after bot has left.
GitOrigin-RevId: 11971b4485fc89fc663afaf5f30ef0f4a88e6d2e
2019-01-07 19:30:09 +03:00
levlam
b4c0d1b876 tg_cli: as_{basic_group,supergroup,secret_chat}_id.
GitOrigin-RevId: 747434e8cc75ec25dcdd461a574d55af6d0cf7c4
2019-01-07 18:37:53 +03:00
levlam
3c6008aa9c Fix call to on_update_secret_chat_state.
GitOrigin-RevId: 110b1b4fe066ae3cfa064baa9d861653cb284222
2019-01-07 18:08:01 +03:00
levlam
a6bb57d3dd Do not notifiations about messages from inactive basic groups.
GitOrigin-RevId: a930e5f235ecf133347705e50d6647615dded091
2019-01-07 17:54:45 +03:00
levlam
915b9c70a5 Fix loading last_notification_date from database.
GitOrigin-RevId: 6d1d268bee58a49179e4d02b178dd7c116a46556
2019-01-07 06:23:42 +03:00
levlam
cf8fada818 Try to always send updateNotificationGroup about an empty notification group.
GitOrigin-RevId: a6a2ec094ea0c238ba407eda5bcaf855a3c62ba2
2019-01-07 06:12:07 +03:00
levlam
226badc39e Fix Java and .NET documentation generators.
GitOrigin-RevId: 22fcce7801c8086b7f104976dfd1817651f8e163
2019-01-07 04:32:49 +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
705a57ba76 Do not include FileDb.h in FileManager.h.
GitOrigin-RevId: 5cba51fa56f7087ae818393b05c423ec9e5a8aec
2019-01-06 23:47:40 +03:00
levlam
60e4d27011 Add strongly typed FileDbId.
GitOrigin-RevId: 234c9ec0ecda3f2ba48e0fd00fa06a8ec0188ca4
2019-01-06 23:39:10 +03:00
levlam
5438119bb4 Fix Global.h and TdDb.h includes.
GitOrigin-RevId: 89fa1ee3e8071ad3f27687f79d1a52de113f9705
2019-01-06 22:59:17 +03:00
levlam
ea06aa19d6 Forward-declare BinlogEvent.
GitOrigin-RevId: 4ea183c04ec8e5ffd0c2851db399b2a2155557ea
2019-01-06 22:11:02 +03:00
levlam
c8f3573ca5 Do not try to attach stickers not from sticker sets.
GitOrigin-RevId: e5ae71d7e47ab5e055ecdafd22a0cbe77c19ab71
2019-01-06 21:26:19 +03:00
levlam
0403c58c73 Minor.
GitOrigin-RevId: 2d1cd971e34a79011c6e658657f7a7b1329195ca
2019-01-06 06:16:29 +03:00
levlam
93790e4350 Update documentation.
GitOrigin-RevId: 9d171d943a85c04e5b357d967a1a0484d4e61f68
2019-01-06 05:37:35 +03:00
levlam
9030b8d29e Flush all pending notifications on user going online.
GitOrigin-RevId: 7ccddf36079e30ecf31363f82a55e9663ed97743
2019-01-06 02:50:31 +03:00
levlam
ddfe9b4413 Handle other types in get_message_content_file_ids.
GitOrigin-RevId: ec5a1388efb2beb64db1207e38aa4167c3c8ae83
2019-01-06 02:34:26 +03:00
levlam
b740d3dab0 Support for MessageGame in get_message_content_file_ids.
GitOrigin-RevId: 90a6701206121dd37e1bd3dcca57d94ce5473085
2019-01-06 02:15:07 +03:00
levlam
027c1eafc4 Properly init MessagesManager.
GitOrigin-RevId: 10bd6a41a479389afdbf6d621025bba766f8e850
2019-01-06 01:25:09 +03:00
levlam
78a0a37afb Remove contacts by phone number in changeImportedContacts.
GitOrigin-RevId: 1ac5998d3d01b289761aa62e131589163e1b5194
2019-01-03 01:39:21 +03:00
levlam
9cb950bc05 Update layer 85. Support hide_via_bot.
GitOrigin-RevId: 94fb988d50640f68019007249b8e4860ccea89af
2019-01-03 00:05:47 +03:00
levlam
97a4f73999 Fix PartialLocalFileLocationPtr.
GitOrigin-RevId: c72b2da96bfc01d3c40693863830205145229aa3
2019-01-02 21:52:44 +03:00
levlam
0377bfc660 Minor.
GitOrigin-RevId: dcd4b8b88227ecb4bb529f0dbfcab45830f09da2
2019-01-02 21:31:24 +03:00
levlam
18140a1b82 Improve checkAuthenticationCode documentation.
GitOrigin-RevId: 0a3932d17f82009eaa27ce7a7f4e0017ca3c0e2d
2019-01-02 21:30:03 +03:00
levlam
649453ce0b Reduce sizeof(LocalFileLocation).
GitOrigin-RevId: cd6911a2654535303bb2b086052e767d5a912caf
2019-01-02 21:17:08 +03:00
levlam
b06a08b106 Add separate key for test DC.
GitOrigin-RevId: 6417cbe9ed98ca7c280e0f5882f11d69610386c1
2019-01-02 02:43:37 +03:00
levlam
d542182b07 Fix sending of updateSupergroup after unban.
GitOrigin-RevId: 55b4fe17ea72069814fbbf3a3994cb4ee122df46
2019-01-02 01:32:50 +03:00
levlam
8df8273c87 Fix td_api::joinChat.
GitOrigin-RevId: b03a7302e1c9639a37e44e43967dfe4331c8e439
2019-01-02 01:26:03 +03:00
levlam
da8d4ceab1 Better setChatMemberStatus.
GitOrigin-RevId: eda67ca9fc959c9b94184ca952af8186aaf8d2de
2019-01-02 00:14:03 +03:00
levlam
2bfc3578f6 Always set correct file_type in on_update_local_location.
GitOrigin-RevId: b94e23635d7d975361ab1af2c5dd06fbecf62e42
2019-01-01 20:35:08 +03:00
levlam
6b04ed9d4a Remove TODO.
GitOrigin-RevId: 094d7390c8c9b27a5cf1fa8967fe0d790b5b6d9e
2019-01-01 20:13:44 +03:00
levlam
13769d7410 Add LocalFileLocation output operator.
GitOrigin-RevId: a84cd9f30c4797570146cdf6b8ed5aa902fcf273
2019-01-01 20:02:13 +03:00
levlam
594368e571 Save expected_size for generated locations.
GitOrigin-RevId: f9902ca187bb39936b640106d466878d4a9457ec
2019-01-01 19:26:36 +03:00
levlam
eaebfad034 Update copyright year.
GitOrigin-RevId: 359e2b43322222922c44c430d3814b0a4c778dc6
2019-01-01 01:02:34 +03:00
levlam
c3e7958020 Do not store sticker <-> emoji correspondence for bots.
GitOrigin-RevId: a631b0a288629c317402338d54bc8f3a7b027a09
2019-12-30 06:35:53 +03:00
levlam
d327618102 Fix notifications handling for bots.
GitOrigin-RevId: aa80acf91ef74eb30e19aaadaf33b494f09236aa
2019-12-30 03:39:49 +03:00
levlam
d810f11e2e Stable check in is_bot.
GitOrigin-RevId: d119b007e91dcd9a33179a3f32727b998825a97e
2019-12-30 03:21:46 +03:00
levlam
05a99dedb1 Improve updateMessageId handling.
GitOrigin-RevId: 6eb271f26f3bfda0544bb887e8b763f3b5b4b452
2019-12-30 02:56:52 +03:00
levlam
ea3c65b3aa Add disable_pinned_message_notifications option.
GitOrigin-RevId: 42c12c98abf2bbfa6c41e67f8b5b0c2f9a3536e9
2019-12-30 00:35:19 +03:00
levlam
fd228ce404 Increase version to 1.3.5.
GitOrigin-RevId: 6ecbaee2ccfacf0f9ae60a6e01d618a212353a58
2018-12-29 01:51:21 +03:00
levlam
04fbc9ff48 Add pushReceiverId.
GitOrigin-RevId: 6beb6930eb456d94af50ed9455ee15df8ed36e20
2018-12-29 01:48:32 +03:00
levlam
dd5b8a87c2 Remove separate setFileDownloadOffset.
GitOrigin-RevId: b9588dbbc3929de9dba01c008bc18d1f36b24571
2018-12-28 20:38:37 +03:00
levlam
e371abc0a7 Better logging of failed to parse sticker set in the database.
GitOrigin-RevId: 5fdf590fbfccb456f8dc2612470970031f81a199
2018-12-28 20:15:52 +03:00
levlam
ded974762a Delete only temporary partially generated files.
GitOrigin-RevId: aa4f17ddf141fd2058b8345126e936256609b10a
2018-12-28 19:54:46 +03:00
Arseny Smirnov
5a741ce08d PartsManager bugfix: do not set bits in bitmask for empty parts
GitOrigin-RevId: 5fec69b1e1aed975edb7d9901206262abc7151d3
2018-12-28 16:16:14 +03:00
Arseny Smirnov
89d5d680d6 FileLoader: restart cancelled queries
GitOrigin-RevId: e71c71b25098631ca68de852eece9cb9a37ec775
2018-12-28 09:42:36 +03:00