|
e75aa2101e
|
Fixed lots of unclosed ResultSets in Database and DatabaseUpdates.
|
2018-03-12 22:01:47 +01:00 |
|
|
19973818f8
|
Moved more settings to IniSettings.
|
2018-03-10 23:26:03 +01:00 |
|
|
9f9d9fd183
|
Fixed a source for non-closed PreparedStatements.
|
2018-03-08 22:17:01 +01:00 |
|
|
c29cd2a8ee
|
A DatabaseUpdate can now contain a List of create_query-Strings that are used if the database is to be created from scratch.
|
2018-03-08 22:15:49 +01:00 |
|
|
68e5c9be2d
|
If a new version is available, the message will be displayed a bit more prominent and with a 5 second delay.
|
2018-03-08 22:13:30 +01:00 |
|
|
85c525ab1c
|
Newsly download GMaps images have a red marker in them to pinpoint the exact location.
|
2018-03-07 17:15:59 +01:00 |
|
|
da2a7d88b6
|
Geo Images are now shown in the HTML export. Fixes #95.
|
2018-03-07 17:15:20 +01:00 |
|
|
b959c35bea
|
Usind --login --account <x> will now directly login you to the specified account. Fixes #78.
|
2018-03-07 06:15:16 +01:00 |
|
|
89cca39409
|
IniSettings will be initialized at startup.
|
2018-03-07 06:12:37 +01:00 |
|
|
7fa89ab1b1
|
IniSettings class is now finished and also already used for GMAPS_KEY.
|
2018-03-07 06:09:51 +01:00 |
|
|
53fcd36e66
|
config.sample.ini is copied into the data directory on every run.
|
2018-03-07 09:48:23 +01:00 |
|
|
74dbc9d412
|
Commit 0e2eeab accidentally removed the line in --help mentioning --daemon . Fixed that.
|
2018-03-06 06:30:50 +01:00 |
|
|
7b49153c93
|
Now catching (and printing) ALL exceptions in CommandLineController.
|
2018-03-06 06:28:37 +01:00 |
|
|
07572c0618
|
Extended IniSettings to be able to parse ini files. Yay. But: Still WIP!
|
2018-03-06 06:27:31 +01:00 |
|
|
e3aaa58256
|
Small changes to DB_Update_9: Progress report, ORDER for the query, closing ResultSets.
|
2018-03-06 06:20:02 +01:00 |
|
|
bc63cfaea1
|
Typo in the GMaps key. Aaarg.
|
2018-03-05 18:28:04 +01:00 |
|
|
9678aaaee8
|
Started IniSettings. (WIP!)
|
2018-03-05 18:26:53 +01:00 |
|
|
4e74b4c30b
|
Renamed Settings.kt to DbSettings.kt
|
2018-03-05 06:56:38 +01:00 |
|
|
75786e39b4
|
Modified Settings class to only represent internal Settings. Also, renamed it to DbSettings.
|
2018-03-05 06:55:24 +01:00 |
|
|
eb1f731b9d
|
DB_Update_9 now uses chunks of messages to (massively) reduce the amount of heap space needed.
|
2018-03-05 06:39:30 +01:00 |
|
|
f5431e805e
|
Don't start the daemon mode if an exception happened earlier.
|
2018-03-05 06:36:47 +01:00 |
|
|
14324dfa4c
|
Merged PR #87 from @leijurv. Thanks for that. Closes #84.
|
2018-03-03 22:14:27 +01:00 |
|
|
d4a6141862
|
Merge branch 'master' of https://github.com/leijurv/telegram_backup into pull-leijurv-master
|
2018-03-03 22:06:36 +01:00 |
|
|
3920425d37
|
Added VACUUMing the database after running the migration in DB_Update_9.
|
2018-02-22 07:58:20 +01:00 |
|
|
42dc500514
|
Added Settings.
|
2018-02-22 07:55:53 +01:00 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
0e2eeab5b9
|
Added pagination for the output.
|
2018-01-30 18:13:34 +01:00 |
|
|
ab16c44de5
|
Added Any.toPrettyJson().
|
2018-01-29 13:19:08 +01:00 |
|
|
004b650762
|
Delegated downloading of external files to Fuel. This hopefully fixes #71.
|
2017-12-17 13:56:28 +01:00 |
|
|
8f1a9d391c
|
HTMLExporter now also shows the link to the export.
|
2017-12-17 11:39:57 +01:00 |
|
|
93ad47639f
|
Added a convenience method Any.toJson()
|
2017-12-17 11:39:31 +01:00 |
|
|
28931830eb
|
Extended --stats to also show the different source_types from the database.
|
2017-12-17 11:39:07 +01:00 |
|
|
c83de2ed00
|
Fixed the detection of supergroups and channels. Fixes #69.
|
2017-12-16 23:21:06 +01:00 |
|
|
ab6a30c48e
|
Rewrote Utils.anonymize(String) to String.anonymize().
|
2017-12-13 19:39:27 +01:00 |
|
|
9bee01698f
|
HTML export now shows some progress information.
|
2017-12-13 19:03:32 +01:00 |
|
|
bb180f95be
|
Kotlin: Reformatted code.
|
2017-12-12 22:04:20 +01:00 |
|
|
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 |
|
|
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 |
|
|
f75a90936d
|
Kotlin-Code is now compilable. Now let's go on to fix all those warning...
|
2017-12-11 12:14:25 +01:00 |
|
|
9832d429b0
|
More Kotlinification.
|
2017-12-11 08:41:59 +01:00 |
|
|
191b2fe05a
|
Merge branch 'master' into feature-kotlin
|
2017-12-11 08:29:28 +01:00 |
|
|
f847c372d1
|
Fix: Stats are now properly displayed in Firefox.
|
2017-12-10 12:09:43 +01:00 |
|
|
992c456af5
|
Some more improvements, while I'm learning more and more about Kotlin. ;-)
|
2017-12-10 11:48:16 +01:00 |
|
|
584069a130
|
Finished AbstractFileManager, I think.
|
2017-12-08 08:51:44 +01:00 |
|
|
3a4508012a
|
Started partial rewrite because the converter isn't thaaat intelligent.
|
2017-12-08 06:09:16 +01:00 |
|
|
deb5e316cb
|
Kotlin code is now compileable.
|
2017-12-07 06:12:51 +01:00 |
|
|
3309ae1338
|
Complete conversion.
|
2017-12-07 08:00:18 +01:00 |
|
|
166df82ac1
|
First tries.
|
2017-12-06 11:14:11 +01:00 |
|
|
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 |
|
|
5328df65b3
|
Merge branch 'feature-channels-and-supergroups'. Closes #21.
|
2017-12-05 19:10:18 +01:00 |
|
|
fff3483e63
|
Fixed stats in the HTML export for channels.
|
2017-12-02 15:05:04 +01:00 |
|
|
99574c6e6e
|
Split --with-channels-and-supergroups into seperate switches --with-channels and --with-supergroups.
|
2017-12-01 21:17:13 +01:00 |
|
|
b8d9e2a1b6
|
Some improvements in the output.
|
2017-12-01 14:13:58 +01:00 |
|
|
459de54ae7
|
Merge branch 'master' of https://github.com/fabianonline/telegram_backup
|
2017-11-30 13:35:09 +01:00 |
|
|
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 |
|
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 |
|
|
14d80a70fe
|
'--stats' now also counts chats and users in the DB.
|
2017-02-26 13:20:36 +01:00 |
|
|
1a72ab8735
|
Expanded --stats to contain information about api_levels of messages in the db.
|
2017-02-23 06:38:43 +01:00 |
|
|
6b44a6c569
|
Logging now with millisecond precision.
|
2017-02-23 06:22:36 +01:00 |
|
|
c945f05c3d
|
Added '--stats'.
|
2017-02-22 18:37:28 +01:00 |
|
|
6d772a3be1
|
UserManager is now a Singleton as well.
|
2017-02-22 06:57:58 +01:00 |
|
|
42112d7607
|
Updated the year in the version string.
|
2017-02-22 06:54:01 +01:00 |
|
|
a2224b326d
|
Database is now a singleton.
|
2017-02-22 06:53:51 +01:00 |
|
|
92fb628b92
|
Some refactoring to split long methods into smaller methods.
|
2017-02-22 06:43:41 +01:00 |
|
|
1d8724ecb7
|
Catching TimeoutExceptions during mediaDownload() should now skip the file.
|
2017-02-21 13:41:55 +01:00 |
|
|
6738e20fe4
|
Added timeout detection to media downloads as well.
|
2017-02-18 12:56:56 +01:00 |
|
|
e0668926c9
|
More exception outputting.
|
2017-02-17 06:34:20 +01:00 |
|
|
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 |
|
|
a8325735a3
|
Fixed NPE from DocumentFileManager.isSticker. #30.
|
2017-02-14 22:10:24 +01:00 |
|
|
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 |
|
|
e9df4ebdb4
|
Experiment: Randomize the number of requested messages.
|
2017-02-14 06:45:38 +01:00 |
|
|
e0afcc2063
|
Merge pull request #28 from ffflorian/patch-01
Added title for chat times chart
|
2016-11-25 21:44:14 +01:00 |
|
|
4ef11a1953
|
Added even more debug output to HTMLExporter. References #33, #16.
|
2016-11-25 21:43:33 +01:00 |
|
|
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 |
|
|
0249374384
|
Testing putting multiple GetMessages requests into one RpcQuery. References #35.
|
2016-11-25 21:23:45 +01:00 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
42da94d290
|
Stickers are now shown in the HTML export. Closes #24.
|
2016-10-05 13:47:25 +02:00 |
|
|
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 |
|
|
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 |
|
|
89073d128a
|
Typo for 42fabf7 corrected.
|
2016-09-21 21:12:08 +02:00 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
517e5b68ed
|
Experimental: Explicitly save HTML files in the exporter as UTF-8.
|
2016-09-20 06:36:13 +02:00 |
|
|
81ac38fbc8
|
Stop looking for an account after a matching account is found.
|
2016-09-20 06:35:25 +02:00 |
|
|
cc7b2f09af
|
Removing double quotes from document file extensions. Fixes #12.
|
2016-09-19 06:54:36 +02:00 |
|
|
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 |
|
|
ef89185439
|
Added switch to output some encoding values.
|
2016-09-18 11:33:27 +02:00 |
|
|
fa864f37b7
|
Increased the delay between getMessages from 0.1 to 0.4 seconds in a hope to prevent FLOOD_WAIT exceptions.
|
2016-09-16 06:41:06 +02:00 |
|
|
4d7e46caa1
|
Removed the extra waiting time when obeying FLOOD_WAIT exceptions.
|
2016-09-15 06:37:42 +02:00 |
|
|
5b9de9d7cc
|
The update check now also outputs the new version's description.
|
2016-09-15 06:36:39 +02:00 |
|