1
0
mirror of https://github.com/fabianonline/telegram_backup.git synced 2026-05-04 13:42:07 +00:00

Commit Graph

  • 94785357bc Updated README.md to reflect the state of the project. master fabian 2020-04-27 18:32:37 +02:00
  • 223a0fdde3 Added blacklist_extensions to skip some file types completely from being downloaded. fabian 2018-04-20 06:54:29 +02:00
  • bce5996643 Show (temporary) messages every time a FLOOD_WAIT is happening. fabian 2018-04-20 06:53:25 +02:00
  • cf806da77d Added spinners to visualize the ongoing download of bigger media files. fabian 2018-04-20 06:52:30 +02:00
  • c2b1c0625e Playing around with exporters. Added a stupidly simple CSV exporter. fabian 2018-04-20 06:43:48 +02:00
  • 3c68e6d814 Merge branch 'feature-json2' fabian 2018-04-20 06:11:11 +02:00
  • 7e2d49ef09 Added a setting max_file_size to ignore files bigger than that size in MB. fabian 2018-04-20 06:08:17 +02:00
  • 11a6318a26 JSON objects now also contain a property api_layer containing their (surprise!) api_layer. feature-json2 fabian 2018-04-19 17:48:11 +02:00
  • bb2a291d4f MediaFileManagers now use JSON instead of the TLMessage objects. fabian 2018-04-17 06:36:39 +02:00
  • b1e9346203 Anonymize "target dir after options". fabian 2018-04-16 05:59:28 +02:00
  • 6b5b9a669b WIP: Reworking mediafilemanagers to work with JSON. fabian 2018-04-16 05:57:05 +02:00
  • 6b9cc9533a Better status reports from the DatabaseUpdate. fabian 2018-04-14 15:01:54 +02:00
  • 4c6c049502 Removed duplicate headers printed while downloading media. fabian 2018-04-13 06:18:20 +02:00
  • 28b402d3ab deploy.sh and deploy_bet.sh will now print short git diff stats into the telegram group's message. fabian 2018-04-13 06:17:33 +02:00
  • 6d4701189b Added json columns to users and chats tables; newly incoming objects are now saved together with their JSON data. fabian 2018-04-13 06:10:27 +02:00
  • c963a8f334 deploy.sh: Go back to master after merging into stable. fabian 2018-04-12 06:55:06 +02:00
  • 2402356013 Added a DatabaseUpdate to convert the data to json. fabian 2018-04-12 06:54:14 +02:00
  • df1c90578b Disabled version check if version number contains a dash. fabian 2018-04-12 06:47:24 +02:00
  • 96d5b5c77b DownloadManager now looks at all dialogs, not just the last 100. fabian 2018-04-12 06:46:42 +02:00
  • c5f901f4a2 Small codefix to use parameter instead of fixed value. fabian 2018-04-12 05:57:11 +02:00
  • e8c28b4e72 --limit-messages now also affects channels and supergroups. fabian 2018-04-12 05:56:30 +02:00
  • f434482cdf Database connection will now always be closed on VM shutdown. fabian 2018-04-12 05:55:45 +02:00
  • 4d45c7f1cc Copy config.sample.ini to the right folder. fabian 2018-04-11 06:26:05 +02:00
  • 955ae42952 Use exit code 1 if quitting because of an exception. fabian 2018-04-11 06:24:59 +02:00
  • 01590b05ee Reformatted the exporter selection part of CommandLineController. fabian 2018-04-11 06:24:24 +02:00
  • b5ff4dd1a6 Removed debug output from CommandLineOptions. fabian 2018-04-11 06:16:42 +02:00
  • b199dc335f Queries in Database now go through a custom function executeQuery which throws better (read: informative) Exceptions. fabian 2018-04-11 06:14:55 +02:00
  • 1ff540977e Merge branch 'feature-rewrite' fabian 2018-04-11 06:11:07 +02:00
  • ff9163c1bb Settings: Is CLI is set, use it instead of INI. feature-rewrite fabian 2018-04-11 05:51:00 +02:00
  • 38fce0ee5c Some more refactoring of Settings. fabian 2018-04-11 05:50:26 +02:00
  • 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. fabian 2018-04-10 06:38:28 +02:00
  • a9444e7813 Rewrote CommandLineOptions: The code is now better readable and accepts parameters like --target=/data and accepts some short parameters like -t for --target. fabian 2018-04-10 06:36:18 +02:00
  • 069799cbaf Resorted the code in DownloadManager - no more need for downloadMessages calling _downloadMessages or downloadMedia calling _downloadMedia. fabian 2018-04-10 06:33:15 +02:00
  • 9affb47130 Reworked the obeyFloodLimit-Stuff to now use lambdas. fabian 2018-04-10 06:26:46 +02:00
  • be1cf8ba91 Fixed a bug in Utils.anonymize fabian 2018-04-10 06:13:29 +02:00
  • 5c466131d3 Rewritten Settings. fabian 2018-04-10 06:12:02 +02:00
  • e5da546386 CommandLineOptions will now insert booleans into values with an value of "true" as well. fabian 2018-04-10 06:11:01 +02:00
  • ec4097e777 The code is now compiling, but still largely untested. So it's still kinda WIP. fabian 2018-04-09 06:07:53 +02:00
  • 77efde1136 WIP: Still having fun with git stash. -.- fabian 2018-04-06 06:21:39 +02:00
  • 253b334fc3 More rewriting. Also lots of fun with git stash and wrong branches... fabian 2018-04-06 06:19:49 +02:00
  • e3708c00ad Merge commit 'e75aa21' into stable 1.1.4 stable fabian 2018-04-04 21:11:58 +02:00
  • ebff71b208 WIP: Even moar rewriting. fabian 2018-03-20 06:44:36 +01:00
  • eea08a5559 WIP: Lots and lots of rewriting. fabian 2018-03-16 06:59:18 +01:00
  • 78031b0ff2 Don't download media files in daemon mode if download_media is false. fabian 2018-03-15 20:49:37 +01:00
  • f4d563226c Added limit and offset parameters to Database#getMessagesWithMedia in order to prevent high memory usage in downloadMedia. fabian 2018-03-15 20:49:15 +01:00
  • 968ee831f0 Added max_file_age to download only newer files. fabian 2018-03-15 06:48:37 +01:00
  • 2d409352bc WIP: Some more rewriting. fabian 2018-03-14 06:09:24 +01:00
  • 97cf26b46d WIP: Started rewriting the code to make it more null-safe. fabian 2018-03-14 06:08:07 +01:00
  • 6276651b84 Fixed anonymization of database backup debug messages. Fixes #98. fabian 2018-03-13 06:46:59 +01:00
  • f8984b25b1 Renamed IniSettings#get to IniSettings#getString. fabian 2018-03-13 06:44:33 +01:00
  • 2295ced528 Fixed a bug in IniSettings that prevented new accounts from being created. fabian 2018-03-13 06:42:39 +01:00
  • aec609e6c4 Merge branch 'feature-settings' fabian 2018-03-13 06:32:06 +01:00
  • 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 feature-settings fabian 2018-03-13 06:31:38 +01:00
  • 25a01fae4b You can now restrict the downloading of channels and supergroups by defining black- and whitelists in config.ini fabian 2018-03-13 06:30:39 +01:00
  • 077cbcebca deploy_beta.sh: Make clear that the changelog is since the last real release. fabian 2018-03-13 06:10:44 +01:00
  • 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. fabian 2018-03-13 06:09:52 +01:00
  • ecb225ef60 Extended .gitignore. fabian 2018-03-12 22:02:43 +01:00
  • c79336618c deploy_beta.sh: A small script to deploy the current beta version to the telegram group. fabian 2018-03-12 22:02:14 +01:00
  • e75aa2101e Fixed lots of unclosed ResultSets in Database and DatabaseUpdates. fabian 2018-03-12 22:01:47 +01:00
  • 19973818f8 Moved more settings to IniSettings. fabian 2018-03-10 23:26:03 +01:00
  • d796cb1bf0 deploy.sh: Telegram message is now HTML formatted. fabian 2018-03-08 23:11:48 +01:00
  • b0fa297a61 deploy.sh: Moved the gradle build task to earlier in the process to better be able to catch errors. fabian 2018-03-08 23:11:14 +01:00
  • a8944125b6 deploy.sh: Check out master after running the tool. fabian 2018-03-08 22:32:51 +01:00
  • d66834c3d5 deploy.sh: Use the html_url of the new release. fabian 2018-03-08 22:32:18 +01:00
  • c99766a71e deploy.sh: Create relases as published, not as draft. fabian 2018-03-08 22:31:27 +01:00
  • ad6f57d153 Merging master into stable for version 1.1.3 fabian 2018-03-08 22:23:26 +01:00
  • 79b68bd93d deploy.sh: Don't fail if the Dockerfile can't be committed (possibly because it already had the correct version in it). 1.1.3 fabian 2018-03-08 22:23:20 +01:00
  • dcdc313c8b Merge branch 'master' of https://github.com/fabianonline/telegram_backup fabian 2018-03-08 22:21:39 +01:00
  • edfdb90073 Merging master into stable for version 1.1.3 fabian 2018-03-08 22:21:11 +01:00
  • ac85f06e3e Bumping the version to 1.1.3 fabian 2018-03-08 22:21:11 +01:00
  • 65ae4f4a86 Fixed typo in deploy.sh fabian 2018-03-08 22:21:07 +01:00
  • 9f9d9fd183 Fixed a source for non-closed PreparedStatements. fabian 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. fabian 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. fabian 2018-03-08 22:13:30 +01:00
  • 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. fabian 2018-03-08 22:12:29 +01:00
  • 3c5a8e9d38 Deployment can not happen automatically via deploy.sh fabian 2018-03-08 06:56:41 +01:00
  • 6c6725e711 Merge pull request #51 from orschiro/patch-1 fabian 2018-03-07 18:07:32 +01:00
  • 834aaf0292 Extended .gitignore fabian 2018-03-07 18:05:02 +01:00
  • 365e38970d Modified the Dockerfile to make a bit smaller images. fabian 2018-03-07 18:04:25 +01:00
  • e40096fc44 Removed the deploy command from .travis.yml fabian 2018-03-07 18:03:56 +01:00
  • b65e624876 Merge branch 'master' of https://github.com/fabianonline/telegram_backup fabian 2018-03-07 18:02:58 +01:00
  • 85c525ab1c Newsly download GMaps images have a red marker in them to pinpoint the exact location. fabian 2018-03-07 17:15:59 +01:00
  • da2a7d88b6 Geo Images are now shown in the HTML export. Fixes #95. fabian 2018-03-07 17:15:20 +01:00
  • b959c35bea Usind --login --account <x> will now directly login you to the specified account. Fixes #78. fabian 2018-03-07 06:15:16 +01:00
  • 89cca39409 IniSettings will be initialized at startup. fabian 2018-03-07 06:12:37 +01:00
  • 7fa89ab1b1 IniSettings class is now finished and also already used for GMAPS_KEY. fabian 2018-03-07 06:09:51 +01:00
  • 53fcd36e66 config.sample.ini is copied into the data directory on every run. fabian 2018-03-07 06:07:16 +01:00
  • 8607f73f90 Deploy fabianonline/telegram_backup to github.com/fabianonline/telegram_backup.git:gh-pages gh-pages Deployment Bot (from Travis CI) 2018-03-06 20:01:17 +00:00
  • 897435adf9 Merge pull request #77 from jakevossen5/master fabian 2018-03-06 20:59:27 +01:00
  • 74dbc9d412 Commit 0e2eeab accidentally removed the line in --help mentioning --daemon. Fixed that. fabian 2018-03-06 06:30:50 +01:00
  • 7b49153c93 Now catching (and printing) ALL exceptions in CommandLineController. fabian 2018-03-06 06:28:37 +01:00
  • 07572c0618 Extended IniSettings to be able to parse ini files. Yay. But: Still WIP! fabian 2018-03-06 06:27:31 +01:00
  • e3aaa58256 Small changes to DB_Update_9: Progress report, ORDER for the query, closing ResultSets. fabian 2018-03-06 06:20:02 +01:00
  • cd8436d0d5 Deploy fabianonline/telegram_backup to github.com/fabianonline/telegram_backup.git:gh-pages Deployment Bot (from Travis CI) 2018-03-05 17:33:50 +00:00
  • 1c0df1b92c Merge branch 'master' into stable 1.1.2 fabian 2018-03-05 18:29:16 +01:00
  • 6592e15b09 Bumped the version to 1.1.2 fabian 2018-03-05 18:28:54 +01:00
  • bc63cfaea1 Typo in the GMaps key. Aaarg. fabian 2018-03-05 18:28:04 +01:00
  • 9678aaaee8 Started IniSettings. (WIP!) fabian 2018-03-05 18:26:53 +01:00
  • 6693c1fb87 Deploy fabianonline/telegram_backup to github.com/fabianonline/telegram_backup.git:gh-pages Deployment Bot (from Travis CI) 2018-03-05 17:07:42 +00:00
  • cee9fad0dd Travis: Build only master. fabian 2018-03-05 18:04:46 +01:00