Commit Graph
5503 Commits
Author SHA1 Message Date
Kenneth Skovhede 69cc889eb2 Fixed creating the USN table on a clean database 2018-06-14 10:56:15 +02:00
Kenneth Skovhede 60c498c6e2 Fixed the project file to now have duplicates 2018-06-14 10:14:46 +02:00
Kenneth Skovhede cbc18970d5 Re-applied the path-storage fix as the merge failed somehow 2018-06-14 10:12:24 +02:00
Kenneth Skovhede 729baf76e6 Fixed registering the newly created index volume after upload has completed 2018-06-13 21:43:06 +02:00
Kenneth Skovhede 8427774d85 Added more aggressive testing of data during unittest 2018-06-13 21:42:34 +02:00
Kenneth Skovhede 68c36edbf7 Added a new unittest option that disables auto-fixes to make sure we do not mask errors by auto-fixing them during unittests 2018-06-12 09:31:39 +02:00
Kenneth Skovhede 1322455786 Improved output when running unittest 2018-06-12 08:52:57 +02:00
Kenneth Skovhede 4b3389f4b6 Fix the missing block references prior to looking for missing block info 2018-06-12 08:29:55 +02:00
Kenneth Skovhede 7081af9785 Added protection against missing or defect files when attempting to restore 2018-06-11 14:42:13 +02:00
Kenneth Skovhede ae17df3736 Minor fix to the unittest output 2018-06-11 11:22:03 +02:00
Kenneth Skovhede 1f32047042 Don't remove the extra index files immediately, but wait for next compact 2018-06-11 11:20:12 +02:00
Kenneth Skovhede ec363f88a0 Fixed not deleting the non-index volumes 2018-06-11 10:34:32 +02:00
Kenneth Skovhede d01e8f19c4 Fixed an issue after the merge conflict ... 2018-06-08 11:21:43 +02:00
Kenneth Skovhede 9485339659 Fixed an issue after the merge conflict 2018-06-08 11:20:03 +02:00
Kenneth Skovhede bce1db123a Merge branch 'master' into feature/speedup_backup_index_files
# Conflicts:
#	Duplicati/Library/Utility/Utility.cs
2018-06-08 10:31:27 +02:00
Kenneth Skovhede 6691d67b82 Merge branch 'feature/potential_fix_3202' 2018-06-08 10:29:25 +02:00
Kenneth SkovhedeandGitHub 1f1bcce671 Merge pull request #3244 from verhoek/feature/tempdir
feature tempdir for backend + fix preliminary erasing of callcontextsettings
2018-06-08 10:13:32 +02:00
Kenneth Skovhede ec63b901e3 Merge branch 'master' of github.com:duplicati/duplicati 2018-06-08 10:10:21 +02:00
Kenneth Skovhede a41c816369 Merge branch 'feature/remove-symlink-metadata-restore'
This fixes #3127
2018-06-08 10:07:57 +02:00
Kenneth Skovhede 3fe1f415f4 Merge branch 'feature/b2-input-validation' 2018-06-08 10:06:42 +02:00
verhoek 3fb7175931 Merge remote-tracking branch 'origin/master' into feature/tempdir
# Conflicts:
#	Duplicati/Server/Runner.cs (copied readonly prop)
2018-06-07 16:37:40 +02:00
verhoek ca55179f4b Adjusted according to review comment to keep tempfolder for storing task config around, removed trailing white space. 2018-06-07 16:32:39 +02:00
Kenneth Skovhede 4e94c5a331 Changed a bit around the volume size picker to reduce confusion as to what it does. 2018-06-07 14:56:12 +02:00
Kenneth SkovhedeandGitHub 061bc38f1c Merge pull request #3256 from warwickmm/use_stream_read_helper
Use helper method to read from Streams and add unit tests
2018-06-07 13:42:54 +02:00
Kenneth SkovhedeandGitHub c5c13ab242 Merge pull request #3257 from warwickmm/remove_redundant_tostring
Remove redundant calls to ToString
2018-06-07 13:36:20 +02:00
Kenneth SkovhedeandGitHub 0debc73df0 Merge pull request #3259 from tygill/fix/oauth-client-readwritetimeout
Fix typo in OAuthHttpClient
2018-06-07 13:35:46 +02:00
Kenneth Skovhede bebe0d8772 Added check to avoid restoring metadata on a symlink, as that would change the symlink target, not the symlink itself.
Added an option to revert to the previous behaviour as well.
2018-06-07 13:32:25 +02:00
Kenneth Skovhede af3e9cdfdc Added input validation for B2 paths to avoid users ending up with weird error messages, once the full path for each file is constructed. 2018-06-07 13:14:11 +02:00
Kenneth Hsu 1605dc8ede Use utility method to read from stream. 2018-06-06 19:54:45 -07:00
Kenneth Skovhede b534c5649e Fixed a shared buffer being re-used for multiple results. 2018-06-06 08:37:09 +02:00
Kenneth Hsu 214e4c0428 Add test for reading stream into buffer. 2018-06-04 20:35:22 -07:00
Kenneth Hsu 08a897d7b0 Remove redundant calls to ToString. 2018-06-04 20:15:34 -07:00
Tyler Gill 5be38df560 Fix typo in OAuthHttpClient 2018-06-04 14:59:58 -06:00
verhoek 3ab394ed7d Adjust according to review comments - prevent creating tempfolder when not needed.
Moved out one of multiple responsibilities out of function.
2018-06-04 18:03:24 +02:00
Kenneth Skovhede d042e70ca2 Changed the returned IEnumerable values to be fully created, which avoids issues with locks and transactions being prematurely released.
This might help with #3202
2018-06-04 11:56:54 +02:00
Kenneth Skovhede e6535e2cfa Merge branch 'master' of github.com:duplicati/duplicati
# Conflicts:
#	Duplicati/Server/WebServer/RESTMethods/UISettings.cs
2018-06-04 10:48:11 +02:00
Kenneth Skovhede 8da3f61346 Merge branch 'warwickmm-fix_line_endings' 2018-06-04 10:45:44 +02:00
Kenneth SkovhedeandGitHub b6a250db95 Merge pull request #3253 from warwickmm/missing_format_item_value
Provide missing values to format items
2018-06-04 10:42:34 +02:00
Kenneth SkovhedeandGitHub 448d37f7cb Merge pull request #3252 from warwickmm/remove_string_format
Remove unnecessary calls to String.Format
2018-06-04 10:42:02 +02:00
Kenneth SkovhedeandGitHub 66e5dfe722 Merge pull request #3237 from tygill/fix/msgraph-delete-error
(MS Graph) When the delete operation fails due to a 'file not found' error, we don't need to bubble up an exception
2018-06-04 10:41:16 +02:00
Kenneth SkovhedeandGitHub 3b6c2b61d5 Merge pull request #3242 from warwickmm/remove_ineffective_statements
Remove ineffective statements
2018-06-04 10:40:32 +02:00
Tyler Gill f2f5d4c0a6 Change from swallowing delete errors to wrapping DriveItemNotFoundException in FileMissingException.
This way, the regular backend manager logic can handle and log the delete of a non-existant file.
Also update some of the other operations to throw FileMissingException (rather than the backend specific DriveItemNotFoundException).
2018-06-02 15:52:20 -06:00
Kenneth Hsu afdae80716 Fix line ending issues. 2018-06-02 13:19:49 -07:00
Kenneth Hsu e2b671bf9e Provide missing values to format items. 2018-06-02 12:05:57 -07:00
Kenneth Hsu 20f2f37806 Remove unnecessary calls to String.Format. 2018-06-02 12:02:55 -07:00
Kenneth SkovhedeandGitHub e70f15287e Merge pull request #3233 from warwickmm/make_fields_readonly
Mark fields that shouldn't be reassigned as readonly
2018-06-02 10:13:06 +02:00
Kenneth SkovhedeandGitHub 018c01cfa9 Merge pull request #3234 from warwickmm/equals_instead_of_equality
Use Equals to compare CultureInfo instances
2018-06-02 10:10:59 +02:00
Kenneth SkovhedeandGitHub b2f1862584 Merge pull request #3238 from tygill/fix/help-logging
Update 'help logging' to mention --log-file-log-level and --console-log-level rather than the older --log-level
2018-06-02 10:10:32 +02:00
Kenneth SkovhedeandGitHub f8ef261f50 Merge pull request #3243 from warwickmm/remove_redundant_expression
Remove redundant expression
2018-06-02 10:08:29 +02:00
verhoek 4a0d6a2f5b Inline var declaration. 2018-05-27 13:12:59 +02:00