diff --git a/Yavsc.Api/Helpers/SimpleJsonPostMethod.cs b/Yavsc.Api/Helpers/SimpleJsonPostMethod.cs deleted file mode 100644 index bb1ba918..00000000 --- a/Yavsc.Api/Helpers/SimpleJsonPostMethod.cs +++ /dev/null @@ -1,99 +0,0 @@ -// -// PostJson.cs -// -// Author: -// Paul Schneider -// -// Copyright (c) 2015 Paul Schneider -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Lesser General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public License -// along with this program. If not, see . -using System.Net; -using System.IO; -using System.Threading.Tasks; -using Newtonsoft.Json; -using System; -using System.Json; - -namespace Yavsc.Helpers -{ - /// - /// Simple json post method. - /// - public class SimpleJsonPostMethod : IDisposable - { - private HttpWebRequest request=null; - - /// - /// Initializes a new instance of the Yavsc.Helpers.SimpleJsonPostMethod class. - /// - /// Path to method. - public SimpleJsonPostMethod (string pathToMethod, string authorizationHeader = null) - { - request = (HttpWebRequest) WebRequest.Create (pathToMethod); - request.Method = "POST"; - request.Accept = "application/json"; - request.ContentType = "application/json"; - request.SendChunked = true; - request.TransferEncoding = "UTF-8"; - if (authorizationHeader!=null) - request.Headers["Authorization"]=authorizationHeader; - } - - public void Dispose() - { - request.Abort(); - } - - /// - /// Invoke the specified query. - /// - /// Query. - public TAnswer Invoke(object query) - { - - using (Stream streamQuery = request.GetRequestStream()) { - using (StreamWriter writer = new StreamWriter(streamQuery)) { - writer.Write (JsonConvert.SerializeObject(query)); - }} - TAnswer ans = default (TAnswer); - using (WebResponse response = request.GetResponse ()) { - using (Stream responseStream = response.GetResponseStream ()) { - using (StreamReader rdr = new StreamReader (responseStream)) { - ans = (TAnswer) JsonConvert.DeserializeObject (rdr.ReadToEnd ()); - } - } - response.Close(); - } - return ans; - } - - public async Task InvokeJson(object query) - { - JsonValue jsonDoc=null; - using (Stream streamQuery = request.GetRequestStream()) { - using (StreamWriter writer = new StreamWriter(streamQuery)) { - writer.Write (JsonConvert.SerializeObject(query)); - }} - using (WebResponse response = request.GetResponse ()) { - using (Stream stream = response.GetResponseStream ()) { - if (stream.Length>0) - jsonDoc = await Task.Run (() => JsonObject.Load (stream)); - } - response.Close(); - } - return jsonDoc; - } - } -} - diff --git a/Yavsc.Api/Model/package.json b/Yavsc.Api/Model/package.json deleted file mode 100644 index e43a2b3f..00000000 --- a/Yavsc.Api/Model/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "Yavsc.Api", - "version": "0.0.0", - "devDependencies": { - "gulp": "^3.9.0" - } -} diff --git a/Yavsc.Api/Yavsc.Server.Api.xproj b/Yavsc.Api/Yavsc.Server.Api.xproj deleted file mode 100644 index 8a37d844..00000000 --- a/Yavsc.Api/Yavsc.Server.Api.xproj +++ /dev/null @@ -1,21 +0,0 @@ - - - - 14.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - - - - 5c3248ac-cae0-4324-8a70-08f2dca9fb08 - Yavsc.Api - .\obj - .\bin\ - - - 2.0 - - - True - - - \ No newline at end of file diff --git a/Yavsc.Api/Yavsc.Server.Api.xproj.user b/Yavsc.Api/Yavsc.Server.Api.xproj.user deleted file mode 100644 index d121623b..00000000 --- a/Yavsc.Api/Yavsc.Server.Api.xproj.user +++ /dev/null @@ -1,6 +0,0 @@ - - - - Démarrer - - \ No newline at end of file diff --git a/Yavsc.Api/dist.sh b/Yavsc.Api/dist.sh deleted file mode 100755 index d9f11511..00000000 --- a/Yavsc.Api/dist.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -dnu pack -cp -a bin/Debug/*.nupkg ~/Nupkgs -(cd ../Yavsc && dnu install Yavsc.Api) -(cd ../testOauthClient && dnu install Yavsc.Api) - - diff --git a/Yavsc.Api/project.json b/Yavsc.Api/project.json deleted file mode 100644 index 8af86670..00000000 --- a/Yavsc.Api/project.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "version": "1.0.0-*", - "description": "Api Class Library", - "authors": [ - "Class Library template" - ], - "tags": [ - "" - ], - "projectUrl": "", - "licenseUrl": "", - "tooling": { - "defaultNamespace": "Yavsc" - }, - "dependencies": { - "EntityFramework.Commands": "7.0.0-rc1-*", - "EntityFramework.Core": "7.0.0-rc1-*", - "EntityFramework.MicrosoftSqlServer": "7.0.0-rc1-*", - "EntityFramework.Relational": "7.0.0-rc1-*", - "Microsoft.AspNet.Identity.EntityFramework": "3.0.0-rc1-*", - "Newtonsoft.Json": "9.0.1", - "System.Json": "4.0.20126.16343" - }, - "frameworks": { - "net451": { - "dependencies": { - } - } - } -} diff --git a/Yavsc.Api/project.lock.json b/Yavsc.Api/project.lock.json deleted file mode 100644 index b20e6f25..00000000 --- a/Yavsc.Api/project.lock.json +++ /dev/null @@ -1,3046 +0,0 @@ -{ - "locked": false, - "version": 2, - "targets": { - ".NETFramework,Version=v4.5.1": { - "EntityFramework.Commands/7.0.0-rc1-final": { - "type": "package", - "dependencies": { - "EntityFramework.Relational.Design": "7.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/EntityFramework.Commands.dll": {} - }, - "runtime": { - "lib/net451/EntityFramework.Commands.dll": {} - } - }, - "EntityFramework.Core/7.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Ix-Async": "1.2.5", - "Microsoft.Extensions.Caching.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.Caching.Memory": "1.0.0-rc1-final", - "Microsoft.Extensions.DependencyInjection": "1.0.0-rc1-final", - "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.Logging": "1.0.0-rc1-final", - "Microsoft.Extensions.Logging.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.OptionsModel": "1.0.0-rc1-final", - "Remotion.Linq": "2.0.1", - "System.Collections.Immutable": "1.1.36" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.ComponentModel.DataAnnotations", - "System.Core" - ], - "compile": { - "lib/net451/EntityFramework.Core.dll": {} - }, - "runtime": { - "lib/net451/EntityFramework.Core.dll": {} - } - }, - "EntityFramework.MicrosoftSqlServer/7.0.0-rc1-final": { - "type": "package", - "dependencies": { - "EntityFramework.Relational": "7.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/EntityFramework.MicrosoftSqlServer.dll": {} - }, - "runtime": { - "lib/net451/EntityFramework.MicrosoftSqlServer.dll": {} - } - }, - "EntityFramework.Relational/7.0.0-rc1-final": { - "type": "package", - "dependencies": { - "EntityFramework.Core": "7.0.0-rc1-final", - "System.Diagnostics.DiagnosticSource": "4.0.0-beta-23516" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core", - "System.Data", - "System.Transactions" - ], - "compile": { - "lib/net451/EntityFramework.Relational.dll": {} - }, - "runtime": { - "lib/net451/EntityFramework.Relational.dll": {} - } - }, - "EntityFramework.Relational.Design/7.0.0-rc1-final": { - "type": "package", - "dependencies": { - "EntityFramework.Relational": "7.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.ComponentModel.DataAnnotations", - "System.Core" - ], - "compile": { - "lib/net451/EntityFramework.Relational.Design.dll": {} - }, - "runtime": { - "lib/net451/EntityFramework.Relational.Design.dll": {} - } - }, - "Ix-Async/1.2.5": { - "type": "package", - "frameworkAssemblies": [ - "System", - "System.Core" - ], - "compile": { - "lib/net45/System.Interactive.Async.dll": {} - }, - "runtime": { - "lib/net45/System.Interactive.Async.dll": {} - } - }, - "Microsoft.AspNet.Authentication/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.DataProtection": "1.0.0-rc1-final", - "Microsoft.AspNet.Http": "1.0.0-rc1-final", - "Microsoft.AspNet.Http.Extensions": "1.0.0-rc1-final", - "Microsoft.Extensions.Logging.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.OptionsModel": "1.0.0-rc1-final", - "Microsoft.Extensions.WebEncoders": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core", - "System.Net.Http" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Authentication.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Authentication.dll": {} - } - }, - "Microsoft.AspNet.Authentication.Cookies/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.Authentication": "1.0.0-rc1-final", - "Microsoft.Extensions.WebEncoders": "1.0.0-rc1-final", - "Newtonsoft.Json": "6.0.6" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Authentication.Cookies.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Authentication.Cookies.dll": {} - } - }, - "Microsoft.AspNet.Cryptography.Internal/1.0.0-rc1-final": { - "type": "package", - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Cryptography.Internal.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Cryptography.Internal.dll": {} - } - }, - "Microsoft.AspNet.Cryptography.KeyDerivation/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.Cryptography.Internal": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Cryptography.KeyDerivation.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Cryptography.KeyDerivation.dll": {} - } - }, - "Microsoft.AspNet.DataProtection/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.Cryptography.Internal": "1.0.0-rc1-final", - "Microsoft.AspNet.DataProtection.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.Logging.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.OptionsModel": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core", - "System.IO", - "System.Security", - "System.Xml", - "System.Xml.Linq" - ], - "compile": { - "lib/net451/Microsoft.AspNet.DataProtection.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.DataProtection.dll": {} - } - }, - "Microsoft.AspNet.DataProtection.Abstractions/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.PlatformAbstractions": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.DataProtection.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.DataProtection.Abstractions.dll": {} - } - }, - "Microsoft.AspNet.FileProviders.Abstractions/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Primitives": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.FileProviders.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.FileProviders.Abstractions.dll": {} - } - }, - "Microsoft.AspNet.Hosting.Abstractions/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.FileProviders.Abstractions": "1.0.0-rc1-final", - "Microsoft.AspNet.Http.Abstractions": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Hosting.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Hosting.Abstractions.dll": {} - } - }, - "Microsoft.AspNet.Http/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.Http.Abstractions": "1.0.0-rc1-final", - "Microsoft.AspNet.WebUtilities": "1.0.0-rc1-final", - "Microsoft.Net.Http.Headers": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Http.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Http.dll": {} - } - }, - "Microsoft.AspNet.Http.Abstractions/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.Http.Features": "1.0.0-rc1-final", - "Microsoft.Extensions.WebEncoders.Core": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Http.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Http.Abstractions.dll": {} - } - }, - "Microsoft.AspNet.Http.Extensions/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.Http.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.WebEncoders.Core": "1.0.0-rc1-final", - "Microsoft.Net.Http.Headers": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Http.Extensions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Http.Extensions.dll": {} - } - }, - "Microsoft.AspNet.Http.Features/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Primitives": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Http.Features.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Http.Features.dll": {} - } - }, - "Microsoft.AspNet.Identity/3.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.Authentication.Cookies": "1.0.0-rc1-final", - "Microsoft.AspNet.Cryptography.KeyDerivation": "1.0.0-rc1-final", - "Microsoft.AspNet.Hosting.Abstractions": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Identity.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Identity.dll": {} - } - }, - "Microsoft.AspNet.Identity.EntityFramework/3.0.0-rc1-final": { - "type": "package", - "dependencies": { - "EntityFramework.Relational": "7.0.0-rc1-final", - "Microsoft.AspNet.Identity": "3.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core", - "System.Runtime", - "System.Threading.Tasks" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Identity.EntityFramework.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Identity.EntityFramework.dll": {} - } - }, - "Microsoft.AspNet.WebUtilities/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Primitives": "1.0.0-rc1-final", - "Microsoft.Extensions.WebEncoders.Core": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.WebUtilities.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.WebUtilities.dll": {} - } - }, - "Microsoft.Extensions.Caching.Abstractions/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Primitives": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Caching.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Caching.Abstractions.dll": {} - } - }, - "Microsoft.Extensions.Caching.Memory/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Caching.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.OptionsModel": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Caching.Memory.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Caching.Memory.dll": {} - } - }, - "Microsoft.Extensions.Configuration/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Configuration.Abstractions": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Configuration.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Configuration.dll": {} - } - }, - "Microsoft.Extensions.Configuration.Abstractions/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Primitives": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Configuration.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Configuration.Abstractions.dll": {} - } - }, - "Microsoft.Extensions.Configuration.Binder/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Configuration": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Configuration.Binder.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Configuration.Binder.dll": {} - } - }, - "Microsoft.Extensions.DependencyInjection/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.DependencyInjection.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.DependencyInjection.dll": {} - } - }, - "Microsoft.Extensions.DependencyInjection.Abstractions/1.0.0-rc1-final": { - "type": "package", - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {} - } - }, - "Microsoft.Extensions.Logging/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.Logging.Abstractions": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Collections.Concurrent", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Logging.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Logging.dll": {} - } - }, - "Microsoft.Extensions.Logging.Abstractions/1.0.0-rc1-final": { - "type": "package", - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Logging.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Logging.Abstractions.dll": {} - } - }, - "Microsoft.Extensions.OptionsModel/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Configuration.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.Configuration.Binder": "1.0.0-rc1-final", - "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.OptionsModel.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.OptionsModel.dll": {} - } - }, - "Microsoft.Extensions.PlatformAbstractions/1.0.0-rc1-final": { - "type": "package", - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.PlatformAbstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.PlatformAbstractions.dll": {} - } - }, - "Microsoft.Extensions.Primitives/1.0.0-rc1-final": { - "type": "package", - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Primitives.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Primitives.dll": {} - } - }, - "Microsoft.Extensions.WebEncoders/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.OptionsModel": "1.0.0-rc1-final", - "Microsoft.Extensions.WebEncoders.Core": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.WebEncoders.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.WebEncoders.dll": {} - } - }, - "Microsoft.Extensions.WebEncoders.Core/1.0.0-rc1-final": { - "type": "package", - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.WebEncoders.Core.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.WebEncoders.Core.dll": {} - } - }, - "Microsoft.Net.Http.Headers/1.0.0-rc1-final": { - "type": "package", - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Net.Http.Headers.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Net.Http.Headers.dll": {} - } - }, - "Newtonsoft.Json/9.0.1": { - "type": "package", - "compile": { - "lib/net45/Newtonsoft.Json.dll": {} - }, - "runtime": { - "lib/net45/Newtonsoft.Json.dll": {} - } - }, - "Remotion.Linq/2.0.1": { - "type": "package", - "compile": { - "lib/net45/Remotion.Linq.dll": {} - }, - "runtime": { - "lib/net45/Remotion.Linq.dll": {} - } - }, - "System.Collections.Immutable/1.1.36": { - "type": "package", - "compile": { - "lib/portable-net45+win8+wp8+wpa81/System.Collections.Immutable.dll": {} - }, - "runtime": { - "lib/portable-net45+win8+wp8+wpa81/System.Collections.Immutable.dll": {} - } - }, - "System.Diagnostics.DiagnosticSource/4.0.0-beta-23516": { - "type": "package", - "dependencies": { - "System.Diagnostics.Tracing": "4.0.0", - "System.Runtime": "4.0.0", - "System.Threading": "4.0.0" - }, - "compile": { - "lib/dotnet5.2/System.Diagnostics.DiagnosticSource.dll": {} - }, - "runtime": { - "lib/dotnet5.2/System.Diagnostics.DiagnosticSource.dll": {} - } - }, - "System.Diagnostics.Tracing/4.0.0": { - "type": "package", - "compile": { - "ref/net45/_._": {} - }, - "runtime": { - "lib/net45/_._": {} - } - }, - "System.Json/4.0.20126.16343": { - "type": "package", - "compile": { - "lib/net40/System.Json.dll": {} - }, - "runtime": { - "lib/net40/System.Json.dll": {} - } - }, - "System.Runtime/4.0.0": { - "type": "package", - "compile": { - "ref/net45/_._": {} - }, - "runtime": { - "lib/net45/_._": {} - } - }, - "System.Threading/4.0.0": { - "type": "package", - "compile": { - "ref/net45/_._": {} - }, - "runtime": { - "lib/net45/_._": {} - } - } - }, - ".NETFramework,Version=v4.5.1/debian.8-x86": { - "EntityFramework.Commands/7.0.0-rc1-final": { - "type": "package", - "dependencies": { - "EntityFramework.Relational.Design": "7.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/EntityFramework.Commands.dll": {} - }, - "runtime": { - "lib/net451/EntityFramework.Commands.dll": {} - } - }, - "EntityFramework.Core/7.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Ix-Async": "1.2.5", - "Microsoft.Extensions.Caching.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.Caching.Memory": "1.0.0-rc1-final", - "Microsoft.Extensions.DependencyInjection": "1.0.0-rc1-final", - "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.Logging": "1.0.0-rc1-final", - "Microsoft.Extensions.Logging.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.OptionsModel": "1.0.0-rc1-final", - "Remotion.Linq": "2.0.1", - "System.Collections.Immutable": "1.1.36" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.ComponentModel.DataAnnotations", - "System.Core" - ], - "compile": { - "lib/net451/EntityFramework.Core.dll": {} - }, - "runtime": { - "lib/net451/EntityFramework.Core.dll": {} - } - }, - "EntityFramework.MicrosoftSqlServer/7.0.0-rc1-final": { - "type": "package", - "dependencies": { - "EntityFramework.Relational": "7.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/EntityFramework.MicrosoftSqlServer.dll": {} - }, - "runtime": { - "lib/net451/EntityFramework.MicrosoftSqlServer.dll": {} - } - }, - "EntityFramework.Relational/7.0.0-rc1-final": { - "type": "package", - "dependencies": { - "EntityFramework.Core": "7.0.0-rc1-final", - "System.Diagnostics.DiagnosticSource": "4.0.0-beta-23516" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core", - "System.Data", - "System.Transactions" - ], - "compile": { - "lib/net451/EntityFramework.Relational.dll": {} - }, - "runtime": { - "lib/net451/EntityFramework.Relational.dll": {} - } - }, - "EntityFramework.Relational.Design/7.0.0-rc1-final": { - "type": "package", - "dependencies": { - "EntityFramework.Relational": "7.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.ComponentModel.DataAnnotations", - "System.Core" - ], - "compile": { - "lib/net451/EntityFramework.Relational.Design.dll": {} - }, - "runtime": { - "lib/net451/EntityFramework.Relational.Design.dll": {} - } - }, - "Ix-Async/1.2.5": { - "type": "package", - "frameworkAssemblies": [ - "System", - "System.Core" - ], - "compile": { - "lib/net45/System.Interactive.Async.dll": {} - }, - "runtime": { - "lib/net45/System.Interactive.Async.dll": {} - } - }, - "Microsoft.AspNet.Authentication/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.DataProtection": "1.0.0-rc1-final", - "Microsoft.AspNet.Http": "1.0.0-rc1-final", - "Microsoft.AspNet.Http.Extensions": "1.0.0-rc1-final", - "Microsoft.Extensions.Logging.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.OptionsModel": "1.0.0-rc1-final", - "Microsoft.Extensions.WebEncoders": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core", - "System.Net.Http" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Authentication.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Authentication.dll": {} - } - }, - "Microsoft.AspNet.Authentication.Cookies/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.Authentication": "1.0.0-rc1-final", - "Microsoft.Extensions.WebEncoders": "1.0.0-rc1-final", - "Newtonsoft.Json": "6.0.6" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Authentication.Cookies.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Authentication.Cookies.dll": {} - } - }, - "Microsoft.AspNet.Cryptography.Internal/1.0.0-rc1-final": { - "type": "package", - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Cryptography.Internal.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Cryptography.Internal.dll": {} - } - }, - "Microsoft.AspNet.Cryptography.KeyDerivation/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.Cryptography.Internal": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Cryptography.KeyDerivation.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Cryptography.KeyDerivation.dll": {} - } - }, - "Microsoft.AspNet.DataProtection/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.Cryptography.Internal": "1.0.0-rc1-final", - "Microsoft.AspNet.DataProtection.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.Logging.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.OptionsModel": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core", - "System.IO", - "System.Security", - "System.Xml", - "System.Xml.Linq" - ], - "compile": { - "lib/net451/Microsoft.AspNet.DataProtection.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.DataProtection.dll": {} - } - }, - "Microsoft.AspNet.DataProtection.Abstractions/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.PlatformAbstractions": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.DataProtection.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.DataProtection.Abstractions.dll": {} - } - }, - "Microsoft.AspNet.FileProviders.Abstractions/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Primitives": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.FileProviders.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.FileProviders.Abstractions.dll": {} - } - }, - "Microsoft.AspNet.Hosting.Abstractions/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.FileProviders.Abstractions": "1.0.0-rc1-final", - "Microsoft.AspNet.Http.Abstractions": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Hosting.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Hosting.Abstractions.dll": {} - } - }, - "Microsoft.AspNet.Http/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.Http.Abstractions": "1.0.0-rc1-final", - "Microsoft.AspNet.WebUtilities": "1.0.0-rc1-final", - "Microsoft.Net.Http.Headers": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Http.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Http.dll": {} - } - }, - "Microsoft.AspNet.Http.Abstractions/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.Http.Features": "1.0.0-rc1-final", - "Microsoft.Extensions.WebEncoders.Core": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Http.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Http.Abstractions.dll": {} - } - }, - "Microsoft.AspNet.Http.Extensions/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.Http.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.WebEncoders.Core": "1.0.0-rc1-final", - "Microsoft.Net.Http.Headers": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Http.Extensions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Http.Extensions.dll": {} - } - }, - "Microsoft.AspNet.Http.Features/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Primitives": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Http.Features.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Http.Features.dll": {} - } - }, - "Microsoft.AspNet.Identity/3.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.Authentication.Cookies": "1.0.0-rc1-final", - "Microsoft.AspNet.Cryptography.KeyDerivation": "1.0.0-rc1-final", - "Microsoft.AspNet.Hosting.Abstractions": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Identity.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Identity.dll": {} - } - }, - "Microsoft.AspNet.Identity.EntityFramework/3.0.0-rc1-final": { - "type": "package", - "dependencies": { - "EntityFramework.Relational": "7.0.0-rc1-final", - "Microsoft.AspNet.Identity": "3.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core", - "System.Runtime", - "System.Threading.Tasks" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Identity.EntityFramework.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Identity.EntityFramework.dll": {} - } - }, - "Microsoft.AspNet.WebUtilities/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Primitives": "1.0.0-rc1-final", - "Microsoft.Extensions.WebEncoders.Core": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.WebUtilities.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.WebUtilities.dll": {} - } - }, - "Microsoft.Extensions.Caching.Abstractions/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Primitives": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Caching.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Caching.Abstractions.dll": {} - } - }, - "Microsoft.Extensions.Caching.Memory/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Caching.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.OptionsModel": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Caching.Memory.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Caching.Memory.dll": {} - } - }, - "Microsoft.Extensions.Configuration/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Configuration.Abstractions": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Configuration.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Configuration.dll": {} - } - }, - "Microsoft.Extensions.Configuration.Abstractions/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Primitives": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Configuration.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Configuration.Abstractions.dll": {} - } - }, - "Microsoft.Extensions.Configuration.Binder/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Configuration": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Configuration.Binder.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Configuration.Binder.dll": {} - } - }, - "Microsoft.Extensions.DependencyInjection/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.DependencyInjection.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.DependencyInjection.dll": {} - } - }, - "Microsoft.Extensions.DependencyInjection.Abstractions/1.0.0-rc1-final": { - "type": "package", - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {} - } - }, - "Microsoft.Extensions.Logging/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.Logging.Abstractions": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Collections.Concurrent", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Logging.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Logging.dll": {} - } - }, - "Microsoft.Extensions.Logging.Abstractions/1.0.0-rc1-final": { - "type": "package", - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Logging.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Logging.Abstractions.dll": {} - } - }, - "Microsoft.Extensions.OptionsModel/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Configuration.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.Configuration.Binder": "1.0.0-rc1-final", - "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.OptionsModel.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.OptionsModel.dll": {} - } - }, - "Microsoft.Extensions.PlatformAbstractions/1.0.0-rc1-final": { - "type": "package", - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.PlatformAbstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.PlatformAbstractions.dll": {} - } - }, - "Microsoft.Extensions.Primitives/1.0.0-rc1-final": { - "type": "package", - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Primitives.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Primitives.dll": {} - } - }, - "Microsoft.Extensions.WebEncoders/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.OptionsModel": "1.0.0-rc1-final", - "Microsoft.Extensions.WebEncoders.Core": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.WebEncoders.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.WebEncoders.dll": {} - } - }, - "Microsoft.Extensions.WebEncoders.Core/1.0.0-rc1-final": { - "type": "package", - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.WebEncoders.Core.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.WebEncoders.Core.dll": {} - } - }, - "Microsoft.Net.Http.Headers/1.0.0-rc1-final": { - "type": "package", - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Net.Http.Headers.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Net.Http.Headers.dll": {} - } - }, - "Newtonsoft.Json/9.0.1": { - "type": "package", - "compile": { - "lib/net45/Newtonsoft.Json.dll": {} - }, - "runtime": { - "lib/net45/Newtonsoft.Json.dll": {} - } - }, - "Remotion.Linq/2.0.1": { - "type": "package", - "compile": { - "lib/net45/Remotion.Linq.dll": {} - }, - "runtime": { - "lib/net45/Remotion.Linq.dll": {} - } - }, - "System.Collections.Immutable/1.1.36": { - "type": "package", - "compile": { - "lib/portable-net45+win8+wp8+wpa81/System.Collections.Immutable.dll": {} - }, - "runtime": { - "lib/portable-net45+win8+wp8+wpa81/System.Collections.Immutable.dll": {} - } - }, - "System.Diagnostics.DiagnosticSource/4.0.0-beta-23516": { - "type": "package", - "dependencies": { - "System.Diagnostics.Tracing": "4.0.0", - "System.Runtime": "4.0.0", - "System.Threading": "4.0.0" - }, - "compile": { - "lib/dotnet5.2/System.Diagnostics.DiagnosticSource.dll": {} - }, - "runtime": { - "lib/dotnet5.2/System.Diagnostics.DiagnosticSource.dll": {} - } - }, - "System.Diagnostics.Tracing/4.0.0": { - "type": "package", - "compile": { - "ref/net45/_._": {} - }, - "runtime": { - "lib/net45/_._": {} - } - }, - "System.Json/4.0.20126.16343": { - "type": "package", - "compile": { - "lib/net40/System.Json.dll": {} - }, - "runtime": { - "lib/net40/System.Json.dll": {} - } - }, - "System.Runtime/4.0.0": { - "type": "package", - "compile": { - "ref/net45/_._": {} - }, - "runtime": { - "lib/net45/_._": {} - } - }, - "System.Threading/4.0.0": { - "type": "package", - "compile": { - "ref/net45/_._": {} - }, - "runtime": { - "lib/net45/_._": {} - } - } - }, - ".NETFramework,Version=v4.5.1/debian.8-x64": { - "EntityFramework.Commands/7.0.0-rc1-final": { - "type": "package", - "dependencies": { - "EntityFramework.Relational.Design": "7.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/EntityFramework.Commands.dll": {} - }, - "runtime": { - "lib/net451/EntityFramework.Commands.dll": {} - } - }, - "EntityFramework.Core/7.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Ix-Async": "1.2.5", - "Microsoft.Extensions.Caching.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.Caching.Memory": "1.0.0-rc1-final", - "Microsoft.Extensions.DependencyInjection": "1.0.0-rc1-final", - "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.Logging": "1.0.0-rc1-final", - "Microsoft.Extensions.Logging.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.OptionsModel": "1.0.0-rc1-final", - "Remotion.Linq": "2.0.1", - "System.Collections.Immutable": "1.1.36" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.ComponentModel.DataAnnotations", - "System.Core" - ], - "compile": { - "lib/net451/EntityFramework.Core.dll": {} - }, - "runtime": { - "lib/net451/EntityFramework.Core.dll": {} - } - }, - "EntityFramework.MicrosoftSqlServer/7.0.0-rc1-final": { - "type": "package", - "dependencies": { - "EntityFramework.Relational": "7.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/EntityFramework.MicrosoftSqlServer.dll": {} - }, - "runtime": { - "lib/net451/EntityFramework.MicrosoftSqlServer.dll": {} - } - }, - "EntityFramework.Relational/7.0.0-rc1-final": { - "type": "package", - "dependencies": { - "EntityFramework.Core": "7.0.0-rc1-final", - "System.Diagnostics.DiagnosticSource": "4.0.0-beta-23516" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core", - "System.Data", - "System.Transactions" - ], - "compile": { - "lib/net451/EntityFramework.Relational.dll": {} - }, - "runtime": { - "lib/net451/EntityFramework.Relational.dll": {} - } - }, - "EntityFramework.Relational.Design/7.0.0-rc1-final": { - "type": "package", - "dependencies": { - "EntityFramework.Relational": "7.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.ComponentModel.DataAnnotations", - "System.Core" - ], - "compile": { - "lib/net451/EntityFramework.Relational.Design.dll": {} - }, - "runtime": { - "lib/net451/EntityFramework.Relational.Design.dll": {} - } - }, - "Ix-Async/1.2.5": { - "type": "package", - "frameworkAssemblies": [ - "System", - "System.Core" - ], - "compile": { - "lib/net45/System.Interactive.Async.dll": {} - }, - "runtime": { - "lib/net45/System.Interactive.Async.dll": {} - } - }, - "Microsoft.AspNet.Authentication/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.DataProtection": "1.0.0-rc1-final", - "Microsoft.AspNet.Http": "1.0.0-rc1-final", - "Microsoft.AspNet.Http.Extensions": "1.0.0-rc1-final", - "Microsoft.Extensions.Logging.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.OptionsModel": "1.0.0-rc1-final", - "Microsoft.Extensions.WebEncoders": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core", - "System.Net.Http" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Authentication.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Authentication.dll": {} - } - }, - "Microsoft.AspNet.Authentication.Cookies/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.Authentication": "1.0.0-rc1-final", - "Microsoft.Extensions.WebEncoders": "1.0.0-rc1-final", - "Newtonsoft.Json": "6.0.6" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Authentication.Cookies.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Authentication.Cookies.dll": {} - } - }, - "Microsoft.AspNet.Cryptography.Internal/1.0.0-rc1-final": { - "type": "package", - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Cryptography.Internal.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Cryptography.Internal.dll": {} - } - }, - "Microsoft.AspNet.Cryptography.KeyDerivation/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.Cryptography.Internal": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Cryptography.KeyDerivation.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Cryptography.KeyDerivation.dll": {} - } - }, - "Microsoft.AspNet.DataProtection/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.Cryptography.Internal": "1.0.0-rc1-final", - "Microsoft.AspNet.DataProtection.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.Logging.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.OptionsModel": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core", - "System.IO", - "System.Security", - "System.Xml", - "System.Xml.Linq" - ], - "compile": { - "lib/net451/Microsoft.AspNet.DataProtection.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.DataProtection.dll": {} - } - }, - "Microsoft.AspNet.DataProtection.Abstractions/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.PlatformAbstractions": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.DataProtection.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.DataProtection.Abstractions.dll": {} - } - }, - "Microsoft.AspNet.FileProviders.Abstractions/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Primitives": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.FileProviders.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.FileProviders.Abstractions.dll": {} - } - }, - "Microsoft.AspNet.Hosting.Abstractions/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.FileProviders.Abstractions": "1.0.0-rc1-final", - "Microsoft.AspNet.Http.Abstractions": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Hosting.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Hosting.Abstractions.dll": {} - } - }, - "Microsoft.AspNet.Http/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.Http.Abstractions": "1.0.0-rc1-final", - "Microsoft.AspNet.WebUtilities": "1.0.0-rc1-final", - "Microsoft.Net.Http.Headers": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Http.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Http.dll": {} - } - }, - "Microsoft.AspNet.Http.Abstractions/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.Http.Features": "1.0.0-rc1-final", - "Microsoft.Extensions.WebEncoders.Core": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Http.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Http.Abstractions.dll": {} - } - }, - "Microsoft.AspNet.Http.Extensions/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.Http.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.WebEncoders.Core": "1.0.0-rc1-final", - "Microsoft.Net.Http.Headers": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Http.Extensions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Http.Extensions.dll": {} - } - }, - "Microsoft.AspNet.Http.Features/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Primitives": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Http.Features.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Http.Features.dll": {} - } - }, - "Microsoft.AspNet.Identity/3.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.AspNet.Authentication.Cookies": "1.0.0-rc1-final", - "Microsoft.AspNet.Cryptography.KeyDerivation": "1.0.0-rc1-final", - "Microsoft.AspNet.Hosting.Abstractions": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Identity.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Identity.dll": {} - } - }, - "Microsoft.AspNet.Identity.EntityFramework/3.0.0-rc1-final": { - "type": "package", - "dependencies": { - "EntityFramework.Relational": "7.0.0-rc1-final", - "Microsoft.AspNet.Identity": "3.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core", - "System.Runtime", - "System.Threading.Tasks" - ], - "compile": { - "lib/net451/Microsoft.AspNet.Identity.EntityFramework.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.Identity.EntityFramework.dll": {} - } - }, - "Microsoft.AspNet.WebUtilities/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Primitives": "1.0.0-rc1-final", - "Microsoft.Extensions.WebEncoders.Core": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.AspNet.WebUtilities.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.AspNet.WebUtilities.dll": {} - } - }, - "Microsoft.Extensions.Caching.Abstractions/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Primitives": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Caching.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Caching.Abstractions.dll": {} - } - }, - "Microsoft.Extensions.Caching.Memory/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Caching.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.OptionsModel": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Caching.Memory.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Caching.Memory.dll": {} - } - }, - "Microsoft.Extensions.Configuration/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Configuration.Abstractions": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Configuration.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Configuration.dll": {} - } - }, - "Microsoft.Extensions.Configuration.Abstractions/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Primitives": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Configuration.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Configuration.Abstractions.dll": {} - } - }, - "Microsoft.Extensions.Configuration.Binder/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Configuration": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Configuration.Binder.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Configuration.Binder.dll": {} - } - }, - "Microsoft.Extensions.DependencyInjection/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.DependencyInjection.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.DependencyInjection.dll": {} - } - }, - "Microsoft.Extensions.DependencyInjection.Abstractions/1.0.0-rc1-final": { - "type": "package", - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {} - } - }, - "Microsoft.Extensions.Logging/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.Logging.Abstractions": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Collections.Concurrent", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Logging.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Logging.dll": {} - } - }, - "Microsoft.Extensions.Logging.Abstractions/1.0.0-rc1-final": { - "type": "package", - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Logging.Abstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Logging.Abstractions.dll": {} - } - }, - "Microsoft.Extensions.OptionsModel/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Configuration.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.Configuration.Binder": "1.0.0-rc1-final", - "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.OptionsModel.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.OptionsModel.dll": {} - } - }, - "Microsoft.Extensions.PlatformAbstractions/1.0.0-rc1-final": { - "type": "package", - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.PlatformAbstractions.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.PlatformAbstractions.dll": {} - } - }, - "Microsoft.Extensions.Primitives/1.0.0-rc1-final": { - "type": "package", - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.Primitives.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.Primitives.dll": {} - } - }, - "Microsoft.Extensions.WebEncoders/1.0.0-rc1-final": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0-rc1-final", - "Microsoft.Extensions.OptionsModel": "1.0.0-rc1-final", - "Microsoft.Extensions.WebEncoders.Core": "1.0.0-rc1-final" - }, - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.WebEncoders.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.WebEncoders.dll": {} - } - }, - "Microsoft.Extensions.WebEncoders.Core/1.0.0-rc1-final": { - "type": "package", - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Extensions.WebEncoders.Core.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Extensions.WebEncoders.Core.dll": {} - } - }, - "Microsoft.Net.Http.Headers/1.0.0-rc1-final": { - "type": "package", - "frameworkAssemblies": [ - "Microsoft.CSharp", - "mscorlib", - "System", - "System.Core" - ], - "compile": { - "lib/net451/Microsoft.Net.Http.Headers.dll": {} - }, - "runtime": { - "lib/net451/Microsoft.Net.Http.Headers.dll": {} - } - }, - "Newtonsoft.Json/9.0.1": { - "type": "package", - "compile": { - "lib/net45/Newtonsoft.Json.dll": {} - }, - "runtime": { - "lib/net45/Newtonsoft.Json.dll": {} - } - }, - "Remotion.Linq/2.0.1": { - "type": "package", - "compile": { - "lib/net45/Remotion.Linq.dll": {} - }, - "runtime": { - "lib/net45/Remotion.Linq.dll": {} - } - }, - "System.Collections.Immutable/1.1.36": { - "type": "package", - "compile": { - "lib/portable-net45+win8+wp8+wpa81/System.Collections.Immutable.dll": {} - }, - "runtime": { - "lib/portable-net45+win8+wp8+wpa81/System.Collections.Immutable.dll": {} - } - }, - "System.Diagnostics.DiagnosticSource/4.0.0-beta-23516": { - "type": "package", - "dependencies": { - "System.Diagnostics.Tracing": "4.0.0", - "System.Runtime": "4.0.0", - "System.Threading": "4.0.0" - }, - "compile": { - "lib/dotnet5.2/System.Diagnostics.DiagnosticSource.dll": {} - }, - "runtime": { - "lib/dotnet5.2/System.Diagnostics.DiagnosticSource.dll": {} - } - }, - "System.Diagnostics.Tracing/4.0.0": { - "type": "package", - "compile": { - "ref/net45/_._": {} - }, - "runtime": { - "lib/net45/_._": {} - } - }, - "System.Json/4.0.20126.16343": { - "type": "package", - "compile": { - "lib/net40/System.Json.dll": {} - }, - "runtime": { - "lib/net40/System.Json.dll": {} - } - }, - "System.Runtime/4.0.0": { - "type": "package", - "compile": { - "ref/net45/_._": {} - }, - "runtime": { - "lib/net45/_._": {} - } - }, - "System.Threading/4.0.0": { - "type": "package", - "compile": { - "ref/net45/_._": {} - }, - "runtime": { - "lib/net45/_._": {} - } - } - } - }, - "libraries": { - "EntityFramework.Commands/7.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "+wa2VWX3/vDkOpeCeIotMevqpIISimGqeYNTGYRLRhv+8HzsCLeymLzmmYpjav6zYQVvuJiJodapQvijAIfRrA==", - "files": [ - "app/ef", - "app/ef.cmd", - "app/project.json", - "build/netcore50/EntityFramework.Commands.props", - "EntityFramework.Commands.7.0.0-rc1-final.nupkg", - "EntityFramework.Commands.7.0.0-rc1-final.nupkg.sha512", - "EntityFramework.Commands.nuspec", - "lib/dnx451/EntityFramework.Commands.dll", - "lib/dnx451/EntityFramework.Commands.xml", - "lib/dnxcore50/EntityFramework.Commands.dll", - "lib/dnxcore50/EntityFramework.Commands.xml", - "lib/net451/EntityFramework.Commands.dll", - "lib/net451/EntityFramework.Commands.xml", - "lib/netcore50/_._", - "tools/about_EntityFramework.help.txt", - "tools/EntityFramework.psd1", - "tools/EntityFramework.psm1", - "tools/init.ps1", - "tools/install.ps1", - "tools/OperationHandlers.cs" - ] - }, - "EntityFramework.Core/7.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "afwsjOF4xM5KiwAxKMz9R0H8TigWE/jX0FwGBO/QtuA1ElEVLqlQVH4+7PyZaA35HguYRm0wOCmUq9RVTmiAfA==", - "files": [ - "EntityFramework.Core.7.0.0-rc1-final.nupkg", - "EntityFramework.Core.7.0.0-rc1-final.nupkg.sha512", - "EntityFramework.Core.nuspec", - "lib/dnx451/EntityFramework.Core.dll", - "lib/dnx451/EntityFramework.Core.xml", - "lib/dotnet5.4/EntityFramework.Core.dll", - "lib/dotnet5.4/EntityFramework.Core.xml", - "lib/net451/EntityFramework.Core.dll", - "lib/net451/EntityFramework.Core.xml", - "lib/netcore50/EntityFramework.Core.dll", - "lib/netcore50/EntityFramework.Core.xml" - ] - }, - "EntityFramework.MicrosoftSqlServer/7.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "FMB2MgT5aXMF7qGMwf5AGcmpNFoT4s1w0QJ5h+L8W4gyMxWpYamGp9hms7rOSAWY44ZDl5ZMpxiTfu3nY3Nqeg==", - "files": [ - "EntityFramework.MicrosoftSqlServer.7.0.0-rc1-final.nupkg", - "EntityFramework.MicrosoftSqlServer.7.0.0-rc1-final.nupkg.sha512", - "EntityFramework.MicrosoftSqlServer.nuspec", - "lib/dotnet5.4/EntityFramework.MicrosoftSqlServer.dll", - "lib/dotnet5.4/EntityFramework.MicrosoftSqlServer.xml", - "lib/net451/EntityFramework.MicrosoftSqlServer.dll", - "lib/net451/EntityFramework.MicrosoftSqlServer.xml", - "lib/netcore50/EntityFramework.MicrosoftSqlServer.dll", - "lib/netcore50/EntityFramework.MicrosoftSqlServer.xml" - ] - }, - "EntityFramework.Relational/7.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "0Feoct9mtKOIjovUgfESfVDL/odvxNXsIgK3bdlkx7Fsiqp5/tx8oiMx+qO7oNRYWsXN6XDlGKHLOzWEdUssKA==", - "files": [ - "EntityFramework.Relational.7.0.0-rc1-final.nupkg", - "EntityFramework.Relational.7.0.0-rc1-final.nupkg.sha512", - "EntityFramework.Relational.nuspec", - "lib/dotnet5.4/EntityFramework.Relational.dll", - "lib/dotnet5.4/EntityFramework.Relational.xml", - "lib/net451/EntityFramework.Relational.dll", - "lib/net451/EntityFramework.Relational.xml", - "lib/netcore50/EntityFramework.Relational.dll", - "lib/netcore50/EntityFramework.Relational.xml" - ] - }, - "EntityFramework.Relational.Design/7.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "sXAqOxpHmbqOELC21vAzKlsjqgNCrk3jEjyJxjGnn1+j4hazxiqgSBTl8ZofqYzLO6ias9WfeXJy8HcXOl7waw==", - "files": [ - "build/netcore50/EntityFramework.Relational.Design.props", - "EntityFramework.Relational.Design.7.0.0-rc1-final.nupkg", - "EntityFramework.Relational.Design.7.0.0-rc1-final.nupkg.sha512", - "EntityFramework.Relational.Design.nuspec", - "lib/dnx451/EntityFramework.Relational.Design.dll", - "lib/dnx451/EntityFramework.Relational.Design.xml", - "lib/dnxcore50/EntityFramework.Relational.Design.dll", - "lib/dnxcore50/EntityFramework.Relational.Design.xml", - "lib/net451/EntityFramework.Relational.Design.dll", - "lib/net451/EntityFramework.Relational.Design.xml", - "lib/netcore50/_._" - ] - }, - "Ix-Async/1.2.5": { - "type": "package", - "sha512": "8EXO8q7cpDUH9G2q+UOPOO/6uZ9aN7mx/4xjFIfkp+qLWVJiYuglkRhjY8Ggs2CucXzHR8GHnovJKB5yQoYaJg==", - "files": [ - "Ix-Async.1.2.5.nupkg", - "Ix-Async.1.2.5.nupkg.sha512", - "Ix-Async.nuspec", - "lib/net40/System.Interactive.Async.dll", - "lib/net40/System.Interactive.Async.XML", - "lib/net45/System.Interactive.Async.dll", - "lib/net45/System.Interactive.Async.XML", - "lib/portable-windows8+net45+wp8/System.Interactive.Async.dll", - "lib/portable-windows8+net45+wp8/System.Interactive.Async.XML" - ] - }, - "Microsoft.AspNet.Authentication/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "sdFCeQlwkJXZ1KHsRvf7ewNEWkEeKYNpcEKKC0D+WNUvLliziLc7cMH+6sjNmTU3FgGjGrSk4WjGQMhsOHCrDQ==", - "files": [ - "lib/dotnet5.4/Microsoft.AspNet.Authentication.dll", - "lib/dotnet5.4/Microsoft.AspNet.Authentication.xml", - "lib/net451/Microsoft.AspNet.Authentication.dll", - "lib/net451/Microsoft.AspNet.Authentication.xml", - "Microsoft.AspNet.Authentication.1.0.0-rc1-final.nupkg", - "Microsoft.AspNet.Authentication.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.AspNet.Authentication.nuspec" - ] - }, - "Microsoft.AspNet.Authentication.Cookies/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "vjeSG8Z5i5Kqo1nC7wW1BO+YMk+gs/AVVJlmyF7EGgiUBtAAPkrgjxSabQqvFhPgpEFledUQ6gkhKXgr4WrMtw==", - "files": [ - "lib/dotnet5.4/Microsoft.AspNet.Authentication.Cookies.dll", - "lib/dotnet5.4/Microsoft.AspNet.Authentication.Cookies.xml", - "lib/net451/Microsoft.AspNet.Authentication.Cookies.dll", - "lib/net451/Microsoft.AspNet.Authentication.Cookies.xml", - "Microsoft.AspNet.Authentication.Cookies.1.0.0-rc1-final.nupkg", - "Microsoft.AspNet.Authentication.Cookies.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.AspNet.Authentication.Cookies.nuspec" - ] - }, - "Microsoft.AspNet.Cryptography.Internal/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "gQBLMaEd0ZRntSBjuWFJ6Qu3BKO6SORWA3Iv/Rhd4oEB1O8Mzdk3nHAyWyo/i8GhE740sajdwT8yXZTm3fzglg==", - "files": [ - "lib/dotnet5.4/Microsoft.AspNet.Cryptography.Internal.dll", - "lib/dotnet5.4/Microsoft.AspNet.Cryptography.Internal.xml", - "lib/net451/Microsoft.AspNet.Cryptography.Internal.dll", - "lib/net451/Microsoft.AspNet.Cryptography.Internal.xml", - "Microsoft.AspNet.Cryptography.Internal.1.0.0-rc1-final.nupkg", - "Microsoft.AspNet.Cryptography.Internal.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.AspNet.Cryptography.Internal.nuspec" - ] - }, - "Microsoft.AspNet.Cryptography.KeyDerivation/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "a0HOA+i0gEY5SIzJZX4QXuj+hY6C7NT3t60EwreWYPAy/rruoxlkarU8H9oHwtatT2/FjC8kdMNQS72y1I/5KQ==", - "files": [ - "lib/dotnet5.4/Microsoft.AspNet.Cryptography.KeyDerivation.dll", - "lib/dotnet5.4/Microsoft.AspNet.Cryptography.KeyDerivation.xml", - "lib/net451/Microsoft.AspNet.Cryptography.KeyDerivation.dll", - "lib/net451/Microsoft.AspNet.Cryptography.KeyDerivation.xml", - "Microsoft.AspNet.Cryptography.KeyDerivation.1.0.0-rc1-final.nupkg", - "Microsoft.AspNet.Cryptography.KeyDerivation.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.AspNet.Cryptography.KeyDerivation.nuspec" - ] - }, - "Microsoft.AspNet.DataProtection/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "HKcaIDRCz5KWkhmRiRs9mjZupJbdP3+Z3RQKdqwa6ZsXsO0ZUnmfpdYp6IFG69rTznmoSKjKJpcnvRA7w6psyA==", - "files": [ - "lib/dotnet5.4/Microsoft.AspNet.DataProtection.dll", - "lib/dotnet5.4/Microsoft.AspNet.DataProtection.xml", - "lib/net451/Microsoft.AspNet.DataProtection.dll", - "lib/net451/Microsoft.AspNet.DataProtection.xml", - "Microsoft.AspNet.DataProtection.1.0.0-rc1-final.nupkg", - "Microsoft.AspNet.DataProtection.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.AspNet.DataProtection.nuspec" - ] - }, - "Microsoft.AspNet.DataProtection.Abstractions/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "rNCftGtK32L1R8Y3JDl31fPtYI/wppN3xngBtcQ5R8DZBfSKzabDWre95feBIKWjcPqE+P/Y7n6ax8oGFcVSZw==", - "files": [ - "lib/dotnet5.4/Microsoft.AspNet.DataProtection.Abstractions.dll", - "lib/dotnet5.4/Microsoft.AspNet.DataProtection.Abstractions.xml", - "lib/net451/Microsoft.AspNet.DataProtection.Abstractions.dll", - "lib/net451/Microsoft.AspNet.DataProtection.Abstractions.xml", - "Microsoft.AspNet.DataProtection.Abstractions.1.0.0-rc1-final.nupkg", - "Microsoft.AspNet.DataProtection.Abstractions.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.AspNet.DataProtection.Abstractions.nuspec" - ] - }, - "Microsoft.AspNet.FileProviders.Abstractions/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "Tv6YJk78cH+gFipRNjeMpzzUg3t4BQiS0xYVlv/8gVNl4sI6ytAMYYfIbx8pCacIRH5Nx/Tw9GVn28eyw+JZfA==", - "files": [ - "lib/dotnet5.4/Microsoft.AspNet.FileProviders.Abstractions.dll", - "lib/dotnet5.4/Microsoft.AspNet.FileProviders.Abstractions.xml", - "lib/net451/Microsoft.AspNet.FileProviders.Abstractions.dll", - "lib/net451/Microsoft.AspNet.FileProviders.Abstractions.xml", - "Microsoft.AspNet.FileProviders.Abstractions.1.0.0-rc1-final.nupkg", - "Microsoft.AspNet.FileProviders.Abstractions.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.AspNet.FileProviders.Abstractions.nuspec" - ] - }, - "Microsoft.AspNet.Hosting.Abstractions/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "07N5rzYcsjkLgwoI923FcAvvf7167qhLgCExXwYYkdZUIJQzneRG0DqZJTm6qpnaD5igf4FM9F+eh2m7y5NFbg==", - "files": [ - "lib/dotnet5.4/Microsoft.AspNet.Hosting.Abstractions.dll", - "lib/dotnet5.4/Microsoft.AspNet.Hosting.Abstractions.xml", - "lib/net451/Microsoft.AspNet.Hosting.Abstractions.dll", - "lib/net451/Microsoft.AspNet.Hosting.Abstractions.xml", - "Microsoft.AspNet.Hosting.Abstractions.1.0.0-rc1-final.nupkg", - "Microsoft.AspNet.Hosting.Abstractions.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.AspNet.Hosting.Abstractions.nuspec" - ] - }, - "Microsoft.AspNet.Http/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "2vVd6xlfDKxl7pln5VOSczVo5bdJK6VLF6LR62Tb+le6e0COju7diAPHujFcXQlX/eLq2GrctN5vbIMeQ6vRTg==", - "files": [ - "lib/dotnet5.4/Microsoft.AspNet.Http.dll", - "lib/dotnet5.4/Microsoft.AspNet.Http.xml", - "lib/net451/Microsoft.AspNet.Http.dll", - "lib/net451/Microsoft.AspNet.Http.xml", - "Microsoft.AspNet.Http.1.0.0-rc1-final.nupkg", - "Microsoft.AspNet.Http.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.AspNet.Http.nuspec" - ] - }, - "Microsoft.AspNet.Http.Abstractions/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "sfzc1WJMl8wGCF+rChVfJ7otT6tTv24RNXUej2r8tlQ2RDNnAozYyGb0SCW2mxpHrC31On99Wt0rksgF0c2WUw==", - "files": [ - "lib/dotnet5.4/Microsoft.AspNet.Http.Abstractions.dll", - "lib/dotnet5.4/Microsoft.AspNet.Http.Abstractions.xml", - "lib/net451/Microsoft.AspNet.Http.Abstractions.dll", - "lib/net451/Microsoft.AspNet.Http.Abstractions.xml", - "Microsoft.AspNet.Http.Abstractions.1.0.0-rc1-final.nupkg", - "Microsoft.AspNet.Http.Abstractions.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.AspNet.Http.Abstractions.nuspec" - ] - }, - "Microsoft.AspNet.Http.Extensions/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "rsjbxD9W6NfqP0WNHMRyetIh6ZoKRbK1ea0V5xWdVAx53WdvgBy0HmkSwXt506+xU65jjZP19F4Ua4YjZdPHfQ==", - "files": [ - "lib/dotnet5.4/Microsoft.AspNet.Http.Extensions.dll", - "lib/dotnet5.4/Microsoft.AspNet.Http.Extensions.xml", - "lib/net451/Microsoft.AspNet.Http.Extensions.dll", - "lib/net451/Microsoft.AspNet.Http.Extensions.xml", - "Microsoft.AspNet.Http.Extensions.1.0.0-rc1-final.nupkg", - "Microsoft.AspNet.Http.Extensions.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.AspNet.Http.Extensions.nuspec" - ] - }, - "Microsoft.AspNet.Http.Features/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "WlscfdAvN8XaaK1iv1Iewp5emei7+0SlXNkUh7kMJpeaS6K0GhwNmwqZR6VrT1oN+Maw98nEONHS34/suqQwOA==", - "files": [ - "lib/dotnet5.4/Microsoft.AspNet.Http.Features.dll", - "lib/dotnet5.4/Microsoft.AspNet.Http.Features.xml", - "lib/net451/Microsoft.AspNet.Http.Features.dll", - "lib/net451/Microsoft.AspNet.Http.Features.xml", - "Microsoft.AspNet.Http.Features.1.0.0-rc1-final.nupkg", - "Microsoft.AspNet.Http.Features.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.AspNet.Http.Features.nuspec" - ] - }, - "Microsoft.AspNet.Identity/3.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "ACPci5zUktgGFqdZ48dWexty24lROTEW/MK3LxIDe88zssLiqMhHrIndp4G/1vafmUfL+9lTw7oda6GRD53cEg==", - "files": [ - "lib/dotnet5.4/Microsoft.AspNet.Identity.dll", - "lib/dotnet5.4/Microsoft.AspNet.Identity.xml", - "lib/net451/Microsoft.AspNet.Identity.dll", - "lib/net451/Microsoft.AspNet.Identity.xml", - "Microsoft.AspNet.Identity.3.0.0-rc1-final.nupkg", - "Microsoft.AspNet.Identity.3.0.0-rc1-final.nupkg.sha512", - "Microsoft.AspNet.Identity.nuspec" - ] - }, - "Microsoft.AspNet.Identity.EntityFramework/3.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "XayUdpI6mRgL4e9kowTxlYURvDGNj7FBhqbOn6uxvQwwD7gltYzKL3T07nCeSzxR5m2sJ+IvrJCMPihKrtuR5w==", - "files": [ - "lib/dotnet5.4/Microsoft.AspNet.Identity.EntityFramework.dll", - "lib/dotnet5.4/Microsoft.AspNet.Identity.EntityFramework.xml", - "lib/net451/Microsoft.AspNet.Identity.EntityFramework.dll", - "lib/net451/Microsoft.AspNet.Identity.EntityFramework.xml", - "Microsoft.AspNet.Identity.EntityFramework.3.0.0-rc1-final.nupkg", - "Microsoft.AspNet.Identity.EntityFramework.3.0.0-rc1-final.nupkg.sha512", - "Microsoft.AspNet.Identity.EntityFramework.nuspec" - ] - }, - "Microsoft.AspNet.WebUtilities/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "0D80xroAEiWlB9X5eR/JUya1H2saIYnt4d7bPru5RRf5L/66X+9WWhf3hFkLUF3W13K6g6K9Is9dCTaEfFFKTA==", - "files": [ - "lib/dotnet5.4/Microsoft.AspNet.WebUtilities.dll", - "lib/dotnet5.4/Microsoft.AspNet.WebUtilities.xml", - "lib/net451/Microsoft.AspNet.WebUtilities.dll", - "lib/net451/Microsoft.AspNet.WebUtilities.xml", - "Microsoft.AspNet.WebUtilities.1.0.0-rc1-final.nupkg", - "Microsoft.AspNet.WebUtilities.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.AspNet.WebUtilities.nuspec" - ] - }, - "Microsoft.Extensions.Caching.Abstractions/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "WlNfPuf/8Q7DzMiOHjiT9Ha2IYdguLGfHT/2C/p9KzviCKXaqfrIdI6X9w5MmCuiYRucqK+iM5cIWKHQ1mmZrg==", - "files": [ - "lib/dotnet5.4/Microsoft.Extensions.Caching.Abstractions.dll", - "lib/dotnet5.4/Microsoft.Extensions.Caching.Abstractions.xml", - "lib/net451/Microsoft.Extensions.Caching.Abstractions.dll", - "lib/net451/Microsoft.Extensions.Caching.Abstractions.xml", - "lib/netcore50/Microsoft.Extensions.Caching.Abstractions.dll", - "lib/netcore50/Microsoft.Extensions.Caching.Abstractions.xml", - "Microsoft.Extensions.Caching.Abstractions.1.0.0-rc1-final.nupkg", - "Microsoft.Extensions.Caching.Abstractions.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.Extensions.Caching.Abstractions.nuspec" - ] - }, - "Microsoft.Extensions.Caching.Memory/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "KQFkXdBieLObHr1+ld0FVOLQLgVFcrhn6qIixsmP09TyEw2VaGPrzIiBVJSzyKfaE2MVJlshDvfdvcfSE/zl3g==", - "files": [ - "lib/dotnet5.4/Microsoft.Extensions.Caching.Memory.dll", - "lib/dotnet5.4/Microsoft.Extensions.Caching.Memory.xml", - "lib/net451/Microsoft.Extensions.Caching.Memory.dll", - "lib/net451/Microsoft.Extensions.Caching.Memory.xml", - "lib/netcore50/Microsoft.Extensions.Caching.Memory.dll", - "lib/netcore50/Microsoft.Extensions.Caching.Memory.xml", - "Microsoft.Extensions.Caching.Memory.1.0.0-rc1-final.nupkg", - "Microsoft.Extensions.Caching.Memory.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.Extensions.Caching.Memory.nuspec" - ] - }, - "Microsoft.Extensions.Configuration/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "2ayWzqMVGWjr8o8bOSnIsyQbi9sLz9Ya8+YM+9tM/ivSnLHuN7TNHNfJv4jTyRZvoOafdh5Ivlc/OdmsZPXlQQ==", - "files": [ - "lib/dotnet5.4/Microsoft.Extensions.Configuration.dll", - "lib/dotnet5.4/Microsoft.Extensions.Configuration.xml", - "lib/net451/Microsoft.Extensions.Configuration.dll", - "lib/net451/Microsoft.Extensions.Configuration.xml", - "lib/netcore50/Microsoft.Extensions.Configuration.dll", - "lib/netcore50/Microsoft.Extensions.Configuration.xml", - "Microsoft.Extensions.Configuration.1.0.0-rc1-final.nupkg", - "Microsoft.Extensions.Configuration.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.Extensions.Configuration.nuspec" - ] - }, - "Microsoft.Extensions.Configuration.Abstractions/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "xA7ObOlIswcx2qakv69kz0pnBizFJrmwxRxJyjPOHWfevF4W+OdolZsbKOc12kY7y5upqhAvNGWTblffMvADHA==", - "files": [ - "lib/dotnet5.4/Microsoft.Extensions.Configuration.Abstractions.dll", - "lib/dotnet5.4/Microsoft.Extensions.Configuration.Abstractions.xml", - "lib/net451/Microsoft.Extensions.Configuration.Abstractions.dll", - "lib/net451/Microsoft.Extensions.Configuration.Abstractions.xml", - "lib/netcore50/Microsoft.Extensions.Configuration.Abstractions.dll", - "lib/netcore50/Microsoft.Extensions.Configuration.Abstractions.xml", - "Microsoft.Extensions.Configuration.Abstractions.1.0.0-rc1-final.nupkg", - "Microsoft.Extensions.Configuration.Abstractions.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.Extensions.Configuration.Abstractions.nuspec" - ] - }, - "Microsoft.Extensions.Configuration.Binder/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "tuIi7cRq6lbpCybL+z9vamz/KbM+nN9nyJ2Id5bKCdxKDNMnKb9PdMxJ+0DHc8p6fP00PyQucYuN5EpxsYrX6Q==", - "files": [ - "lib/dotnet5.4/Microsoft.Extensions.Configuration.Binder.dll", - "lib/dotnet5.4/Microsoft.Extensions.Configuration.Binder.xml", - "lib/net451/Microsoft.Extensions.Configuration.Binder.dll", - "lib/net451/Microsoft.Extensions.Configuration.Binder.xml", - "lib/netcore50/Microsoft.Extensions.Configuration.Binder.dll", - "lib/netcore50/Microsoft.Extensions.Configuration.Binder.xml", - "Microsoft.Extensions.Configuration.Binder.1.0.0-rc1-final.nupkg", - "Microsoft.Extensions.Configuration.Binder.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.Extensions.Configuration.Binder.nuspec" - ] - }, - "Microsoft.Extensions.DependencyInjection/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "S/+s3fq85j21H5nYOvh1fIt1arl8F5lZ7Ryiw/qend83yHQwIQbBs+dip9FhqiPmAn6Dz3UhW0likQQurfEsLQ==", - "files": [ - "lib/dotnet5.4/Microsoft.Extensions.DependencyInjection.dll", - "lib/dotnet5.4/Microsoft.Extensions.DependencyInjection.xml", - "lib/net451/Microsoft.Extensions.DependencyInjection.dll", - "lib/net451/Microsoft.Extensions.DependencyInjection.xml", - "lib/netcore50/Microsoft.Extensions.DependencyInjection.dll", - "lib/netcore50/Microsoft.Extensions.DependencyInjection.xml", - "Microsoft.Extensions.DependencyInjection.1.0.0-rc1-final.nupkg", - "Microsoft.Extensions.DependencyInjection.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.Extensions.DependencyInjection.nuspec" - ] - }, - "Microsoft.Extensions.DependencyInjection.Abstractions/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "MUKexXAsRZ55C7YZ26ShePZgBeW+6FbasxeIVmZ/BZIgiG4uw6yPOdfl9WvTaUL9SFK2sEPcYLatWmLfTpsOAA==", - "files": [ - "lib/dotnet5.4/Microsoft.Extensions.DependencyInjection.Abstractions.dll", - "lib/dotnet5.4/Microsoft.Extensions.DependencyInjection.Abstractions.xml", - "lib/net451/Microsoft.Extensions.DependencyInjection.Abstractions.dll", - "lib/net451/Microsoft.Extensions.DependencyInjection.Abstractions.xml", - "lib/netcore50/Microsoft.Extensions.DependencyInjection.Abstractions.dll", - "lib/netcore50/Microsoft.Extensions.DependencyInjection.Abstractions.xml", - "Microsoft.Extensions.DependencyInjection.Abstractions.1.0.0-rc1-final.nupkg", - "Microsoft.Extensions.DependencyInjection.Abstractions.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.Extensions.DependencyInjection.Abstractions.nuspec" - ] - }, - "Microsoft.Extensions.Logging/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "anegHH4XHjaCmC557A0uvnJzprT44MOKr669yfiQLtITA+lQrM3aMijxjjdCREnxE8ftXuSz+6wViCvkgcAOhA==", - "files": [ - "lib/dotnet5.4/Microsoft.Extensions.Logging.dll", - "lib/dotnet5.4/Microsoft.Extensions.Logging.xml", - "lib/net451/Microsoft.Extensions.Logging.dll", - "lib/net451/Microsoft.Extensions.Logging.xml", - "lib/netcore50/Microsoft.Extensions.Logging.dll", - "lib/netcore50/Microsoft.Extensions.Logging.xml", - "Microsoft.Extensions.Logging.1.0.0-rc1-final.nupkg", - "Microsoft.Extensions.Logging.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.Extensions.Logging.nuspec" - ] - }, - "Microsoft.Extensions.Logging.Abstractions/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "ejGO1JhPXMsCCSyH12xwkOYsb9oBv2gHc3LLaT2jevrD//xuQizWaxpVk0/rHGdORkWdp+kT2Qmuz/sLyNWW/g==", - "files": [ - "lib/dotnet5.4/Microsoft.Extensions.Logging.Abstractions.dll", - "lib/dotnet5.4/Microsoft.Extensions.Logging.Abstractions.xml", - "lib/net451/Microsoft.Extensions.Logging.Abstractions.dll", - "lib/net451/Microsoft.Extensions.Logging.Abstractions.xml", - "lib/netcore50/Microsoft.Extensions.Logging.Abstractions.dll", - "lib/netcore50/Microsoft.Extensions.Logging.Abstractions.xml", - "Microsoft.Extensions.Logging.Abstractions.1.0.0-rc1-final.nupkg", - "Microsoft.Extensions.Logging.Abstractions.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.Extensions.Logging.Abstractions.nuspec" - ] - }, - "Microsoft.Extensions.OptionsModel/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "IhK5pNqRgakrwiv5OrB6hv7e6+TZzYqfJr40Qri0Xgi+oXJklNgbA5eHvzZrghdHfqfSqcvLWtWD0ri6e8Eo1w==", - "files": [ - "lib/dotnet5.4/Microsoft.Extensions.OptionsModel.dll", - "lib/dotnet5.4/Microsoft.Extensions.OptionsModel.xml", - "lib/net451/Microsoft.Extensions.OptionsModel.dll", - "lib/net451/Microsoft.Extensions.OptionsModel.xml", - "lib/netcore50/Microsoft.Extensions.OptionsModel.dll", - "lib/netcore50/Microsoft.Extensions.OptionsModel.xml", - "Microsoft.Extensions.OptionsModel.1.0.0-rc1-final.nupkg", - "Microsoft.Extensions.OptionsModel.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.Extensions.OptionsModel.nuspec" - ] - }, - "Microsoft.Extensions.PlatformAbstractions/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "26HS4c6MBisN+D7XUr8HObOI/JJvSJQYQR//Bfw/hi9UqhqK3lFpNKjOuYHI+gTxYdXT46HqZiz4D+k7d+ob3A==", - "files": [ - "lib/dotnet5.4/Microsoft.Extensions.PlatformAbstractions.dll", - "lib/dotnet5.4/Microsoft.Extensions.PlatformAbstractions.xml", - "lib/net451/Microsoft.Extensions.PlatformAbstractions.dll", - "lib/net451/Microsoft.Extensions.PlatformAbstractions.xml", - "Microsoft.Extensions.PlatformAbstractions.1.0.0-rc1-final.nupkg", - "Microsoft.Extensions.PlatformAbstractions.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.Extensions.PlatformAbstractions.nuspec" - ] - }, - "Microsoft.Extensions.Primitives/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "oHWqBARJveyM7LctuqQqvsTC58hxoq0gGnHr6Qsxie71LIkZpfE21IklhSLOsqmv4QIpes/G6k1vZbAQ+cC/nw==", - "files": [ - "lib/dotnet5.4/Microsoft.Extensions.Primitives.dll", - "lib/dotnet5.4/Microsoft.Extensions.Primitives.xml", - "lib/net451/Microsoft.Extensions.Primitives.dll", - "lib/net451/Microsoft.Extensions.Primitives.xml", - "lib/netcore50/Microsoft.Extensions.Primitives.dll", - "lib/netcore50/Microsoft.Extensions.Primitives.xml", - "Microsoft.Extensions.Primitives.1.0.0-rc1-final.nupkg", - "Microsoft.Extensions.Primitives.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.Extensions.Primitives.nuspec" - ] - }, - "Microsoft.Extensions.WebEncoders/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "wzBnlP/2tFePKvM+DNyRuf6mWt9BxCRjdQBFi+9xUz0DhFdhMzLKN97ZE9/fd36rUVjd2JwlGqHUOSYQURNhfw==", - "files": [ - "lib/dotnet5.4/Microsoft.Extensions.WebEncoders.dll", - "lib/dotnet5.4/Microsoft.Extensions.WebEncoders.xml", - "lib/net451/Microsoft.Extensions.WebEncoders.dll", - "lib/net451/Microsoft.Extensions.WebEncoders.xml", - "Microsoft.Extensions.WebEncoders.1.0.0-rc1-final.nupkg", - "Microsoft.Extensions.WebEncoders.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.Extensions.WebEncoders.nuspec" - ] - }, - "Microsoft.Extensions.WebEncoders.Core/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "wt47w3Zu7JvuD7CfRSCaz0IZL5EzpuzicRm6Qcidteb2TVeB98Psg7YGiwIBeYB1b52YFTBgqC+ySKk/GRhy2A==", - "files": [ - "lib/dotnet5.4/Microsoft.Extensions.WebEncoders.Core.dll", - "lib/dotnet5.4/Microsoft.Extensions.WebEncoders.Core.xml", - "lib/net451/Microsoft.Extensions.WebEncoders.Core.dll", - "lib/net451/Microsoft.Extensions.WebEncoders.Core.xml", - "Microsoft.Extensions.WebEncoders.Core.1.0.0-rc1-final.nupkg", - "Microsoft.Extensions.WebEncoders.Core.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.Extensions.WebEncoders.Core.nuspec" - ] - }, - "Microsoft.Net.Http.Headers/1.0.0-rc1-final": { - "type": "package", - "serviceable": true, - "sha512": "Y10hkmHQZLieW3J6J+vTiq86vifmJ7Vc2zrwNR349oAaUGjTHL0ws6rqHn0JDIcawBna4AE3OBNsL9vuZuE8bw==", - "files": [ - "lib/dotnet5.4/Microsoft.Net.Http.Headers.dll", - "lib/dotnet5.4/Microsoft.Net.Http.Headers.xml", - "lib/net451/Microsoft.Net.Http.Headers.dll", - "lib/net451/Microsoft.Net.Http.Headers.xml", - "Microsoft.Net.Http.Headers.1.0.0-rc1-final.nupkg", - "Microsoft.Net.Http.Headers.1.0.0-rc1-final.nupkg.sha512", - "Microsoft.Net.Http.Headers.nuspec" - ] - }, - "Newtonsoft.Json/9.0.1": { - "type": "package", - "sha512": "U82mHQSKaIk+lpSVCbWYKNavmNH1i5xrExDEquU1i6I5pV6UMOqRnJRSlKO3cMPfcpp0RgDY+8jUXHdQ4IfXvw==", - "files": [ - "lib/net20/Newtonsoft.Json.dll", - "lib/net20/Newtonsoft.Json.xml", - "lib/net35/Newtonsoft.Json.dll", - "lib/net35/Newtonsoft.Json.xml", - "lib/net40/Newtonsoft.Json.dll", - "lib/net40/Newtonsoft.Json.xml", - "lib/net45/Newtonsoft.Json.dll", - "lib/net45/Newtonsoft.Json.xml", - "lib/netstandard1.0/Newtonsoft.Json.dll", - "lib/netstandard1.0/Newtonsoft.Json.xml", - "lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll", - "lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml", - "lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dll", - "lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.xml", - "Newtonsoft.Json.9.0.1.nupkg", - "Newtonsoft.Json.9.0.1.nupkg.sha512", - "Newtonsoft.Json.nuspec", - "tools/install.ps1" - ] - }, - "Remotion.Linq/2.0.1": { - "type": "package", - "sha512": "SIO6HDH6CU9GC2IZGBrc6q5X5vRhfatXrg9cVavCEG9W6v5e88b+vXjmLGQEorch4sYEIImRr+ODyUMyrmrqAg==", - "files": [ - "lib/net35/Remotion.Linq.dll", - "lib/net35/Remotion.Linq.XML", - "lib/net40/Remotion.Linq.dll", - "lib/net40/Remotion.Linq.XML", - "lib/net45/Remotion.Linq.dll", - "lib/net45/Remotion.Linq.xml", - "lib/portable-net45+win+wpa81+wp80/Remotion.Linq.dll", - "lib/portable-net45+win+wpa81+wp80/Remotion.Linq.xml", - "Remotion.Linq.2.0.1.nupkg", - "Remotion.Linq.2.0.1.nupkg.sha512", - "Remotion.Linq.nuspec" - ] - }, - "System.Collections.Immutable/1.1.36": { - "type": "package", - "serviceable": true, - "sha512": "MOlivTIeAIQPPMUPWIIoMCvZczjFRLYUWSYwqi1szu8QPyeIbsaPeI+hpXe1DzTxNwnRnmfYaoToi6kXIfSPNg==", - "files": [ - "lib/portable-net45+win8+wp8+wpa81/System.Collections.Immutable.dll", - "lib/portable-net45+win8+wp8+wpa81/System.Collections.Immutable.xml", - "License-Stable.rtf", - "System.Collections.Immutable.1.1.36.nupkg", - "System.Collections.Immutable.1.1.36.nupkg.sha512", - "System.Collections.Immutable.nuspec" - ] - }, - "System.Diagnostics.DiagnosticSource/4.0.0-beta-23516": { - "type": "package", - "serviceable": true, - "sha512": "0uDR/UOmFCNPDCyHEPHhCrk6c1iRnDp00YqwSZ8Qf5aaaJjm4WXnf4Q9xZw4OoApsSiODSypDMdpQU24IxR16A==", - "files": [ - "lib/dotnet5.2/System.Diagnostics.DiagnosticSource.dll", - "lib/dotnet5.2/System.Diagnostics.DiagnosticSource.xml", - "lib/portable-net45+win8+wp8+wpa81/System.Diagnostics.DiagnosticSource.dll", - "lib/portable-net45+win8+wp8+wpa81/System.Diagnostics.DiagnosticSource.xml", - "System.Diagnostics.DiagnosticSource.4.0.0-beta-23516.nupkg", - "System.Diagnostics.DiagnosticSource.4.0.0-beta-23516.nupkg.sha512", - "System.Diagnostics.DiagnosticSource.nuspec" - ] - }, - "System.Diagnostics.Tracing/4.0.0": { - "type": "package", - "sha512": "tzqQJPgD4bKs0eE5Gx9HEsxiHSBGcL42PImkjhwXTQK6iQbLTTB9mi+G7mUyEjlH8LUcm7F5QHEs+O+LpruOrQ==", - "files": [ - "lib/MonoAndroid10/_._", - "lib/MonoTouch10/_._", - "lib/net45/_._", - "lib/win8/_._", - "lib/wpa81/_._", - "lib/xamarinios10/_._", - "lib/xamarinmac20/_._", - "License.rtf", - "ref/dotnet/de/System.Diagnostics.Tracing.xml", - "ref/dotnet/es/System.Diagnostics.Tracing.xml", - "ref/dotnet/fr/System.Diagnostics.Tracing.xml", - "ref/dotnet/it/System.Diagnostics.Tracing.xml", - "ref/dotnet/ja/System.Diagnostics.Tracing.xml", - "ref/dotnet/ko/System.Diagnostics.Tracing.xml", - "ref/dotnet/ru/System.Diagnostics.Tracing.xml", - "ref/dotnet/System.Diagnostics.Tracing.dll", - "ref/dotnet/System.Diagnostics.Tracing.xml", - "ref/dotnet/zh-hans/System.Diagnostics.Tracing.xml", - "ref/dotnet/zh-hant/System.Diagnostics.Tracing.xml", - "ref/MonoAndroid10/_._", - "ref/MonoTouch10/_._", - "ref/net45/_._", - "ref/netcore50/de/System.Diagnostics.Tracing.xml", - "ref/netcore50/es/System.Diagnostics.Tracing.xml", - "ref/netcore50/fr/System.Diagnostics.Tracing.xml", - "ref/netcore50/it/System.Diagnostics.Tracing.xml", - "ref/netcore50/ja/System.Diagnostics.Tracing.xml", - "ref/netcore50/ko/System.Diagnostics.Tracing.xml", - "ref/netcore50/ru/System.Diagnostics.Tracing.xml", - "ref/netcore50/System.Diagnostics.Tracing.dll", - "ref/netcore50/System.Diagnostics.Tracing.xml", - "ref/netcore50/zh-hans/System.Diagnostics.Tracing.xml", - "ref/netcore50/zh-hant/System.Diagnostics.Tracing.xml", - "ref/win8/_._", - "ref/wpa81/_._", - "ref/xamarinios10/_._", - "ref/xamarinmac20/_._", - "System.Diagnostics.Tracing.4.0.0.nupkg", - "System.Diagnostics.Tracing.4.0.0.nupkg.sha512", - "System.Diagnostics.Tracing.nuspec" - ] - }, - "System.Json/4.0.20126.16343": { - "type": "package", - "sha512": "iFfVzUyuvd5YcTw8NcP62mJ0F+JQ2dDLRArxYk+t6JKdb00mW/uaU3JyO1OuXC3RUsB6ITRYN4FCnxff89Hn4g==", - "files": [ - "lib/net40/System.Json.dll", - "lib/net40/System.Json.xml", - "System.Json.4.0.20126.16343.nupkg", - "System.Json.4.0.20126.16343.nupkg.sha512", - "System.Json.nuspec" - ] - }, - "System.Runtime/4.0.0": { - "type": "package", - "sha512": "Uq9epame8hEqJlj4KaWb67dDJvj4IM37jRFGVeFbugRdPz48bR0voyBhrbf3iSa2tAmlkg4lsa6BUOL9iwlMew==", - "files": [ - "lib/MonoAndroid10/_._", - "lib/MonoTouch10/_._", - "lib/net45/_._", - "lib/win8/_._", - "lib/wp80/_._", - "lib/wpa81/_._", - "lib/xamarinios10/_._", - "lib/xamarinmac20/_._", - "License.rtf", - "ref/dotnet/de/System.Runtime.xml", - "ref/dotnet/es/System.Runtime.xml", - "ref/dotnet/fr/System.Runtime.xml", - "ref/dotnet/it/System.Runtime.xml", - "ref/dotnet/ja/System.Runtime.xml", - "ref/dotnet/ko/System.Runtime.xml", - "ref/dotnet/ru/System.Runtime.xml", - "ref/dotnet/System.Runtime.dll", - "ref/dotnet/System.Runtime.xml", - "ref/dotnet/zh-hans/System.Runtime.xml", - "ref/dotnet/zh-hant/System.Runtime.xml", - "ref/MonoAndroid10/_._", - "ref/MonoTouch10/_._", - "ref/net45/_._", - "ref/netcore50/de/System.Runtime.xml", - "ref/netcore50/es/System.Runtime.xml", - "ref/netcore50/fr/System.Runtime.xml", - "ref/netcore50/it/System.Runtime.xml", - "ref/netcore50/ja/System.Runtime.xml", - "ref/netcore50/ko/System.Runtime.xml", - "ref/netcore50/ru/System.Runtime.xml", - "ref/netcore50/System.Runtime.dll", - "ref/netcore50/System.Runtime.xml", - "ref/netcore50/zh-hans/System.Runtime.xml", - "ref/netcore50/zh-hant/System.Runtime.xml", - "ref/win8/_._", - "ref/wp80/_._", - "ref/wpa81/_._", - "ref/xamarinios10/_._", - "ref/xamarinmac20/_._", - "System.Runtime.4.0.0.nupkg", - "System.Runtime.4.0.0.nupkg.sha512", - "System.Runtime.nuspec" - ] - }, - "System.Threading/4.0.0": { - "type": "package", - "sha512": "H6O/9gUrjPDNYanh/7OFGAZHjVXvEuITD0RcnjfvIV04HOGrOPqUBU0kmz9RIX/7YGgCQn1o1S2DX6Cuv8kVGQ==", - "files": [ - "lib/MonoAndroid10/_._", - "lib/MonoTouch10/_._", - "lib/net45/_._", - "lib/win8/_._", - "lib/wp80/_._", - "lib/wpa81/_._", - "lib/xamarinios10/_._", - "lib/xamarinmac20/_._", - "License.rtf", - "ref/dotnet/de/System.Threading.xml", - "ref/dotnet/es/System.Threading.xml", - "ref/dotnet/fr/System.Threading.xml", - "ref/dotnet/it/System.Threading.xml", - "ref/dotnet/ja/System.Threading.xml", - "ref/dotnet/ko/System.Threading.xml", - "ref/dotnet/ru/System.Threading.xml", - "ref/dotnet/System.Threading.dll", - "ref/dotnet/System.Threading.xml", - "ref/dotnet/zh-hans/System.Threading.xml", - "ref/dotnet/zh-hant/System.Threading.xml", - "ref/MonoAndroid10/_._", - "ref/MonoTouch10/_._", - "ref/net45/_._", - "ref/netcore50/de/System.Threading.xml", - "ref/netcore50/es/System.Threading.xml", - "ref/netcore50/fr/System.Threading.xml", - "ref/netcore50/it/System.Threading.xml", - "ref/netcore50/ja/System.Threading.xml", - "ref/netcore50/ko/System.Threading.xml", - "ref/netcore50/ru/System.Threading.xml", - "ref/netcore50/System.Threading.dll", - "ref/netcore50/System.Threading.xml", - "ref/netcore50/zh-hans/System.Threading.xml", - "ref/netcore50/zh-hant/System.Threading.xml", - "ref/win8/_._", - "ref/wp80/_._", - "ref/wpa81/_._", - "ref/xamarinios10/_._", - "ref/xamarinmac20/_._", - "System.Threading.4.0.0.nupkg", - "System.Threading.4.0.0.nupkg.sha512", - "System.Threading.nuspec" - ] - } - }, - "projectFileDependencyGroups": { - "": [ - "EntityFramework.Commands >= 7.0.0-rc1-*", - "EntityFramework.Core >= 7.0.0-rc1-*", - "EntityFramework.MicrosoftSqlServer >= 7.0.0-rc1-*", - "EntityFramework.Relational >= 7.0.0-rc1-*", - "Microsoft.AspNet.Identity.EntityFramework >= 3.0.0-rc1-*", - "Newtonsoft.Json >= 9.0.1", - "System.Json >= 4.0.20126.16343" - ], - ".NETFramework,Version=v4.5.1": [] - } -} \ No newline at end of file diff --git a/Yavsc.Client/Yavsc.Client.nuget.targets b/Yavsc.Client/Yavsc.Client.nuget.targets deleted file mode 100644 index 85cf587b..00000000 --- a/Yavsc.Client/Yavsc.Client.nuget.targets +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/Yavsc.Client/project.lock.json b/Yavsc.Client/project.lock.json deleted file mode 100644 index a7ebab43..00000000 --- a/Yavsc.Client/project.lock.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "locked": false, - "version": 2, - "targets": { - ".NETFramework,Version=v4.5.1": {}, - ".NETPortable,Version=v4.5,Profile=Profile111": {} - }, - "libraries": {}, - "projectFileDependencyGroups": { - "": [], - ".NETFramework,Version=v4.5.1": [], - ".NETPortable,Version=v4.5,Profile=Profile111": [] - }, - "tools": {}, - "projectFileToolGroups": {} -} \ No newline at end of file diff --git a/Yavsc/ApiControllers/AccountController.cs b/Yavsc/ApiControllers/AccountController.cs index dcb3d8b4..cf28fd5c 100644 --- a/Yavsc/ApiControllers/AccountController.cs +++ b/Yavsc/ApiControllers/AccountController.cs @@ -11,6 +11,7 @@ namespace Yavsc.WebApi.Controllers using Models.Account; using ViewModels.Account; using Models.Auth; + using Yavsc.Helpers; [Authorize,Route("~/api/account")] public class ApiAccountController : Controller @@ -136,31 +137,37 @@ namespace Yavsc.WebApi.Controllers ); return Ok(user); } + + /// + /// Actually only updates the user's name. + /// + /// MyUpdate containing the new user name + /// Ok when all is ok. [HttpPut("~/api/me")] public async Task UpdateMe(MyUpdate me) { - var ko = new BadRequestObjectResult( - new { error = "Specify some valid update request." }); - if (me==null) return ko; - if (me.Avatar==null && me.UserName == null) return ko; + if (!ModelState.IsValid) return new BadRequestObjectResult( + new { error = "Specify some valid user update request." }); var user = await _userManager.FindByIdAsync(User.GetUserId()); - - if (me.UserName !=null) { - var result = await _userManager.SetUserNameAsync(user, me.UserName); - } - if (me.Avatar!=null) { - user.Avatar = me.Avatar; - var result = await _userManager.UpdateAsync(user); - if (!result.Succeeded) - { - AddErrors("Avatar", result); - return new BadRequestObjectResult(ModelState); - } - } - return Ok(); + var result = await _userManager.SetUserNameAsync(user, me.UserName); + if (result.Succeeded) + return Ok(); + else return new BadRequestObjectResult(result); + } + /// + /// Updates the avatar + /// + /// + [HttpPost("~/api/setavatar")] + public async Task SetAvatar() + { + var root = User.InitPostToFileSystem(null); + var user = await _userManager.FindByIdAsync(User.GetUserId()); + if (Request.Form.Files.Count!=1) + return new BadRequestResult(); + var info = user.ReceiveAvatar(Request.Form.Files[0]); + await _userManager.UpdateAsync(user); + return Ok(info); } - - - } } diff --git a/Yavsc/ApiControllers/FileSystemApiController.cs b/Yavsc/ApiControllers/FileSystemApiController.cs index a65302a1..b2231447 100644 --- a/Yavsc/ApiControllers/FileSystemApiController.cs +++ b/Yavsc/ApiControllers/FileSystemApiController.cs @@ -1,21 +1,31 @@ +using System; using System.Collections.Generic; -using System.IO; +using System.Linq; +using System.Security.Claims; using Microsoft.AspNet.Authorization; using Microsoft.AspNet.Mvc; using Yavsc.Helpers; using Yavsc.Models; +using Yavsc.Models.FileSystem; namespace Yavsc.ApiControllers { + + public class FSQuotaException : Exception { + + } + [Authorize,Route("api/fs")] public class FileSystemApiController : Controller { + ApplicationDbContext dbContext; private IAuthorizationService AuthorizationService; public FileSystemApiController(ApplicationDbContext context, IAuthorizationService authorizationService) { AuthorizationService = authorizationService; + dbContext = context; } [HttpGet()] @@ -34,43 +44,20 @@ namespace Yavsc.ApiControllers return Ok(files); } - public class FileRecievedInfo - { - public string DestDir { get; set; } - public string ContentDisposition { get; set; } - public bool Overriden { get; set; } - } + [HttpPost] public IEnumerable Post(string subdir="") { - var root = Path.Combine(Startup.UserFilesDirName, User.Identity.Name); - // TOSO secure this path - // if (subdir!=null) root = Path.Combine(root, subdir); - var diRoot = new DirectoryInfo(root); - if (!diRoot.Exists) diRoot.Create(); + var root = User.InitPostToFileSystem(subdir); + + var user = dbContext.Users.Single( + u => u.Id == User.GetUserId() + ); - foreach (var f in Request.Form.Files.GetFiles("Files")) + foreach (var f in Request.Form.Files) { - var item = new FileRecievedInfo(); - item.ContentDisposition = f.ContentDisposition; - var fi = new FileInfo(Path.Combine(root, f.ContentDisposition)); - if (fi.Exists) item.Overriden = true; - using (var dest = fi.OpenWrite()) - { - using (var org = f.OpenReadStream()) - { - byte[] buffer = new byte[1024]; - int o = 0, c; - while ((c = org.Read(buffer, o, 1024)) > 0) - { - dest.Write(buffer, o, c); - o += 1024; - // TODO quota - } - dest.Close(); - org.Close(); - } - } + var item = user.ReceiveUserFile(root, f); + dbContext.SaveChanges(); yield return item; }; } diff --git a/Yavsc/ApiControllers/PdfEstimateController.cs b/Yavsc/ApiControllers/PdfEstimateController.cs index 9328cf87..9fb1dd11 100644 --- a/Yavsc/ApiControllers/PdfEstimateController.cs +++ b/Yavsc/ApiControllers/PdfEstimateController.cs @@ -8,6 +8,7 @@ using Microsoft.AspNet.Razor; namespace Yavsc.ApiControllers { using Models; + using Helpers; [Route("api/pdfestimate"), Authorize] public class PdfEstimateController : Controller @@ -79,13 +80,21 @@ namespace Yavsc.ApiControllers public IActionResult GetTex(long id) { Response.ContentType = "text/x-tex"; - return ViewComponent("Estimate",new object[] { id, false }); + return ViewComponent("Estimate",new object[] { id, "LaTeX" }); } [HttpPost("gen/{id}")] public IActionResult GeneratePdf(long id) { - return ViewComponent("Estimate",new object[] { id, true } ); + return ViewComponent("Estimate",new object[] { id, "Pdf" } ); + } + + [HttpPost("prosign/{id}")] + public IActionResult ProSign(long id) + { + if (Request.Form.Files.Count!=1) + return new BadRequestResult(); + return Ok (User.ReceiveProSignature(id,Request.Form.Files[0])); } } } \ No newline at end of file diff --git a/Yavsc/Constants.cs b/Yavsc/Constants.cs index 5d741499..3fd2c095 100644 --- a/Yavsc/Constants.cs +++ b/Yavsc/Constants.cs @@ -23,10 +23,10 @@ namespace Yavsc StarHunterGroupName = "StarHunter", BlogModeratorGroupName = "Moderator", FrontOfficeGroupName = "FrontOffice", - UserBillsFilesDir= "Bills", - UserFilesDir = "UserFiles", GCMNotificationUrl = "https://gcm-http.googleapis.com/gcm/send", - KeyProtectorPurpose = "OAuth.AspNet.AuthServer"; + KeyProtectorPurpose = "OAuth.AspNet.AuthServer", + UserFilesPath = "/UserFiles", + AvatarsPath = "/Avatars" ; public static readonly Scope[] SiteScopes = {  new Scope { Id = "profile", Description = "Your profile informations" },   new Scope { Id = "book" , Description ="Your booking interface"},   diff --git a/Yavsc/Controllers/AccountController.cs b/Yavsc/Controllers/AccountController.cs index d72b22d1..4bd786d9 100644 --- a/Yavsc/Controllers/AccountController.cs +++ b/Yavsc/Controllers/AccountController.cs @@ -183,6 +183,7 @@ namespace Yavsc.Controllers var result = await _userManager.CreateAsync(user, model.Password); if (result.Succeeded) { + user.DiskQuota = Startup.SiteSetup.UserFiles.Quota; // For more information on how to enable account confirmation and password reset please visit http://go.microsoft.com/fwlink/?LinkID=532713 // Send an email with this link var code = await _userManager.GenerateEmailConfirmationTokenAsync(user); diff --git a/Yavsc/Controllers/EstimateController.cs b/Yavsc/Controllers/EstimateController.cs index 919a2db5..e9aeaefa 100644 --- a/Yavsc/Controllers/EstimateController.cs +++ b/Yavsc/Controllers/EstimateController.cs @@ -1,9 +1,9 @@ using System.Collections.Generic; using System.IO; using System.Linq; +using System.Net.Mime; using System.Security.Claims; using Microsoft.AspNet.Authorization; -using Microsoft.AspNet.FileProviders; using Microsoft.AspNet.Http; using Microsoft.AspNet.Mvc; using Microsoft.Data.Entity; @@ -62,9 +62,6 @@ namespace Yavsc.Controllers { return HttpNotFound(); } - DirectoryInfo di = new DirectoryInfo(_site.UserFiles.DirName); - - return View(estimate); } @@ -106,21 +103,26 @@ namespace Yavsc.Controllers cmd => cmd.Id == estimate.CommandId ); - var userdir = Path.Combine( - _site.UserFiles.DirName, + var billsdir = Path.Combine( + _site.UserFiles.Bills, perfomerProfile.Performer.UserName ); - var fsp = new PhysicalFileProvider(userdir); - var billsdir = Path.Combine(userdir, - Constants.UserBillsFilesDir); - foreach (var gr in newGraphics) { + ContentDisposition contentDisposition = new ContentDisposition(gr.ContentDisposition); gr.SaveAs( Path.Combine( Path.Combine(billsdir, estimate.Id.ToString()), - gr.ContentDisposition)); + contentDisposition.FileName)); + } + foreach (var formFile in newFiles) + { + ContentDisposition contentDisposition = new ContentDisposition(formFile.ContentDisposition); + formFile.SaveAs( + Path.Combine( + Path.Combine(billsdir, estimate.Id.ToString()), + contentDisposition.FileName)); } return RedirectToAction("Index"); } diff --git a/Yavsc/Controllers/ManageController.cs b/Yavsc/Controllers/ManageController.cs index a954e3cb..655f51bf 100644 --- a/Yavsc/Controllers/ManageController.cs +++ b/Yavsc/Controllers/ManageController.cs @@ -106,7 +106,9 @@ namespace Yavsc.Controllers PostalAddress = user.PostalAddress?.Address, FullName = user.FullName, Avatar = user.Avatar, - BankInfo = user.BankInfo + BankInfo = user.BankInfo, + DiskUsage = user.DiskUsage, + DiskQuota = user.DiskQuota }; if (_dbContext.Performers.Any(x => x.PerformerId == user.Id)) { @@ -481,7 +483,7 @@ namespace Yavsc.Controllers [HttpGet, Authorize] public IActionResult SetAvatar() { - throw new NotImplementedException(); + return View(); } [HttpGet, Authorize] diff --git a/Yavsc/Helpers/FileSystemHelpers.cs b/Yavsc/Helpers/FileSystemHelpers.cs index a4a6d745..27ebac41 100644 --- a/Yavsc/Helpers/FileSystemHelpers.cs +++ b/Yavsc/Helpers/FileSystemHelpers.cs @@ -1,36 +1,187 @@ + +using System; +using System.Drawing; +using System.Drawing.Imaging; using System.IO; using System.Linq; +using System.Net.Mime; using System.Security.Claims; +using Microsoft.AspNet.Http; +using Yavsc.ApiControllers; +using Yavsc.Models; +using Yavsc.Models.FileSystem; using Yavsc.ViewModels.UserFiles; namespace Yavsc.Helpers { - public static class FileSystemHelpers { + public static class FileSystemHelpers + { + + public static UserDirectoryInfo GetUserFiles(this ClaimsPrincipal user, string subdir) + { + + UserDirectoryInfo di = new UserDirectoryInfo(user.Identity.Name, subdir); - public static UserDirectoryInfo GetUserFiles(this ClaimsPrincipal user,string subdir) { - - UserDirectoryInfo di = new UserDirectoryInfo(user.Identity.Name,subdir); - return di; } - static char [] ValidChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_~.".ToCharArray(); + static char[] ValidChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_~.".ToCharArray(); public static bool IsValidDirectoryName(this string name) - {  - return !name.Any(c=> !ValidChars.Contains(c)); + { + return !name.Any(c => !ValidChars.Contains(c)); } public static bool IsValidPath(this string path) - {  - if (path==null) return true; + { + if (path == null) return true; foreach (var name in path.Split(Path.DirectorySeparatorChar)) - { - if (name!=null) + { + if (name != null) if (!IsValidDirectoryName(name) - || name.Equals("..")) return false; - } + || name.Equals("..")) + return false; + } return true; } - } + public static string InitPostToFileSystem( + this ClaimsPrincipal user, + string subpath) + { + var root = Path.Combine(Startup.UserFilesDirName, user.Identity.Name); + // TOSO secure this path + // if (subdir!=null) root = Path.Combine(root, subdir); + var diRoot = new DirectoryInfo(root); + if (!diRoot.Exists) diRoot.Create(); + if (subpath != null) + if (subpath.IsValidPath()) + { + root = Path.Combine(root, subpath); + diRoot = new DirectoryInfo(root); + if (!diRoot.Exists) diRoot.Create(); + } + + return root; + } + + public static FileRecievedInfo ReceiveUserFile(this ApplicationUser user, string root, IFormFile f) + { + long usage = user.DiskUsage; + + var item = new FileRecievedInfo(); + // form-data; name="file"; filename="capt0008.jpg" + ContentDisposition contentDisposition = new ContentDisposition(f.ContentDisposition); + item.FileName = contentDisposition.FileName; + var fi = new FileInfo(Path.Combine(root, item.FileName)); + if (fi.Exists) item.Overriden = true; + using (var dest = fi.OpenWrite()) + { + using (var org = f.OpenReadStream()) + { + byte[] buffer = new byte[1024]; + long len = org.Length; + if (len > (user.DiskQuota - usage)) throw new FSQuotaException(); + usage += len; + + while (len > 0) + { + int blen = len > 1024 ? 1024 : (int)len; + org.Read(buffer, 0, blen); + dest.Write(buffer, 0, blen); + len -= blen; + } + dest.Close(); + org.Close(); + } + } + user.DiskUsage = usage; + return item; + } + public static FileRecievedInfo ReceiveAvatar(this ApplicationUser user, IFormFile formFile) + { + var item = new FileRecievedInfo(); + item.FileName = user.UserName + ".png"; + var destFileName = Path.Combine(Startup.SiteSetup.UserFiles.Avatars, item.FileName); + var fi = new FileInfo(destFileName); + if (fi.Exists) item.Overriden = true; + Rectangle cropRect = new Rectangle(); + + using (var org = formFile.OpenReadStream()) + { + Image i = Image.FromStream(org); + using (Bitmap source = new Bitmap(i)) + { + if (i.Width != i.Height) + { + if (i.Width > i.Height) + { + cropRect.X = (i.Width - i.Height) / 2; + cropRect.Y = 0; + cropRect.Width = i.Height; + cropRect.Height = i.Height; + } + else + { + cropRect.X = 0; + cropRect.Y = (i.Height - i.Width) / 2; + cropRect.Width = i.Width; + cropRect.Height = i.Width; + } + using (var cropped = source.Clone(cropRect, source.PixelFormat)) + { + CreateAvatars(user,cropped); + } + } + + } + + } + item.DestDir = "/Avatars"; + user.Avatar = item.FileName; + return item; + } + + private static void CreateAvatars(this ApplicationUser user, Bitmap source) + { + var dir = Startup.SiteSetup.UserFiles.Avatars; + var name = user.UserName + ".png"; + var smallname = user.UserName + ".s.png"; + var xsmallname = user.UserName + ".xs.png"; + using (Bitmap newBMP = new Bitmap(source, 128, 128)) + { + newBMP.Save(Path.Combine( + dir, name), ImageFormat.Png); + } + using (Bitmap newBMP = new Bitmap(source, 64, 64)) + { + newBMP.Save(Path.Combine( + dir, smallname), ImageFormat.Png); + } + using (Bitmap newBMP = new Bitmap(source, 32, 32)) + { + newBMP.Save(Path.Combine( + dir, xsmallname), ImageFormat.Png); + } + } + + public static FileRecievedInfo ReceiveProSignature(this ClaimsPrincipal user, long estimateId, IFormFile formFile) + { + var item = new FileRecievedInfo(); + item.FileName = $"estimate-prosign-{estimateId}.png"; + var destFileName = Path.Combine(Startup.SiteSetup.UserFiles.Blog, item.FileName); + + var fi = new FileInfo(destFileName); + if (fi.Exists) item.Overriden = true; + + using (var org = formFile.OpenReadStream()) + { + Image i = Image.FromStream(org); + using (Bitmap source = new Bitmap(i)) + { + source.Save(destFileName, ImageFormat.Png); + } + } + throw new NotImplementedException(); + } + } } diff --git a/Yavsc/Helpers/GoogleHelpers.cs b/Yavsc/Helpers/GoogleHelpers.cs index dc82df0b..4858f56e 100644 --- a/Yavsc/Helpers/GoogleHelpers.cs +++ b/Yavsc/Helpers/GoogleHelpers.cs @@ -23,12 +23,13 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Identity; -using Yavsc.Models; -using Yavsc.Models.Auth; -using Yavsc.Models.Google.Messaging; -using Yavsc.Models.Messaging; namespace Yavsc.Helpers { + using Models.Auth; + using Models.Google.Messaging; + using Models.Messaging; + using Models; + /// /// Google helpers. /// diff --git a/Yavsc/Helpers/TeXHelpers.cs b/Yavsc/Helpers/TeXHelpers.cs index f16ad7ba..6c2ef6c2 100644 --- a/Yavsc/Helpers/TeXHelpers.cs +++ b/Yavsc/Helpers/TeXHelpers.cs @@ -1,29 +1,34 @@ using System; +using System.Diagnostics; using System.IO; using System.Linq; using Microsoft.AspNet.Http; using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc.Rendering; using Microsoft.AspNet.Mvc.ViewEngines; +using Yavsc.ViewModels.Gen; namespace Yavsc.Helpers { - public class TeXString { + public class TeXString + { - public class Replacement { + public class Replacement + { string target; string replacement; - public Replacement(string target, string replacement){ - this.target=target; - this.replacement=replacement; + public Replacement(string target, string replacement) + { + this.target = target; + this.replacement = replacement; } public string Execute(string source) { - return source.Replace(target,replacement); + return source.Replace(target, replacement); } } - public readonly static Replacement[] SpecialCharsRendering = + public readonly static Replacement[] SpecialCharsRendering = { new Replacement("<","\\textless"), new Replacement(">","\\textgreater"), @@ -49,13 +54,15 @@ namespace Yavsc.Helpers new Replacement("–","\\textendash") }; string data; - public TeXString(string str) { + public TeXString(string str) + { data = str; - foreach (var r in SpecialCharsRendering) { + foreach (var r in SpecialCharsRendering) + { data = r.Execute(data); } } - + override public string ToString() { return data; @@ -64,45 +71,88 @@ namespace Yavsc.Helpers public static class TeXHelpers { public static string NewLinesWith(this string target, string separator) - { - var items = target.Split(new char[] {'\n'}).Where( - s=> !string.IsNullOrWhiteSpace(s) ) ; + { + var items = target.Split(new char[] { '\n' }).Where( + s => !string.IsNullOrWhiteSpace(s)); return string.Join(separator, items); } - public static TeXString ToTeX(string target, string lineSeparator="\n\\\\") + public static TeXString ToTeX(string target, string lineSeparator = "\n\\\\") { - if (target==null) return null; + if (target == null) return null; return new TeXString(target.NewLinesWith(lineSeparator)); } + public static bool GenerateEstimatePdf(this PdfGenerationViewModel Model) + { + string errorMsg = null; + var billdir = Model.DestDir; + var tempdir = Startup.SiteSetup.TempDir; + string name = Model.BaseFileName; + string fullname = new FileInfo( + System.IO.Path.Combine(tempdir, name)).FullName; + string ofullname = new FileInfo( + System.IO.Path.Combine(billdir, name)).FullName; + + FileInfo fi = new FileInfo(fullname + ".tex"); + FileInfo fo = new FileInfo(ofullname + ".pdf"); + using (StreamWriter sw = new StreamWriter(fi.FullName)) + { + sw.Write(Model.TeXSource); + } + if (!fi.Exists) + { + errorMsg = "Source write failed"; + } + else + { + using (Process p = new Process()) + { + p.StartInfo.WorkingDirectory = tempdir; + p.StartInfo = new ProcessStartInfo(); + p.StartInfo.UseShellExecute = false; + p.StartInfo.FileName = "/usr/bin/texi2pdf"; + p.StartInfo.Arguments = $"--batch --build-dir=. -o {fo.FullName} {fi.FullName}"; + p.Start(); + p.WaitForExit(); + if (p.ExitCode != 0) + { + errorMsg = $"Pdf generation failed with exit code: {p.ExitCode}"; + } + } + fi.Delete(); + } + Model.Generated = fo.Exists; + Model.GenerationErrorMessage = new HtmlString(errorMsg); + return fo.Exists; + } public static string RenderViewToString( this Controller controller, IViewEngine engine, - IHttpContextAccessor httpContextAccessor, + IHttpContextAccessor httpContextAccessor, string viewName, object model) -{ - using (var sw = new StringWriter()) - { - if (engine == null) - throw new InvalidOperationException("no engine"); - - // try to find the specified view - controller.TryValidateModel(model); - ViewEngineResult viewResult = engine.FindPartialView(controller.ActionContext, viewName); - // create the associated context - ViewContext viewContext = new ViewContext(); - viewContext.ActionDescriptor = controller.ActionContext.ActionDescriptor; - viewContext.HttpContext = controller.ActionContext.HttpContext; - viewContext.TempData = controller.TempData; - viewContext.View = viewResult.View; - viewContext.Writer = sw; - - // write the render view with the given context to the stringwriter - viewResult.View.RenderAsync(viewContext); - viewResult.EnsureSuccessful(); - return sw.GetStringBuilder().ToString(); - } -} + { + using (var sw = new StringWriter()) + { + if (engine == null) + throw new InvalidOperationException("no engine"); + + // try to find the specified view + controller.TryValidateModel(model); + ViewEngineResult viewResult = engine.FindPartialView(controller.ActionContext, viewName); + // create the associated context + ViewContext viewContext = new ViewContext(); + viewContext.ActionDescriptor = controller.ActionContext.ActionDescriptor; + viewContext.HttpContext = controller.ActionContext.HttpContext; + viewContext.TempData = controller.TempData; + viewContext.View = viewResult.View; + viewContext.Writer = sw; + + // write the render view with the given context to the stringwriter + viewResult.View.RenderAsync(viewContext); + viewResult.EnsureSuccessful(); + return sw.GetStringBuilder().ToString(); + } + } } } \ No newline at end of file diff --git a/Yavsc/Migrations/20161130084909_diskQuota.Designer.cs b/Yavsc/Migrations/20161130084909_diskQuota.Designer.cs new file mode 100644 index 00000000..97f5de91 --- /dev/null +++ b/Yavsc/Migrations/20161130084909_diskQuota.Designer.cs @@ -0,0 +1,836 @@ +using System; +using Microsoft.Data.Entity; +using Microsoft.Data.Entity.Infrastructure; +using Microsoft.Data.Entity.Migrations; +using Yavsc.Models; + +namespace Yavsc.Migrations +{ + [DbContext(typeof(ApplicationDbContext))] + [Migration("20161130084909_diskQuota")] + partial class diskQuota + { + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { + modelBuilder + .HasAnnotation("ProductVersion", "7.0.0-rc1-16348"); + + modelBuilder.Entity("Microsoft.AspNet.Identity.EntityFramework.IdentityRole", b => + { + b.Property("Id"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken(); + + b.Property("Name") + .HasAnnotation("MaxLength", 256); + + b.Property("NormalizedName") + .HasAnnotation("MaxLength", 256); + + b.HasKey("Id"); + + b.HasIndex("NormalizedName") + .HasAnnotation("Relational:Name", "RoleNameIndex"); + + b.HasAnnotation("Relational:TableName", "AspNetRoles"); + }); + + modelBuilder.Entity("Microsoft.AspNet.Identity.EntityFramework.IdentityRoleClaim", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("ClaimType"); + + b.Property("ClaimValue"); + + b.Property("RoleId") + .IsRequired(); + + b.HasKey("Id"); + + b.HasAnnotation("Relational:TableName", "AspNetRoleClaims"); + }); + + modelBuilder.Entity("Microsoft.AspNet.Identity.EntityFramework.IdentityUserClaim", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("ClaimType"); + + b.Property("ClaimValue"); + + b.Property("UserId") + .IsRequired(); + + b.HasKey("Id"); + + b.HasAnnotation("Relational:TableName", "AspNetUserClaims"); + }); + + modelBuilder.Entity("Microsoft.AspNet.Identity.EntityFramework.IdentityUserLogin", b => + { + b.Property("LoginProvider"); + + b.Property("ProviderKey"); + + b.Property("ProviderDisplayName"); + + b.Property("UserId") + .IsRequired(); + + b.HasKey("LoginProvider", "ProviderKey"); + + b.HasAnnotation("Relational:TableName", "AspNetUserLogins"); + }); + + modelBuilder.Entity("Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole", b => + { + b.Property("UserId"); + + b.Property("RoleId"); + + b.HasKey("UserId", "RoleId"); + + b.HasAnnotation("Relational:TableName", "AspNetUserRoles"); + }); + + modelBuilder.Entity("Yavsc.Location", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Address") + .IsRequired() + .HasAnnotation("MaxLength", 512); + + b.Property("Latitude"); + + b.Property("Longitude"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Model.Bank.BankIdentity", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("AccountNumber") + .HasAnnotation("MaxLength", 15); + + b.Property("BIC") + .HasAnnotation("MaxLength", 15); + + b.Property("BankCode") + .HasAnnotation("MaxLength", 5); + + b.Property("BankedKey"); + + b.Property("IBAN") + .HasAnnotation("MaxLength", 33); + + b.Property("WicketCode") + .HasAnnotation("MaxLength", 5); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Model.Chat.Connection", b => + { + b.Property("ConnectionId"); + + b.Property("ApplicationUserId"); + + b.Property("Connected"); + + b.Property("UserAgent"); + + b.HasKey("ConnectionId"); + }); + + modelBuilder.Entity("Yavsc.Model.ClientProviderInfo", b => + { + b.Property("UserId"); + + b.Property("Avatar"); + + b.Property("BillingAddressId"); + + b.Property("ChatHubConnectionId"); + + b.Property("EMail"); + + b.Property("Phone"); + + b.Property("Rate"); + + b.Property("UserName"); + + b.HasKey("UserId"); + }); + + modelBuilder.Entity("Yavsc.Models.AccountBalance", b => + { + b.Property("UserId"); + + b.Property("ContactCredits"); + + b.Property("Credits"); + + b.HasKey("UserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Activity", b => + { + b.Property("Code") + .HasAnnotation("MaxLength", 512); + + b.Property("ActorDenomination"); + + b.Property("Description"); + + b.Property("ModeratorGroupName"); + + b.Property("Name") + .IsRequired() + .HasAnnotation("MaxLength", 512); + + b.Property("Photo"); + + b.HasKey("Code"); + }); + + modelBuilder.Entity("Yavsc.Models.ApplicationUser", b => + { + b.Property("Id"); + + b.Property("AccessFailedCount"); + + b.Property("Avatar") + .HasAnnotation("MaxLength", 512); + + b.Property("BankInfoId"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken(); + + b.Property("DedicatedGoogleCalendar"); + + b.Property("DiskQuota"); + + b.Property("DiskUsage"); + + b.Property("Email") + .HasAnnotation("MaxLength", 256); + + b.Property("EmailConfirmed"); + + b.Property("FullName") + .HasAnnotation("MaxLength", 512); + + b.Property("LockoutEnabled"); + + b.Property("LockoutEnd"); + + b.Property("NormalizedEmail") + .HasAnnotation("MaxLength", 256); + + b.Property("NormalizedUserName") + .HasAnnotation("MaxLength", 256); + + b.Property("PasswordHash"); + + b.Property("PhoneNumber"); + + b.Property("PhoneNumberConfirmed"); + + b.Property("PostalAddressId"); + + b.Property("SecurityStamp"); + + b.Property("TwoFactorEnabled"); + + b.Property("UserName") + .HasAnnotation("MaxLength", 256); + + b.HasKey("Id"); + + b.HasIndex("NormalizedEmail") + .HasAnnotation("Relational:Name", "EmailIndex"); + + b.HasIndex("NormalizedUserName") + .HasAnnotation("Relational:Name", "UserNameIndex"); + + b.HasAnnotation("Relational:TableName", "AspNetUsers"); + }); + + modelBuilder.Entity("Yavsc.Models.Auth.Client", b => + { + b.Property("Id"); + + b.Property("Active"); + + b.Property("DisplayName"); + + b.Property("LogoutRedirectUri") + .HasAnnotation("MaxLength", 100); + + b.Property("RedirectUri"); + + b.Property("RefreshTokenLifeTime"); + + b.Property("Secret"); + + b.Property("Type"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Auth.RefreshToken", b => + { + b.Property("Id"); + + b.Property("ClientId") + .IsRequired() + .HasAnnotation("MaxLength", 50); + + b.Property("ExpiresUtc"); + + b.Property("IssuedUtc"); + + b.Property("ProtectedTicket") + .IsRequired(); + + b.Property("Subject") + .IsRequired() + .HasAnnotation("MaxLength", 50); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.BalanceImpact", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("BalanceId") + .IsRequired(); + + b.Property("ExecDate"); + + b.Property("Impact"); + + b.Property("Reason") + .IsRequired(); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Billing.CommandLine", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("ArticleId"); + + b.Property("Count"); + + b.Property("Description") + .IsRequired() + .HasAnnotation("MaxLength", 512); + + b.Property("EstimateId"); + + b.Property("EstimateTemplateId"); + + b.Property("UnitaryCost"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Billing.Estimate", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("AttachedFilesString"); + + b.Property("AttachedGraphicsString"); + + b.Property("ClientId") + .IsRequired(); + + b.Property("ClientValidationDate"); + + b.Property("CommandId"); + + b.Property("CommandType"); + + b.Property("Description"); + + b.Property("OwnerId") + .IsRequired(); + + b.Property("ProviderValidationDate"); + + b.Property("Title"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Billing.EstimateTemplate", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Description"); + + b.Property("OwnerId") + .IsRequired(); + + b.Property("Title"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Billing.ExceptionSIREN", b => + { + b.Property("SIREN"); + + b.HasKey("SIREN"); + }); + + modelBuilder.Entity("Yavsc.Models.Blog", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("AuthorId"); + + b.Property("Content"); + + b.Property("Modified"); + + b.Property("Photo"); + + b.Property("Posted") + .ValueGeneratedOnAdd() + .HasAnnotation("Relational:GeneratedValueSql", "LOCALTIMESTAMP"); + + b.Property("Rate"); + + b.Property("Title"); + + b.Property("Visible"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Booking.BookQuery", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("ClientId") + .IsRequired(); + + b.Property("CreationDate") + .ValueGeneratedOnAdd() + .HasAnnotation("Relational:GeneratedValueSql", "LOCALTIMESTAMP"); + + b.Property("EventDate"); + + b.Property("LocationId"); + + b.Property("PerformerId") + .IsRequired(); + + b.Property("Previsional"); + + b.Property("ValidationDate"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Circle", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("ApplicationUserId"); + + b.Property("Name"); + + b.Property("OwnerId"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.CircleMember", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("CircleId"); + + b.Property("MemberId") + .IsRequired(); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Contact", b => + { + b.Property("OwnerId"); + + b.Property("UserId"); + + b.Property("ApplicationUserId"); + + b.HasKey("OwnerId", "UserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Identity.GoogleCloudMobileDeclaration", b => + { + b.Property("DeviceId"); + + b.Property("DeclarationDate") + .ValueGeneratedOnAdd() + .HasAnnotation("Relational:GeneratedValueSql", "LOCALTIMESTAMP"); + + b.Property("DeviceOwnerId"); + + b.Property("GCMRegistrationId") + .IsRequired(); + + b.Property("Model"); + + b.Property("Platform"); + + b.Property("Version"); + + b.HasKey("DeviceId"); + }); + + modelBuilder.Entity("Yavsc.Models.Market.BaseProduct", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Description"); + + b.Property("Discriminator") + .IsRequired(); + + b.Property("Name"); + + b.Property("Public"); + + b.HasKey("Id"); + + b.HasAnnotation("Relational:DiscriminatorProperty", "Discriminator"); + + b.HasAnnotation("Relational:DiscriminatorValue", "BaseProduct"); + }); + + modelBuilder.Entity("Yavsc.Models.Market.Service", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("ContextId"); + + b.Property("Description"); + + b.Property("Name"); + + b.Property("Public"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.OAuth.OAuth2Tokens", b => + { + b.Property("UserId"); + + b.Property("AccessToken"); + + b.Property("Expiration"); + + b.Property("ExpiresIn"); + + b.Property("RefreshToken"); + + b.Property("TokenType"); + + b.HasKey("UserId"); + }); + + modelBuilder.Entity("Yavsc.Models.PostTag", b => + { + b.Property("PostId"); + + b.Property("TagId"); + + b.HasKey("PostId", "TagId"); + }); + + modelBuilder.Entity("Yavsc.Models.Skill", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Name"); + + b.Property("Rate"); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Tag", b => + { + b.Property("Id") + .ValueGeneratedOnAdd(); + + b.Property("Name") + .IsRequired(); + + b.HasKey("Id"); + }); + + modelBuilder.Entity("Yavsc.Models.Workflow.PerformerProfile", b => + { + b.Property("PerformerId"); + + b.Property("AcceptGeoLocalization"); + + b.Property("AcceptNotifications"); + + b.Property("AcceptPublicContact"); + + b.Property("Active"); + + b.Property("ActivityCode") + .IsRequired(); + + b.Property("MaxDailyCost"); + + b.Property("MinDailyCost"); + + b.Property("OfferId"); + + b.Property("OrganizationAddressId"); + + b.Property("Rate"); + + b.Property("SIREN") + .IsRequired() + .HasAnnotation("MaxLength", 14); + + b.Property("WebSite"); + + b.HasKey("PerformerId"); + }); + + modelBuilder.Entity("Yavsc.Models.Market.Product", b => + { + b.HasBaseType("Yavsc.Models.Market.BaseProduct"); + + b.Property("Depth"); + + b.Property("Height"); + + b.Property("Price"); + + b.Property("Weight"); + + b.Property("Width"); + + b.HasAnnotation("Relational:DiscriminatorValue", "Product"); + }); + + modelBuilder.Entity("Microsoft.AspNet.Identity.EntityFramework.IdentityRoleClaim", b => + { + b.HasOne("Microsoft.AspNet.Identity.EntityFramework.IdentityRole") + .WithMany() + .HasForeignKey("RoleId"); + }); + + modelBuilder.Entity("Microsoft.AspNet.Identity.EntityFramework.IdentityUserClaim", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("UserId"); + }); + + modelBuilder.Entity("Microsoft.AspNet.Identity.EntityFramework.IdentityUserLogin", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("UserId"); + }); + + modelBuilder.Entity("Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole", b => + { + b.HasOne("Microsoft.AspNet.Identity.EntityFramework.IdentityRole") + .WithMany() + .HasForeignKey("RoleId"); + + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("UserId"); + }); + + modelBuilder.Entity("Yavsc.Model.Chat.Connection", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("ApplicationUserId"); + }); + + modelBuilder.Entity("Yavsc.Model.ClientProviderInfo", b => + { + b.HasOne("Yavsc.Location") + .WithMany() + .HasForeignKey("BillingAddressId"); + }); + + modelBuilder.Entity("Yavsc.Models.AccountBalance", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithOne() + .HasForeignKey("Yavsc.Models.AccountBalance", "UserId"); + }); + + modelBuilder.Entity("Yavsc.Models.ApplicationUser", b => + { + b.HasOne("Yavsc.Model.Bank.BankIdentity") + .WithMany() + .HasForeignKey("BankInfoId"); + + b.HasOne("Yavsc.Location") + .WithMany() + .HasForeignKey("PostalAddressId"); + }); + + modelBuilder.Entity("Yavsc.Models.BalanceImpact", b => + { + b.HasOne("Yavsc.Models.AccountBalance") + .WithMany() + .HasForeignKey("BalanceId"); + }); + + modelBuilder.Entity("Yavsc.Models.Billing.CommandLine", b => + { + b.HasOne("Yavsc.Models.Market.BaseProduct") + .WithMany() + .HasForeignKey("ArticleId"); + + b.HasOne("Yavsc.Models.Billing.Estimate") + .WithMany() + .HasForeignKey("EstimateId"); + + b.HasOne("Yavsc.Models.Billing.EstimateTemplate") + .WithMany() + .HasForeignKey("EstimateTemplateId"); + }); + + modelBuilder.Entity("Yavsc.Models.Billing.Estimate", b => + { + b.HasOne("Yavsc.Models.Booking.BookQuery") + .WithMany() + .HasForeignKey("CommandId"); + }); + + modelBuilder.Entity("Yavsc.Models.Blog", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("AuthorId"); + }); + + modelBuilder.Entity("Yavsc.Models.Booking.BookQuery", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("ClientId"); + + b.HasOne("Yavsc.Location") + .WithMany() + .HasForeignKey("LocationId"); + + b.HasOne("Yavsc.Models.Workflow.PerformerProfile") + .WithMany() + .HasForeignKey("PerformerId"); + }); + + modelBuilder.Entity("Yavsc.Models.Circle", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("ApplicationUserId"); + }); + + modelBuilder.Entity("Yavsc.Models.CircleMember", b => + { + b.HasOne("Yavsc.Models.Circle") + .WithMany() + .HasForeignKey("CircleId"); + + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("MemberId"); + }); + + modelBuilder.Entity("Yavsc.Models.Contact", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("ApplicationUserId"); + }); + + modelBuilder.Entity("Yavsc.Models.Identity.GoogleCloudMobileDeclaration", b => + { + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("DeviceOwnerId"); + }); + + modelBuilder.Entity("Yavsc.Models.Market.Service", b => + { + b.HasOne("Yavsc.Models.Activity") + .WithMany() + .HasForeignKey("ContextId"); + }); + + modelBuilder.Entity("Yavsc.Models.PostTag", b => + { + b.HasOne("Yavsc.Models.Blog") + .WithMany() + .HasForeignKey("PostId"); + }); + + modelBuilder.Entity("Yavsc.Models.Workflow.PerformerProfile", b => + { + b.HasOne("Yavsc.Models.Activity") + .WithMany() + .HasForeignKey("ActivityCode"); + + b.HasOne("Yavsc.Models.Market.Service") + .WithMany() + .HasForeignKey("OfferId"); + + b.HasOne("Yavsc.Location") + .WithMany() + .HasForeignKey("OrganizationAddressId"); + + b.HasOne("Yavsc.Models.ApplicationUser") + .WithMany() + .HasForeignKey("PerformerId"); + }); + } + } +} diff --git a/Yavsc/Migrations/20161130084909_diskQuota.cs b/Yavsc/Migrations/20161130084909_diskQuota.cs new file mode 100644 index 00000000..957fde7b --- /dev/null +++ b/Yavsc/Migrations/20161130084909_diskQuota.cs @@ -0,0 +1,293 @@ +using Microsoft.Data.Entity.Migrations; + +namespace Yavsc.Migrations +{ + public partial class diskQuota : Migration + { + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropForeignKey(name: "FK_IdentityRoleClaim_IdentityRole_RoleId", table: "AspNetRoleClaims"); + migrationBuilder.DropForeignKey(name: "FK_IdentityUserClaim_ApplicationUser_UserId", table: "AspNetUserClaims"); + migrationBuilder.DropForeignKey(name: "FK_IdentityUserLogin_ApplicationUser_UserId", table: "AspNetUserLogins"); + migrationBuilder.DropForeignKey(name: "FK_IdentityUserRole_IdentityRole_RoleId", table: "AspNetUserRoles"); + migrationBuilder.DropForeignKey(name: "FK_IdentityUserRole_ApplicationUser_UserId", table: "AspNetUserRoles"); + migrationBuilder.DropForeignKey(name: "FK_AccountBalance_ApplicationUser_UserId", table: "AccountBalance"); + migrationBuilder.DropForeignKey(name: "FK_BalanceImpact_AccountBalance_BalanceId", table: "BalanceImpact"); + migrationBuilder.DropForeignKey(name: "FK_CommandLine_Estimate_EstimateId", table: "CommandLine"); + migrationBuilder.DropForeignKey(name: "FK_BookQuery_ApplicationUser_ClientId", table: "BookQuery"); + migrationBuilder.DropForeignKey(name: "FK_BookQuery_PerformerProfile_PerformerId", table: "BookQuery"); + migrationBuilder.DropForeignKey(name: "FK_CircleMember_Circle_CircleId", table: "CircleMember"); + migrationBuilder.DropForeignKey(name: "FK_CircleMember_ApplicationUser_MemberId", table: "CircleMember"); + migrationBuilder.DropForeignKey(name: "FK_PostTag_Blog_PostId", table: "PostTag"); + migrationBuilder.DropForeignKey(name: "FK_PerformerProfile_Activity_ActivityCode", table: "PerformerProfile"); + migrationBuilder.DropForeignKey(name: "FK_PerformerProfile_Location_OrganizationAddressId", table: "PerformerProfile"); + migrationBuilder.DropForeignKey(name: "FK_PerformerProfile_ApplicationUser_PerformerId", table: "PerformerProfile"); + migrationBuilder.DropColumn(name: "ClientSignature", table: "Estimate"); + migrationBuilder.DropColumn(name: "ProviderSignature", table: "Estimate"); + migrationBuilder.AddColumn( + name: "DiskQuota", + table: "AspNetUsers", + nullable: false, + defaultValue: 0L); + migrationBuilder.AddColumn( + name: "DiskUsage", + table: "AspNetUsers", + nullable: false, + defaultValue: 0L); + migrationBuilder.AddForeignKey( + name: "FK_IdentityRoleClaim_IdentityRole_RoleId", + table: "AspNetRoleClaims", + column: "RoleId", + principalTable: "AspNetRoles", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_IdentityUserClaim_ApplicationUser_UserId", + table: "AspNetUserClaims", + column: "UserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_IdentityUserLogin_ApplicationUser_UserId", + table: "AspNetUserLogins", + column: "UserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_IdentityUserRole_IdentityRole_RoleId", + table: "AspNetUserRoles", + column: "RoleId", + principalTable: "AspNetRoles", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_IdentityUserRole_ApplicationUser_UserId", + table: "AspNetUserRoles", + column: "UserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_AccountBalance_ApplicationUser_UserId", + table: "AccountBalance", + column: "UserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_BalanceImpact_AccountBalance_BalanceId", + table: "BalanceImpact", + column: "BalanceId", + principalTable: "AccountBalance", + principalColumn: "UserId", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_CommandLine_Estimate_EstimateId", + table: "CommandLine", + column: "EstimateId", + principalTable: "Estimate", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_BookQuery_ApplicationUser_ClientId", + table: "BookQuery", + column: "ClientId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_BookQuery_PerformerProfile_PerformerId", + table: "BookQuery", + column: "PerformerId", + principalTable: "PerformerProfile", + principalColumn: "PerformerId", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_CircleMember_Circle_CircleId", + table: "CircleMember", + column: "CircleId", + principalTable: "Circle", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_CircleMember_ApplicationUser_MemberId", + table: "CircleMember", + column: "MemberId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_PostTag_Blog_PostId", + table: "PostTag", + column: "PostId", + principalTable: "Blog", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_PerformerProfile_Activity_ActivityCode", + table: "PerformerProfile", + column: "ActivityCode", + principalTable: "Activity", + principalColumn: "Code", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_PerformerProfile_Location_OrganizationAddressId", + table: "PerformerProfile", + column: "OrganizationAddressId", + principalTable: "Location", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + migrationBuilder.AddForeignKey( + name: "FK_PerformerProfile_ApplicationUser_PerformerId", + table: "PerformerProfile", + column: "PerformerId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + } + + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropForeignKey(name: "FK_IdentityRoleClaim_IdentityRole_RoleId", table: "AspNetRoleClaims"); + migrationBuilder.DropForeignKey(name: "FK_IdentityUserClaim_ApplicationUser_UserId", table: "AspNetUserClaims"); + migrationBuilder.DropForeignKey(name: "FK_IdentityUserLogin_ApplicationUser_UserId", table: "AspNetUserLogins"); + migrationBuilder.DropForeignKey(name: "FK_IdentityUserRole_IdentityRole_RoleId", table: "AspNetUserRoles"); + migrationBuilder.DropForeignKey(name: "FK_IdentityUserRole_ApplicationUser_UserId", table: "AspNetUserRoles"); + migrationBuilder.DropForeignKey(name: "FK_AccountBalance_ApplicationUser_UserId", table: "AccountBalance"); + migrationBuilder.DropForeignKey(name: "FK_BalanceImpact_AccountBalance_BalanceId", table: "BalanceImpact"); + migrationBuilder.DropForeignKey(name: "FK_CommandLine_Estimate_EstimateId", table: "CommandLine"); + migrationBuilder.DropForeignKey(name: "FK_BookQuery_ApplicationUser_ClientId", table: "BookQuery"); + migrationBuilder.DropForeignKey(name: "FK_BookQuery_PerformerProfile_PerformerId", table: "BookQuery"); + migrationBuilder.DropForeignKey(name: "FK_CircleMember_Circle_CircleId", table: "CircleMember"); + migrationBuilder.DropForeignKey(name: "FK_CircleMember_ApplicationUser_MemberId", table: "CircleMember"); + migrationBuilder.DropForeignKey(name: "FK_PostTag_Blog_PostId", table: "PostTag"); + migrationBuilder.DropForeignKey(name: "FK_PerformerProfile_Activity_ActivityCode", table: "PerformerProfile"); + migrationBuilder.DropForeignKey(name: "FK_PerformerProfile_Location_OrganizationAddressId", table: "PerformerProfile"); + migrationBuilder.DropForeignKey(name: "FK_PerformerProfile_ApplicationUser_PerformerId", table: "PerformerProfile"); + migrationBuilder.DropColumn(name: "DiskQuota", table: "AspNetUsers"); + migrationBuilder.DropColumn(name: "DiskUsage", table: "AspNetUsers"); + migrationBuilder.AddColumn( + name: "ClientSignature", + table: "Estimate", + nullable: true); + migrationBuilder.AddColumn( + name: "ProviderSignature", + table: "Estimate", + nullable: true); + migrationBuilder.AddForeignKey( + name: "FK_IdentityRoleClaim_IdentityRole_RoleId", + table: "AspNetRoleClaims", + column: "RoleId", + principalTable: "AspNetRoles", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_IdentityUserClaim_ApplicationUser_UserId", + table: "AspNetUserClaims", + column: "UserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_IdentityUserLogin_ApplicationUser_UserId", + table: "AspNetUserLogins", + column: "UserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_IdentityUserRole_IdentityRole_RoleId", + table: "AspNetUserRoles", + column: "RoleId", + principalTable: "AspNetRoles", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_IdentityUserRole_ApplicationUser_UserId", + table: "AspNetUserRoles", + column: "UserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_AccountBalance_ApplicationUser_UserId", + table: "AccountBalance", + column: "UserId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_BalanceImpact_AccountBalance_BalanceId", + table: "BalanceImpact", + column: "BalanceId", + principalTable: "AccountBalance", + principalColumn: "UserId", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_CommandLine_Estimate_EstimateId", + table: "CommandLine", + column: "EstimateId", + principalTable: "Estimate", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_BookQuery_ApplicationUser_ClientId", + table: "BookQuery", + column: "ClientId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_BookQuery_PerformerProfile_PerformerId", + table: "BookQuery", + column: "PerformerId", + principalTable: "PerformerProfile", + principalColumn: "PerformerId", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_CircleMember_Circle_CircleId", + table: "CircleMember", + column: "CircleId", + principalTable: "Circle", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_CircleMember_ApplicationUser_MemberId", + table: "CircleMember", + column: "MemberId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_PostTag_Blog_PostId", + table: "PostTag", + column: "PostId", + principalTable: "Blog", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_PerformerProfile_Activity_ActivityCode", + table: "PerformerProfile", + column: "ActivityCode", + principalTable: "Activity", + principalColumn: "Code", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_PerformerProfile_Location_OrganizationAddressId", + table: "PerformerProfile", + column: "OrganizationAddressId", + principalTable: "Location", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + migrationBuilder.AddForeignKey( + name: "FK_PerformerProfile_ApplicationUser_PerformerId", + table: "PerformerProfile", + column: "PerformerId", + principalTable: "AspNetUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Restrict); + } + } +} diff --git a/Yavsc/Migrations/ApplicationDbContextModelSnapshot.cs b/Yavsc/Migrations/ApplicationDbContextModelSnapshot.cs index b7899ef1..f9153cd7 100644 --- a/Yavsc/Migrations/ApplicationDbContextModelSnapshot.cs +++ b/Yavsc/Migrations/ApplicationDbContextModelSnapshot.cs @@ -217,6 +217,10 @@ namespace Yavsc.Migrations b.Property("DedicatedGoogleCalendar"); + b.Property("DiskQuota"); + + b.Property("DiskUsage"); + b.Property("Email") .HasAnnotation("MaxLength", 256); @@ -357,8 +361,6 @@ namespace Yavsc.Migrations b.Property("ClientId") .IsRequired(); - b.Property("ClientSignature"); - b.Property("ClientValidationDate"); b.Property("CommandId"); @@ -370,8 +372,6 @@ namespace Yavsc.Migrations b.Property("OwnerId") .IsRequired(); - b.Property("ProviderSignature"); - b.Property("ProviderValidationDate"); b.Property("Title"); diff --git a/Yavsc/Model/Access/Publishing.cs b/Yavsc/Models/Access/Publishing.cs similarity index 100% rename from Yavsc/Model/Access/Publishing.cs rename to Yavsc/Models/Access/Publishing.cs diff --git a/Yavsc/Model/Access/Rule.cs b/Yavsc/Models/Access/Rule.cs similarity index 100% rename from Yavsc/Model/Access/Rule.cs rename to Yavsc/Models/Access/Rule.cs diff --git a/Yavsc/Model/Access/RuleSet.cs b/Yavsc/Models/Access/RuleSet.cs similarity index 100% rename from Yavsc/Model/Access/RuleSet.cs rename to Yavsc/Models/Access/RuleSet.cs diff --git a/Yavsc/Model/Access/WhiteCard.cs b/Yavsc/Models/Access/WhiteCard.cs similarity index 100% rename from Yavsc/Model/Access/WhiteCard.cs rename to Yavsc/Models/Access/WhiteCard.cs diff --git a/Yavsc/Model/ApplicationDbContext.cs b/Yavsc/Models/ApplicationDbContext.cs similarity index 100% rename from Yavsc/Model/ApplicationDbContext.cs rename to Yavsc/Models/ApplicationDbContext.cs diff --git a/Yavsc/Model/Auth/ApplicationTypes.cs b/Yavsc/Models/Auth/ApplicationTypes.cs similarity index 100% rename from Yavsc/Model/Auth/ApplicationTypes.cs rename to Yavsc/Models/Auth/ApplicationTypes.cs diff --git a/Yavsc/Model/Auth/Client.cs b/Yavsc/Models/Auth/Client.cs similarity index 100% rename from Yavsc/Model/Auth/Client.cs rename to Yavsc/Models/Auth/Client.cs diff --git a/Yavsc/Model/Auth/ExternalViewModel.cs b/Yavsc/Models/Auth/ExternalViewModel.cs similarity index 100% rename from Yavsc/Model/Auth/ExternalViewModel.cs rename to Yavsc/Models/Auth/ExternalViewModel.cs diff --git a/Yavsc/Model/Auth/OAuth2Tokens.cs b/Yavsc/Models/Auth/OAuth2Tokens.cs similarity index 100% rename from Yavsc/Model/Auth/OAuth2Tokens.cs rename to Yavsc/Models/Auth/OAuth2Tokens.cs diff --git a/Yavsc/Model/Auth/RefreshToken.cs b/Yavsc/Models/Auth/RefreshToken.cs similarity index 100% rename from Yavsc/Model/Auth/RefreshToken.cs rename to Yavsc/Models/Auth/RefreshToken.cs diff --git a/Yavsc/Model/Auth/Scope.cs b/Yavsc/Models/Auth/Scope.cs similarity index 100% rename from Yavsc/Model/Auth/Scope.cs rename to Yavsc/Models/Auth/Scope.cs diff --git a/Yavsc/Model/Auth/UserCredentials.cs b/Yavsc/Models/Auth/UserCredentials.cs similarity index 100% rename from Yavsc/Model/Auth/UserCredentials.cs rename to Yavsc/Models/Auth/UserCredentials.cs diff --git a/Yavsc/Model/Bank/AccountBalance.cs b/Yavsc/Models/Bank/AccountBalance.cs similarity index 95% rename from Yavsc/Model/Bank/AccountBalance.cs rename to Yavsc/Models/Bank/AccountBalance.cs index 8070f37b..29f19a02 100644 --- a/Yavsc/Model/Bank/AccountBalance.cs +++ b/Yavsc/Models/Bank/AccountBalance.cs @@ -1,10 +1,9 @@ using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; -using Yavsc.Interfaces; namespace Yavsc.Models { - + using Interfaces; public partial class AccountBalance: IAccountBalance { [Key] diff --git a/Yavsc/Model/Bank/BalanceImpact.cs b/Yavsc/Models/Bank/BalanceImpact.cs similarity index 100% rename from Yavsc/Model/Bank/BalanceImpact.cs rename to Yavsc/Models/Bank/BalanceImpact.cs diff --git a/Yavsc/Model/Bank/BankIdentity.cs b/Yavsc/Models/Bank/BankIdentity.cs similarity index 100% rename from Yavsc/Model/Bank/BankIdentity.cs rename to Yavsc/Models/Bank/BankIdentity.cs diff --git a/Yavsc/Model/Billing/CommandLine.cs b/Yavsc/Models/Billing/CommandLine.cs similarity index 100% rename from Yavsc/Model/Billing/CommandLine.cs rename to Yavsc/Models/Billing/CommandLine.cs diff --git a/Yavsc/Model/Billing/Contract.cs b/Yavsc/Models/Billing/Contract.cs similarity index 100% rename from Yavsc/Model/Billing/Contract.cs rename to Yavsc/Models/Billing/Contract.cs diff --git a/Yavsc/Model/Billing/Estimate.cs b/Yavsc/Models/Billing/Estimate.cs similarity index 95% rename from Yavsc/Model/Billing/Estimate.cs rename to Yavsc/Models/Billing/Estimate.cs index 7609d669..e60e60b5 100644 --- a/Yavsc/Model/Billing/Estimate.cs +++ b/Yavsc/Models/Billing/Estimate.cs @@ -68,9 +68,6 @@ namespace Yavsc.Models.Billing { get; set; } - - public Byte [] ProviderSignature { get; set; } - public Byte [] ClientSignature { get; set; } public DateTime ProviderValidationDate { get; set; } public DateTime ClientValidationDate { get; set; } diff --git a/Yavsc/Model/Billing/EstimateTemplate.cs b/Yavsc/Models/Billing/EstimateTemplate.cs similarity index 100% rename from Yavsc/Model/Billing/EstimateTemplate.cs rename to Yavsc/Models/Billing/EstimateTemplate.cs diff --git a/Yavsc/Model/Billing/ExceptionSIREN.cs b/Yavsc/Models/Billing/ExceptionSIREN.cs similarity index 100% rename from Yavsc/Model/Billing/ExceptionSIREN.cs rename to Yavsc/Models/Billing/ExceptionSIREN.cs diff --git a/Yavsc/Model/Billing/FixedImpacter.cs b/Yavsc/Models/Billing/FixedImpacter.cs similarity index 100% rename from Yavsc/Model/Billing/FixedImpacter.cs rename to Yavsc/Models/Billing/FixedImpacter.cs diff --git a/Yavsc/Model/Billing/IBillingImpacter.cs b/Yavsc/Models/Billing/IBillingImpacter.cs similarity index 100% rename from Yavsc/Model/Billing/IBillingImpacter.cs rename to Yavsc/Models/Billing/IBillingImpacter.cs diff --git a/Yavsc/Model/Billing/NominatvieCommand.cs b/Yavsc/Models/Billing/NominatvieCommand.cs similarity index 100% rename from Yavsc/Model/Billing/NominatvieCommand.cs rename to Yavsc/Models/Billing/NominatvieCommand.cs diff --git a/Yavsc/Model/Billing/ProportionalImpacter.cs b/Yavsc/Models/Billing/ProportionalImpacter.cs similarity index 100% rename from Yavsc/Model/Billing/ProportionalImpacter.cs rename to Yavsc/Models/Billing/ProportionalImpacter.cs diff --git a/Yavsc/Model/Billing/Query.cs b/Yavsc/Models/Billing/Query.cs similarity index 100% rename from Yavsc/Model/Billing/Query.cs rename to Yavsc/Models/Billing/Query.cs diff --git a/Yavsc/Model/Billing/ReductionCode.cs b/Yavsc/Models/Billing/ReductionCode.cs similarity index 100% rename from Yavsc/Model/Billing/ReductionCode.cs rename to Yavsc/Models/Billing/ReductionCode.cs diff --git a/Yavsc/Model/Billing/Service/ChatBilling.cs b/Yavsc/Models/Billing/Service/ChatBilling.cs similarity index 100% rename from Yavsc/Model/Billing/Service/ChatBilling.cs rename to Yavsc/Models/Billing/Service/ChatBilling.cs diff --git a/Yavsc/Model/Billing/histoestim.cs b/Yavsc/Models/Billing/histoestim.cs similarity index 100% rename from Yavsc/Model/Billing/histoestim.cs rename to Yavsc/Models/Billing/histoestim.cs diff --git a/Yavsc/Model/Billing/satisfaction.cs b/Yavsc/Models/Billing/satisfaction.cs similarity index 100% rename from Yavsc/Model/Billing/satisfaction.cs rename to Yavsc/Models/Billing/satisfaction.cs diff --git a/Yavsc/Model/Billing/writtings.cs b/Yavsc/Models/Billing/writtings.cs similarity index 100% rename from Yavsc/Model/Billing/writtings.cs rename to Yavsc/Models/Billing/writtings.cs diff --git a/Yavsc/Model/Billing/wrtags.cs b/Yavsc/Models/Billing/wrtags.cs similarity index 100% rename from Yavsc/Model/Billing/wrtags.cs rename to Yavsc/Models/Billing/wrtags.cs diff --git a/Yavsc/Model/Blog/Blog.cs b/Yavsc/Models/Blog/Blog.cs similarity index 100% rename from Yavsc/Model/Blog/Blog.cs rename to Yavsc/Models/Blog/Blog.cs diff --git a/Yavsc/Model/Blog/BlogAccess.cs b/Yavsc/Models/Blog/BlogAccess.cs similarity index 100% rename from Yavsc/Model/Blog/BlogAccess.cs rename to Yavsc/Models/Blog/BlogAccess.cs diff --git a/Yavsc/Model/Blog/comment.cs b/Yavsc/Models/Blog/comment.cs similarity index 100% rename from Yavsc/Model/Blog/comment.cs rename to Yavsc/Models/Blog/comment.cs diff --git a/Yavsc/Model/Booking/BookQuery.cs b/Yavsc/Models/Booking/BookQuery.cs similarity index 100% rename from Yavsc/Model/Booking/BookQuery.cs rename to Yavsc/Models/Booking/BookQuery.cs diff --git a/Yavsc/Model/Booking/RendezVous.cs b/Yavsc/Models/Booking/RendezVous.cs similarity index 100% rename from Yavsc/Model/Booking/RendezVous.cs rename to Yavsc/Models/Booking/RendezVous.cs diff --git a/Yavsc/Model/Calendar/ICalendarManager.cs b/Yavsc/Models/Calendar/ICalendarManager.cs similarity index 100% rename from Yavsc/Model/Calendar/ICalendarManager.cs rename to Yavsc/Models/Calendar/ICalendarManager.cs diff --git a/Yavsc/Model/Calendar/IFreeDateSet.cs b/Yavsc/Models/Calendar/IFreeDateSet.cs similarity index 100% rename from Yavsc/Model/Calendar/IFreeDateSet.cs rename to Yavsc/Models/Calendar/IFreeDateSet.cs diff --git a/Yavsc/Model/Calendar/OpenDay.cs b/Yavsc/Models/Calendar/OpenDay.cs similarity index 100% rename from Yavsc/Model/Calendar/OpenDay.cs rename to Yavsc/Models/Calendar/OpenDay.cs diff --git a/Yavsc/Model/Calendar/Period.cs b/Yavsc/Models/Calendar/Period.cs similarity index 100% rename from Yavsc/Model/Calendar/Period.cs rename to Yavsc/Models/Calendar/Period.cs diff --git a/Yavsc/Model/Calendar/Periodicity.cs b/Yavsc/Models/Calendar/Periodicity.cs similarity index 100% rename from Yavsc/Model/Calendar/Periodicity.cs rename to Yavsc/Models/Calendar/Periodicity.cs diff --git a/Yavsc/Model/Calendar/PositionAndKeyphrase.cs b/Yavsc/Models/Calendar/PositionAndKeyphrase.cs similarity index 100% rename from Yavsc/Model/Calendar/PositionAndKeyphrase.cs rename to Yavsc/Models/Calendar/PositionAndKeyphrase.cs diff --git a/Yavsc/Model/Calendar/ProvidedEvent.cs b/Yavsc/Models/Calendar/ProvidedEvent.cs similarity index 100% rename from Yavsc/Model/Calendar/ProvidedEvent.cs rename to Yavsc/Models/Calendar/ProvidedEvent.cs diff --git a/Yavsc/Model/Calendar/Schedule.cs b/Yavsc/Models/Calendar/Schedule.cs similarity index 100% rename from Yavsc/Model/Calendar/Schedule.cs rename to Yavsc/Models/Calendar/Schedule.cs diff --git a/Yavsc/Model/Calendar/WeekDay.cs b/Yavsc/Models/Calendar/WeekDay.cs similarity index 100% rename from Yavsc/Model/Calendar/WeekDay.cs rename to Yavsc/Models/Calendar/WeekDay.cs diff --git a/Yavsc/Model/Chat/Connection.cs b/Yavsc/Models/Chat/Connection.cs similarity index 100% rename from Yavsc/Model/Chat/Connection.cs rename to Yavsc/Models/Chat/Connection.cs diff --git a/Yavsc/Model/Edition/IDocument.cs b/Yavsc/Models/Edition/IDocument.cs similarity index 100% rename from Yavsc/Model/Edition/IDocument.cs rename to Yavsc/Models/Edition/IDocument.cs diff --git a/Yavsc/Models/FileSystem/FileRecievedInfo.cs b/Yavsc/Models/FileSystem/FileRecievedInfo.cs new file mode 100644 index 00000000..5ff429df --- /dev/null +++ b/Yavsc/Models/FileSystem/FileRecievedInfo.cs @@ -0,0 +1,9 @@ +namespace Yavsc.Models.FileSystem +{ + public class FileRecievedInfo + { + public string DestDir { get; set; } + public string FileName { get; set; } + public bool Overriden { get; set; } + } +} \ No newline at end of file diff --git a/Yavsc/Model/Forms/Field.cs b/Yavsc/Models/Forms/Field.cs similarity index 100% rename from Yavsc/Model/Forms/Field.cs rename to Yavsc/Models/Forms/Field.cs diff --git a/Yavsc/Model/Forms/FieldSet.cs b/Yavsc/Models/Forms/FieldSet.cs similarity index 100% rename from Yavsc/Model/Forms/FieldSet.cs rename to Yavsc/Models/Forms/FieldSet.cs diff --git a/Yavsc/Model/Forms/Form.cs b/Yavsc/Models/Forms/Form.cs similarity index 100% rename from Yavsc/Model/Forms/Form.cs rename to Yavsc/Models/Forms/Form.cs diff --git a/Yavsc/Model/Forms/Validation/Method.cs b/Yavsc/Models/Forms/Validation/Method.cs similarity index 100% rename from Yavsc/Model/Forms/Validation/Method.cs rename to Yavsc/Models/Forms/Validation/Method.cs diff --git a/Yavsc/Model/Forms/Validation/Required.cs b/Yavsc/Models/Forms/Validation/Required.cs similarity index 100% rename from Yavsc/Model/Forms/Validation/Required.cs rename to Yavsc/Models/Forms/Validation/Required.cs diff --git a/Yavsc/Model/Google/AuthToken.cs b/Yavsc/Models/Google/AuthToken.cs similarity index 100% rename from Yavsc/Model/Google/AuthToken.cs rename to Yavsc/Models/Google/AuthToken.cs diff --git a/Yavsc/Model/Google/Calendar/CalendarEventList.cs b/Yavsc/Models/Google/Calendar/CalendarEventList.cs similarity index 100% rename from Yavsc/Model/Google/Calendar/CalendarEventList.cs rename to Yavsc/Models/Google/Calendar/CalendarEventList.cs diff --git a/Yavsc/Model/Google/Calendar/CalendarList.cs b/Yavsc/Models/Google/Calendar/CalendarList.cs similarity index 100% rename from Yavsc/Model/Google/Calendar/CalendarList.cs rename to Yavsc/Models/Google/Calendar/CalendarList.cs diff --git a/Yavsc/Model/Google/Calendar/CalendarListEntry.cs b/Yavsc/Models/Google/Calendar/CalendarListEntry.cs similarity index 100% rename from Yavsc/Model/Google/Calendar/CalendarListEntry.cs rename to Yavsc/Models/Google/Calendar/CalendarListEntry.cs diff --git a/Yavsc/Model/Google/GDate.cs b/Yavsc/Models/Google/GDate.cs similarity index 100% rename from Yavsc/Model/Google/GDate.cs rename to Yavsc/Models/Google/GDate.cs diff --git a/Yavsc/Model/Google/Messaging/GCMRegisterModel.cs b/Yavsc/Models/Google/Messaging/GCMRegisterModel.cs similarity index 100% rename from Yavsc/Model/Google/Messaging/GCMRegisterModel.cs rename to Yavsc/Models/Google/Messaging/GCMRegisterModel.cs diff --git a/Yavsc/Model/Google/Messaging/MessageWithPayLoad.cs b/Yavsc/Models/Google/Messaging/MessageWithPayLoad.cs similarity index 100% rename from Yavsc/Model/Google/Messaging/MessageWithPayLoad.cs rename to Yavsc/Models/Google/Messaging/MessageWithPayLoad.cs diff --git a/Yavsc/Model/Google/Messaging/MessageWithPayloadResponse.cs b/Yavsc/Models/Google/Messaging/MessageWithPayloadResponse.cs similarity index 100% rename from Yavsc/Model/Google/Messaging/MessageWithPayloadResponse.cs rename to Yavsc/Models/Google/Messaging/MessageWithPayloadResponse.cs diff --git a/Yavsc/Model/Google/People/People.cs b/Yavsc/Models/Google/People/People.cs similarity index 100% rename from Yavsc/Model/Google/People/People.cs rename to Yavsc/Models/Google/People/People.cs diff --git a/Yavsc/Model/Google/Resource.cs b/Yavsc/Models/Google/Resource.cs similarity index 100% rename from Yavsc/Model/Google/Resource.cs rename to Yavsc/Models/Google/Resource.cs diff --git a/Yavsc/Model/Google/Tracks/Entity.cs b/Yavsc/Models/Google/Tracks/Entity.cs similarity index 100% rename from Yavsc/Model/Google/Tracks/Entity.cs rename to Yavsc/Models/Google/Tracks/Entity.cs diff --git a/Yavsc/Model/Google/Tracks/EntityQuery.cs b/Yavsc/Models/Google/Tracks/EntityQuery.cs similarity index 100% rename from Yavsc/Model/Google/Tracks/EntityQuery.cs rename to Yavsc/Models/Google/Tracks/EntityQuery.cs diff --git a/Yavsc/Model/Identity/ApplicationUser.cs b/Yavsc/Models/Identity/ApplicationUser.cs similarity index 95% rename from Yavsc/Model/Identity/ApplicationUser.cs rename to Yavsc/Models/Identity/ApplicationUser.cs index 08336cff..263c50bb 100644 --- a/Yavsc/Model/Identity/ApplicationUser.cs +++ b/Yavsc/Models/Identity/ApplicationUser.cs @@ -85,5 +85,7 @@ namespace Yavsc.Models public BankIdentity BankInfo { get; set; } + public long DiskQuota { get; set; } = 512*1024*1024; + public long DiskUsage { get; set; } = 0; } } diff --git a/Yavsc/Model/Identity/MobileAppDeclaration.cs b/Yavsc/Models/Identity/MobileAppDeclaration.cs similarity index 100% rename from Yavsc/Model/Identity/MobileAppDeclaration.cs rename to Yavsc/Models/Identity/MobileAppDeclaration.cs diff --git a/Yavsc/Model/Identity/passwrecovery.cs b/Yavsc/Models/Identity/passwrecovery.cs similarity index 100% rename from Yavsc/Model/Identity/passwrecovery.cs rename to Yavsc/Models/Identity/passwrecovery.cs diff --git a/Yavsc/Model/Market/BaseProduct.cs b/Yavsc/Models/Market/BaseProduct.cs similarity index 100% rename from Yavsc/Model/Market/BaseProduct.cs rename to Yavsc/Models/Market/BaseProduct.cs diff --git a/Yavsc/Model/Market/Catalog.cs b/Yavsc/Models/Market/Catalog.cs similarity index 100% rename from Yavsc/Model/Market/Catalog.cs rename to Yavsc/Models/Market/Catalog.cs diff --git a/Yavsc/Model/Market/IUnit.cs b/Yavsc/Models/Market/IUnit.cs similarity index 100% rename from Yavsc/Model/Market/IUnit.cs rename to Yavsc/Models/Market/IUnit.cs diff --git a/Yavsc/Model/Market/Money.cs b/Yavsc/Models/Market/Money.cs similarity index 100% rename from Yavsc/Model/Market/Money.cs rename to Yavsc/Models/Market/Money.cs diff --git a/Yavsc/Model/Market/Product.cs b/Yavsc/Models/Market/Product.cs similarity index 100% rename from Yavsc/Model/Market/Product.cs rename to Yavsc/Models/Market/Product.cs diff --git a/Yavsc/Model/Market/Service.cs b/Yavsc/Models/Market/Service.cs similarity index 100% rename from Yavsc/Model/Market/Service.cs rename to Yavsc/Models/Market/Service.cs diff --git a/Yavsc/Model/Messaging/BaseEvent.cs b/Yavsc/Models/Messaging/BaseEvent.cs similarity index 98% rename from Yavsc/Model/Messaging/BaseEvent.cs rename to Yavsc/Models/Messaging/BaseEvent.cs index ea946638..ab648c00 100644 --- a/Yavsc/Model/Messaging/BaseEvent.cs +++ b/Yavsc/Models/Messaging/BaseEvent.cs @@ -20,10 +20,10 @@ // along with this program. If not, see . using System.ComponentModel.DataAnnotations; -using Yavsc.Interfaces; namespace Yavsc.Models.Messaging { + using Interfaces; /// /// Base event. /// diff --git a/Yavsc/Model/Messaging/BookQueryEvent.cs b/Yavsc/Models/Messaging/BookQueryEvent.cs similarity index 100% rename from Yavsc/Model/Messaging/BookQueryEvent.cs rename to Yavsc/Models/Messaging/BookQueryEvent.cs diff --git a/Yavsc/Model/Messaging/BookQueryProviderInfo.cs b/Yavsc/Models/Messaging/BookQueryProviderInfo.cs similarity index 100% rename from Yavsc/Model/Messaging/BookQueryProviderInfo.cs rename to Yavsc/Models/Messaging/BookQueryProviderInfo.cs diff --git a/Yavsc/Model/Messaging/CircleEvent.cs b/Yavsc/Models/Messaging/CircleEvent.cs similarity index 100% rename from Yavsc/Model/Messaging/CircleEvent.cs rename to Yavsc/Models/Messaging/CircleEvent.cs diff --git a/Yavsc/Model/Messaging/ClientProviderInfo.cs b/Yavsc/Models/Messaging/ClientProviderInfo.cs similarity index 100% rename from Yavsc/Model/Messaging/ClientProviderInfo.cs rename to Yavsc/Models/Messaging/ClientProviderInfo.cs diff --git a/Yavsc/Model/Messaging/Notification.cs b/Yavsc/Models/Messaging/Notification.cs similarity index 100% rename from Yavsc/Model/Messaging/Notification.cs rename to Yavsc/Models/Messaging/Notification.cs diff --git a/Yavsc/Model/Messaging/YaEvent.cs b/Yavsc/Models/Messaging/YaEvent.cs similarity index 100% rename from Yavsc/Model/Messaging/YaEvent.cs rename to Yavsc/Models/Messaging/YaEvent.cs diff --git a/Yavsc/Model/Relationship/Circle.cs b/Yavsc/Models/Relationship/Circle.cs similarity index 100% rename from Yavsc/Model/Relationship/Circle.cs rename to Yavsc/Models/Relationship/Circle.cs diff --git a/Yavsc/Model/Relationship/CircleMember.cs b/Yavsc/Models/Relationship/CircleMember.cs similarity index 100% rename from Yavsc/Model/Relationship/CircleMember.cs rename to Yavsc/Models/Relationship/CircleMember.cs diff --git a/Yavsc/Model/Relationship/Contact.cs b/Yavsc/Models/Relationship/Contact.cs similarity index 100% rename from Yavsc/Model/Relationship/Contact.cs rename to Yavsc/Models/Relationship/Contact.cs diff --git a/Yavsc/Model/Relationship/Location.cs b/Yavsc/Models/Relationship/Location.cs similarity index 100% rename from Yavsc/Model/Relationship/Location.cs rename to Yavsc/Models/Relationship/Location.cs diff --git a/Yavsc/Model/Relationship/PostTag.cs b/Yavsc/Models/Relationship/PostTag.cs similarity index 100% rename from Yavsc/Model/Relationship/PostTag.cs rename to Yavsc/Models/Relationship/PostTag.cs diff --git a/Yavsc/Model/Relationship/Tag.cs b/Yavsc/Models/Relationship/Tag.cs similarity index 100% rename from Yavsc/Model/Relationship/Tag.cs rename to Yavsc/Models/Relationship/Tag.cs diff --git a/Yavsc/Model/Workflow/Activity.cs b/Yavsc/Models/Workflow/Activity.cs similarity index 100% rename from Yavsc/Model/Workflow/Activity.cs rename to Yavsc/Models/Workflow/Activity.cs diff --git a/Yavsc/Model/Workflow/IRequisition.cs b/Yavsc/Models/Workflow/IRequisition.cs similarity index 100% rename from Yavsc/Model/Workflow/IRequisition.cs rename to Yavsc/Models/Workflow/IRequisition.cs diff --git a/Yavsc/Model/Workflow/PerformerProfile.cs b/Yavsc/Models/Workflow/PerformerProfile.cs similarity index 100% rename from Yavsc/Model/Workflow/PerformerProfile.cs rename to Yavsc/Models/Workflow/PerformerProfile.cs diff --git a/Yavsc/Model/Workflow/Process/Action.cs b/Yavsc/Models/Workflow/Process/Action.cs similarity index 100% rename from Yavsc/Model/Workflow/Process/Action.cs rename to Yavsc/Models/Workflow/Process/Action.cs diff --git a/Yavsc/Model/Workflow/Process/Conjonction.cs b/Yavsc/Models/Workflow/Process/Conjonction.cs similarity index 100% rename from Yavsc/Model/Workflow/Process/Conjonction.cs rename to Yavsc/Models/Workflow/Process/Conjonction.cs diff --git a/Yavsc/Model/Workflow/Process/Disjonction.cs b/Yavsc/Models/Workflow/Process/Disjonction.cs similarity index 100% rename from Yavsc/Model/Workflow/Process/Disjonction.cs rename to Yavsc/Models/Workflow/Process/Disjonction.cs diff --git a/Yavsc/Model/Workflow/Process/InputValue.cs b/Yavsc/Models/Workflow/Process/InputValue.cs similarity index 100% rename from Yavsc/Model/Workflow/Process/InputValue.cs rename to Yavsc/Models/Workflow/Process/InputValue.cs diff --git a/Yavsc/Model/Workflow/Process/NamedRequisition.cs b/Yavsc/Models/Workflow/Process/NamedRequisition.cs similarity index 100% rename from Yavsc/Model/Workflow/Process/NamedRequisition.cs rename to Yavsc/Models/Workflow/Process/NamedRequisition.cs diff --git a/Yavsc/Model/Workflow/Process/Negation.cs b/Yavsc/Models/Workflow/Process/Negation.cs similarity index 100% rename from Yavsc/Model/Workflow/Process/Negation.cs rename to Yavsc/Models/Workflow/Process/Negation.cs diff --git a/Yavsc/Model/Workflow/Process/Rule.cs b/Yavsc/Models/Workflow/Process/Rule.cs similarity index 100% rename from Yavsc/Model/Workflow/Process/Rule.cs rename to Yavsc/Models/Workflow/Process/Rule.cs diff --git a/Yavsc/Model/Workflow/Projet.cs b/Yavsc/Models/Workflow/Projet.cs similarity index 100% rename from Yavsc/Model/Workflow/Projet.cs rename to Yavsc/Models/Workflow/Projet.cs diff --git a/Yavsc/Model/Workflow/Skill.cs b/Yavsc/Models/Workflow/Skill.cs similarity index 100% rename from Yavsc/Model/Workflow/Skill.cs rename to Yavsc/Models/Workflow/Skill.cs diff --git a/Yavsc/Model/Workflow/UserSkills.cs b/Yavsc/Models/Workflow/UserSkills.cs similarity index 100% rename from Yavsc/Model/Workflow/UserSkills.cs rename to Yavsc/Models/Workflow/UserSkills.cs diff --git a/Yavsc/Model/Workflow/hr.cs b/Yavsc/Models/Workflow/hr.cs similarity index 100% rename from Yavsc/Model/Workflow/hr.cs rename to Yavsc/Models/Workflow/hr.cs diff --git a/Yavsc/Model/Workflow/taskdeps.cs b/Yavsc/Models/Workflow/taskdeps.cs similarity index 100% rename from Yavsc/Model/Workflow/taskdeps.cs rename to Yavsc/Models/Workflow/taskdeps.cs diff --git a/Yavsc/Model/Workflow/tasks.cs b/Yavsc/Models/Workflow/tasks.cs similarity index 100% rename from Yavsc/Model/Workflow/tasks.cs rename to Yavsc/Models/Workflow/tasks.cs diff --git a/Yavsc/Model/Workflow/wrfiles.cs b/Yavsc/Models/Workflow/wrfiles.cs similarity index 100% rename from Yavsc/Model/Workflow/wrfiles.cs rename to Yavsc/Models/Workflow/wrfiles.cs diff --git a/Yavsc/Model/societe.com/CompanyInfo.cs b/Yavsc/Models/societe.com/CompanyInfo.cs similarity index 100% rename from Yavsc/Model/societe.com/CompanyInfo.cs rename to Yavsc/Models/societe.com/CompanyInfo.cs diff --git a/Yavsc/Settings/ThirdPartyFiles.cs b/Yavsc/Settings/ThirdPartyFiles.cs index b076c7ed..4c3d0a53 100644 --- a/Yavsc/Settings/ThirdPartyFiles.cs +++ b/Yavsc/Settings/ThirdPartyFiles.cs @@ -2,8 +2,8 @@ namespace Yavsc { public class ThirdPartyFiles { - public string DirName { get; set; } - public string Quota { get; set; } + public string Avatars { get; set; } + public long Quota { get; set; } public string Blog { get; set; } public string Bills { get; set; } diff --git a/Yavsc/Startup/Startup.FileServer.cs b/Yavsc/Startup/Startup.FileServer.cs index e46898df..5cfda1f9 100644 --- a/Yavsc/Startup/Startup.FileServer.cs +++ b/Yavsc/Startup/Startup.FileServer.cs @@ -13,10 +13,11 @@ namespace Yavsc public static string UserFilesDirName { get; private set; } public static FileServerOptions UserFilesOptions { get; private set; } + public static FileServerOptions AvatarsOptions { get; set; } public void ConfigureFileServerApp(IApplicationBuilder app, SiteSettings siteSettings, IHostingEnvironment env) { - var userFilesDirInfo = new DirectoryInfo( siteSettings.UserFiles.DirName ); + var userFilesDirInfo = new DirectoryInfo( siteSettings.UserFiles.Blog ); UserFilesDirName = userFilesDirInfo.FullName; if (!userFilesDirInfo.Exists) userFilesDirInfo.Create(); @@ -24,10 +25,24 @@ namespace Yavsc UserFilesOptions = new FileServerOptions() { FileProvider = new PhysicalFileProvider(UserFilesDirName), - RequestPath = new PathString("/" + siteSettings.UserFiles.DirName), + RequestPath = new PathString(Constants.UserFilesPath), EnableDirectoryBrowsing = env.IsDevelopment() }; + var avatarsDirInfo = new DirectoryInfo(Startup.SiteSetup.UserFiles.Avatars); + if (!avatarsDirInfo.Exists) avatarsDirInfo.Create(); + AvatarsDirName = avatarsDirInfo.FullName; + + AvatarsOptions = new FileServerOptions() + { + FileProvider = new PhysicalFileProvider(AvatarsDirName), + RequestPath = new PathString(Constants.AvatarsPath), + EnableDirectoryBrowsing = env.IsDevelopment() + }; + app.UseFileServer(UserFilesOptions); + + app.UseFileServer(AvatarsOptions); + app.UseStaticFiles(); } } diff --git a/Yavsc/Startup/Startup.cs b/Yavsc/Startup/Startup.cs index 3d11ff41..9a4638fb 100755 --- a/Yavsc/Startup/Startup.cs +++ b/Yavsc/Startup/Startup.cs @@ -33,6 +33,7 @@ namespace Yavsc { public static string ConnectionString { get; private set; } public static string UserBillsDirName { private set; get; } + public static string AvatarsDirName { private set; get; } public static string Authority { get; private set; } public static string Audience { get; private set; } public static SiteSettings SiteSetup { get; private set; } @@ -229,8 +230,8 @@ namespace Yavsc ILoggerFactory loggerFactory) { SiteSetup = siteSettings.Value; - Startup.UserFilesDirName = siteSettings.Value.UserFiles.DirName; - Startup.UserBillsDirName = siteSettings.Value.UserFiles.Bills; + Startup.UserFilesDirName = new DirectoryInfo(siteSettings.Value.UserFiles.Blog).FullName; + Startup.UserBillsDirName = new DirectoryInfo(siteSettings.Value.UserFiles.Bills).FullName; // TODO implement an installation & upgrade procedure // Create required directories diff --git a/Yavsc/ViewComponents/EstimateViewComponent.cs b/Yavsc/ViewComponents/EstimateViewComponent.cs index 2de4c272..fe549b60 100644 --- a/Yavsc/ViewComponents/EstimateViewComponent.cs +++ b/Yavsc/ViewComponents/EstimateViewComponent.cs @@ -1,6 +1,7 @@ using System; using System.IO; using System.Linq; +using System.Threading.Tasks; using Microsoft.AspNet.Mvc; using Microsoft.Data.Entity; using Yavsc.Models; @@ -16,9 +17,15 @@ namespace Yavsc.ViewComponents { this.dbContext = dbContext; } - public IViewComponentResult InvokeAsync(long id, bool toPdf = false) + public async Task InvokeAsync(long id) { - Estimate estimate = + return await InvokeAsync(id,"Html"); + } + + public async Task InvokeAsync(long id, string outputFormat ="Html") + { + return await Task.Run( ()=> { + Estimate estimate = dbContext.Estimates.Include(x => x.Query) .Include(x => x.Query.Client) .Include(x => x.Query.PerformerProfile) @@ -27,11 +34,15 @@ namespace Yavsc.ViewComponents .Include(e => e.Bill).FirstOrDefault(x => x.Id == id); if (estimate == null) throw new Exception("No data"); - if (toPdf) + + if (outputFormat == "LaTeX") { + return this.View("Estimate_tex", estimate); + } + else if (outputFormat == "Pdf") { + // Sorry for this code string tex = null; var oldWriter = ViewComponentContext.ViewContext.Writer; - using (var writer = new StringWriter()) { this.ViewComponentContext.ViewContext.Writer = writer; @@ -50,7 +61,9 @@ namespace Yavsc.ViewComponents BaseFileName = $"estimate-{id}" } ); } - return this.View("Estimate_tex", estimate); + return View("Default",estimate); + } + ); } } diff --git a/Yavsc/ViewModels/Account/Me.cs b/Yavsc/ViewModels/Account/Me.cs index c79093d4..4b0e498d 100644 --- a/Yavsc/ViewModels/Account/Me.cs +++ b/Yavsc/ViewModels/Account/Me.cs @@ -31,6 +31,7 @@ namespace Yavsc.Models.Auth } public class MyUpdate { + public string UserName { get; set; } public string Avatar { get; set; } } diff --git a/Yavsc/ViewModels/Gen/PdfGenerationViewModel.cs b/Yavsc/ViewModels/Gen/PdfGenerationViewModel.cs index 6c193de4..8253ade5 100644 --- a/Yavsc/ViewModels/Gen/PdfGenerationViewModel.cs +++ b/Yavsc/ViewModels/Gen/PdfGenerationViewModel.cs @@ -1,14 +1,18 @@ using System.ComponentModel.DataAnnotations; +using Microsoft.AspNet.Mvc.Rendering; namespace Yavsc.ViewModels.Gen { public class PdfGenerationViewModel { + [Required] public string TeXSource { get; set; } [Required] public string BaseFileName { get; set; } [Required] public string DestDir { get; set; } + public bool Generated { get; set; } + public HtmlString GenerationErrorMessage { get; set; } } } \ No newline at end of file diff --git a/Yavsc/ViewModels/Manage/IndexViewModel.cs b/Yavsc/ViewModels/Manage/IndexViewModel.cs index 7067598c..d7f888de 100644 --- a/Yavsc/ViewModels/Manage/IndexViewModel.cs +++ b/Yavsc/ViewModels/Manage/IndexViewModel.cs @@ -38,5 +38,7 @@ namespace Yavsc.ViewModels.Manage public string PostalAddress { get; set; } public BankIdentity BankInfo { get; set; } + public long DiskQuota { get; set; } + public long DiskUsage { get; set; } } } diff --git a/Yavsc/Views/Blogspot/Edit.cshtml b/Yavsc/Views/Blogspot/Edit.cshtml index 2f414d0c..ae446e54 100644 --- a/Yavsc/Views/Blogspot/Edit.cshtml +++ b/Yavsc/Views/Blogspot/Edit.cshtml @@ -75,6 +75,7 @@ editorcontenu.on('text-change',function(delta,source){ } }); + $('#contentcnt').focus(function(){ $('#contentbar').removeClass('hidden'); $('#Titletoolbar').addClass('hidden'); @@ -89,7 +90,7 @@ editorcontenu.on('text-change',function(delta,source){ } else { done(); } }, - url: "/UserFiles/Create?PostId=@Model.Id" + url: "/api/fs" }; }); @@ -187,14 +188,9 @@ editorcontenu.on('text-change',function(delta,source){
- +
-
-
- -
-
@Html.AntiForgeryToken()
diff --git a/Yavsc/Views/Estimate/Details.cshtml b/Yavsc/Views/Estimate/Details.cshtml index a838acf4..b45f2bc1 100644 --- a/Yavsc/Views/Estimate/Details.cshtml +++ b/Yavsc/Views/Estimate/Details.cshtml @@ -36,15 +36,8 @@

@SR["Edit"] | - @SR["Back to List"] | - @{ var filenametex = $"estimate-{Model.Id}.tex" ; - var filenamepdf = $"estimate-{Model.Id}.pdf" ;} - Export au format LaTeX - - -

- -
- Télécharger le document - + @SR["Back to List"]

+
+@await Component.InvokeAsync("Estimate",Model.Id) +
diff --git a/Yavsc/Views/Manage/Index.cshtml b/Yavsc/Views/Manage/Index.cshtml index 60fdbd61..94e04629 100755 --- a/Yavsc/Views/Manage/Index.cshtml +++ b/Yavsc/Views/Manage/Index.cshtml @@ -16,6 +16,7 @@ [@SR["Change"]] + @if (Model.Roles.Count()>0) {
@SR["Roles"]:
@@ -45,7 +46,9 @@
@SR["Avatar"]:
-
@Model.Avatar +
+ + @Model.Avatar [@SR[@Model.Avatar==null?"Set":"Modify"]]
@@ -99,6 +102,18 @@ @(Model.Balance?.Credits ?? 0) € [@SR["Manage"]] +
Usage disque
+
+ @if (Model.DiskQuota>0) + { + + @((Model.DiskUsage/Model.DiskQuota).ToString("%#0")) : + + } + + @(Model.DiskUsage.ToString("0,#")) / @(Model.DiskQuota.ToString("0,#")) + +

@SR["Unregister"] diff --git a/Yavsc/Views/Manage/SetActivity.cshtml b/Yavsc/Views/Manage/SetActivity.cshtml index 0dd745c0..ba11b351 100644 --- a/Yavsc/Views/Manage/SetActivity.cshtml +++ b/Yavsc/Views/Manage/SetActivity.cshtml @@ -101,7 +101,7 @@ } }); }); - @{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); } } +

@ViewData["Title"].

diff --git a/Yavsc/Views/Manage/SetAvatar.cshtml b/Yavsc/Views/Manage/SetAvatar.cshtml new file mode 100644 index 00000000..09dd811d --- /dev/null +++ b/Yavsc/Views/Manage/SetAvatar.cshtml @@ -0,0 +1,32 @@ +@model PerformerProfile +@{ ViewData["Title"] = SR["Edit your avatar"]; } +@section header{ + +} +@section scripts{ + + +} + + +
+
+ +
+ + @Html.AntiForgeryToken() +
diff --git a/Yavsc/Views/Shared/Components/Estimate/Default.cshtml b/Yavsc/Views/Shared/Components/Estimate/Default.cshtml new file mode 100644 index 00000000..9c695bd6 --- /dev/null +++ b/Yavsc/Views/Shared/Components/Estimate/Default.cshtml @@ -0,0 +1,11 @@ + +@model Estimate + +Export au format LaTeX + + +
+ +
+ +Télécharger le document généré diff --git a/Yavsc/Views/Shared/Components/Estimate/Estimate_pdf.cshtml b/Yavsc/Views/Shared/Components/Estimate/Estimate_pdf.cshtml index 08664810..55bc05d7 100644 --- a/Yavsc/Views/Shared/Components/Estimate/Estimate_pdf.cshtml +++ b/Yavsc/Views/Shared/Components/Estimate/Estimate_pdf.cshtml @@ -4,47 +4,19 @@ @using System.Diagnostics @using System.Text @using Yavsc.Formatters +@using Yavsc.Helpers @model Yavsc.ViewModels.Gen.PdfGenerationViewModel -@{ - string errorMsg = null; - var billdir = Model.DestDir; - var tempdir = Startup.SiteSetup.TempDir; - string name = Model.BaseFileName; - string fullname = new FileInfo( - System.IO.Path.Combine(tempdir,name)).FullName; - string ofullname = new FileInfo( - System.IO.Path.Combine(billdir,name)).FullName; - FileInfo fi = new FileInfo(fullname + ".tex"); - FileInfo fo = new FileInfo(ofullname + ".pdf"); - using (StreamWriter sw = new StreamWriter (fi.FullName)) - { - sw.Write (Model.TeXSource); - } - if (!fi.Exists) - { - errorMsg = "Source write failed"; - } - else { - using (Process p = new Process ()) { - p.StartInfo.WorkingDirectory = tempdir; - p.StartInfo = new ProcessStartInfo (); - p.StartInfo.UseShellExecute = false; - p.StartInfo.FileName = "/usr/bin/texi2pdf"; - p.StartInfo.Arguments = $"--batch --build-dir=. -o {fo.FullName} {fi.FullName}"; - p.Start (); - p.WaitForExit (); - if (p.ExitCode != 0) { - errorMsg = $"Pdf generation failed with exit code: {p.ExitCode}"; - } - } - fi.Delete(); - } - ViewBag.GenSuccess = fo.Exists; +@{ + Model.GenerateEstimatePdf(); } -@if (ViewBag.GenSuccess) { - @($"{name}.pdf") +@if (Model.Generated) { +
+ @(Model.BaseFileName).pdf was generated +
} else { - @errorMsg - Something went wrong ... +
+ @Model.GenerationErrorMessage +

Something went wrong ...

+
} \ No newline at end of file diff --git a/Yavsc/Views/Shared/_LoginPartial.cshtml b/Yavsc/Views/Shared/_LoginPartial.cshtml index 02ad72f5..c0ed3151 100755 --- a/Yavsc/Views/Shared/_LoginPartial.cshtml +++ b/Yavsc/Views/Shared/_LoginPartial.cshtml @@ -5,7 +5,9 @@