Commit Graph

164 Commits

Author SHA1 Message Date
John Preston 2dc3ec955a Add downloaded files cache in export.
Also write downloaded photo paths.
2018-06-17 13:47:47 +01:00
John Preston 07ff7c6cb0 Request only my messages by settings bits. 2018-06-17 13:47:07 +01:00
John Preston 8d52ca6be6 Apply file type/size restrictions in export. 2018-06-17 09:54:38 +01:00
John Preston df91b2bfeb Export settings layout ready. 2018-06-16 20:48: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
John Preston c587c011d2 Start data export in lib_export. 2018-06-12 01:02:04 +03:00