Max
b008aed1f3
migrate to net5 + runnable
2020-06-03 00:00:38 +02:00
Max
c882953fdd
upstream
2020-05-31 13:50:13 +02:00
Kenneth Skovhede
f0891ef4fd
Added error handling to the Dropbox backend for cases where the Dropbox server responds with invalid JSON in the error message.
2020-05-10 14:15:35 +02:00
Max
7e2218663e
Add Compat Analyzers
2019-12-25 19:08:52 +01:00
Max
28793ef204
packages update
2019-12-25 18:21:24 +01:00
Max
41a5591532
upstream
2019-12-25 16:34:56 +01:00
Kenneth Hsu
afab61a05b
Use pattern matching to simplify casts.
2019-10-19 10:15:38 -07:00
BlueBlock
815e30b63b
update csproj toolverion and nuget packages
2019-07-31 13:20:03 -04:00
Max
7aea21ef35
upstream
2019-07-28 12:44:20 +02: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
5c3c6e6417
Make property static.
2019-05-27 09:57:18 -07:00
Kenneth Hsu
906e290158
Disable warning about unused properties.
...
While these properties are unused, the Dropbox API v2 documentation does
not declare these to be optional.
2019-05-26 19:13:22 -07:00
Kenneth Hsu
5716f6c1ee
Remove unused properties.
...
According to the Dropbox API v2 documentation, these are optional.
2019-05-26 19:08:11 -07:00
Kenneth Hsu
e9cc733b93
Disable warning about unused property.
2019-05-17 21:13:53 -07:00
Kenneth Hsu
0fa688078a
Disable warnings about unused constructors.
2019-05-17 21:13:53 -07:00
Kenneth Hsu
28e99e7c7e
Disable warning about unused class.
2019-05-17 21:13:53 -07:00
Michal Naiman
ad2105aeb2
NuGet packages update
2019-05-01 09:28:46 +02:00
Michal Naiman
1bc1e58737
upstream
2019-04-28 13:45:26 +02: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
4ca067a8f2
Update Dropbox and File 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
b5d9451b33
Remove redundant casts.
2019-01-21 19:30:52 -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
71c6aca8a7
Fixed IO calls in Filebackend.
...
Moved FileEntry to Library.IO due to AlphaFS not implementing
System.IO.FileInfo/DirectoryInfo.
2018-11-01 17:56:48 +01:00
verhoek
d932069b99
Fixed incorrect download files string.
2018-10-24 09:40:16 +02:00
verhoek
0752e0af0d
Moved content api strings to webapi.
2018-10-23 16:21:36 +02:00
verhoek
1db6504dea
Replaced paths in formatted strings to inner class.
2018-10-23 16:02:14 +02:00
verhoek
630f810cdd
Added listfiles url to dropbox's webapi.
2018-10-23 15:46:35 +02:00
verhoek
ab86df2ebb
Merge branch 'master' into webapi/dropbox
2018-10-23 15:34:00 +02:00
Kenneth Hsu
9e0b031fee
Remove unused members.
2018-10-15 21:20:30 -07:00
Max
30fab22340
unsinged whole solution
2018-09-09 14:21:55 +02:00
Max
e4997f1efc
upstream
2018-06-24 12:49:51 +02:00
verhoek
f1088b8080
Factored out createfolder.
2018-06-23 19:58:56 +02:00
verhoek
d114b26ade
Fix name issue.
2018-06-23 19:45:11 +02:00
verhoek
ad5ae922f7
Unnecessary imports removed.
2018-06-23 19:44:16 +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
Max
f5672f69d9
upgrade .net to 4.6.2
2018-03-25 22:00:45 +02:00
Max
cb3d830e8e
dependencies corrections
2018-03-24 18:36:26 +01:00
Max
d3d494b574
backends ported
2018-03-24 17:48:26 +01:00
Kenneth Skovhede
bd863016fa
Added support for returning multiple DNS names for cache invalidation.
...
Updated most backends to return the actual DNS names for cache invalidation.
2018-02-26 11:37:10 +01:00
Rune Henriksen
fc77b476fc
changed from NYI to null returns. Added check to skip DNS check if no DNSName is provided
2018-02-21 22:38:01 +01:00
Rune Henriksen
00292953c3
added DNSName getter on Backend interface and added NotImplementedException methods on each backend class
2018-02-18 00:18:44 +01:00
vnau
9b9d9b1297
Fixed compiler warnings.
2017-12-17 01:34:21 +07:00
Kenneth Hsu
8810e0130d
Make string comparisons use ordinal (binary) sort rules.
...
These string comparisons should not be culture-aware.
2017-11-26 11:19:54 -08:00
Tyler Gill
b3a3911d98
Change from wrapping yield returning methods with methods that do a try/catch, since they don't work due to lazy evaluation.
2017-09-25 23:19:31 -06:00
Tyler Gill
38883285ee
Change IBackend.List() to return IEnumerable instead of List
...
By changing to IEnumerable, it is possible to iterate only a portion of the list, which is useful when not all entries are needed (e.g., when testing a connection).
All existing backends have been updated, and any which were able to be changed to yield return results in a straightforward way now do.
Many backends had a try/catch in the List() method. Due to the fact that yield returns can't be placed within a try/catch block, these have been refactored to either scope the try/catch to the parts that (should) be the only places throwing exceptions, so that exceptions are still caught and handled.
Note that lazy evaluation may cause some changes in behavior - exceptions that were previously thrown at the point of invokation of List() may now be thrown while it is being enumerated.
I believe this will not be problematic though, as the only well-known exception seems to be FolderMissingException, which should be thrown by Test(), but TestList() attempts to enumerate the list to force this exception.
Any places that require the legacy behavior can get it by simply converting the lazy enumerable to a List()
2017-09-25 23:17:45 -06:00
Kenneth Skovhede
5cae6ca60e
Additional updates to NewtonSoft.Json
2017-09-23 14:46:14 +02:00
Kenneth Skovhede
046b522a8d
Updated NewtonSoft.Json
2017-05-17 11:08:51 +02:00