Kenneth Hsu
afab61a05b
Use pattern matching to simplify casts.
2019-10-19 10:15:38 -07:00
Kenneth Hsu
14464d45a4
Fix incorrect Google Cloud Storage protocol in documentation.
...
This fixes issue #3941 .
2019-10-07 19:40:53 -07:00
BlueBlock
c0fa8641ad
Merge remote-tracking branch 'upstream/master' into update-framework-to-462
2019-08-16 23:53:27 -04:00
Rune Henriksen and GitHub
193a1a3ac3
Merge pull request #3860 from warwickmm/bugfix/gcs_storage_class_help
...
Fix Google Cloud storage class help text
2019-08-16 00:04:06 +02:00
warwickmm and GitHub
771c10c1dd
Merge pull request #3858 from BlueBlock/fix-googledrive-rename
...
Fix Backend Google Drive Rename() method
2019-08-15 09:58:02 -07:00
Kenneth Hsu
b542cc627b
Fix Google Cloud storage class help text.
...
This addresses issue #3857 .
2019-08-15 09:51:05 -07:00
BlueBlock
79aa0164f9
fix rename method
...
use the other methods to rename a file
2019-08-14 18:26:47 -04:00
BlueBlock
1fbdb466fa
filter out googledrive trashed items
2019-08-12 13:44:19 -04:00
BlueBlock
815e30b63b
update csproj toolverion and nuget packages
2019-07-31 13:20:03 -04:00
BlueBlock
08a1e9998a
initial upgrade to framework 4.6.2
...
- no code changes except those noted below
- projects upgrade to 4.6.2
- wixinstaller project upgraded automatically by VisualStudio
- wixinstaller updated to require 4.6.2
- Library.Encryption changed to Standard2.0 so accommodate update to SharpAesCrypt
2019-07-26 09:18:16 -04:00
Kenneth Hsu
be65f58059
Remove unused properties.
...
Although these are returned in the JSON from Google Cloud and Google
Drive, they are unused. Json.NET by default will ignore JSON properties
that do not have corresponding class properties.
2019-06-01 19:01:16 -07:00
Kenneth Hsu
d53f1a53d2
Remove unused property.
...
According to the Google Cloud v1 documentation, the prefixes property is
not returned by the Buckets:list method.
2019-05-30 20:40:02 -07:00
Kenneth Hsu
9905cbf8e2
Remove unused methods.
2019-05-27 21:21:04 -07:00
Kenneth Hsu
4d12b77b85
Disable warning about unused class.
2019-05-27 21:19:37 -07:00
Kenneth Hsu
399497708b
Remove unused method.
2019-05-27 21:13:00 -07:00
Kenneth Hsu
a4e990a859
Disable warning about unused class.
2019-05-27 21:10:21 -07:00
Kenneth Hsu
4332436102
Disable warning about unused class.
2019-05-27 21:09:54 -07:00
mukut1994
9101f898c7
Fix code review issues
2019-04-04 23:44:22 +01:00
mukut1994
6f34002aea
Add google team drive support
2019-04-04 23:30:59 +01:00
Sean Templeton
b02b19e683
Change Put method name to PutAsync
2019-03-17 18:28:45 -05:00
Sean Templeton
8bd4b825c8
Fix several Codacy issues
2019-03-13 21:51:05 -05:00
Sean Templeton
7843f837a4
Update Google Cloud and Drive backends for async Put
2019-03-05 21:08:25 -06:00
Sean Templeton
0c122ff550
Change IBackend and IStreamingBackend to return Task for Put()
2019-03-03 21:43:10 -06:00
Kenneth Hsu
953daae9bb
Fix quota reporting with GoogleDrive backend.
...
The second argument to QuotaInfo is the amount of free space.
Previously, we were providing the amount of bytes used.
2019-01-12 19:27:15 -08:00
verhoek
72b1f6b6f8
Updated project files.
2018-11-02 22:45:07 +01:00
verhoek
b2cc18426c
Renamed Library.IO to Library.Common.IO.
...
Moved basic Platform functions to Library.Common.Platform.
Turned IO_OS into property within Library.Common.
2018-11-02 21:34:07 +01:00
verhoek
bc053df294
Moved basic IO helper functions to Library.IO.
2018-10-27 12:17:07 +02:00
Kenneth Hsu
07c1d85b4a
Remove empty statements.
2018-10-10 21:22:31 -07:00
Kenneth Hsu
d4d1945faf
Use utility method to append trailing slash.
...
This removes some duplicated code.
2018-09-22 10:19:45 -07:00
Kenneth Hsu
eea479e056
Fix URL for Google Cloud Storage backend.
...
This fixes an issue where Google Cloud Storage users encountered the
following exception:
System.Net.WebException: The remote server returned an error: (404) Not Found.
The refactoring in revision 18de687530 ("Updated Put and Createfolder
using WebApi") omitted the "/o" in the endpoint for object uploads.
This addresses issue #3328 .
2018-08-24 22:31:05 -07:00
Kenneth Skovhede
c4b564358c
Spelling fixes
2018-08-12 22:33:21 +02:00
Kenneth Skovhede
e9850224e2
Made the gcs backend available again.
2018-06-18 15:05:02 +02:00
verhoek
a850ed8f26
Removed inheritance in favor of separation of googledrive / cloud storage api.
2018-06-11 10:19:03 +02:00
verhoek
441d893a49
Changes to make codacy happier.
2018-06-09 14:19:18 +02:00
verhoek
bc826b2300
Tidy up.
2018-06-09 11:07:13 +02:00
verhoek
2a964e0146
Reordered private and statics.
2018-06-09 11:04:12 +02:00
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
verhoek
40b83fe2dc
Moved out AboutInfoUrl and CreateFolderUrl.
2018-06-03 19:46:54 +02:00
Kenneth Hsu
afdae80716
Fix line ending issues.
2018-06-02 13:19:49 -07: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
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
verhoek
cac891d187
Added BucketObjectPath helper method.
2018-05-20 11:10:37 +02:00
verhoek
13ef221196
Updated Rename method.
2018-05-20 10:57:49 +02:00
verhoek
745b77da23
Renamed WebApi GoogleCloudServices to GoogleCloudStorage. Refactored Get. Fixed Layout.
2018-05-20 10:50:37 +02:00
verhoek
18de687530
Updated Put and Createfolder using WebApi.
2018-05-19 23:06:02 +02:00