Commit Graph

320 Commits

Author SHA1 Message Date
Fabian Schlenz 14324dfa4c Merged PR #87 from @leijurv. Thanks for that. Closes #84. 2018-03-03 22:14:27 +01:00
Fabian Schlenz d4a6141862 Merge branch 'master' of https://github.com/leijurv/telegram_backup into pull-leijurv-master 2018-03-03 22:06:36 +01:00
Fabian Schlenz 12cc65aa18 Bumped mustache to v0.9.5 in order to become compatible to Java 9 and newer. Fixes #93. 2018-03-03 22:04:48 +01:00
Fabian Schlenz 8ac5744405 Modified .travis.yml to upload artifacts to gh-pages. 2018-03-03 21:24:37 +01:00
Fabian Schlenz 2324c6e0c4 Added .travis.yml 2018-03-03 21:06:41 +01:00
Fabian Schlenz 3920425d37 Added VACUUMing the database after running the migration in DB_Update_9. 2018-02-22 07:58:20 +01:00
Fabian Schlenz 42dc500514 Added Settings. 2018-02-22 07:55:53 +01:00
Fabian Schlenz de354f548d Added a database update to fix the supergroup messages that were wrongly identified as being from a channel. 2018-02-21 06:31:39 +01:00
Fabian Schlenz bb48a2f601 Using another, "better hidden" GMaps API key. TODO: Keep such keys local, making forking and developing this app harder for everyone. :-/ 2018-02-21 06:30:14 +01:00
Fabian Schlenz 3a77e91bd9 Mark files that failed to download with an 'x' in the progress window. Also modified the legend to emphasize the fact that the file will again be tried to download during the next run. 2018-02-21 06:27:35 +01:00
Leijurv 3ee90ac6c6
Reorder clause to prevent null pointer exception when response is null and try_again is true 2018-02-14 10:47:43 -08:00
Leijurv a34ba8a84c
Continue to next iteration on FLOOD_WAIT error 2018-02-14 10:46:03 -08:00
Leijurv 3911af1f88
Replace FLOOD_WAIT check with the version used in download messages 2018-02-14 10:32:54 -08:00
Fabian Schlenz 0e2eeab5b9 Added pagination for the output. 2018-01-30 18:13:34 +01:00
Fabian Schlenz ab16c44de5 Added Any.toPrettyJson(). 2018-01-29 13:19:08 +01:00
Jake Vossen 52d90ffc43
Capitalized Month 2017-12-27 20:39:31 -07:00
Fabian Schlenz 004b650762 Delegated downloading of external files to Fuel. This hopefully fixes #71. 2017-12-17 13:56:28 +01:00
Fabian Schlenz 8f1a9d391c HTMLExporter now also shows the link to the export. 2017-12-17 11:39:57 +01:00
Fabian Schlenz 93ad47639f Added a convenience method Any.toJson() 2017-12-17 11:39:31 +01:00
Fabian Schlenz 28931830eb Extended --stats to also show the different source_types from the database. 2017-12-17 11:39:07 +01:00
Fabian Schlenz c83de2ed00 Fixed the detection of supergroups and channels. Fixes #69. 2017-12-16 23:21:06 +01:00
Fabian Schlenz ab6a30c48e Rewrote Utils.anonymize(String) to String.anonymize(). 2017-12-13 19:39:27 +01:00
Fabian Schlenz 9bee01698f HTML export now shows some progress information. 2017-12-13 19:03:32 +01:00
Fabian Schlenz 6a7560cb98 Added skrink.proguard to shrink the fat jar a little bit (it goes from 14MB to 7MB). Use it by calling `proguard @shrink.proguard`. 2017-12-13 06:13:17 +01:00
Fabian Schlenz e1ad5c4e86 Merge branch 'feature-kotlin' 2017-12-13 06:11:52 +01:00
Fabian Schlenz bb180f95be Kotlin: Reformatted code. 2017-12-12 22:04:20 +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 dd0986c449 README.md now contains a link to the Telegram group. 2017-12-11 06:09:06 +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
Robert Orzanna 7dd0c044cd Use hidden folder on Linux 2017-07-09 10:22:08 +02:00