Skip to content

Commit

Permalink
Update project structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
Qiming Yuan committed Mar 23, 2017
1 parent 28233d6 commit c3fa59a
Show file tree
Hide file tree
Showing 519 changed files with 2,366 additions and 1,528 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ AppPackages/
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user

# Signing key
*.snk
4 changes: 2 additions & 2 deletions Dropbox.Api/AppProperties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

[assembly: AssemblyVersion("0.1.*")]
[assembly: AssemblyFileVersion("0.1.0.0")]
[assembly: AssemblyVersion("4.0.0")]
[assembly: AssemblyFileVersion("4.0.6291")]
598 changes: 598 additions & 0 deletions Dropbox.Api/Dropbox.Api.Doc.csproj

Large diffs are not rendered by default.

1,016 changes: 508 additions & 508 deletions Dropbox.Api/Dropbox.Api.Portable.csproj

Large diffs are not rendered by default.

1,016 changes: 508 additions & 508 deletions Dropbox.Api/Dropbox.Api.Portable40.csproj

Large diffs are not rendered by default.

1,016 changes: 508 additions & 508 deletions Dropbox.Api/Dropbox.Api.csproj

Large diffs are not rendered by default.

43 changes: 43 additions & 0 deletions Dropbox.Api/Dropbox.Api.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0"?>
<package>
<metadata>
<id>Dropbox.Api</id>
<version>4.2.4</version>
<title>Dropbox v2 API</title>
<authors>Dropbox Inc</authors>
<owners>Dropbox Inc</owners>
<licenseUrl>https://github.com/dropbox/dropbox-sdk-dotnet/blob/master/LICENSE</licenseUrl>
<projectUrl>https://www.dropbox.com/developers</projectUrl>
<iconUrl>https://cf.dropboxstatic.com/static/images/icons/blue_dropbox_glyph.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Portable class library for accessing the Dropbox v2 API</description>
<releaseNotes>
What's new:
- Update DropboxOauth2Helper to use versionless oauth2 endpoints.
- Use semantic versioning for AssemblyInfo.cs.
</releaseNotes>
<copyright>Copyright (c) Dropbox Inc. 2016</copyright>
<tags>Dropbox Api</tags>
<dependencies>
<group targetFramework="net45">
<dependency id="Newtonsoft.Json" version="7.0.1" />
</group>
<group targetFramework="portable-net45+wp80+win8+wpa81+dnxcore50">
<dependency id="Newtonsoft.Json" version="7.0.1" />
</group>
<group targetFramework="portable-net40+sl5+wp80+win8+wpa81">
<dependency id="Newtonsoft.Json" version="7.0.1" />
<dependency id="Microsoft.Bcl.Async" version="1.0.168" />
<dependency id="Microsoft.Net.Http" version="2.2.29" />
</group>
</dependencies>
</metadata>
<files>
<file src="bin\Release\net45\Dropbox.Api.dll" target="lib\net45\Dropbox.Api.dll" />
<file src="bin\Release\net45\Dropbox.Api.xml" target="lib\net45\Dropbox.Api.xml" />
<file src="bin\Release\portable\Dropbox.Api.dll" target="lib\portable-net45+wp80+win8+wpa81+dnxcore50\Dropbox.Api.dll" />
<file src="bin\Release\portable\Dropbox.Api.xml" target="lib\portable-net45+wp80+win8+wpa81+dnxcore50\Dropbox.Api.xml" />
<file src="bin\Release\portable40\Dropbox.Api.dll" target="lib\portable-net40+sl5+wp80+win8+wpa81\Dropbox.Api.dll" />
<file src="bin\Release\portable40\Dropbox.Api.xml" target="lib\portable-net40+sl5+wp80+win8+wpa81\Dropbox.Api.xml" />
</files>
</package>
4 changes: 2 additions & 2 deletions Dropbox.Api/DropboxOauth2Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public static Uri GetAuthorizeUri(OAuthResponseType oauthResponseType, string cl
queryBuilder.Append("&disable_signup=true");
}

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

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

var raw = await response.Content.ReadAsStringAsync();
var json = JObject.Parse(raw);
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit c3fa59a

Please sign in to comment.