Commit Graph

87 Commits

Author SHA1 Message Date
levlam
0ab2b00533 Use display_url instead of url for domain detection.
GitOrigin-RevId: e966418ddd25b33dc878b19f3e77f589e9db777a
2020-03-03 01:24:25 +03:00
levlam
fa475244f7 Add support for Youtube hashtags in WebPage description.
GitOrigin-RevId: 51819b0adacd5bb32748bcbf46c8152eaa29079b
2020-03-03 00:53:15 +03:00
levlam
5dee42c734 Improve handling of Instant View anchors.
GitOrigin-RevId: 9293ea4c1c7f4767c7f91421b3719e00d836470c
2020-03-03 00:40:52 +03:00
levlam
c36b6948b0 Add explicit Context to WebPageBlock methods.
GitOrigin-RevId: b3e9b9994091e16ae789311ed598067ae5f1fa3d
2020-03-02 22:31:01 +03:00
levlam
ae5588bf11 Make webPage.description a formatted text.
GitOrigin-RevId: b64cf0e915f9fdeeadc8cdee8280fcbb236c92bb
2020-03-02 16:05:18 +03:00
levlam
24e2dcd590 Reregister edited scheduled messages.
GitOrigin-RevId: 72d2f5804fb6fb7dc5e4fb026dd1ef6640ee63f6
2020-02-26 16:26:25 +03:00
levlam
e14d15196c Repait broken entities instead of clearing.
GitOrigin-RevId: 7044b000997b7415f55caa1610c418a76c7ea793
2020-02-25 01:46:30 +03:00
levlam
04a002d9f3 Add source to register_message_content.
GitOrigin-RevId: 035429321a0fa15ea8918c634b19f12c21fc1d61
2020-02-22 19:21:58 +03:00
levlam
a72bf60049 Fix clang 3.4 false warning.
GitOrigin-RevId: 39f7789760311a99cfad31451335d6eda5cbdf21
2020-01-30 04:56:08 +03:00
levlam
129f96da69 Send updateMessageContent when WebPage is changed.
GitOrigin-RevId: 8e20fd788a4f5333f686d96241459774319ac8d7
2020-01-27 02:55:18 +03:00
levlam
9f2870a5a0 Do not send updates if web page is not changed.
GitOrigin-RevId: 4626b571aca295c6fd3d35f10a2494aafb34f581
2020-01-26 04:59:19 +03:00
levlam
0f35cb04fd Update to layer 108.
GitOrigin-RevId: 31a6f84047b1d4e21b466bb32548e61e11d0d194
2020-01-10 02:47:56 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
60a95186f5 Do not start GetWebPageQuery on closing.
GitOrigin-RevId: 199f02aa226f0427d591c3699b2da12ce5be2948
2019-12-13 19:29:14 +03:00
levlam
0618005a95 Add FullMessageId.h.
GitOrigin-RevId: 758133149ff3317b3d9d3f86b1a841e8f34ca35a
2019-11-26 19:53:10 +03:00
levlam
727d0f1c6f Fix on_get_web_page_instant_view.
GitOrigin-RevId: 6325584a6481566bde5202e818ef02301585d16c
2019-11-26 03:45:23 +03:00
levlam
99779fe3c1 Add support for multiple documents in WebPage.
GitOrigin-RevId: 54785578f34849900c6e75cf94bc71d1820f9083
2019-11-24 03:32:37 +03:00
levlam
15f31cf23a Add storer and parser for unique_ptr.
GitOrigin-RevId: 2b0f5c8a3e9f7a9343cf9557d10cbf95009ba847
2019-09-18 02:42:38 +03:00
levlam
b282853c97 Ignore corrupted web pages loaded from database.
GitOrigin-RevId: 1233ad086176910d3fe6f6cf621d3cbfc36775bb
2019-09-30 15:27:22 +03:00
levlam
17cc3b93f0 Add td_api::pageBlockVoiceNote.
GitOrigin-RevId: 4f5fdd595abba78863cf2e825c492b4ee99a11a3
2019-09-27 03:21:55 +03:00
levlam
19de122bea Add Document::append_file_ids.
GitOrigin-RevId: 309a322425278f09781897a8f7679ece73ecf055
2019-08-23 18:03:06 +03:00
levlam
20503e04d2 Various fixes.
GitOrigin-RevId: da4869e5054952663ad5993f5770f2984a473818
2019-07-22 07:01:51 +03:00
levlam
cf4433dc52 Use get_photo(telegram_api::Photo) whenever possible.
GitOrigin-RevId: 6ab86f8a10f8a80584cd7a4ada4fbbda19df9d96
2019-06-17 02:41:57 +03:00
levlam
6ca6b78b3b Remove unneeded includes.
GitOrigin-RevId: 863c925cb49c1ab94f5f1685ad0584c41a54a833
2019-04-27 04:15:05 +03:00
levlam
740880b9ca Refactor WebPagesManager::PageBlock to a separate class.
GitOrigin-RevId: 7a705f0929c1b4419d2cf0693dda747a172dbc28
2019-04-27 03:57:59 +03:00
levlam
e7427ea57e Explicitly specify WebPage/WebPageInstantView types.
GitOrigin-RevId: e3da08bb1b5ba108206e89ed0797121829526251
2019-04-27 02:00:32 +03:00
levlam
9715ae4462 Add version to td_api::webPageInstantView.
GitOrigin-RevId: 81882e97facef38940c6c934e18d82e25dc39e12
2019-04-17 22:32:14 +03:00
levlam
d42df63ba9 Add Document.get_file_ids method.
GitOrigin-RevId: a885722f10800b5d64ac6f398a4526c874bd2668
2019-04-10 00:55:54 +03:00
levlam
082ba9e020 Add document contents to pushMessageContent.
GitOrigin-RevId: 5baa4853f4e47d9f50f23ca74ebbed0369f17558
2019-04-09 23:39:41 +03:00
levlam
46a0b0036d Add Document.hpp.
GitOrigin-RevId: e26a6aa44453c2a5e2216d91782e94f5bda9686d
2019-04-09 18:52:53 +03:00
levlam
dc79cdc0b1 Add Document class.
GitOrigin-RevId: e1a5a8235f341cf0955ee37086a99a17e7b123de
2019-04-09 18:38:57 +03:00
levlam
a4ab41f8f8 Fix warning.
GitOrigin-RevId: 0f21169fe0d8b0ea5417f6e2a516d36f46502963
2019-03-01 16:09:06 +03:00
levlam
8edd3b3811 Fix adding thumbnails to file_ids list.
GitOrigin-RevId: 880d7b1720050685b502925aa281c6de4945e1fb
2019-02-28 21:40:57 +03:00
levlam
58f63d36d6 Fix includes.
GitOrigin-RevId: d633dc842591cd28a03f9fba6974a171926ed229
2019-02-22 23:15:43 +03:00
levlam
4d5fb2902c Unify names of ParserT/StorerT classes.
GitOrigin-RevId: 69df5062e20cc87c0778e1b125ab46575c365377
2019-02-21 20:54:20 +03:00
levlam
25018bdf12 Fix another g++ CE.
GitOrigin-RevId: 1c28f665abe00068b20565f937da695981f9e9fa
2019-02-13 02:51:46 +03:00
levlam
eb9ead582f Remove unneded includes of td/utils/loggging.h.
GitOrigin-RevId: 82a3b506dba5c9d5267dc0e2504a7093a7fa87db
2019-02-12 23:48:16 +03:00
levlam
130b49a524 Various include and other fixes.
GitOrigin-RevId: 68e03e0636cd4cff3e6fa876342ba16453630f15
2019-02-12 19:48:52 +03:00
levlam
60241730da Add td/telegram/files/FileLocation.hpp.
GitOrigin-RevId: a6fd7c026b88006dc0f26694b2299cce2258d6c4
2019-02-08 00:00:26 +03:00
levlam
bf9842bff1 Update layer to 89.
GitOrigin-RevId: acdaebced325dd66a169264621567b17dd42762c
2019-02-07 23:25:27 +03:00
levlam
41d162f62b Fix list item labels.
GitOrigin-RevId: c24d6efcc9f2dc36870a047a227f7af0ef93275f
2019-02-07 21:45:08 +03:00
levlam
d03c74e9f7 Fix get_web_page_file_ids.
GitOrigin-RevId: cb8c7067a05e1136ae8588df3aee5e3327de00c3
2019-02-07 21:05:40 +03:00
levlam
caf713367c Instant view 2.0 support.
GitOrigin-RevId: 8305ea5bb716061f5188bfbb2f6765760d543f59
2019-02-07 19:30:59 +03:00
levlam
3c8f56fc66 Support pageBlockMap.
GitOrigin-RevId: f2c4c6f6d84135d10fc1f53fb13290107827a89f
2019-02-07 18:28:49 +03:00
levlam
e34d46ac6a Support pageBlockRelatedArticles.
GitOrigin-RevId: a527bddf568842f986c87830ce8f9d53f6a53c09
2019-02-07 17:44:09 +03:00
levlam
5a8566bac2 Support pageBlockDetails.
GitOrigin-RevId: 82e90d7e01dc4f6bff19a64a11958fc42ff5c3a6
2019-02-07 16:38:11 +03:00
levlam
558a0f9b35 Support PageBlockTable.
GitOrigin-RevId: 602d58aaba14e6433c624fe08f8d12be20b2f1b2
2019-02-07 02:58:27 +03:00
levlam
7dbb666a3b Support new PageBlockList.
GitOrigin-RevId: 763af27e6aa32daa8a30ecb9d87a9c0e7152a5ce
2019-02-06 23:20:11 +03:00
levlam
4017c2098c Save web_page_id in RichText::Url.
GitOrigin-RevId: a3981f801c2704f0e898f330517209cfb26d27f6
2019-02-06 21:16:12 +03:00
levlam
9d81e82721 Support pageBlockPhoto URL.
GitOrigin-RevId: 12c91546ccfe87f3fa995933dea81a705f5009c0
2019-02-06 21:00:00 +03:00