Commit Graph

150 Commits

Author SHA1 Message Date
John Preston 3f58c930e3 Use separate download folder for support. 2018-11-22 17:15:52 +04:00
John Preston 60103f7ad6 Use upstream range-v3 on MSVC.
The build works using MSVS 15.9 and latest range-v3 code.
2018-11-20 19:38:39 +04:00
John Preston fd53385c1f Version 1.4.1: Fix build for old OS X. 2018-10-09 21:58:56 +03:00
John Preston 06629e8cd9 Improved calendar layout for export. 2018-10-09 19:27:17 +03:00
John Preston 841abc2e87 Limit single chat export by dates. 2018-10-09 19:27:17 +03:00
John Preston f362702856 Add UI to specify export time range. 2018-10-09 19:27:17 +03:00
John Preston b66f32fe9e Version 1.4.0: Fix build for old OS X versions. 2018-09-28 15:50:47 +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 96556d4a4c Fix single chat export buttons.
Fixes #5120.
2018-09-21 12:51:06 +03:00
John Preston 233a87a8bc Always export to subfolder of Downloads. 2018-09-19 19:22:15 +03:00
John Preston c2039da600 Improve new settings design. 2018-09-19 19:22:14 +03:00
John Preston b8c2c3991f Implement chat settings section. 2018-09-19 19:22:13 +03:00
John Preston 069232ec1b Allow changing limits for cache in Settings. 2018-09-01 18:56:08 +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 95eab45108 Fix export messages pagination.
Also fix reply highlight.
Also fix channel service messages.
Also improve single chat export progress display.
2018-07-31 22:56:04 +03:00
John Preston aaa1245430 Add some javascript handlers to HTML export. 2018-07-31 22:56:03 +03:00
John Preston a99ae76ad4 Allow single chat history export. 2018-07-31 22:56:03 +03:00
John Preston c48937a2f5 Display export progress starting with 1 / N. 2018-07-31 22:56:02 +03:00
John Preston 8f3510b3c4 Use reverse chronological order in export. 2018-07-13 14:17:50 +03:00
John Preston 0b7bb806b7 Improve export HTML layout. 2018-07-12 21:15:36 +03:00
John Preston 81e074115d Fix build for Xcode.
Regression was introduced in a8d35b67aa.
2018-07-11 17:56:09 +03:00
John Preston e3e8d083ea Remember passport credentials for 30 minutes. 2018-07-11 17:56:07 +03:00
John Preston c3736c6fa3 Improve photo/video/sticker/GIF export layout. 2018-07-10 12:18:41 +03:00
John Preston 0ef7503917 Improve export history pagination. 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 eeb1a6b769 Add service messages HTML 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 4e0d94f347 Version 1.3.9: Fix build for Xcode. 2018-06-28 20:26:31 +01:00
John Preston 49ea9434f2 Better nested key-value html serialization. 2018-06-28 18:52:57 +01:00
John Preston e21c354428 Improve suggest export logic. 2018-06-28 18:44:07 +01:00
John Preston d0614efd65 Prevent displaying two export suggest boxes. 2018-06-28 18:29:52 +01:00
John Preston b0baf75fdd Fix forwarded names in saved messages export. 2018-06-28 18:25:23 +01:00
John Preston efb3e92525 Show "Saved messages" chat name in export UI. 2018-06-28 18:12:13 +01:00
John Preston 5cdc563c9e Add saving of shared contacts vcards in export. 2018-06-28 18:03:44 +01:00
John Preston a43dfc567c Allow injecting fail handlers in export.
Handle CHANNEL_PRIVATE while exporting all channel messages.
2018-06-28 17:25:50 +01:00
John Preston d8897a0cc8 Make export done button adaptive to text. 2018-06-28 04:39:23 +01:00
John Preston ff53404d5b Update API scheme to layer 82. 2018-06-27 22:58:32 +01:00
John Preston 266102df2f Some phrases fixed, some logs added. 2018-06-24 16:17:46 +01:00
John Preston f7aadc352b Handle LOCATION_INVALID error. 2018-06-24 15:44:53 +01:00
John Preston 1ae3af0e80 Split messages.html by 1000 messages. 2018-06-24 15:44:53 +01:00
John Preston fcd2e28abb Add some logs. 2018-06-24 15:44:53 +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 54cab2c5a5 Add other additional data export. 2018-06-24 15:44:53 +01:00
John Preston ef5a395c60 Improve export folder structure. 2018-06-24 15:44:53 +01:00
John Preston a200771868 Don't suggest export if one is running. 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 844d030332 Save export settings to local storage. 2018-06-23 00:56:53 +01:00
John Preston ae18ece549 Ask export path with other export options. 2018-06-23 00:56:53 +01:00
John Preston 10a0c6a086 Update phrases. 2018-06-23 00:56:53 +01:00
John Preston 51189fd244 Fix empty chats assertion violation. 2018-06-23 00:56:53 +01:00
John Preston 9b98ff52ea Closed beta 1.3.7.1: Fix build for Xcode. 2018-06-22 01:25:54 +01:00
John Preston 4e0d11f517 Add export format selection (text / json). 2018-06-22 00:48:18 +01:00
John Preston 1a24ba857c Parse message entities, export in JSON. 2018-06-22 00:48:18 +01:00
John Preston 23140b3d6a Fix build for old OS X. 2018-06-21 23:35:28 +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 b5a65a4519 Add export to JSON. 2018-06-21 21:42:50 +01:00
John Preston d056c00c67 Use split ranges to export all messages. 2018-06-21 19:58:54 +01:00
John Preston 36fb6dac89 Call finish takeout. Handle errors. 2018-06-21 14:50:56 +01:00
John Preston fcda883878 Show messages count in an exported chat. 2018-06-20 22:22:10 +01:00
John Preston 40c0286942 Export userpics in a separate file. 2018-06-20 21:53:31 +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 0a5eac50be Unite Dialogs and LeftChannels in Export. 2018-06-20 19:21:36 +01:00
John Preston 156c3d288c Allow selecting export folder. 2018-06-20 19:12:47 +01:00
John Preston 154e5660de Confirm export stop on quit and logout. 2018-06-20 18:30:57 +01:00
John Preston 13e6b91ac7 Remove old done widget in Export. 2018-06-20 17:45:52 +01:00
John Preston e11c27048b Add export statistics for the final screen. 2018-06-20 17:10:38 +01:00
John Preston e8dd277a00 Improve export progress / finished design. 2018-06-20 16:59:27 +01:00
John Preston 329db0d8e9 Export panel minimizes to a top bar, like a Call. 2018-06-20 01:02:36 +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 4115d3d13d Display export progress. 2018-06-19 19:31:30 +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 e8d619c740 Some export bugs fixed. 2018-06-17 18:18:34 +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 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