Commit Graph

113 Commits

Author SHA1 Message Date
John Preston 55edb3bdfe Update API scheme to layer 119. Count replies. 2020-09-29 19:03:18 +03:00
John Preston 8f80c19ae1 Merge old group with supergroup history in export. 2020-06-01 18:09:34 +04:00
John Preston ed715fb810 Update API scheme to layer 111. 2020-03-27 20:36:01 +04:00
John Preston ae98e4ae44 Support file reference refresh in Export. 2019-11-29 15:36:06 +03:00
John Preston 27a83a7a09 Use base::FileNameFromUserString. 2019-10-20 14:22:46 +04:00
Jiachen YANG 8abeb4a9db include range/v3/range/conversion.hpp instead of range/v3/to_container.hpp 2019-10-02 11:52:55 +03:00
John Preston 850940116d Move HistoryMedia to HistoryView namespace. 2019-08-09 11:50:49 +01:00
John Preston 567bf60644 Use getters in MTP classes. 2019-07-05 16:23:07 +02:00
John Preston 14b82698f8 Update API scheme to layer 102. 2019-06-21 11:06:44 +02:00
John Preston c4aac5fa0e Update API scheme to layer 100. 2019-05-27 15:09:06 +02:00
John Preston 9bf8a8108d Comment out non-folder feed code. 2019-04-25 14:16:30 +04:00
John Preston aa8f62da9d Support new ('modern') API file locations. 2019-03-29 14:24:07 +04:00
John Preston a34e998c42 Handle fwd_from without a link to the account. 2019-03-24 12:12:42 +04:00
John Preston d2d6b319b6 Update API scheme to layer 93. Broken. 2019-01-17 12:21:28 +04:00
John Preston 47edb71a68 Update API scheme to layer 92. 2019-01-17 12:21:28 +04:00
John Preston ef1d38462f Simplest polls data export. 2018-12-23 00:23:19 +04:00
John Preston 6d9f40db30 Update API scheme to layer 91. 2018-12-21 17:09:30 +04:00
John Preston 7960706e60 Update API scheme to layer 90. 2018-12-17 11:01:30 +04:00
Jonathan de Jong 87d4d46ce7 Add IDs to JSON exports (#5426)
* Added IDs to various JSON objects.

Including an `_id` addition inside chat message, which get appended to `actor` or `from` entries.
2018-12-04 19:22:17 +04:00
John Preston 841abc2e87 Limit single chat export by dates. 2018-10-09 19:27:17 +03:00
John Preston 2e5a0e056c Move to std::optional. 2018-09-21 19:28:46 +03:00
John Preston 23c2ae49c6 Add media date after index in default export name.
Fixes #5167.
2018-09-21 13:08:41 +03:00
John Preston cb371f09ac Clear old versions of Storage::Cache::Database. 2018-09-01 18:56:08 +03:00
John Preston c913c77fef Refresh file references when sending stickers. 2018-08-20 17:26:28 +03:00
John Preston 839885910c Pass FileOrigin in all file downloads. 2018-08-20 17:26:28 +03:00
John Preston ee16070abe Update API scheme to layer 86. 2018-08-20 17:26:27 +03:00
John Preston a99ae76ad4 Allow single chat history export. 2018-07-31 22:56:03 +03:00
John Preston 0b7bb806b7 Improve export HTML layout. 2018-07-12 21:15:36 +03:00
John Preston c3736c6fa3 Improve photo/video/sticker/GIF export layout. 2018-07-10 12:18:41 +03:00
John Preston cef50e5f52 Export file thumbs, use in video messages. 2018-07-10 12:18:41 +03:00
John Preston cb8ff398a5 Improved html message layout. 2018-07-10 12:18:41 +03:00
John Preston 66822f7333 Add some HTML design to export, except messages.
NB Testing the layout, the app is not in a working condition.
2018-07-10 12:18:41 +03:00
John Preston b0baf75fdd Fix forwarded names in saved messages export. 2018-06-28 18:25:23 +01:00
John Preston 5cdc563c9e Add saving of shared contacts vcards in export. 2018-06-28 18:03:44 +01:00
John Preston ff53404d5b Update API scheme to layer 82. 2018-06-27 22:58:32 +01:00
John Preston 2522e66969 Move export descriptions to lang. 2018-06-24 15:44:53 +01:00
John Preston b9250edb33 Some more export data improvements. 2018-06-24 15:44:53 +01:00
John Preston 914e043abe Improve export phrases. 2018-06-24 15:44:53 +01:00
John Preston 9d66f9cc03 Add basic HTML export. 2018-06-24 15:44:53 +01:00
John Preston 9f8d61ab2f Add information about saved data. 2018-06-23 00:56:53 +01:00
John Preston 0143fd28af Suggest start export when time comes. 2018-06-23 00:56:53 +01:00
John Preston 1a24ba857c Parse message entities, export in JSON. 2018-06-22 00:48:18 +01:00
John Preston 8c901d8f71 Fix build for Xcode. 2018-06-21 22:25:14 +01:00
John Preston 856356ce75 Add web authorizations export. 2018-06-21 22:15:27 +01:00
John Preston d056c00c67 Use split ranges to export all messages. 2018-06-21 19:58:54 +01:00
John Preston 59df447fed Request frequent contacts calls category. 2018-06-20 21:39:04 +01:00
John Preston a253d34c00 Name files by index, not by media date. 2018-06-20 21:32:52 +01:00
John Preston eaf3ea9289 Fix dialogs list in export. 2018-06-20 01:01:41 +01:00
John Preston 4156beaa3c Export top peers as frequent contacts. 2018-06-19 21:40:16 +01:00
John Preston 5f01751660 Display errors in export UI.
All errors are now fatal errors :(
2018-06-19 13:35:21 +01:00
John Preston 7d4e23448e Better steps division in export. 2018-06-18 22:52:13 +01:00
John Preston 1bfe409c93 Export my messages from left channels. 2018-06-17 21:15:40 +01:00
John Preston 2dc3ec955a Add downloaded files cache in export.
Also write downloaded photo paths.
2018-06-17 13:47:47 +01:00
John Preston 8d52ca6be6 Apply file type/size restrictions in export. 2018-06-17 09:54:38 +01:00
John Preston 9d02e539c8 Update scheme for special export methods.
Export all saved contacts.
2018-06-16 20:48:38 +01:00
John Preston 241fee80a7 Export full messages information.
Also add some more .match() calls to MTP codegen-ed classes.
2018-06-14 21:34:53 +03:00
John Preston 83786ddeaf Export chat messages photos and documents.
Also rename .visit() with .match() in MTP types.
Also add base::match_method() and base::match() for base::variant.
Also add base::match() and .match() for base::optional_variant.
2018-06-14 01:09:48 +03:00
John Preston 2b36dd660b Export chat messages text. 2018-06-13 16:12:36 +03:00
John Preston 35ffc03988 Use .visit() in export data parsing. 2018-06-12 22:59:58 +03:00
John Preston 6776d88688 Add chats list export. 2018-06-12 21:09:21 +03:00
John Preston d3fdf433cd Export sessions list. 2018-06-12 01:02:05 +03:00
John Preston cec8114b99 Add simple files and contacts export.
Also move all API calls in export to Export::ApiWrap.
2018-06-12 01:02:05 +03:00
John Preston 0a1a5ed70e Use abstract export writer for different formats. 2018-06-12 01:02:05 +03:00