Kenneth Skovhede
0f9669b273
Final conversion to async backends
...
This PR is the final change, where all backends are now purely implemented with async interfaces.
The code changes here replace the LIST call with an async version. This affect all backends (and then some) but the changes are mostly mechanical rewrites of the code.
In many places, the backeds were already prepared for async output, in other some glue was needed.
To reduce the scope of this change, some backends simply report a synchronous result as an async list.
2025-02-17 16:45:51 +01:00
Kenneth Skovhede and GitHub
9464caf622
Feature/update license 2025 ( #5851 )
...
* Fixed some minor whitespace issues
* Updated all copyright to 2025
2025-01-07 09:40:39 +01:00
Kenneth Skovhede and GitHub
447c2b3238
Feature/improve ci testing ( #5781 )
...
* Added options to insert delays in backend tester
* Added wait delays to Azure and GoogleDrive to see it the CI is more stable with small delays
* Added more debug output to the backend tester
* Fixed dropbox reporting OAuth quota errors, when it is likely Dropbox API quota errors
* Implemented exception detection on AzureBlob backend
* Also showing sleep times in output
* Fixed a bug with the dropbox quota response
* Fixed error message to report correct number of files
* Fixed suppressed warning
2024-12-20 16:10:08 +01:00
Kenneth Skovhede
586c08522e
Implemented async method for Test, CreateFolder and Quota in all backends.
...
Still missing the List and DNSHostnames.
The AsyncRequest class is also preventing many backends from fully upgrading.
2024-10-01 09:30:02 +02:00
Kenneth Skovhede
ecf2e8b551
Implemented DeleteAsync on all backends
2024-09-29 23:04:54 +02:00
Kenneth Skovhede
e3e3d1305f
Implemented async version of Get for all backends.
2024-09-29 22:00:57 +02:00
Kenneth Skovhede
40dd3c6816
Updated all license mentions to MIT
2024-02-28 15:45:30 +01:00
Kenneth Skovhede
b267b2b744
Added detection of access token types.
...
This fixes #4667
2022-02-23 21:58:04 +01: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
Kenneth Hsu
afab61a05b
Use pattern matching to simplify casts.
2019-10-19 10:15:38 -07: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
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
Kenneth Hsu
b5d9451b33
Remove redundant casts.
2019-01-21 19:30:52 -08: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
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 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
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
ee23428a0d
Ensure that Auth token is always added to API calls in DropBox.
2016-09-07 19:40:03 +02:00
Kenneth Skovhede
03dde1cf8f
Style fixes to the DropBox backend
2016-07-07 13:44:19 +02:00
Wim Vancroonenburg
9154d71154
Initial implementation of Dropbox backend. Needs errorhandling
2016-04-13 09:16:12 +02:00