Commit Graph

193 Commits

Author SHA1 Message Date
Fabian Schlenz 047b95c6ea Implemented Exposed in saveMessages(). It doesn't work. App quits when calling Messages.insert(...) or Messages.selectAll(). No Exception, no more ideas what's happening there. I give up. 2017-12-12 17:50:29 +01:00
Fabian Schlenz 7067f98943 Kotlin: Fixed the bugs introduced by ResultSet#getString() being able to return NULL without Kotlin knowing about that. 2017-12-12 06:09:55 +01:00
Fabian Schlenz 9bc2ed7666 Kotlin: It now compiles without any errors and / or warnings. But running it fails because raw JDBC isn't very Kotlin compatible, it seems. 2017-12-11 18:39:30 +01:00
Fabian Schlenz f75a90936d Kotlin-Code is now compilable. Now let's go on to fix all those warning... 2017-12-11 12:14:25 +01:00
Fabian Schlenz 9832d429b0 More Kotlinification. 2017-12-11 08:41:59 +01:00
Fabian Schlenz 191b2fe05a Merge branch 'master' into feature-kotlin 2017-12-11 08:29:28 +01:00
Fabian Schlenz 2321fa11ee Version 1.1.0: Updated the dockerfile. 2017-12-11 06:07:16 +01:00
Fabian Schlenz 07bb29ea1c README.md: Further extensions. 2017-12-10 19:58:33 +01:00
Fabian Schlenz 37a5716e50 README.md: Explain EmptyMessages. 2017-12-10 19:53:51 +01:00
Fabian Schlenz f847c372d1 Fix: Stats are now properly displayed in Firefox. 2017-12-10 12:09:43 +01:00
Fabian Schlenz 992c456af5 Some more improvements, while I'm learning more and more about Kotlin. ;-) 2017-12-10 11:48:16 +01:00
Fabian Schlenz 584069a130 Finished AbstractFileManager, I think. 2017-12-08 08:51:44 +01:00
Fabian Schlenz 3a4508012a Started partial rewrite because the converter isn't thaaat intelligent. 2017-12-08 06:09:16 +01:00
Fabian Schlenz deb5e316cb Kotlin code is now compileable. 2017-12-07 06:12:51 +01:00
Fabian Schlenz 3309ae1338 Complete conversion. 2017-12-07 08:00:18 +01:00
Fabian Schlenz 166df82ac1 First tries. 2017-12-06 11:14:11 +01:00
Fabian Schlenz 9693371a3d Changed the order of code in CommandLineController to allow login when no database is present yet. Duh. 2017-12-06 06:09:45 +01:00
Fabian Schlenz 5328df65b3 Merge branch 'feature-channels-and-supergroups'. Closes #21. 2017-12-05 19:10:18 +01:00
Fabian Schlenz fff3483e63 Fixed stats in the HTML export for channels. 2017-12-02 15:05:04 +01:00
Fabian Schlenz 99574c6e6e Split --with-channels-and-supergroups into seperate switches --with-channels and --with-supergroups. 2017-12-01 21:17:13 +01:00
Fabian Schlenz b8d9e2a1b6 Some improvements in the output. 2017-12-01 14:13:58 +01:00
Fabian Schlenz 459de54ae7 Merge branch 'master' of https://github.com/fabianonline/telegram_backup 2017-11-30 13:35:09 +01:00
Fabian Schlenz 7bf22f4692 Implemented backing up of supergroups and channels added. Finally. Yaaaay. Be aware: There will possibly be a lot of bugs! 2017-11-30 13:33:36 +01:00
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