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
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
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
Kenneth Skovhede
52eb8e8478
Disabled MSBuild for much faster builds on MacOS
2016-12-29 23:12:41 +01:00
Kenneth Skovhede
0c68daff6c
Fixed all whitespace to be 4 spaces instead of tabs
2016-09-15 11:39:27 +02:00
Kenneth Skovhede
908b7fd5fc
Fixed chunksize to work correctly regardless of the default buffer size and Dropbox chunk size
2016-09-08 16:48:44 +02:00
Kenneth Skovhede
a449bb0149
Minor fixes to Dropbox backend to better report errors
2016-09-08 15:04:11 +02:00
Kenneth Skovhede
3eb9b4b8d7
Renamed DropBox to Dropbox
2016-09-07 19:49:45 +02:00
Kenneth Skovhede
ee23428a0d
Ensure that Auth token is always added to API calls in DropBox.
2016-09-07 19:40:03 +02:00
Kenneth Skovhede
befa815845
Added various localizable strings to the Dropbox module
2016-09-07 19:26:12 +02:00
Kenneth Skovhede
1d81c20213
Fixed assembly version in DropBox module to prevent unwanted changes during the build process
2016-08-10 09:57:11 +02:00
Kenneth Skovhede
03dde1cf8f
Style fixes to the DropBox backend
2016-07-07 13:44:19 +02:00
Wim Vancroonenburg
d6f4e5cdca
setup JSON.net dependency for dropbox backend
2016-06-29 14:48:23 +02:00
Wim Vancroonenburg
9154d71154
Initial implementation of Dropbox backend. Needs errorhandling
2016-04-13 09:16:12 +02:00