verhoek
65f079e745
Made bucketobjectpath private.
2018-06-09 10:58:34 +02:00
verhoek
7b5779ca5d
Merge remote-tracking branch 'origin' into webapi/googlecloudstorage
...
# Conflicts:
# Duplicati/Library/Backend/GoogleServices/GCSConfig.cs (line endings)
# Duplicati/Library/Backend/GoogleServices/GoogleCloudStorage.cs (readonly)
2018-06-09 08:49:23 +02:00
verhoek
c1832cab4e
Fixed incorrect line endings.
2018-06-09 08:30:39 +02:00
fgonzalez
f909e5eeac
Folder can't be created previous to applymetadata
2018-06-08 12:53:56 +02:00
snamds and GitHub
72eabc32de
Merge branch 'symlink_restore' into master
2018-06-08 12:39:59 +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 Skovhede and GitHub
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
fgonzalez
da35cf9fbc
Let Alphaleonis create the relative path as it was stored
2018-06-08 09:05:56 +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
fgonzalez
f10ace86fc
- Fix. Alphaleonis.Win32.Filesystem.File.CreateSymbolicLink wrong parameters order ¿?¿?¿?
...
- Fix. Relative target links didn't work
- Fix. Folder was created previous symlink creation
2018-06-07 14:55:24 +02:00
Kenneth Skovhede and GitHub
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 Skovhede and GitHub
c5c13ab242
Merge pull request #3257 from warwickmm/remove_redundant_tostring
...
Remove redundant calls to ToString
2018-06-07 13:36:20 +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 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
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
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 and GitHub
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 Skovhede and GitHub
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 Skovhede and GitHub
3b6c2b61d5
Merge pull request #3242 from warwickmm/remove_ineffective_statements
...
Remove ineffective statements
2018-06-04 10:40:32 +02:00
verhoek
40b83fe2dc
Moved out AboutInfoUrl and CreateFolderUrl.
2018-06-03 19:46:54 +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
20f2f37806
Remove unnecessary calls to String.Format.
2018-06-02 12:02:55 -07:00
Kenneth Skovhede and GitHub
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
verhoek
c063fde018
Moved ListUrl, PutUrl and DeleteUrl to WebApi.
2018-06-01 16:21:28 +02:00
verhoek
83679c0f12
Moved Rename and Get Url to Google WebAPI.
2018-05-30 08:22:00 +02:00
verhoek
3691d6dfdf
Initiated basic unit tests to ensure correct url helper functions.
2018-05-29 22:13:09 +02:00
verhoek
1ba8814d76
Started moving url specific construction to webapi.
2018-05-28 08:29:23 +02:00
verhoek
4a0d6a2f5b
Inline var declaration.
2018-05-27 13:12:59 +02:00
verhoek
6287d369b1
Reverted accidental removing of static for SystemContextSettings.
2018-05-27 13:12:06 +02:00
verhoek
625db54f14
Throw proper exception. Removed unused imports.
2018-05-27 13:10:01 +02:00
verhoek
a9b88ab2ab
Return default settings in case no startcontext was previously called
...
by returning a null contextid.
2018-05-27 10:23:22 +02:00
verhoek
a108e328b6
Fix codacy issues.
2018-05-26 23:27:39 +02:00
verhoek
3fd6c3c602
Merge remote-tracking branch 'origin' into feature/tempdir
2018-05-26 22:55:29 +02:00
verhoek
e80f30f8a9
Added multiple context setting keys to callcontextsettings, exploiting
...
reflection. Contextsettings don't destroy each other anymore.
2018-05-26 21:56:15 +02:00
Kenneth Hsu
bbe65f9dfb
Remove ineffective statements.
...
The removed code was introduced in revision ba58651e5a ("Fix for
CreateFolder with SSH"), presumably to fix an issue where some SSH
backends did not like the trailing slash when creating new folders.
However, since we are not using the output argument of the call to
Substring, these statements have no effect.
2018-05-26 10:36:50 -07:00
Kenneth Hsu
f12858e6a5
Mark fields that shouldn't be reassigned as readonly.
...
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2018-05-25 10:04:52 -07:00
Kenneth Hsu
ee8788d08e
Use Equals to compare CultureInfo instances.
...
Since the Equals method is overridden in the CultureInfo class, we
should use it instead of the == operator to compare two instances.
2018-05-25 10:04:28 -07:00
Tyler Gill
8131e85581
(MS Graph) When the delete operation fails due to a 'file not found' error, we don't need to bubble up an exception.
2018-05-25 09:18:20 -06:00
Tyler Gill
8acc9ba5c9
Blocksets with a length of 0 are not broken if the block they reference by hash is not listed.
2018-05-24 15:22:05 -06:00
Kenneth Skovhede and GitHub
a7575d6bda
Merge pull request #3229 from verhoek/bugs/commandline
...
Bugfixes commandline
2018-05-24 11:28:40 +02:00
verhoek
4972c9c865
Merge branch 'webapi/googlecloudstorage' of https://github.com/verhoek/duplicati into webapi/googlecloudstorage
2018-05-23 21:20:31 +02:00
verhoek
bbf5d71782
Merge branch 'master' into webapi/googlecloudstorage
2018-05-23 20:14:06 +02:00