Commit Graph

320 Commits

Author SHA1 Message Date
Fabian Schlenz 88eb7a412c Merge pull request #43 from Hypfer/master
Fix #41.
2017-03-23 13:10:34 +01:00
Hypfer 0de09c45dc Fix #41
I don't know why that one file is broken and nor do I care.
This could use some debug logging. Well. Whatever.
2017-03-20 20:26:40 +01:00
Fabian Schlenz 14d80a70fe '--stats' now also counts chats and users in the DB. 2017-02-26 13:20:36 +01:00
Fabian Schlenz be56f21a0f Cleanup 2017-02-23 06:52:31 +01:00
Fabian Schlenz 1a72ab8735 Expanded `--stats` to contain information about api_levels of messages in the db. 2017-02-23 06:38:43 +01:00
Fabian Schlenz 6b44a6c569 Logging now with millisecond precision. 2017-02-23 06:22:36 +01:00
Fabian Schlenz c945f05c3d Added '--stats'. 2017-02-22 18:37:28 +01:00
Fabian Schlenz 6d772a3be1 UserManager is now a Singleton as well. 2017-02-22 06:57:58 +01:00
Fabian Schlenz 42112d7607 Updated the year in the version string. 2017-02-22 06:54:01 +01:00
Fabian Schlenz a2224b326d Database is now a singleton. 2017-02-22 06:53:51 +01:00
Fabian Schlenz c5921304ed .gitignoring now dev. 2017-02-22 11:13:02 +01:00
Fabian Schlenz 92fb628b92 Some refactoring to split long methods into smaller methods. 2017-02-22 06:43:41 +01:00
Fabian Schlenz 1d8724ecb7 Catching TimeoutExceptions during mediaDownload() should now skip the file. 2017-02-21 13:41:55 +01:00
Fabian Schlenz 50ba11a86c Gradle now outputs the chosen version string. 2017-02-18 13:05:24 +01:00
Fabian Schlenz 6738e20fe4 Added timeout detection to media downloads as well. 2017-02-18 12:56:56 +01:00
Fabian Schlenz e0668926c9 More exception outputting. 2017-02-17 06:34:20 +01:00
Fabian Schlenz d9667211a4 Modified the Dockerfile to allow usage of custom parameters and arguments and to stop using `--help` all the time. 2017-02-17 06:32:52 +01:00
Fabian Schlenz a489036c2f Merge branch 'master' of https://github.com/fabianonline/telegram_backup 2017-02-15 08:41:10 +01:00
Fabian Schlenz 2641b5ce7a Bumped the version to 1.0.6 2017-02-15 08:40:29 +01:00
Fabian Schlenz f87aef3599 Added DEPLOY.md 2017-02-15 08:39:46 +01:00
Fabian Schlenz 715b86b09b Tried skipping files in case of a timeout instead of just retrying. Then noticed that the timeout couldn't actually be thrown. Added logging for that case to investigate. 2017-02-15 08:27:11 +01:00
Fabian Schlenz 0b6a771e19 Bumped the version of sqlite-jdbc from 3.8.11.2 to 3.16.1. #32. 2017-02-14 22:19:47 +01:00
Fabian Schlenz a8325735a3 Fixed NPE from DocumentFileManager.isSticker. #30. 2017-02-14 22:10:24 +01:00
Fabian Schlenz 114a20a71c Merge branch 'master' of https://github.com/fabianonline/telegram_backup 2017-02-14 22:07:31 +01:00
Fabian Schlenz 23c6554ccb Merge pull request #37 from luckydonald-forks/master
Added simple docker file to run release in a container
2017-02-14 22:06:11 +01:00
Fabian Schlenz bc84ff1fc1 Updated README.md to mention the current rate limits. 2017-02-14 06:49:32 +01:00
Fabian Schlenz fb2db5b639 Revert e9df4eb, experimental randomization of number of messages to download, because it didn't change anything (except for slowing the download even more). 2017-02-14 06:46:40 +01:00
Fabian Schlenz e9df4ebdb4 Experiment: Randomize the number of requested messages. 2017-02-14 06:45:38 +01:00
Fabian Schlenz ec0c05fdb8 Added gradle wrappers. 2017-02-14 06:43:07 +01:00
Luckydonald 2ac8c753bb Create docker-compose.yml 2017-01-09 16:32:46 +01:00
Luckydonald 4e75d39a67 Create Dockerfile 2017-01-09 16:30:51 +01:00
Fabian Schlenz e0afcc2063 Merge pull request #28 from ffflorian/patch-01
Added title for chat times chart
2016-11-25 21:44:14 +01:00
Fabian Schlenz 4ef11a1953 Added even more debug output to HTMLExporter. References #33, #16. 2016-11-25 21:43:33 +01:00
Fabian Schlenz 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 Schlenz 0249374384 Testing putting multiple GetMessages requests into one RpcQuery. References #35. 2016-11-25 21:23:45 +01:00
Fabian Schlenz 2dc3484f7d Updated Kotlogram to s slightly newer version. 2016-11-25 06:33:11 +01:00
Fabian Schlenz 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 Schlenz 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 Schlenz 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 Schlenz 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 Schlenz 9154a1bcc2 Removed very, very old jar file from the repository. 2016-10-05 15:31:47 +02:00
Fabian Schlenz 42da94d290 Stickers are now shown in the HTML export. Closes #24. 2016-10-05 13:47:25 +02:00
Fabian Schlenz 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 Schlenz 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 Schlenz 89073d128a Typo for 42fabf7 corrected. 2016-09-21 21:12:08 +02:00
Fabian Schlenz 45adc77d5e Added special handling for plain text files without given extension: Will now use .txt instead of .plain. 2016-09-21 21:07:11 +02:00
Fabian Schlenz 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 Schlenz 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. 2016-09-20 18:44:03 +02:00
Fabian Schlenz 517e5b68ed Experimental: Explicitly save HTML files in the exporter as UTF-8. 2016-09-20 06:36:13 +02:00