Skip to content

Commit c3fa59a

Browse files
author
Qiming Yuan
committed
Update project structure.
1 parent 28233d6 commit c3fa59a

File tree

519 files changed

+2366
-1528
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

519 files changed

+2366
-1528
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,6 @@ AppPackages/
4545
_ReSharper*/
4646
*.[Rr]e[Ss]harper
4747
*.DotSettings.user
48+
49+
# Signing key
50+
*.snk

Dropbox.Api/AppProperties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
[assembly: AssemblyTrademark("")]
1818
[assembly: AssemblyCulture("")]
1919

20-
[assembly: AssemblyVersion("0.1.*")]
21-
[assembly: AssemblyFileVersion("0.1.0.0")]
20+
[assembly: AssemblyVersion("4.0.0")]
21+
[assembly: AssemblyFileVersion("4.0.6291")]

Dropbox.Api/Dropbox.Api.Doc.csproj

Lines changed: 598 additions & 0 deletions
Large diffs are not rendered by default.

Dropbox.Api/Dropbox.Api.Portable.csproj

Lines changed: 508 additions & 508 deletions
Large diffs are not rendered by default.

Dropbox.Api/Dropbox.Api.Portable40.csproj

Lines changed: 508 additions & 508 deletions
Large diffs are not rendered by default.

Dropbox.Api/Dropbox.Api.csproj

Lines changed: 508 additions & 508 deletions
Large diffs are not rendered by default.

Dropbox.Api/Dropbox.Api.nuspec

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version="1.0"?>
2+
<package>
3+
<metadata>
4+
<id>Dropbox.Api</id>
5+
<version>4.2.4</version>
6+
<title>Dropbox v2 API</title>
7+
<authors>Dropbox Inc</authors>
8+
<owners>Dropbox Inc</owners>
9+
<licenseUrl>https://github.com/dropbox/dropbox-sdk-dotnet/blob/master/LICENSE</licenseUrl>
10+
<projectUrl>https://www.dropbox.com/developers</projectUrl>
11+
<iconUrl>https://cf.dropboxstatic.com/static/images/icons/blue_dropbox_glyph.png</iconUrl>
12+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
13+
<description>Portable class library for accessing the Dropbox v2 API</description>
14+
<releaseNotes>
15+
What's new:
16+
- Update DropboxOauth2Helper to use versionless oauth2 endpoints.
17+
- Use semantic versioning for AssemblyInfo.cs.
18+
</releaseNotes>
19+
<copyright>Copyright (c) Dropbox Inc. 2016</copyright>
20+
<tags>Dropbox Api</tags>
21+
<dependencies>
22+
<group targetFramework="net45">
23+
<dependency id="Newtonsoft.Json" version="7.0.1" />
24+
</group>
25+
<group targetFramework="portable-net45+wp80+win8+wpa81+dnxcore50">
26+
<dependency id="Newtonsoft.Json" version="7.0.1" />
27+
</group>
28+
<group targetFramework="portable-net40+sl5+wp80+win8+wpa81">
29+
<dependency id="Newtonsoft.Json" version="7.0.1" />
30+
<dependency id="Microsoft.Bcl.Async" version="1.0.168" />
31+
<dependency id="Microsoft.Net.Http" version="2.2.29" />
32+
</group>
33+
</dependencies>
34+
</metadata>
35+
<files>
36+
<file src="bin\Release\net45\Dropbox.Api.dll" target="lib\net45\Dropbox.Api.dll" />
37+
<file src="bin\Release\net45\Dropbox.Api.xml" target="lib\net45\Dropbox.Api.xml" />
38+
<file src="bin\Release\portable\Dropbox.Api.dll" target="lib\portable-net45+wp80+win8+wpa81+dnxcore50\Dropbox.Api.dll" />
39+
<file src="bin\Release\portable\Dropbox.Api.xml" target="lib\portable-net45+wp80+win8+wpa81+dnxcore50\Dropbox.Api.xml" />
40+
<file src="bin\Release\portable40\Dropbox.Api.dll" target="lib\portable-net40+sl5+wp80+win8+wpa81\Dropbox.Api.dll" />
41+
<file src="bin\Release\portable40\Dropbox.Api.xml" target="lib\portable-net40+sl5+wp80+win8+wpa81\Dropbox.Api.xml" />
42+
</files>
43+
</package>

Dropbox.Api/DropboxOauth2Helper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ public static Uri GetAuthorizeUri(OAuthResponseType oauthResponseType, string cl
251251
queryBuilder.Append("&disable_signup=true");
252252
}
253253

254-
var uriBuilder = new UriBuilder("https://www.dropbox.com/1/oauth2/authorize")
254+
var uriBuilder = new UriBuilder("https://www.dropbox.com/oauth2/authorize")
255255
{
256256
Query = queryBuilder.ToString()
257257
};
@@ -372,7 +372,7 @@ public static async Task<OAuth2Response> ProcessCodeFlowAsync(string code, strin
372372
}
373373

374374
var content = new FormUrlEncodedContent(parameters);
375-
var response = await httpClient.PostAsync("https://api.dropbox.com/1/oauth2/token", content);
375+
var response = await httpClient.PostAsync("https://api.dropbox.com/oauth2/token", content);
376376

377377
var raw = await response.Content.ReadAsStringAsync();
378378
var json = JObject.Parse(raw);
File renamed without changes.

0 commit comments

Comments
 (0)