Commit Graph
8782 Commits
Author SHA1 Message Date
Kenneth Skovhede 494fccd931 Added support for multiple exit codes, and added a unittest to verify that the exit codes are handled correctly 2018-08-14 11:09:16 +02:00
Kenneth Skovhede c00e6fdf31 Merge branch 'experiment/try-faster-file-lookup-query' 2018-08-13 14:54:24 +02:00
Kenneth Skovhede d0026d8028 Reworked the file-path query, and enabled experimentally changing it by setting the environment variable TEST_QUERY_VERSION=1 or TEST_QUERY_VERSION=2.
Added check to the unittests to catch cases where it scans too many files.
2018-08-13 13:23:59 +02:00
Lucas CostiandGitHub 20dcc0b46a Fix #3337 - Ambigous 'waiting for upload' status 2018-08-13 11:38:38 +10:00
Kenneth Skovhede 7b840bacb5 Merge branch 'feature/fix-check-filetime-only' 2018-08-12 22:38:22 +02:00
Kenneth Skovhede 106d3ce532 Updated translation files 2018-08-12 22:34:39 +02:00
Kenneth Skovhede c4b564358c Spelling fixes 2018-08-12 22:33:21 +02:00
Kenneth Skovhede 4d1bea86a6 Attempt at making a leaner version of getting the previous file's information 2018-08-11 14:39:03 +02:00
Kenneth Skovhede 5507496352 Fixed the query to correctly extract metadata for a file, using the Metadataset indirection 2018-08-11 14:37:23 +02:00
Kenneth Skovhede 52cb9fb1f9 Removed the deprecated --store-metadata option.
Rewrote the logic for pre-filtering files based on timestamps/metadata to be more verbose and well documented.
Fixed an issue where `--check-filetime-only` also checked the file size, which was not present due to the reduced query used to grab only the lastmodified information.
Fixed a problem where the check for existing metadata was wrong and produced a warning.

This fixes #3204
This handles some of #3194
2018-08-11 11:48:19 +02:00
Kenneth Skovhede 42a76174f6 Updated all localizations 2018-08-11 08:43:32 +02:00
Kenneth Skovhede 5cb663a6b0 Added Romanian, Swedish, Thai, Hungarian, Slovakian, Catalan, Japanese, Bengali and Korean to the list of languages built for Duplicati. 2018-08-11 08:41:36 +02:00
Kenneth Skovhede 1de08c1917 Merge branch 'feature/improve_size_multiplier_handling' 2018-08-09 09:14:49 +02:00
Kenneth Skovhede 38eaded3c5 Updated localization files 2018-08-09 09:14:19 +02:00
Kenneth Skovhede 2ec203cabe Removed Task types and the TaskReader property from serialized results, as they have no usable serialized format 2018-08-08 11:59:20 +02:00
Kenneth Skovhede 07815c1751 Added warning to unqualified size options 2018-08-08 11:58:35 +02:00
Kenneth Skovhede b59032552f Changed the GUI to explictly set the b suffix on size numbers 2018-08-08 09:48:05 +02:00
Kenneth SkovhedeandGitHub 64201ae706 Merge pull request #3314 from mnaiman/log_sql_variables
Log sql variables
2018-08-07 23:32:27 +02:00
Kenneth Skovhede 5a3adc390c Merge branch 'feature/fix_file_counter' 2018-08-07 23:31:19 +02:00
Kenneth Skovhede 61060e05b8 Merge branch 'master' into feature/fix_path_storage2
# Conflicts:
#	Duplicati/Library/Main/Database/LocalBackupDatabase.cs
2018-08-07 22:44:41 +02:00
Kenneth Skovhede 91f735a07c Merge branch 'feature/limit-dns-names' 2018-08-07 22:38:31 +02:00
Kenneth Skovhede e17048f74d Merge branch 'feature/reduce_database_call_overheads' 2018-08-07 22:38:07 +02:00
Kenneth Skovhede bee26c6af0 Merge branch 'feature/fix_macos_version_number' 2018-08-07 22:37:36 +02:00
Kenneth Skovhede 20f859bb1d Merge branch 'feature/disable_automatic_dblock_recreate'
# Conflicts:
#	Duplicati/Library/Main/Strings.cs
2018-08-07 22:37:06 +02:00
Kenneth Skovhede 1a027278aa Another attempt at upgrading pip on Travis 2018-08-07 15:05:41 +02:00
Kenneth Skovhede 557df9a666 Another attempt to update urllib3 on Travis 2018-08-07 14:50:43 +02:00
Kenneth Skovhede bd113129c4 Attempt to upgrade urllib3 2018-08-07 14:28:49 +02:00
Kenneth Skovhede 3831962c82 Fixed an infinite recursion issue 2018-08-07 13:35:30 +02:00
Kenneth Skovhede 5d6c612acc The file counter crashed prematurely, because the logging context was disposed when leaving the scope.
Fixed this by awaiting the task inside the counter process, instead of returning the task.
Improved the logging system by allowing the log scopes to be created and detached from the parent.
This fixes #3305
2018-08-07 13:05:09 +02:00
Kenneth Skovhede 6255a9e0db Disabled automatic recreate of dblock files, as it rarely works.
Added an option to re-activate dblock recreation.
This partially addresses #2335
2018-08-07 11:14:28 +02:00
Kenneth Skovhede 2ff69c72f1 Fixed some issues with the version number for the MacOS build.
This fixes #3247
2018-08-07 10:11:22 +02:00
Kenneth Skovhede b55893ec02 Rewrote the SingleRunner class to use a single mutex instead of the overly complex bag-of-tasks method.
This simplifies things and speeds up database query queuing, at the expense of not guaranteeing that the same thread will access the database, but just guaranteeing single threaded database access.
2018-08-07 09:52:18 +02:00
Kenneth Skovhede 4bf0f90ee8 Removed a leftover debugging tag 2018-08-07 09:42:21 +02:00
Kenneth Skovhede e9d7c47602 Disabled logging block and file database access to reduce overhead in these queries.
Added an option to explicitly re-enable logging of the database queries (`--profile-all-database-queries`)
2018-08-07 09:40:43 +02:00
Kenneth Skovhede 9ba03a3358 Added option to limit the number of allowed hostnames for the webserver 2018-08-07 00:36:12 +02:00
JonMikelVandGitHub 5cec897403 Merge pull request #3332 from duplicati/JonMikelV-certUpdate-MacOS
Add MacOS based cert update instructions using curl (not all machines have wget)
2018-08-06 10:48:10 -05:00
JonMikelVandGitHub 5efe9a5857 Shift wget to curl
Found some Mac's that didn't have wget but DID have curl
2018-08-06 10:42:03 -05:00
Kenneth Hsu 6b521691ce Remove unused ENVIRONMENT_VARIABLE_MATCHER_LINUX property.
This was added in revision 0b442ecdc6, but no usages could be found.  A
potential use-case is mentioned in a comment, so the implementation was
moved to the comment.
2018-08-02 21:40:51 -07:00
Kenneth Hsu 79f143e84a Remove unused ToUnixTimestamp utility method.
This was added in revision 6255572c25 ("Added a timestamp value to the
end of dates in the report output for easier parsing"), but no usages
could be found.
2018-08-02 21:36:32 -07:00
Kenneth Hsu f2b682e94f Remove unused Base64UrlDecode utility method.
This was added in revision aca4ed95cc ("More work on the block hash"),
but no usages could be found.
2018-08-02 21:36:32 -07:00
Kenneth Hsu a1a4bd8b90 Remove unused ReplaceFile utility method.
This was added in revision a0521da54d ("Initial version of the new
block-based storage format"), but no usages could be found.
2018-08-02 21:36:29 -07:00
Kenneth Hsu da3cf6d2b3 Remove unused DefaultCulture utility property.
Usages were removed in revision 2264c07f3b ("Removed unused files").
2018-08-02 21:36:25 -07:00
Kenneth Hsu 70b0d093fe Remove unused CalculateHash utility method.
Usages were removed in revision 3ff2f1eb98.
2018-08-02 21:36:20 -07:00
Kenneth Hsu c3cda5dc58 Remove unused IsValidHostname utility method.
Usages were removed in revision 62c75d9af9 ("Removed all informs code
(no more 1.3.x UI)").
2018-08-02 21:29:09 -07:00
Kenneth Hsu c7f4bcd0d3 Remove unused LocateFileInSystemPath utility method.
Usages were removed in revision 62c75d9af9 ("Removed all informs code
(no more 1.3.x UI)").
2018-08-02 21:27:25 -07:00
Kenneth SkovhedeandGitHub d96043007c Merge pull request #3317 from verhoek/refactoring/ftp
Refactoring/ftp
2018-08-02 09:55:38 +02:00
Kenneth SkovhedeandGitHub 5b539083a9 Merge pull request #3318 from mnaiman/fix_missingremotefiles
Fix missingremotefiles
2018-08-02 09:45:42 +02:00
Kenneth SkovhedeandGitHub 3fb9e6d2cf Merge pull request #3312 from mnaiman/debug_metadata
Debug metadata
2018-07-24 16:43:37 +02:00
Kenneth SkovhedeandGitHub e380b870b3 Merge pull request #3313 from mnaiman/ExcuteReader_typo
Excute reader typo
2018-07-24 16:41:38 +02:00
Rune HenriksenandGitHub c5e25e7c3d Merge pull request #3324 from duplicati/JonMikelV-certUpdate-MacOS
Adding message informing users about how to fix mono certificate errors on MacOS as well as Debian/RedHat.
2018-07-18 22:50:36 +02:00