fabian
|
955ae42952
|
Use exit code 1 if quitting because of an exception.
|
2018-04-11 06:24:59 +02:00 |
|
fabian
|
01590b05ee
|
Reformatted the exporter selection part of CommandLineController.
|
2018-04-11 06:24:24 +02:00 |
|
fabian
|
b5ff4dd1a6
|
Removed debug output from CommandLineOptions.
|
2018-04-11 06:16:42 +02:00 |
|
fabian
|
b199dc335f
|
Queries in Database now go through a custom function executeQuery which throws better (read: informative) Exceptions.
|
2018-04-11 06:14:55 +02:00 |
|
fabian
|
1ff540977e
|
Merge branch 'feature-rewrite'
|
2018-04-11 06:11:07 +02:00 |
|
fabian
|
ff9163c1bb
|
Settings: Is CLI is set, use it instead of INI.
|
2018-04-11 05:51:00 +02:00 |
|
fabian
|
38fce0ee5c
|
Some more refactoring of Settings.
|
2018-04-11 05:50:26 +02:00 |
|
fabian
|
f24e66271f
|
Added command '--settings', which will print the currently active settings. Settings can now be marked as secret - if that is true, the settings value will only be printed if it is not the default value.
|
2018-04-10 06:38:28 +02:00 |
|
fabian
|
a9444e7813
|
Rewrote CommandLineOptions: The code is now better readable and accepts parameters like --target=/data and accepts some short parameters like -t for --target.
|
2018-04-10 06:36:18 +02:00 |
|
fabian
|
069799cbaf
|
Resorted the code in DownloadManager - no more need for downloadMessages calling _downloadMessages or downloadMedia calling _downloadMedia.
|
2018-04-10 06:33:15 +02:00 |
|
fabian
|
9affb47130
|
Reworked the obeyFloodLimit-Stuff to now use lambdas.
|
2018-04-10 06:26:46 +02:00 |
|
fabian
|
be1cf8ba91
|
Fixed a bug in Utils.anonymize
|
2018-04-10 06:13:29 +02:00 |
|
fabian
|
5c466131d3
|
Rewritten Settings.
|
2018-04-10 06:12:02 +02:00 |
|
fabian
|
e5da546386
|
CommandLineOptions will now insert booleans into values with an value of "true" as well.
|
2018-04-10 06:11:01 +02:00 |
|
fabian
|
ec4097e777
|
The code is now compiling, but still largely untested. So it's still kinda WIP.
|
2018-04-09 06:07:53 +02:00 |
|
fabian
|
77efde1136
|
WIP: Still having fun with git stash. -.-
|
2018-04-06 06:21:39 +02:00 |
|
fabian
|
253b334fc3
|
More rewriting. Also lots of fun with git stash and wrong branches...
|
2018-04-06 06:19:49 +02:00 |
|
fabian
|
ebff71b208
|
WIP: Even moar rewriting.
|
2018-03-20 06:44:36 +01:00 |
|
fabian
|
eea08a5559
|
WIP: Lots and lots of rewriting.
|
2018-03-16 06:59:18 +01:00 |
|
fabian
|
78031b0ff2
|
Don't download media files in daemon mode if download_media is false.
|
2018-03-15 20:49:37 +01:00 |
|
fabian
|
f4d563226c
|
Added limit and offset parameters to Database#getMessagesWithMedia in order to prevent high memory usage in downloadMedia.
|
2018-03-15 20:49:15 +01:00 |
|
fabian
|
968ee831f0
|
Added max_file_age to download only newer files.
|
2018-03-15 06:48:37 +01:00 |
|
fabian
|
2d409352bc
|
WIP: Some more rewriting.
|
2018-03-14 06:09:24 +01:00 |
|
fabian
|
97cf26b46d
|
WIP: Started rewriting the code to make it more null-safe.
|
2018-03-14 06:08:07 +01:00 |
|
fabian
|
6276651b84
|
Fixed anonymization of database backup debug messages. Fixes #98.
|
2018-03-13 06:46:59 +01:00 |
|
fabian
|
f8984b25b1
|
Renamed IniSettings#get to IniSettings#getString.
|
2018-03-13 06:44:33 +01:00 |
|
fabian
|
2295ced528
|
Fixed a bug in IniSettings that prevented new accounts from being created.
|
2018-03-13 06:42:39 +01:00 |
|
fabian
|
aec609e6c4
|
Merge branch 'feature-settings'
|
2018-03-13 06:32:06 +01:00 |
|
fabian
|
dd99612bed
|
Added command line switch --list-channels to list channels and supergroups with their ID to add them to black- and whitelists in config.ini
|
2018-03-13 06:31:38 +01:00 |
|
fabian
|
25a01fae4b
|
You can now restrict the downloading of channels and supergroups by defining black- and whitelists in config.ini
|
2018-03-13 06:30:39 +01:00 |
|
fabian
|
077cbcebca
|
deploy_beta.sh: Make clear that the changelog is since the last real release.
|
2018-03-13 06:10:44 +01:00 |
|
fabian
|
a8149dfce9
|
deploy_beta.sh: Fixed a line causing the script to wait for STDIN (don't really understand, why) and modified the "this is just for testing, backup your data" warning.
|
2018-03-13 06:09:52 +01:00 |
|
fabian
|
ecb225ef60
|
Extended .gitignore.
|
2018-03-12 22:02:43 +01:00 |
|
fabian
|
c79336618c
|
deploy_beta.sh: A small script to deploy the current beta version to the telegram group.
|
2018-03-12 22:02:14 +01:00 |
|
fabian
|
e75aa2101e
|
Fixed lots of unclosed ResultSets in Database and DatabaseUpdates.
|
2018-03-12 22:01:47 +01:00 |
|
fabian
|
19973818f8
|
Moved more settings to IniSettings.
|
2018-03-10 23:26:03 +01:00 |
|
fabian
|
d796cb1bf0
|
deploy.sh: Telegram message is now HTML formatted.
|
2018-03-08 23:11:48 +01:00 |
|
fabian
|
b0fa297a61
|
deploy.sh: Moved the gradle build task to earlier in the process to better be able to catch errors.
|
2018-03-08 23:11:14 +01:00 |
|
fabian
|
a8944125b6
|
deploy.sh: Check out master after running the tool.
|
2018-03-08 22:32:51 +01:00 |
|
fabian
|
d66834c3d5
|
deploy.sh: Use the html_url of the new release.
|
2018-03-08 22:32:18 +01:00 |
|
fabian
|
c99766a71e
|
deploy.sh: Create relases as published, not as draft.
|
2018-03-08 22:31:27 +01:00 |
|
fabian
|
79b68bd93d
|
deploy.sh: Don't fail if the Dockerfile can't be committed (possibly because it already had the correct version in it).
|
2018-03-08 22:23:20 +01:00 |
|
fabian
|
dcdc313c8b
|
Merge branch 'master' of https://github.com/fabianonline/telegram_backup
|
2018-03-08 22:21:39 +01:00 |
|
fabian
|
ac85f06e3e
|
Bumping the version to 1.1.3
|
2018-03-08 22:21:11 +01:00 |
|
fabian
|
65ae4f4a86
|
Fixed typo in deploy.sh
|
2018-03-08 22:21:07 +01:00 |
|
fabian
|
9f9d9fd183
|
Fixed a source for non-closed PreparedStatements.
|
2018-03-08 22:17:01 +01:00 |
|
fabian
|
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 |
|
fabian
|
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 |
|
fabian
|
9a9e4284d9
|
Modified deploy.sh to set the tag on master, not on stable, so that git describe for versions built from master gives usable output.
|
2018-03-08 22:12:29 +01:00 |
|
fabian
|
3c5a8e9d38
|
Deployment can not happen automatically via deploy.sh
|
2018-03-08 06:56:41 +01:00 |
|
 fabianandGitHub
|
6c6725e711
|
Merge pull request #51 from orschiro/patch-1
Corrects the path given in README.md.
|
2018-03-07 18:07:32 +01:00 |
|
fabian
|
834aaf0292
|
Extended .gitignore
|
2018-03-07 18:05:02 +01:00 |
|
fabian
|
365e38970d
|
Modified the Dockerfile to make a bit smaller images.
|
2018-03-07 18:04:25 +01:00 |
|
fabian
|
e40096fc44
|
Removed the deploy command from .travis.yml
|
2018-03-07 18:03:56 +01:00 |
|
fabian
|
b65e624876
|
Merge branch 'master' of https://github.com/fabianonline/telegram_backup
|
2018-03-07 18:02:58 +01:00 |
|
fabian
|
85c525ab1c
|
Newsly download GMaps images have a red marker in them to pinpoint the exact location.
|
2018-03-07 17:15:59 +01:00 |
|
fabian
|
da2a7d88b6
|
Geo Images are now shown in the HTML export. Fixes #95.
|
2018-03-07 17:15:20 +01:00 |
|
fabian
|
b959c35bea
|
Usind --login --account <x> will now directly login you to the specified account. Fixes #78.
|
2018-03-07 06:15:16 +01:00 |
|
fabian
|
89cca39409
|
IniSettings will be initialized at startup.
|
2018-03-07 06:12:37 +01:00 |
|
fabian
|
7fa89ab1b1
|
IniSettings class is now finished and also already used for GMAPS_KEY.
|
2018-03-07 06:09:51 +01:00 |
|
fabian
|
53fcd36e66
|
config.sample.ini is copied into the data directory on every run.
|
2018-03-07 09:48:23 +01:00 |
|
 fabianandGitHub
|
897435adf9
|
Merge pull request #77 from jakevossen5/master
Typo: Capitalized Month in README.md
|
2018-03-06 20:59:27 +01:00 |
|
fabian
|
74dbc9d412
|
Commit 0e2eeab accidentally removed the line in --help mentioning --daemon. Fixed that.
|
2018-03-06 06:30:50 +01:00 |
|
fabian
|
7b49153c93
|
Now catching (and printing) ALL exceptions in CommandLineController.
|
2018-03-06 06:28:37 +01:00 |
|
fabian
|
07572c0618
|
Extended IniSettings to be able to parse ini files. Yay. But: Still WIP!
|
2018-03-06 06:27:31 +01:00 |
|
fabian
|
e3aaa58256
|
Small changes to DB_Update_9: Progress report, ORDER for the query, closing ResultSets.
|
2018-03-06 06:20:02 +01:00 |
|
fabian
|
6592e15b09
|
Bumped the version to 1.1.2
|
2018-03-05 18:28:54 +01:00 |
|
fabian
|
bc63cfaea1
|
Typo in the GMaps key. Aaarg.
|
2018-03-05 18:28:04 +01:00 |
|
fabian
|
9678aaaee8
|
Started IniSettings. (WIP!)
|
2018-03-05 18:26:53 +01:00 |
|
fabian
|
cee9fad0dd
|
Travis: Build only master.
|
2018-03-05 18:04:46 +01:00 |
|
fabian
|
4e74b4c30b
|
Renamed Settings.kt to DbSettings.kt
|
2018-03-05 06:56:38 +01:00 |
|
fabian
|
75786e39b4
|
Modified Settings class to only represent internal Settings. Also, renamed it to DbSettings.
|
2018-03-05 06:55:24 +01:00 |
|
fabian
|
dae603a95e
|
Removed building on JDK 6 and 8 from .travis.yml. Mainly because it didn't work. ;-)
|
2018-03-05 06:40:51 +01:00 |
|
fabian
|
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 |
|
fabian
|
f5431e805e
|
Don't start the daemon mode if an exception happened earlier.
|
2018-03-05 06:36:47 +01:00 |
|
fabian
|
82d6255144
|
Travis now tests OpenJDK7 as well as OracleJDK8 and 9.
|
2018-03-03 22:50:49 +01:00 |
|
fabian
|
645d8cc315
|
Bumped the version to 1.1.1
|
2018-03-03 22:22:38 +01:00 |
|
fabian
|
14324dfa4c
|
Merged PR #87 from @leijurv. Thanks for that. Closes #84.
|
2018-03-03 22:14:27 +01:00 |
|
fabian
|
d4a6141862
|
Merge branch 'master' of https://github.com/leijurv/telegram_backup into pull-leijurv-master
|
2018-03-03 22:06:36 +01:00 |
|
fabian
|
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
|
8ac5744405
|
Modified .travis.yml to upload artifacts to gh-pages.
|
2018-03-03 21:24:37 +01:00 |
|
fabian
|
2324c6e0c4
|
Added .travis.yml
|
2018-03-03 21:06:41 +01:00 |
|
fabian
|
3920425d37
|
Added VACUUMing the database after running the migration in DB_Update_9.
|
2018-02-22 07:58:20 +01:00 |
|
fabian
|
42dc500514
|
Added Settings.
|
2018-02-22 07:55:53 +01:00 |
|
fabian
|
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
|
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
|
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 |
|
fabian
|
0e2eeab5b9
|
Added pagination for the output.
|
2018-01-30 18:13:34 +01:00 |
|
fabian
|
ab16c44de5
|
Added Any.toPrettyJson().
|
2018-01-29 13:19:08 +01:00 |
|
fabian
|
004b650762
|
Delegated downloading of external files to Fuel. This hopefully fixes #71.
|
2017-12-17 13:56:28 +01:00 |
|
fabian
|
8f1a9d391c
|
HTMLExporter now also shows the link to the export.
|
2017-12-17 11:39:57 +01:00 |
|
fabian
|
93ad47639f
|
Added a convenience method Any.toJson()
|
2017-12-17 11:39:31 +01:00 |
|
fabian
|
28931830eb
|
Extended --stats to also show the different source_types from the database.
|
2017-12-17 11:39:07 +01:00 |
|
fabian
|
c83de2ed00
|
Fixed the detection of supergroups and channels. Fixes #69.
|
2017-12-16 23:21:06 +01:00 |
|
fabian
|
ab6a30c48e
|
Rewrote Utils.anonymize(String) to String.anonymize().
|
2017-12-13 19:39:27 +01:00 |
|
fabian
|
9bee01698f
|
HTML export now shows some progress information.
|
2017-12-13 19:03:32 +01:00 |
|
fabian
|
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
|
e1ad5c4e86
|
Merge branch 'feature-kotlin'
|
2017-12-13 06:11:52 +01:00 |
|
fabian
|
bb180f95be
|
Kotlin: Reformatted code.
|
2017-12-12 22:04:20 +01:00 |
|
fabian
|
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 |
|