Skip to content

Commit becee18

Browse files
authored
Fix bug allowing support for SLT in Team Client (#124)
- Fix bug allowing support for SLT in Team Client - Fix typo bug in dropboxRequestHandler.cs and ITransport.cs resposneDecoder => responseDecoder
1 parent 9f432b5 commit becee18

File tree

8 files changed

+202
-153
lines changed

8 files changed

+202
-153
lines changed

LICENSE

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Copyright (c) 2015-2017 Dropbox Inc., http://www.dropbox.com/
2+
3+
Permission is hereby granted, free of charge, to any person obtaining
4+
a copy of this software and associated documentation files (the
5+
"Software"), to deal in the Software without restriction, including
6+
without limitation the rights to use, copy, modify, merge, publish,
7+
distribute, sublicense, and/or sell copies of the Software, and to
8+
permit persons to whom the Software is furnished to do so, subject to
9+
the following conditions:
10+
11+
The above copyright notice and this permission notice shall be
12+
included in all copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

buildall.ps1

Lines changed: 3 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -19,66 +19,13 @@ $nugetPath = "$nugetDir\nuget.exe"
1919
$nugetSpecPath = "$sourceDir\Dropbox.Api.nuspec"
2020
$docBuildPath = Resolve-Path "doc\StoneDocs.shfbproj"
2121
$majorVersion = "5.0"
22-
$releaseVersion = "5.0.0"
22+
$releaseVersion = "5.1.0"
2323
$assemblyInfoPath = "$sourceDir\AppProperties\AssemblyInfo.cs"
2424
$signKeyPath = "$sourceDir\dropbox_api_key.snk"
2525
$releaseNotes = @'
2626
Change Notes:
27-
- Move officially supported versions to Net45 and NetStandard2.0
28-
- Migrate from VS2015 to VS2017 build system
29-
- Move all build targets into single CSProj file
30-
31-
- Add support for PKCE oauth flow
32-
- Add PKCE Oauth Example
33-
- Add System.Security.Cryptography as dependency
34-
35-
(49cee186b12822462483dbca08dfb1335f55efbf)
36-
Files Namespace
37-
- Add internal_error to SearchError union.
38-
- Add locked to LookupError union.
39-
- Add cant_move_into_vault to RelocationError union.
40-
- Add MoveIntoVaultError union.
41-
- Add SearchMatchFieldOptions struct.
42-
- Add optional match_field_options to SearchV2Arg struct.
43-
- Doc/example changes.
44-
45-
Sharing Namespace
46-
- Add is_vault to SharePathError union.
47-
- Add invalid_shared_folder to AddFolderMemberError union.
48-
49-
Team Namespace
50-
- Make members field of LegalHoldsPolicyUpdateArg struct optional.
51-
- Add app_folder_removal_not_supported to RevokeLinkedAppError union.
52-
- Doc/example changes.
53-
54-
Team Log Namespace
55-
- Add auto_approve to InviteMethod union.
56-
- Add moved_from_another_team to InviteMethod union.
57-
- Add moved_from_another_team to MemberStatus union.
58-
- Add no_one to SharedLinkVisibility union.
59-
- Add optional new_team to MemberChangeStatusDetails struct.
60-
- Add optional previous_team to MemberChangeStatusDetails struct.
61-
- Add external_sharing_create_report_details to EventDetails union.
62-
- Add external_sharing_report_failed to EventDetails union.
63-
- Add content_administration_policy_changed_details to EventDetails
64-
union.
65-
- Add external_sharing_create_report to EventType union.
66-
- Add external_sharing_report_failed to EventType union.
67-
- Add content_administration_policy_changed to EventType union.
68-
- Add send_for_signature_policy_changed_details to EventDetails union.
69-
- Add external_sharing_create_report to EventTypeArgs union.
70-
- Add external_sharing_report_failed to EventTypeArgs union.
71-
- Add content_administration_policy_changed to EventTypeArgs union.
72-
- Add send_for_signature_policy_changed to EventTypeArgs union.
73-
- Add SendForSignaturePolicy union.
74-
- Add ExternalSharingCreateReportDetails struct.
75-
- Add ExternalSharingReportFailedDetails struct.
76-
- Add ContentAdministrationPolicyChangedDetails struct.
77-
- Add SendForSignaturePolicyChangedDetails struct.
78-
- Add ExternalSharingCreateReportType struct.
79-
- Add ExternalSharingReportFailedType struct.
80-
- Add ContentAdministrationPolicyChangedType struct.
81-
- Add SendForSignaturePolicyChangedType struct.
27+
- Fix bug to add support for short-lived tokens to team client
28+
- Fix typo in DropboxRequestHandler
8229
'@
8330

8431
$builds = @(

dropbox-sdk-dotnet/Dropbox.Api/AppProperties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
[assembly: AssemblyCulture("")]
1919

2020
[assembly: AssemblyVersion("5.0.0")]
21-
[assembly: AssemblyFileVersion("5.0.7528")]
21+
[assembly: AssemblyFileVersion("5.0.7558")]
2222

2323
#if DEBUG
2424
[assembly: InternalsVisibleTo("Dropbox.Api.Tests")]

dropbox-sdk-dotnet/Dropbox.Api/Dropbox.Api.nuspec

Lines changed: 6 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -2,72 +2,19 @@
22
<package>
33
<metadata>
44
<id>Dropbox.Api</id>
5-
<version>5.0.0</version>
5+
<version>5.1.0</version>
66
<title>Dropbox v2 API</title>
77
<authors>Dropbox Inc</authors>
88
<owners>Dropbox Inc</owners>
9-
<licenseUrl>https://github.com/dropbox/dropbox-sdk-dotnet/blob/master/LICENSE</licenseUrl>
9+
<license type="expression">MIT</license>
1010
<projectUrl>https://www.dropbox.com/developers</projectUrl>
11-
<iconUrl>https://cf.dropboxstatic.com/static/images/icons/blue_dropbox_glyph.png</iconUrl>
11+
<icon>images\icon.png</icon>
1212
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1313
<description>Portable class library for accessing the Dropbox v2 API</description>
1414
<releaseNotes>
1515
Change Notes:
16-
- Move officially supported versions to Net45 and NetStandard2.0
17-
- Migrate from VS2015 to VS2017 build system
18-
- Move all build targets into single CSProj file
19-
20-
- Add support for PKCE oauth flow
21-
- Add PKCE Oauth Example
22-
- Add System.Security.Cryptography as dependency
23-
24-
(49cee186b12822462483dbca08dfb1335f55efbf)
25-
Files Namespace
26-
- Add internal_error to SearchError union.
27-
- Add locked to LookupError union.
28-
- Add cant_move_into_vault to RelocationError union.
29-
- Add MoveIntoVaultError union.
30-
- Add SearchMatchFieldOptions struct.
31-
- Add optional match_field_options to SearchV2Arg struct.
32-
- Doc/example changes.
33-
34-
Sharing Namespace
35-
- Add is_vault to SharePathError union.
36-
- Add invalid_shared_folder to AddFolderMemberError union.
37-
38-
Team Namespace
39-
- Make members field of LegalHoldsPolicyUpdateArg struct optional.
40-
- Add app_folder_removal_not_supported to RevokeLinkedAppError union.
41-
- Doc/example changes.
42-
43-
Team Log Namespace
44-
- Add auto_approve to InviteMethod union.
45-
- Add moved_from_another_team to InviteMethod union.
46-
- Add moved_from_another_team to MemberStatus union.
47-
- Add no_one to SharedLinkVisibility union.
48-
- Add optional new_team to MemberChangeStatusDetails struct.
49-
- Add optional previous_team to MemberChangeStatusDetails struct.
50-
- Add external_sharing_create_report_details to EventDetails union.
51-
- Add external_sharing_report_failed to EventDetails union.
52-
- Add content_administration_policy_changed_details to EventDetails
53-
union.
54-
- Add external_sharing_create_report to EventType union.
55-
- Add external_sharing_report_failed to EventType union.
56-
- Add content_administration_policy_changed to EventType union.
57-
- Add send_for_signature_policy_changed_details to EventDetails union.
58-
- Add external_sharing_create_report to EventTypeArgs union.
59-
- Add external_sharing_report_failed to EventTypeArgs union.
60-
- Add content_administration_policy_changed to EventTypeArgs union.
61-
- Add send_for_signature_policy_changed to EventTypeArgs union.
62-
- Add SendForSignaturePolicy union.
63-
- Add ExternalSharingCreateReportDetails struct.
64-
- Add ExternalSharingReportFailedDetails struct.
65-
- Add ContentAdministrationPolicyChangedDetails struct.
66-
- Add SendForSignaturePolicyChangedDetails struct.
67-
- Add ExternalSharingCreateReportType struct.
68-
- Add ExternalSharingReportFailedType struct.
69-
- Add ContentAdministrationPolicyChangedType struct.
70-
- Add SendForSignaturePolicyChangedType struct.
16+
- Fix bug to add support for short-lived tokens to team client
17+
- Fix typo in DropboxRequestHandler
7118
</releaseNotes>
7219
<copyright>Copyright (c) Dropbox Inc. 2016</copyright>
7320
<tags>Dropbox Api</tags>
@@ -81,6 +28,7 @@ union.
8128
</dependencies>
8229
</metadata>
8330
<files>
31+
<file src="..\..\icon.png" target="images\" />
8432
<file src="bin\Release\net45\Dropbox.Api.dll" target="lib\net45\Dropbox.Api.dll" />
8533
<file src="bin\Release\net45\Dropbox.Api.xml" target="lib\net45\Dropbox.Api.xml" />
8634
<file src="bin\Release\netstandard2.0\Dropbox.Api.dll" target="lib\netstandard2.0\Dropbox.Api.dll" />

0 commit comments

Comments
 (0)