1
0
mirror of https://github.com/fabianonline/telegram_backup.git synced 2026-05-01 04:02:06 +00:00
Commit Graph

140 Commits

Author SHA1 Message Date
fabian f5ecb0f1b4 Added DatabaseUpdate. 2017-02-14 06:40:58 +01:00
fabian e0afcc2063 Merge pull request #28 from ffflorian/patch-01
Added title for chat times chart
1.0.5-test.5
2016-11-25 21:44:14 +01:00
fabian 4ef11a1953 Added even more debug output to HTMLExporter. References #33, #16. 2016-11-25 21:43:33 +01:00
fabian 4b92d63d2e Revert "Testing putting multiple GetMessages requests into one RpcQuery. References #35."
This reverts commit 0249374384. Closes #35.
2016-11-25 21:24:43 +01:00
fabian 0249374384 Testing putting multiple GetMessages requests into one RpcQuery. References #35. 2016-11-25 21:23:45 +01:00
fabian 2dc3484f7d Updated Kotlogram to s slightly newer version. 2016-11-25 06:33:11 +01:00
fabian 6a90f2ef5c Size of the Batch of IDs for getMessages() is now configurable. Also, upped the limit from 100 to the current 200. 2016-10-26 21:21:26 +02:00
fabian 3d213e9780 obeyFloodWaitException() now also has a silent mode for repeated FLOOD_WAITs. Also, DownloadController now also checks if the amount of returned messages equals the number of requested messages. 2016-10-26 21:20:46 +02:00
fabian e32924fc00 CommandLineController.show_error() now also sends the error to the logger. 2016-10-26 21:19:05 +02:00
Florian Keller 94c1a413ee Added title for chat times chart 2016-10-06 22:05:41 +02:00
fabian f73a00f9cc Added --anonymize to anonymize sensitive data before sending in the output of this app. Closes #20. 2016-10-05 16:08:22 +02:00
fabian 9154a1bcc2 Removed very, very old jar file from the repository. 2016-10-05 15:31:47 +02:00
fabian 42da94d290 Stickers are now shown in the HTML export. Closes #24. 2016-10-05 13:47:25 +02:00
fabian 3a615f94af Moved the stickers into the files directory of the individual accounts. Instead of downloading the stickers again, they will be copied from the old location. Closes #25. 2016-10-05 13:41:11 +02:00
fabian cb36fb29a6 Added some more trace output for HTML export. Could be helpful for example for solving ticket #16. 2016-10-05 12:37:44 +02:00
fabian 89073d128a Typo for 42fabf7 corrected. 1.0.5-test.4 2016-09-21 21:12:08 +02:00
fabian 45adc77d5e Added special handling for plain text files without given extension: Will now use .txt instead of .plain. 1.0.5-test.3 2016-09-21 21:07:11 +02:00
fabian 42fabf7b1c Centralized creation of writers in the HTML exporter and added some logging. This could help with #16. 2016-09-21 21:05:53 +02:00
fabian 2ccb0cea9f Replaced Thread.sleep by TimeUnit.SECONDS.sleep and colleagues. Doesn't change the way the code works and still uses Thread.sleep internally, but now the code is much easier to read. 1.0.5-test.2 2016-09-20 18:44:03 +02:00
fabian 517e5b68ed Experimental: Explicitly save HTML files in the exporter as UTF-8. 2016-09-20 06:36:13 +02:00
fabian 81ac38fbc8 Stop looking for an account after a matching account is found. 2016-09-20 06:35:25 +02:00
fabian cc7b2f09af Removing double quotes from document file extensions. Fixes #12. 2016-09-19 06:54:36 +02:00
fabian 5b2107b7ae Charts are now visible even if the html files are not served via http or https. Fixes #13. 2016-09-19 06:52:08 +02:00
fabian ef89185439 Added switch to output some encoding values. 1.0.5-test.1 2016-09-18 11:33:27 +02:00
fabian fa864f37b7 Increased the delay between getMessages from 0.1 to 0.4 seconds in a hope to prevent FLOOD_WAIT exceptions. 1.0.5 2016-09-16 06:41:06 +02:00
fabian 4d7e46caa1 Removed the extra waiting time when obeying FLOOD_WAIT exceptions. 2016-09-15 06:37:42 +02:00
fabian 5b9de9d7cc The update check now also outputs the new version's description. 2016-09-15 06:36:39 +02:00
fabian 3db48864bc Trying to rename downloaded files more than once. This could help against aggressive anti virus tools. 2016-09-15 06:23:10 +02:00
fabian 7e26ff0849 Added support for accounts having more than 1 million messages. 2016-09-05 06:47:01 +02:00
fabian 5a9cd6bd80 Apparently there can be TLDocuments without any TLDocumentAttributes. This interrupted the message download with an NPE. Fixes #10. 2016-09-05 06:14:52 +02:00
fabian 11b5dc66e5 Version check now sees 1.0.4-pre.1 as older than 1.0.4, but 1.0.4-abd332 as newer. 2016-09-02 16:38:00 +02:00
fabian 71fb63443b Added a test feature reachable by using --test 1 to test entries in a local cache4.db file for compatibility. 2016-09-02 06:50:49 +02:00
fabian 1d721323e3 Removed support for Java 7: Kotlogram requires Java 8 anyway. 2016-08-31 07:05:45 +02:00
fabian ed442765ef Slightly modified log levels in DownloadManager. 2016-08-31 07:05:00 +02:00
fabian 8f5a9a9ad5 Renamed --debug-telegram to --trace-telegram and added --trace, while --debug now shows only log entries up to DEBUG level. 2016-08-31 07:04:12 +02:00
fabian dfd714e481 Added command line option --no-media to skip downloading media files. 2016-08-31 07:03:49 +02:00
fabian 34cca18009 The check for the last message ID should ignore channels, because they have their own numbering system which could result in numbers larger than your own message IDs which leads to downloads of lots of empty messages which then block further backups. 2016-08-31 06:55:22 +02:00
fabian 5291b35f63 Added version checking code. Complete with unit tests. Oh yeah. :D 1.0.4 2016-08-29 07:01:32 +02:00
fabian 3e64b336a8 Only create a database backup if there isn't one already. This prevents overwriting a perfectly fine backup with a more or less broken one in case a database update fails. 2016-07-27 06:11:50 +02:00
fabian eb9715cb09 * Explicitly close ResultSet in DatabaseUpdate process to prevent not being able to update the Database due to it being locked. Closes #6.
* Don't create backup of non-existing database if we're creating a fresh one.
* Changed the style of HTML exports slightly.
1.0.4-pre.4
2016-07-26 21:24:21 +02:00
fabian fad822d53d Removed the old StatsExporter since the stats are now included in HTMLExporter's output. 2016-07-26 18:15:25 +02:00
fabian cbdb5dfcb9 Massively better exports. Stylesheets and Stats added. 2016-07-26 18:10:30 +02:00
fabian 68f8841d12 HTMLExporter: Moved from Google charts to Highcharts; implemented the heatmap. 2016-07-26 06:42:48 +02:00
fabian 24f8320a42 Fixed the login process when two-factor authorization is used. 2016-07-26 05:59:58 +02:00
fabian 458894a8bf Improvements in account handling; detection for a mismatch between selected account and used account authorization. 2016-07-26 05:54:11 +02:00
fabian 8a266dedfe If your auth data is invalid or missing, you will be prompted to re-login to telegram. 2016-07-26 05:49:20 +02:00
fabian 7b28f8b7d0 Small code fixes / improvements. 2016-07-25 18:44:37 +02:00
fabian 75566ef53a WIP: Changes to the exporter. Stats are included in HTML output; Heatmap added. 2016-07-25 18:21:52 +02:00
fabian 627cef0ae2 Added some more debugging to UserManager. 2016-07-25 16:24:28 +02:00
fabian 77bfcfb849 Added a .gitkeep to build/resources/main in order to have git automatically create that folder on checkout / clone. 2016-07-21 06:36:23 +02:00