1
0
mirror of https://github.com/fabianonline/telegram_backup.git synced 2024-11-01 08:04:04 +00:00
Commit Graph

171 Commits

Author SHA1 Message Date
ac67818d28 App now always exits. 2016-07-13 06:22:11 +02:00
c5c692d61d Useful logging when called with --debug. The old --debug is now --debug-telegram. 2016-07-13 06:20:51 +02:00
95a02e89c3 Always show creator info when running. 2016-07-13 06:07:37 +02:00
ee16af7d3c Version now automatically gets set by gradle. 2016-07-13 06:06:26 +02:00
1d28470563 Ignoring main.iml 2016-07-13 06:02:28 +02:00
fefebc9cd6 Cleaned up CommandLineOptions. 2016-07-11 18:17:42 +02:00
6499aed3c1 CommandLineOptions is now static to make usage easier. 2016-07-11 18:11:12 +02:00
71150a36d2 Don't die with NPEs if a MediaFileManager tries to download an Empty media thing. 2016-07-11 06:34:16 +02:00
468c5517dd Supergroups have their own message IDs. Load more than the 1 last dialog and take the biggest ID. 2016-07-11 06:31:06 +02:00
7e91ec092e Stop execution if an error happens during database upgrades. 2016-07-11 06:25:19 +02:00
05dea702c3 Randomly choose file download block sizes in the hope of getting rid of FLOOD_WARN errors. 2016-07-11 06:21:34 +02:00
8cae413e6a Merge branch 'master' of https://github.com/fabianonline/telegram_backup 2016-07-09 12:25:47 +02:00
99b25c7272 Reduced the file download chunk size from 10 to 1 MByte. 2016-07-09 12:25:27 +02:00
0bf5ed47fc Reduced the file download chunk size from 10 to 1 MByte. 2016-07-09 12:21:08 +02:00
41f8fc80c5 WIP: Added StatsExporter. 2016-07-09 12:19:42 +02:00
8b361d5547 More and nicer exports. Mustache is nice. 2016-07-08 14:21:11 +02:00
4e227e55c8 Added a method to create database backups before doing huge database update stuff. 2016-07-08 06:58:58 +02:00
db52b8da47 Big database update. Removed old fields, renamed others to make more sense, added a few new ones. 2016-07-08 06:53:14 +02:00
2e43ad90a6 Completely reworked the file download part and made it much, much more object oriented. 2016-07-07 17:10:00 +02:00
ecbca30a10 WIP: Using mustache as template engine for HTML exporter. 2016-07-07 06:40:00 +02:00
c62e6db3d3 TelegramUpdateHandler now only displays debug information if you set .debug to true. 2016-07-07 06:30:00 +02:00
5253145024 Only run the code in TelegramUpdateHandler if user and db are set. 2016-07-07 06:24:07 +02:00
2bee99518b Bumped the version to 1.0.3. 2016-07-07 06:18:58 +02:00
1328513f8e Added a note on where to find the JAR file to the README. 2016-07-07 06:18:28 +02:00
515efb2fde WIP: Added Daemon-mode to keep the app running and save new messages in real time. 2016-07-06 18:07:04 +02:00
e1cfaf670e Extended README with some FAQ. 2016-07-06 14:15:28 +02:00
1c92f02422 Added a new database to track runs of this tool in order to be able to monitor them later on (Nagios, Icinga and so on). 2016-07-06 13:58:25 +02:00
70ee7566fd Added README 2016-07-06 13:57:27 +02:00
0d431beba6 Moved FLOOD_WAIT exception handling to Utils class. 2016-07-06 08:30:23 +02:00
b3913ac123 Moved login code to it's own method; using System.console() (if possible) to let the user enter his password without it being echoed to the console. 2016-07-06 08:08:20 +02:00
2cb1d717b3 Bumped the version to 1.0.2. 2016-07-06 07:52:34 +02:00
799bad9755 FLOOD_WAIT-Protection now adds a few minutes of waiting time to give the API time to relax. Also increased the delay between file downloads to 1.5 seconds. 2016-07-06 07:52:20 +02:00
30618b4e3e Bumped the version to 1.0.1. 2016-07-05 17:40:18 +02:00
07aec6a94d Added GPLv3 headers to all the source files. 2016-07-05 15:32:54 +02:00
989e2e1d5c Added a short text to inform the user of how to exit the program if it doesn't do that by itself. 2016-07-05 15:32:20 +02:00
140dfdfabc Better error message for max_database_id>max_message_id. 2016-07-05 15:22:32 +02:00
f5a478a454 HTMLExporter now also outputs the time of messages. 2016-07-05 15:22:08 +02:00
84984ddc20 Prepared to catch TimeoutExceptions and restart the download, if necessary. 2016-07-05 14:20:32 +02:00
d2795cc7ab The code is now under GPLv3 license. 2016-07-05 14:03:46 +02:00
bfdd70933d Added FLOOD_WAIT detection. 2016-07-05 13:31:45 +02:00
bad165e97b Added support for downloading Geolocation maps. 2016-07-05 12:56:14 +02:00
c8e33fa319 Added beginnings of an HTMLExporter. 2016-07-05 12:55:25 +02:00
cf6ffc4c60 Fix for NPEs if the target directory does not exist. 2016-07-05 07:56:18 +02:00
b3018ad10e Compatibility to JAVA 1.7 2016-07-05 07:55:53 +02:00
1ce2562f5a Gradle now creates JAVA files compatible to JAVA 7. 2016-07-05 07:54:35 +02:00
523ee51d22 Added a feature to display the version. 2016-07-04 15:45:45 +02:00
e03f96363f Files get saved to the user dir by default, but you can change this value by using '--target'. 2016-07-04 15:37:23 +02:00
07ba594a15 Added automatic checks for missing messages in the database complete with download of these mesages. 2016-07-04 13:33:17 +02:00
29b963ec25 We only need the most recent dialog in order to get the top message id. 2016-07-04 11:04:35 +02:00
3b01f47f38 First database schema update. 2016-07-04 10:19:55 +02:00