Merge branch '#94-FlexitimePolicyTab' into Release0.2
This commit is contained in:
commit
5b10b5d546
@ -1,41 +1,41 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio 14
|
# Visual Studio 14
|
||||||
VisualStudioVersion = 14.0.25420.1
|
VisualStudioVersion = 14.0.25420.1
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CardReaderService", "CardReaderService\CardReaderService.csproj", "{5F30E8E4-5107-4C99-ADFF-38D735DC113D}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CardReaderService", "CardReaderService\CardReaderService.csproj", "{5F30E8E4-5107-4C99-ADFF-38D735DC113D}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CardReaderServiceHost", "CardReaderServiceHost\CardReaderServiceHost.csproj", "{6E48913F-9D8C-4132-93A7-C7B1C6DD5264}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CardReaderServiceHost", "CardReaderServiceHost\CardReaderServiceHost.csproj", "{6E48913F-9D8C-4132-93A7-C7B1C6DD5264}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Logger", "Logger\Logger.csproj", "{42EFE386-DC2E-455A-BA81-5FC9CEE45D02}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Logger", "Logger\Logger.csproj", "{42EFE386-DC2E-455A-BA81-5FC9CEE45D02}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Linux Conf", "Linux Conf", "{F9053F37-761D-45EE-9153-46776B083DBA}"
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Linux Conf", "Linux Conf", "{F9053F37-761D-45EE-9153-46776B083DBA}"
|
||||||
ProjectSection(SolutionItems) = preProject
|
ProjectSection(SolutionItems) = preProject
|
||||||
CardReaderService.conf = CardReaderService.conf
|
CardReaderService.conf = CardReaderService.conf
|
||||||
install.sh = install.sh
|
install.sh = install.sh
|
||||||
uninstall.sh = uninstall.sh
|
uninstall.sh = uninstall.sh
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
Release|Any CPU = Release|Any CPU
|
Release|Any CPU = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{5F30E8E4-5107-4C99-ADFF-38D735DC113D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{5F30E8E4-5107-4C99-ADFF-38D735DC113D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{5F30E8E4-5107-4C99-ADFF-38D735DC113D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{5F30E8E4-5107-4C99-ADFF-38D735DC113D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{5F30E8E4-5107-4C99-ADFF-38D735DC113D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{5F30E8E4-5107-4C99-ADFF-38D735DC113D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{5F30E8E4-5107-4C99-ADFF-38D735DC113D}.Release|Any CPU.Build.0 = Release|Any CPU
|
{5F30E8E4-5107-4C99-ADFF-38D735DC113D}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{6E48913F-9D8C-4132-93A7-C7B1C6DD5264}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{6E48913F-9D8C-4132-93A7-C7B1C6DD5264}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{6E48913F-9D8C-4132-93A7-C7B1C6DD5264}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{6E48913F-9D8C-4132-93A7-C7B1C6DD5264}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{6E48913F-9D8C-4132-93A7-C7B1C6DD5264}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{6E48913F-9D8C-4132-93A7-C7B1C6DD5264}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{6E48913F-9D8C-4132-93A7-C7B1C6DD5264}.Release|Any CPU.Build.0 = Release|Any CPU
|
{6E48913F-9D8C-4132-93A7-C7B1C6DD5264}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{42EFE386-DC2E-455A-BA81-5FC9CEE45D02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{42EFE386-DC2E-455A-BA81-5FC9CEE45D02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{42EFE386-DC2E-455A-BA81-5FC9CEE45D02}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{42EFE386-DC2E-455A-BA81-5FC9CEE45D02}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{42EFE386-DC2E-455A-BA81-5FC9CEE45D02}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{42EFE386-DC2E-455A-BA81-5FC9CEE45D02}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{42EFE386-DC2E-455A-BA81-5FC9CEE45D02}.Release|Any CPU.Build.0 = Release|Any CPU
|
{42EFE386-DC2E-455A-BA81-5FC9CEE45D02}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
|||||||
@ -1,91 +1,90 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<ProjectGuid>{5F30E8E4-5107-4C99-ADFF-38D735DC113D}</ProjectGuid>
|
<ProjectGuid>{5F30E8E4-5107-4C99-ADFF-38D735DC113D}</ProjectGuid>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>CardReaderService</RootNamespace>
|
<RootNamespace>CardReaderService</RootNamespace>
|
||||||
<AssemblyName>CardReaderService</AssemblyName>
|
<AssemblyName>CardReaderService</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
<TargetFrameworkProfile />
|
<TargetFrameworkProfile />
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
|
<HintPath>..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="PCSC, Version=4.2.0.0, Culture=neutral, PublicKeyToken=13b76e54a2ee80a7, processorArchitecture=MSIL">
|
<Reference Include="PCSC, Version=4.2.0.0, Culture=neutral, PublicKeyToken=13b76e54a2ee80a7, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\PCSC.4.2.0\lib\net40\PCSC.dll</HintPath>
|
<HintPath>..\packages\PCSC.4.2.0\lib\net40\PCSC.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Configuration" />
|
<Reference Include="System.Configuration" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Net.Http" />
|
<Reference Include="System.Net.Http" />
|
||||||
<Reference Include="System.ServiceProcess" />
|
<Reference Include="System.ServiceProcess" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="CardDataPost.cs" />
|
<Compile Include="CardDataPost.cs" />
|
||||||
<Compile Include="CircularBuffer.cs" />
|
<Compile Include="ConfigurationManager.cs" />
|
||||||
<Compile Include="ConfigurationManager.cs" />
|
<Compile Include="ConfigurationProperty.cs" />
|
||||||
<Compile Include="ConfigurationProperty.cs" />
|
<Compile Include="ConfigurationType.cs" />
|
||||||
<Compile Include="ConfigurationType.cs" />
|
<Compile Include="ConfigureService.cs" />
|
||||||
<Compile Include="ConfigureService.cs" />
|
<Compile Include="DataCenterHelper.cs" />
|
||||||
<Compile Include="DataCenterHelper.cs" />
|
<Compile Include="Service1.cs">
|
||||||
<Compile Include="Service1.cs">
|
<SubType>Component</SubType>
|
||||||
<SubType>Component</SubType>
|
</Compile>
|
||||||
</Compile>
|
<Compile Include="Service1.Designer.cs">
|
||||||
<Compile Include="Service1.Designer.cs">
|
<DependentUpon>Service1.cs</DependentUpon>
|
||||||
<DependentUpon>Service1.cs</DependentUpon>
|
</Compile>
|
||||||
</Compile>
|
<Compile Include="Program.cs" />
|
||||||
<Compile Include="Program.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
</ItemGroup>
|
||||||
</ItemGroup>
|
<ItemGroup>
|
||||||
<ItemGroup>
|
<None Include="App.config" />
|
||||||
<None Include="App.config" />
|
<None Include="packages.config" />
|
||||||
<None Include="packages.config" />
|
</ItemGroup>
|
||||||
</ItemGroup>
|
<ItemGroup>
|
||||||
<ItemGroup>
|
<ProjectReference Include="..\Logger\Logger.csproj">
|
||||||
<ProjectReference Include="..\Logger\Logger.csproj">
|
<Project>{42EFE386-DC2E-455A-BA81-5FC9CEE45D02}</Project>
|
||||||
<Project>{42EFE386-DC2E-455A-BA81-5FC9CEE45D02}</Project>
|
<Name>Logger</Name>
|
||||||
<Name>Logger</Name>
|
</ProjectReference>
|
||||||
</ProjectReference>
|
</ItemGroup>
|
||||||
</ItemGroup>
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
<Target Name="BeforeBuild">
|
||||||
<Target Name="BeforeBuild">
|
</Target>
|
||||||
</Target>
|
<Target Name="AfterBuild">
|
||||||
<Target Name="AfterBuild">
|
</Target>
|
||||||
</Target>
|
-->
|
||||||
-->
|
|
||||||
</Project>
|
</Project>
|
||||||
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if [ -z "$1" ]
|
if [ -z "$1" ]
|
||||||
then
|
then
|
||||||
echo "No arguments supplied, supply the base path"
|
echo "No arguments supplied, supply the base path"
|
||||||
fi
|
fi
|
||||||
echo "Installing dependencies"
|
echo "Installing dependencies"
|
||||||
apt-get install mono-complete pcscd supervisor -y
|
apt-get install mono-complete pcscd supervisor -y
|
||||||
@ -21,4 +21,5 @@ rm *.vshost.exe
|
|||||||
rm *.vshost.exe.config
|
rm *.vshost.exe.config
|
||||||
rm *.vshost.exe.manifest
|
rm *.vshost.exe.manifest
|
||||||
echo "Starting application........."
|
echo "Starting application........."
|
||||||
service supervisor restart
|
service supervisor restart
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if [ -z "$1" ]
|
if [ -z "$1" ]
|
||||||
then
|
then
|
||||||
echo "No arguments supplied, supply the base path"
|
echo "No arguments supplied, supply the base path"
|
||||||
fi
|
fi
|
||||||
echo "Stopping service...."
|
echo "Stopping service...."
|
||||||
service supervisor stop
|
service supervisor stop
|
||||||
|
|||||||
@ -1,18 +1,18 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<startup>
|
<startup>
|
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
|
||||||
</startup>
|
</startup>
|
||||||
<appSettings>
|
<appSettings>
|
||||||
<add key="NLogConfigFilePath" value="Configs/NLogConfig.xml" />
|
<add key="NLogConfigFilePath" value="Configs/NLogConfig.xml" />
|
||||||
<add key="DataCenterServiceEndpoint" value="http://localhost:8800" />
|
<add key="DataCenterServiceEndpoint" value="http://localhost:8800" />
|
||||||
</appSettings>
|
</appSettings>
|
||||||
<runtime>
|
<runtime>
|
||||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="Ninject" publicKeyToken="c7192dc5380945e7" culture="neutral" />
|
<assemblyIdentity name="Ninject" publicKeyToken="c7192dc5380945e7" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-3.3.4.0" newVersion="3.3.4.0" />
|
<bindingRedirect oldVersion="0.0.0.0-3.3.4.0" newVersion="3.3.4.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</assemblyBinding>
|
</assemblyBinding>
|
||||||
</runtime>
|
</runtime>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|||||||
@ -1,127 +1,127 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<ProjectGuid>{5F30E8E4-5107-4C99-ADFF-38D735DC113D}</ProjectGuid>
|
<ProjectGuid>{5F30E8E4-5107-4C99-ADFF-38D735DC113D}</ProjectGuid>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>CardReaderService</RootNamespace>
|
<RootNamespace>CardReaderService</RootNamespace>
|
||||||
<AssemblyName>CardReaderService</AssemblyName>
|
<AssemblyName>CardReaderService</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
<TargetFrameworkProfile />
|
<TargetFrameworkProfile />
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugInstallers|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugInstallers|AnyCPU'">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<OutputPath>bin\DebugInstallers\</OutputPath>
|
<OutputPath>bin\DebugInstallers\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
<Prefer32Bit>true</Prefer32Bit>
|
<Prefer32Bit>true</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseInstallers|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseInstallers|AnyCPU'">
|
||||||
<OutputPath>bin\ReleaseInstallers\</OutputPath>
|
<OutputPath>bin\ReleaseInstallers\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
<Prefer32Bit>true</Prefer32Bit>
|
<Prefer32Bit>true</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Ninject, Version=3.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
<Reference Include="Ninject, Version=3.3.4.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Ninject.3.2.2.0\lib\net45-full\Ninject.dll</HintPath>
|
<HintPath>..\packages\Ninject.3.3.4\lib\net45\Ninject.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Ninject.Extensions.Xml, Version=3.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
<Reference Include="Ninject.Extensions.Xml, Version=3.3.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Ninject.Extensions.Xml.3.2.0.0\lib\net45-full\Ninject.Extensions.Xml.dll</HintPath>
|
<HintPath>..\packages\Ninject.Extensions.Xml.3.3.0\lib\net45\Ninject.Extensions.Xml.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="pcsc-sharp, Version=3.6.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="pcsc-sharp, Version=3.6.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\PCSC.3.6.0\lib\net40\pcsc-sharp.dll</HintPath>
|
<HintPath>..\packages\PCSC.3.6.0\lib\net40\pcsc-sharp.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Configuration" />
|
<Reference Include="System.Configuration" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Net.Http" />
|
<Reference Include="System.Net.Http" />
|
||||||
<Reference Include="System.ServiceProcess" />
|
<Reference Include="System.ServiceProcess" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Configuration.cs" />
|
<Compile Include="Configuration.cs" />
|
||||||
<Compile Include="ConfigureService.cs" />
|
<Compile Include="ConfigureService.cs" />
|
||||||
<Compile Include="DataCenterHelper.cs" />
|
<Compile Include="DataCenterHelper.cs" />
|
||||||
<Compile Include="DefaultComponents\DefaultLogger.cs" />
|
<Compile Include="DefaultComponents\DefaultLogger.cs" />
|
||||||
<Compile Include="DefaultComponents\LogFileLogger.cs" />
|
<Compile Include="DefaultComponents\LogFileLogger.cs" />
|
||||||
<Compile Include="NinjectHelper.cs" />
|
<Compile Include="NinjectHelper.cs" />
|
||||||
<Compile Include="CardReaderService.cs">
|
<Compile Include="CardReaderService.cs">
|
||||||
<SubType>Component</SubType>
|
<SubType>Component</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="CardReaderService.Designer.cs">
|
<Compile Include="CardReaderService.Designer.cs">
|
||||||
<DependentUpon>CardReaderService.cs</DependentUpon>
|
<DependentUpon>CardReaderService.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Program.cs" />
|
<Compile Include="Program.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="App.config" />
|
<None Include="App.config" />
|
||||||
<None Include="packages.config" />
|
<None Include="packages.config" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\ConfigurationHandler\ConfigurationHandler.csproj">
|
<ProjectReference Include="..\ConfigurationHandler\ConfigurationHandler.csproj">
|
||||||
<Project>{115250F6-F8C4-4F9B-A15F-251EA258D963}</Project>
|
<Project>{115250F6-F8C4-4F9B-A15F-251EA258D963}</Project>
|
||||||
<Name>ConfigurationHandler</Name>
|
<Name>ConfigurationHandler</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<ProjectReference Include="..\Interfaces\Interfaces.csproj">
|
<ProjectReference Include="..\Interfaces\Interfaces.csproj">
|
||||||
<Project>{B7347B72-E208-423A-9D99-723B558EA3D7}</Project>
|
<Project>{B7347B72-E208-423A-9D99-723B558EA3D7}</Project>
|
||||||
<Name>Interfaces</Name>
|
<Name>Interfaces</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="NinjectConfig.xml">
|
<Content Include="NinjectConfig.xml">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
<Target Name="BeforeBuild">
|
<Target Name="BeforeBuild">
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="AfterBuild">
|
<Target Name="AfterBuild">
|
||||||
</Target>
|
</Target>
|
||||||
-->
|
-->
|
||||||
</Project>
|
</Project>
|
||||||
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net45" />
|
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net45" />
|
||||||
<package id="Ninject" version="3.3.4" targetFramework="net45" />
|
<package id="Ninject" version="3.3.4" targetFramework="net45" />
|
||||||
<package id="Ninject.Extensions.Xml" version="3.3.0" targetFramework="net45" />
|
<package id="Ninject.Extensions.Xml" version="3.3.0" targetFramework="net45" />
|
||||||
<package id="PCSC" version="3.6.0" targetFramework="net45" />
|
<package id="PCSC" version="3.6.0" targetFramework="net45" />
|
||||||
</packages>
|
</packages>
|
||||||
@ -1,18 +1,18 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<startup>
|
<startup>
|
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
|
||||||
</startup>
|
</startup>
|
||||||
<appSettings>
|
<appSettings>
|
||||||
<add key="NLogConfigFilePath" value="Configs/NLogConfig.xml" />
|
<add key="NLogConfigFilePath" value="Configs/NLogConfig.xml" />
|
||||||
<add key="DataCenterServiceEndpoint" value="http://localhost:1234" />
|
<add key="DataCenterServiceEndpoint" value="http://localhost:1234" />
|
||||||
</appSettings>
|
</appSettings>
|
||||||
<runtime>
|
<runtime>
|
||||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="Ninject" publicKeyToken="c7192dc5380945e7" culture="neutral" />
|
<assemblyIdentity name="Ninject" publicKeyToken="c7192dc5380945e7" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-3.3.4.0" newVersion="3.3.4.0" />
|
<bindingRedirect oldVersion="0.0.0.0-3.3.4.0" newVersion="3.3.4.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</assemblyBinding>
|
</assemblyBinding>
|
||||||
</runtime>
|
</runtime>
|
||||||
</configuration>
|
</configuration>
|
||||||
@ -1,101 +1,101 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<ProjectGuid>{6E48913F-9D8C-4132-93A7-C7B1C6DD5264}</ProjectGuid>
|
<ProjectGuid>{6E48913F-9D8C-4132-93A7-C7B1C6DD5264}</ProjectGuid>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>CardReaderServiceHost</RootNamespace>
|
<RootNamespace>CardReaderServiceHost</RootNamespace>
|
||||||
<AssemblyName>CardReaderServiceHost</AssemblyName>
|
<AssemblyName>CardReaderServiceHost</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugInstallers|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugInstallers|AnyCPU'">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<OutputPath>bin\DebugInstallers\</OutputPath>
|
<OutputPath>bin\DebugInstallers\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
<Prefer32Bit>true</Prefer32Bit>
|
<Prefer32Bit>true</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseInstallers|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseInstallers|AnyCPU'">
|
||||||
<OutputPath>bin\ReleaseInstallers\</OutputPath>
|
<OutputPath>bin\ReleaseInstallers\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
<Prefer32Bit>true</Prefer32Bit>
|
<Prefer32Bit>true</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
<HintPath>..\CardReaderService\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.ServiceProcess" />
|
<Reference Include="System.ServiceProcess" />
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Net.Http" />
|
<Reference Include="System.Net.Http" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Program.cs" />
|
<Compile Include="Program.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="App.config" />
|
<None Include="App.config" />
|
||||||
<None Include="packages.config" />
|
<None Include="packages.config" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\CardReaderService\CardReaderService.csproj">
|
<ProjectReference Include="..\CardReaderService\CardReaderService.csproj">
|
||||||
<Project>{5f30e8e4-5107-4c99-adff-38d735dc113d}</Project>
|
<Project>{5f30e8e4-5107-4c99-adff-38d735dc113d}</Project>
|
||||||
<Name>CardReaderService</Name>
|
<Name>CardReaderService</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PostBuildEvent>mkdir "$(TargetDir)Configs"
|
<PostBuildEvent>mkdir "$(TargetDir)Configs"
|
||||||
copy "$(SolutionDir)NLogLogger\$(OutDir)NLogLogger.dll" "$(TargetDir)"
|
copy "$(SolutionDir)NLogLogger\$(OutDir)NLogLogger.dll" "$(TargetDir)"
|
||||||
copy "$(SolutionDir)NLogLogger\$(OutDir)NLog.dll" "$(TargetDir)"
|
copy "$(SolutionDir)NLogLogger\$(OutDir)NLog.dll" "$(TargetDir)"
|
||||||
copy "$(SolutionDir)NLogLogger\$(OutDir)NLogLogger.dll.config" "$(TargetDir)"
|
copy "$(SolutionDir)NLogLogger\$(OutDir)NLogLogger.dll.config" "$(TargetDir)"
|
||||||
copy "$(SolutionDir)NLogLogger\$(OutDir)NLogConfig.xml" "$(TargetDir)Configs\"
|
copy "$(SolutionDir)NLogLogger\$(OutDir)NLogConfig.xml" "$(TargetDir)Configs\"
|
||||||
|
|
||||||
copy "$(SolutionDir)WindowsDataCenter\$(OutDir)Ninject.Extensions.Xml.dll" "$(TargetDir)"</PostBuildEvent>
|
copy "$(SolutionDir)WindowsDataCenter\$(OutDir)Ninject.Extensions.Xml.dll" "$(TargetDir)"</PostBuildEvent>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
<Target Name="BeforeBuild">
|
<Target Name="BeforeBuild">
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="AfterBuild">
|
<Target Name="AfterBuild">
|
||||||
</Target>
|
</Target>
|
||||||
-->
|
-->
|
||||||
</Project>
|
</Project>
|
||||||
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net452" />
|
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net452" />
|
||||||
</packages>
|
</packages>
|
||||||
@ -112,5 +112,9 @@ namespace Interfaces
|
|||||||
OperationResponse DeleteLog(TimeLog log);
|
OperationResponse DeleteLog(TimeLog log);
|
||||||
OperationResponse CreateLog(TimeLog log);
|
OperationResponse CreateLog(TimeLog log);
|
||||||
OperationResponse UpdateLog(TimeLog log);
|
OperationResponse UpdateLog(TimeLog log);
|
||||||
|
|
||||||
|
Policy GetPolicy();
|
||||||
|
|
||||||
|
void SavePolicy(Policy policy);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,87 +1,88 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<ProjectGuid>{B7347B72-E208-423A-9D99-723B558EA3D7}</ProjectGuid>
|
<ProjectGuid>{B7347B72-E208-423A-9D99-723B558EA3D7}</ProjectGuid>
|
||||||
<OutputType>Library</OutputType>
|
<OutputType>Library</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>Interfaces</RootNamespace>
|
<RootNamespace>Interfaces</RootNamespace>
|
||||||
<AssemblyName>Interfaces</AssemblyName>
|
<AssemblyName>Interfaces</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<TargetFrameworkProfile />
|
<TargetFrameworkProfile />
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugInstallers|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugInstallers|AnyCPU'">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<OutputPath>bin\DebugInstallers\</OutputPath>
|
<OutputPath>bin\DebugInstallers\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseInstallers|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseInstallers|AnyCPU'">
|
||||||
<OutputPath>bin\ReleaseInstallers\</OutputPath>
|
<OutputPath>bin\ReleaseInstallers\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Net.Http" />
|
<Reference Include="System.Net.Http" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="AppDetails.cs" />
|
<Compile Include="AppDetails.cs" />
|
||||||
<Compile Include="DailyLogs.cs" />
|
<Compile Include="DailyLogs.cs" />
|
||||||
<Compile Include="EventLogResponse.cs" />
|
<Compile Include="EventLogResponse.cs" />
|
||||||
<Compile Include="Group.cs" />
|
<Compile Include="Group.cs" />
|
||||||
<Compile Include="GroupList.cs" />
|
<Compile Include="GroupList.cs" />
|
||||||
<Compile Include="ILogger.cs" />
|
<Compile Include="ILogger.cs" />
|
||||||
<Compile Include="IRepository.cs" />
|
<Compile Include="IRepository.cs" />
|
||||||
<Compile Include="Identifier.cs" />
|
<Compile Include="Identifier.cs" />
|
||||||
<Compile Include="IdentifierList.cs" />
|
<Compile Include="IdentifierList.cs" />
|
||||||
<Compile Include="ManualLog.cs" />
|
<Compile Include="ManualLog.cs" />
|
||||||
<Compile Include="OperationResponse.cs" />
|
<Compile Include="OperationResponse.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Policy.cs" />
|
||||||
<Compile Include="TimeLog.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<Compile Include="TimeLogList.cs" />
|
<Compile Include="TimeLog.cs" />
|
||||||
<Compile Include="User.cs" />
|
<Compile Include="TimeLogList.cs" />
|
||||||
<Compile Include="UserList.cs" />
|
<Compile Include="User.cs" />
|
||||||
</ItemGroup>
|
<Compile Include="UserList.cs" />
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
<Target Name="BeforeBuild">
|
<Target Name="BeforeBuild">
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="AfterBuild">
|
<Target Name="AfterBuild">
|
||||||
</Target>
|
</Target>
|
||||||
-->
|
-->
|
||||||
</Project>
|
</Project>
|
||||||
18
DataCenter_Windows/WindowsDataCenter/Interfaces/Policy.cs
Normal file
18
DataCenter_Windows/WindowsDataCenter/Interfaces/Policy.cs
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Interfaces
|
||||||
|
{
|
||||||
|
public class Policy
|
||||||
|
{
|
||||||
|
public DateTime ChangeDate { get; set; }
|
||||||
|
public string ChangeDescription { get; set; }
|
||||||
|
public string ChangeAuthor { get; set; }
|
||||||
|
public string Version { get; set; }
|
||||||
|
public string Markdown { get; set; }
|
||||||
|
public string Html { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,96 +1,96 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<ProjectGuid>{1C5220D6-9166-4F47-B57D-BEB4D09D2A3F}</ProjectGuid>
|
<ProjectGuid>{1C5220D6-9166-4F47-B57D-BEB4D09D2A3F}</ProjectGuid>
|
||||||
<OutputType>Library</OutputType>
|
<OutputType>Library</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>NLogLogger</RootNamespace>
|
<RootNamespace>NLogLogger</RootNamespace>
|
||||||
<AssemblyName>NLogLogger</AssemblyName>
|
<AssemblyName>NLogLogger</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugInstallers|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugInstallers|AnyCPU'">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<OutputPath>bin\DebugInstallers\</OutputPath>
|
<OutputPath>bin\DebugInstallers\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseInstallers|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseInstallers|AnyCPU'">
|
||||||
<OutputPath>bin\ReleaseInstallers\</OutputPath>
|
<OutputPath>bin\ReleaseInstallers\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\NLog.4.4.2\lib\net45\NLog.dll</HintPath>
|
<HintPath>..\packages\NLog.4.4.2\lib\net45\NLog.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Configuration" />
|
<Reference Include="System.Configuration" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Net.Http" />
|
<Reference Include="System.Net.Http" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="NLogger.cs" />
|
<Compile Include="NLogger.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\ConfigurationHandler\ConfigurationHandler.csproj">
|
<ProjectReference Include="..\ConfigurationHandler\ConfigurationHandler.csproj">
|
||||||
<Project>{115250F6-F8C4-4F9B-A15F-251EA258D963}</Project>
|
<Project>{115250F6-F8C4-4F9B-A15F-251EA258D963}</Project>
|
||||||
<Name>ConfigurationHandler</Name>
|
<Name>ConfigurationHandler</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<ProjectReference Include="..\Interfaces\Interfaces.csproj">
|
<ProjectReference Include="..\Interfaces\Interfaces.csproj">
|
||||||
<Project>{B7347B72-E208-423A-9D99-723B558EA3D7}</Project>
|
<Project>{B7347B72-E208-423A-9D99-723B558EA3D7}</Project>
|
||||||
<Name>Interfaces</Name>
|
<Name>Interfaces</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="App.config" />
|
<None Include="App.config" />
|
||||||
<None Include="packages.config" />
|
<None Include="packages.config" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="NLogConfig.xml">
|
<Content Include="NLogConfig.xml">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
<Target Name="BeforeBuild">
|
<Target Name="BeforeBuild">
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="AfterBuild">
|
<Target Name="AfterBuild">
|
||||||
</Target>
|
</Target>
|
||||||
-->
|
-->
|
||||||
</Project>
|
</Project>
|
||||||
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
<package id="NLog" version="4.4.2" targetFramework="net452" />
|
<package id="NLog" version="4.4.2" targetFramework="net452" />
|
||||||
</packages>
|
</packages>
|
||||||
@ -0,0 +1,29 @@
|
|||||||
|
using Interfaces;
|
||||||
|
|
||||||
|
namespace SQLiteRepository.Converters
|
||||||
|
{
|
||||||
|
static class IdentifierConverter
|
||||||
|
{
|
||||||
|
public static Identifier ConvertToIdentifierDto(CardUniqueId ident)
|
||||||
|
{
|
||||||
|
return new Identifier
|
||||||
|
{
|
||||||
|
Id = ident.Id,
|
||||||
|
UniqueId = ident.CardUId,
|
||||||
|
IsAssociatedToUser = ident.UserId_FK != Constants.UNASSIGNED_CARD_USER_ID,
|
||||||
|
LastUsed = ident.LastUsed.DateTime
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CardUniqueId ConvertFromIdentifierDto(Identifier ident, int userId)
|
||||||
|
{
|
||||||
|
return new CardUniqueId
|
||||||
|
{
|
||||||
|
CardUId = ident.UniqueId,
|
||||||
|
Id = ident.Id,
|
||||||
|
UserId_FK = userId,
|
||||||
|
LastUsed = ident.LastUsed
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,35 @@
|
|||||||
|
using Interfaces;
|
||||||
|
|
||||||
|
namespace SQLiteRepository.Converters
|
||||||
|
{
|
||||||
|
static class PolicyConverter
|
||||||
|
{
|
||||||
|
public static Policy ConvertToPolicyDto(PolicyDb policyDb)
|
||||||
|
{
|
||||||
|
if (policyDb == null) return null;
|
||||||
|
return new Policy
|
||||||
|
{
|
||||||
|
ChangeDescription = policyDb.ChangeDescription,
|
||||||
|
ChangeDate = policyDb.ChangeDate.UtcDateTime,
|
||||||
|
Html = policyDb.Html,
|
||||||
|
Version = policyDb.Version,
|
||||||
|
ChangeAuthor = policyDb.ChangeAuthor,
|
||||||
|
Markdown = policyDb.Markdown
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
public static PolicyDb ConvertFromPolicyDto(Policy policy)
|
||||||
|
{
|
||||||
|
if (policy == null) return null;
|
||||||
|
return new PolicyDb
|
||||||
|
{
|
||||||
|
ChangeDescription = policy.ChangeDescription,
|
||||||
|
ChangeDate = policy.ChangeDate,
|
||||||
|
Html = policy.Html,
|
||||||
|
Version = policy.Version,
|
||||||
|
ChangeAuthor = policy.ChangeAuthor,
|
||||||
|
Markdown = policy.Markdown
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -29,29 +29,4 @@ namespace SQLiteRepository.Converters
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static class IdentifierConverter
|
|
||||||
{
|
|
||||||
public static Identifier ConvertToIdentifierDto(CardUniqueId ident)
|
|
||||||
{
|
|
||||||
return new Identifier
|
|
||||||
{
|
|
||||||
Id = ident.Id,
|
|
||||||
UniqueId = ident.CardUId,
|
|
||||||
IsAssociatedToUser = ident.UserId_FK != Constants.UNASSIGNED_CARD_USER_ID,
|
|
||||||
LastUsed = ident.LastUsed.DateTime
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
public static CardUniqueId ConvertFromIdentifierDto(Identifier ident, int userId)
|
|
||||||
{
|
|
||||||
return new CardUniqueId
|
|
||||||
{
|
|
||||||
CardUId = ident.UniqueId,
|
|
||||||
Id = ident.Id,
|
|
||||||
UserId_FK = userId,
|
|
||||||
LastUsed = ident.LastUsed
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -0,0 +1,27 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using SQLite.Net.Attributes;
|
||||||
|
|
||||||
|
namespace SQLiteRepository
|
||||||
|
{
|
||||||
|
internal class PolicyDb
|
||||||
|
{
|
||||||
|
[PrimaryKey, AutoIncrement]
|
||||||
|
public int Id { get; set; }
|
||||||
|
public DateTimeOffset ChangeDate { get; set; }
|
||||||
|
|
||||||
|
public string ChangeDescription { get; set; }
|
||||||
|
|
||||||
|
public string ChangeAuthor { get; set; }
|
||||||
|
|
||||||
|
public string Version { get; set; }
|
||||||
|
|
||||||
|
public string Markdown { get; set; }
|
||||||
|
|
||||||
|
public string Html { get; set; }
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -8,7 +8,7 @@ namespace SQLiteRepository
|
|||||||
internal static class SQLiteProcedures
|
internal static class SQLiteProcedures
|
||||||
{
|
{
|
||||||
public const string GET_LOGS_IN_LAST_X_MINUTES =
|
public const string GET_LOGS_IN_LAST_X_MINUTES =
|
||||||
"select * from TimeLogDb where " + nameof(TimeLogDb.SwipeEventDateTime) + " > ? AND " +
|
"select * from " + nameof(TimeLogDb) + " where " + nameof(TimeLogDb.SwipeEventDateTime) + " > ? AND " +
|
||||||
nameof(TimeLogDb.UserId_FK) + "=?";
|
nameof(TimeLogDb.UserId_FK) + "=?";
|
||||||
|
|
||||||
public const string GET_TIMELOGS =
|
public const string GET_TIMELOGS =
|
||||||
@ -108,7 +108,7 @@ namespace SQLiteRepository
|
|||||||
"on ujdb." + nameof(UserGroupJoinDb.GroupId_FK) + " = gp." + nameof(GroupDb.GroupId) +
|
"on ujdb." + nameof(UserGroupJoinDb.GroupId_FK) + " = gp." + nameof(GroupDb.GroupId) +
|
||||||
" group by gp." + nameof(GroupDb.GroupId);
|
" group by gp." + nameof(GroupDb.GroupId);
|
||||||
|
|
||||||
public const string GET_GROUPS_FOR_USER = "select gdb." + nameof(GroupDb.GroupId) + ", gdb." + nameof(GroupDb.GroupName) + ", gdb.AssignedUserCount" +
|
public const string GET_GROUPS_FOR_USER = "select gdb." + nameof(GroupDb.GroupId) + ", gdb." + nameof(GroupDb.GroupName) + ", gdb." + nameof(GroupDb.AssignedUserCount) + "" +
|
||||||
" from " + nameof(GroupDb) + " gdb" +
|
" from " + nameof(GroupDb) + " gdb" +
|
||||||
" left join " + nameof(UserGroupJoinDb) + " ujdb" +
|
" left join " + nameof(UserGroupJoinDb) + " ujdb" +
|
||||||
" on gdb." + nameof(GroupDb.GroupId) + " = ujdb." + nameof(UserGroupJoinDb.GroupId_FK) +
|
" on gdb." + nameof(GroupDb.GroupId) + " = ujdb." + nameof(UserGroupJoinDb.GroupId_FK) +
|
||||||
@ -141,7 +141,7 @@ namespace SQLiteRepository
|
|||||||
+ nameof(TimeLogDb.Source) + "=? "
|
+ nameof(TimeLogDb.Source) + "=? "
|
||||||
+ "where " + nameof(TimeLogDb.Id) + "=?";
|
+ "where " + nameof(TimeLogDb.Id) + "=?";
|
||||||
|
|
||||||
public const string GET_DB_VERSION = "select * from DbVersion";
|
public const string GET_DB_VERSION = "select * from " + nameof(DbVersion);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This works on the tokenisation of the query string.
|
/// This works on the tokenisation of the query string.
|
||||||
|
|||||||
@ -38,6 +38,8 @@ namespace SQLiteRepository
|
|||||||
_connection.CreateTable<GroupDb>();
|
_connection.CreateTable<GroupDb>();
|
||||||
_connection.CreateTable<UserGroupJoinDb>();
|
_connection.CreateTable<UserGroupJoinDb>();
|
||||||
_connection.CreateTable<DbVersion>();
|
_connection.CreateTable<DbVersion>();
|
||||||
|
_connection.CreateTable<PolicyDb>();
|
||||||
|
|
||||||
_logger.Trace("Initialised SQLite Repository");
|
_logger.Trace("Initialised SQLite Repository");
|
||||||
_logger.Trace("Checking For Upgrades");
|
_logger.Trace("Checking For Upgrades");
|
||||||
CheckForDbUpgrade();
|
CheckForDbUpgrade();
|
||||||
@ -519,7 +521,35 @@ namespace SQLiteRepository
|
|||||||
|
|
||||||
return OperationResponse.UPDATED;
|
return OperationResponse.UPDATED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Policy GetPolicy()
|
||||||
|
{
|
||||||
|
var query = $"select * from {nameof(PolicyDb)}";
|
||||||
|
var policies = _connection.Query<PolicyDb>(query);
|
||||||
|
|
||||||
|
|
||||||
|
return PolicyConverter.ConvertToPolicyDto(policies.OrderByDescending(x => x.Version).FirstOrDefault());
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SavePolicy(Policy policy)
|
||||||
|
{
|
||||||
|
if (string.IsNullOrEmpty(policy.Version))
|
||||||
|
{
|
||||||
|
policy.Version = (GetNextPolicyVersion()+1).ToString();
|
||||||
|
}
|
||||||
|
var policyDb = PolicyConverter.ConvertFromPolicyDto(policy);
|
||||||
|
_connection.Insert(policyDb);
|
||||||
|
}
|
||||||
|
|
||||||
|
private int GetNextPolicyVersion()
|
||||||
|
{
|
||||||
|
var query = $"select Max({nameof(PolicyDb.Id)}) from {nameof(PolicyDb)}";
|
||||||
|
|
||||||
|
var id = _connection.ExecuteScalar<int>(query);
|
||||||
|
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
private int GetUserCount()
|
private int GetUserCount()
|
||||||
{
|
{
|
||||||
return _connection.ExecuteScalar<int>(SQLiteProcedures.GET_TOTAL_USER_COUNT);
|
return _connection.ExecuteScalar<int>(SQLiteProcedures.GET_TOTAL_USER_COUNT);
|
||||||
|
|||||||
@ -1,129 +1,132 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<ProjectGuid>{B3510C81-F069-48A2-B826-EBE0CE7AB0B2}</ProjectGuid>
|
<ProjectGuid>{B3510C81-F069-48A2-B826-EBE0CE7AB0B2}</ProjectGuid>
|
||||||
<OutputType>Library</OutputType>
|
<OutputType>Library</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>SQLiteRepository</RootNamespace>
|
<RootNamespace>SQLiteRepository</RootNamespace>
|
||||||
<AssemblyName>SQLiteRepository</AssemblyName>
|
<AssemblyName>SQLiteRepository</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<NuGetPackageImportStamp>
|
<NuGetPackageImportStamp>
|
||||||
</NuGetPackageImportStamp>
|
</NuGetPackageImportStamp>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugInstallers|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugInstallers|AnyCPU'">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<OutputPath>bin\DebugInstallers\</OutputPath>
|
<OutputPath>bin\DebugInstallers\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseInstallers|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseInstallers|AnyCPU'">
|
||||||
<OutputPath>bin\ReleaseInstallers\</OutputPath>
|
<OutputPath>bin\ReleaseInstallers\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="SQLite.Net, Version=3.1.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="SQLite.Net, Version=3.1.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\SQLite.Net.Core-PCL.3.1.1\lib\portable-win8+net45+wp8+wpa81+MonoAndroid1+MonoTouch1\SQLite.Net.dll</HintPath>
|
<HintPath>..\packages\SQLite.Net.Core-PCL.3.1.1\lib\portable-win8+net45+wp8+wpa81+MonoAndroid1+MonoTouch1\SQLite.Net.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="SQLite.Net.Platform.Generic, Version=3.1.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="SQLite.Net.Platform.Generic, Version=3.1.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\SQLite.Net-PCL.3.1.1\lib\net40\SQLite.Net.Platform.Generic.dll</HintPath>
|
<HintPath>..\packages\SQLite.Net-PCL.3.1.1\lib\net40\SQLite.Net.Platform.Generic.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="SQLite.Net.Platform.Win32, Version=3.1.0.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="SQLite.Net.Platform.Win32, Version=3.1.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\SQLite.Net-PCL.3.1.1\lib\net4\SQLite.Net.Platform.Win32.dll</HintPath>
|
<HintPath>..\packages\SQLite.Net-PCL.3.1.1\lib\net4\SQLite.Net.Platform.Win32.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Configuration" />
|
<Reference Include="System.Configuration" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Data.SQLite, Version=1.0.104.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
|
<Reference Include="System.Data.SQLite, Version=1.0.104.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\System.Data.SQLite.Core.1.0.104.0\lib\net451\System.Data.SQLite.dll</HintPath>
|
<HintPath>..\packages\System.Data.SQLite.Core.1.0.104.0\lib\net451\System.Data.SQLite.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Net.Http" />
|
<Reference Include="System.Net.Http" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="CardUniqueId.cs" />
|
<Compile Include="CardUniqueId.cs" />
|
||||||
<Compile Include="Converters\LogDirectionConverter.cs" />
|
<Compile Include="Converters\IdentifierConverter.cs" />
|
||||||
<Compile Include="Converters\LogSourceConverter.cs" />
|
<Compile Include="Converters\LogDirectionConverter.cs" />
|
||||||
<Compile Include="Converters\TimeLogConverter.cs" />
|
<Compile Include="Converters\LogSourceConverter.cs" />
|
||||||
<Compile Include="Converters\UserConverter.cs" />
|
<Compile Include="Converters\PolicyConverter.cs" />
|
||||||
<Compile Include="DBVersion.cs" />
|
<Compile Include="Converters\TimeLogConverter.cs" />
|
||||||
<Compile Include="Extensions\Extensions.cs" />
|
<Compile Include="Converters\UserConverter.cs" />
|
||||||
<Compile Include="GroupDb.cs" />
|
<Compile Include="DBVersion.cs" />
|
||||||
<Compile Include="LogSourceDb.cs" />
|
<Compile Include="Extensions\Extensions.cs" />
|
||||||
<Compile Include="SQLiteRepository.cs" />
|
<Compile Include="GroupDb.cs" />
|
||||||
<Compile Include="Constants.cs" />
|
<Compile Include="LogSourceDb.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="PolicyDb.cs" />
|
||||||
<Compile Include="SQLiteProcedures.cs" />
|
<Compile Include="SQLiteRepository.cs" />
|
||||||
<Compile Include="LogDirectionDb.cs" />
|
<Compile Include="Constants.cs" />
|
||||||
<Compile Include="TimeLogDb.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<Compile Include="UserGroupJoinDb.cs" />
|
<Compile Include="SQLiteProcedures.cs" />
|
||||||
<Compile Include="UserIdentity.cs" />
|
<Compile Include="LogDirectionDb.cs" />
|
||||||
</ItemGroup>
|
<Compile Include="TimeLogDb.cs" />
|
||||||
<ItemGroup>
|
<Compile Include="UserGroupJoinDb.cs" />
|
||||||
<ProjectReference Include="..\ConfigurationHandler\ConfigurationHandler.csproj">
|
<Compile Include="UserIdentity.cs" />
|
||||||
<Project>{115250F6-F8C4-4F9B-A15F-251EA258D963}</Project>
|
</ItemGroup>
|
||||||
<Name>ConfigurationHandler</Name>
|
<ItemGroup>
|
||||||
</ProjectReference>
|
<ProjectReference Include="..\ConfigurationHandler\ConfigurationHandler.csproj">
|
||||||
<ProjectReference Include="..\Interfaces\Interfaces.csproj">
|
<Project>{115250F6-F8C4-4F9B-A15F-251EA258D963}</Project>
|
||||||
<Project>{B7347B72-E208-423A-9D99-723B558EA3D7}</Project>
|
<Name>ConfigurationHandler</Name>
|
||||||
<Name>Interfaces</Name>
|
</ProjectReference>
|
||||||
</ProjectReference>
|
<ProjectReference Include="..\Interfaces\Interfaces.csproj">
|
||||||
</ItemGroup>
|
<Project>{B7347B72-E208-423A-9D99-723B558EA3D7}</Project>
|
||||||
<ItemGroup>
|
<Name>Interfaces</Name>
|
||||||
<None Include="packages.config" />
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<EmbeddedResource Include="UpgradeScripts\0.2.sql" />
|
<EmbeddedResource Include="UpgradeScripts\0.2.sql" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<ItemGroup>
|
||||||
<Import Project="..\packages\System.Data.SQLite.Core.1.0.104.0\build\net451\System.Data.SQLite.Core.targets" Condition="Exists('..\packages\System.Data.SQLite.Core.1.0.104.0\build\net451\System.Data.SQLite.Core.targets')" />
|
<None Include="packages.config" />
|
||||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
</ItemGroup>
|
||||||
<PropertyGroup>
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
<Import Project="..\packages\System.Data.SQLite.Core.1.0.104.0\build\net451\System.Data.SQLite.Core.targets" Condition="Exists('..\packages\System.Data.SQLite.Core.1.0.104.0\build\net451\System.Data.SQLite.Core.targets')" />
|
||||||
</PropertyGroup>
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||||
<Error Condition="!Exists('..\packages\System.Data.SQLite.Core.1.0.104.0\build\net451\System.Data.SQLite.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\System.Data.SQLite.Core.1.0.104.0\build\net451\System.Data.SQLite.Core.targets'))" />
|
<PropertyGroup>
|
||||||
</Target>
|
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Error Condition="!Exists('..\packages\System.Data.SQLite.Core.1.0.104.0\build\net451\System.Data.SQLite.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\System.Data.SQLite.Core.1.0.104.0\build\net451\System.Data.SQLite.Core.targets'))" />
|
||||||
|
</Target>
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
<Target Name="BeforeBuild">
|
<Target Name="BeforeBuild">
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="AfterBuild">
|
<Target Name="AfterBuild">
|
||||||
</Target>
|
</Target>
|
||||||
-->
|
-->
|
||||||
</Project>
|
</Project>
|
||||||
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
<package id="SQLite.Net.Core-PCL" version="3.1.1" targetFramework="net452" />
|
<package id="SQLite.Net.Core-PCL" version="3.1.1" targetFramework="net452" />
|
||||||
<package id="SQLite.Net-PCL" version="3.1.1" targetFramework="net452" />
|
<package id="SQLite.Net-PCL" version="3.1.1" targetFramework="net452" />
|
||||||
<package id="System.Data.SQLite.Core" version="1.0.104.0" targetFramework="net452" />
|
<package id="System.Data.SQLite.Core" version="1.0.104.0" targetFramework="net452" />
|
||||||
</packages>
|
</packages>
|
||||||
@ -1,53 +1,53 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<appSettings>
|
<appSettings>
|
||||||
<add key="NLogConfigFilePath" value="Configs/NLogConfig.xml" />
|
<add key="NLogConfigFilePath" value="Configs/NLogConfig.xml" />
|
||||||
<add key="DefaultPageSize" value="20" />
|
<add key="DefaultPageSize" value="20" />
|
||||||
<add key="WebsiteHttpPort" value="8800" />
|
<add key="WebsiteHttpPort" value="8800" />
|
||||||
<add key="SwipeTimeGap" value="3" />
|
<add key="SwipeTimeGap" value="3" />
|
||||||
<add key="BugSubmissionEmailAddress" value="incoming+WattsC/FlexiTimeTrackerTool+24qrefn8e1urhl4iqct7we2jl@gitlab.com" />
|
<add key="BugSubmissionEmailAddress" value="incoming+WattsC/FlexiTimeTrackerTool+24qrefn8e1urhl4iqct7we2jl@gitlab.com" />
|
||||||
</appSettings>
|
</appSettings>
|
||||||
<startup>
|
<startup>
|
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
|
||||||
</startup>
|
</startup>
|
||||||
<runtime>
|
<runtime>
|
||||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
|
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-3.1.0.0" newVersion="3.1.0.0" />
|
<bindingRedirect oldVersion="0.0.0.0-3.1.0.0" newVersion="3.1.0.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
<assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
|
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="RazorEngine" publicKeyToken="9ee697374c7e744a" culture="neutral" />
|
<assemblyIdentity name="RazorEngine" publicKeyToken="9ee697374c7e744a" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-3.7.2.0" newVersion="3.7.2.0" />
|
<bindingRedirect oldVersion="0.0.0.0-3.7.2.0" newVersion="3.7.2.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
<assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
|
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="System.Web.Http.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
<assemblyIdentity name="System.Web.Http.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
|
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="Ninject" publicKeyToken="c7192dc5380945e7" culture="neutral" />
|
<assemblyIdentity name="Ninject" publicKeyToken="c7192dc5380945e7" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-3.3.4.0" newVersion="3.3.4.0" />
|
<bindingRedirect oldVersion="0.0.0.0-3.3.4.0" newVersion="3.3.4.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="Ninject.Web.Common" publicKeyToken="c7192dc5380945e7" culture="neutral" />
|
<assemblyIdentity name="Ninject.Web.Common" publicKeyToken="c7192dc5380945e7" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-3.3.1.0" newVersion="3.3.1.0" />
|
<bindingRedirect oldVersion="0.0.0.0-3.3.1.0" newVersion="3.3.1.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="Ninject.Web.Common.OwinHost" publicKeyToken="c7192dc5380945e7" culture="neutral" />
|
<assemblyIdentity name="Ninject.Web.Common.OwinHost" publicKeyToken="c7192dc5380945e7" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-3.3.1.0" newVersion="3.3.1.0" />
|
<bindingRedirect oldVersion="0.0.0.0-3.3.1.0" newVersion="3.3.1.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</assemblyBinding>
|
</assemblyBinding>
|
||||||
</runtime>
|
</runtime>
|
||||||
</configuration>
|
</configuration>
|
||||||
@ -0,0 +1,66 @@
|
|||||||
|
[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(WindowsDataCenter.App_Start.NinjectWebCommon), "Start")]
|
||||||
|
[assembly: WebActivatorEx.ApplicationShutdownMethodAttribute(typeof(WindowsDataCenter.App_Start.NinjectWebCommon), "Stop")]
|
||||||
|
|
||||||
|
namespace WindowsDataCenter.App_Start
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Web;
|
||||||
|
|
||||||
|
using Microsoft.Web.Infrastructure.DynamicModuleHelper;
|
||||||
|
|
||||||
|
using Ninject;
|
||||||
|
using Ninject.Web.Common;
|
||||||
|
using Ninject.Web.Common.WebHost;
|
||||||
|
|
||||||
|
public static class NinjectWebCommon
|
||||||
|
{
|
||||||
|
private static readonly Bootstrapper bootstrapper = new Bootstrapper();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Starts the application
|
||||||
|
/// </summary>
|
||||||
|
public static void Start()
|
||||||
|
{
|
||||||
|
DynamicModuleUtility.RegisterModule(typeof(OnePerRequestHttpModule));
|
||||||
|
DynamicModuleUtility.RegisterModule(typeof(NinjectHttpModule));
|
||||||
|
bootstrapper.Initialize(CreateKernel);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Stops the application.
|
||||||
|
/// </summary>
|
||||||
|
public static void Stop()
|
||||||
|
{
|
||||||
|
bootstrapper.ShutDown();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Creates the kernel that will manage your application.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>The created kernel.</returns>
|
||||||
|
private static IKernel CreateKernel()
|
||||||
|
{
|
||||||
|
var kernel = new StandardKernel();
|
||||||
|
try
|
||||||
|
{
|
||||||
|
kernel.Bind<Func<IKernel>>().ToMethod(ctx => () => new Bootstrapper().Kernel);
|
||||||
|
kernel.Bind<IHttpModule>().To<HttpApplicationInitializationHttpModule>();
|
||||||
|
RegisterServices(kernel);
|
||||||
|
return kernel;
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
kernel.Dispose();
|
||||||
|
throw;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Load your modules or register your services here!
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="kernel">The kernel.</param>
|
||||||
|
private static void RegisterServices(IKernel kernel)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,26 +1,51 @@
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Web.Http;
|
using System.Web.Http;
|
||||||
using Interfaces;
|
using WindowsDataCenter.Helpers;
|
||||||
|
using Interfaces;
|
||||||
namespace WindowsDataCenter
|
|
||||||
{
|
namespace WindowsDataCenter
|
||||||
[RoutePrefix("api/app")]
|
{
|
||||||
public class ApplicationController:ApiController
|
[RoutePrefix("api/app")]
|
||||||
{
|
public class ApplicationController:ApiController
|
||||||
[Route("")]
|
{
|
||||||
public IHttpActionResult GetAppDetails()
|
private IRepository _repo;
|
||||||
{
|
public ApplicationController(IRepository repo)
|
||||||
var ninjectHelper = NinjectHelper.GetInstance();
|
{
|
||||||
var appDetails = new AppDetails
|
_repo = repo;
|
||||||
{
|
}
|
||||||
ApplicationName = "Flexitime Tracker",
|
|
||||||
DataBaseProvider = ninjectHelper.Get<IRepository>().GetType().ToString(),
|
[Route("")]
|
||||||
LoggerProvider = ninjectHelper.Get<ILogger>().GetType().ToString(),
|
public IHttpActionResult GetAppDetails()
|
||||||
Version = Assembly.GetEntryAssembly().GetName().Version.ToString(),
|
{
|
||||||
ErrorEmailAddress = ConfigurationHandler.ConfigurationHandler.GetConfiguration("BugSubmissionEmailAddress") ?? "NONE"
|
var ninjectHelper = NinjectHelper.GetInstance();
|
||||||
};
|
var appDetails = new AppDetails
|
||||||
|
{
|
||||||
return Ok(appDetails);
|
ApplicationName = "Flexitime Tracker",
|
||||||
}
|
DataBaseProvider = ninjectHelper.Get<IRepository>().GetType().ToString(),
|
||||||
}
|
LoggerProvider = ninjectHelper.Get<ILogger>().GetType().ToString(),
|
||||||
}
|
Version = Assembly.GetEntryAssembly().GetName().Version.ToString(),
|
||||||
|
ErrorEmailAddress = ConfigurationHandler.ConfigurationHandler.GetConfiguration("BugSubmissionEmailAddress") ?? "NONE"
|
||||||
|
};
|
||||||
|
|
||||||
|
return Ok(appDetails);
|
||||||
|
}
|
||||||
|
|
||||||
|
[Route("policy")]
|
||||||
|
[HttpGet]
|
||||||
|
[CacheControl(MaxAge = 0)]
|
||||||
|
public IHttpActionResult GetPolicy()
|
||||||
|
{
|
||||||
|
Policy policy = _repo.GetPolicy();
|
||||||
|
return Json(policy);
|
||||||
|
}
|
||||||
|
|
||||||
|
[Route("policy")]
|
||||||
|
[HttpPost]
|
||||||
|
[CacheControl(MaxAge = 0)]
|
||||||
|
public IHttpActionResult SavePolicy(Policy policy)
|
||||||
|
{
|
||||||
|
_repo.SavePolicy(policy);
|
||||||
|
return Ok(new {}); //empty to ensure ajax triggers Success..
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@ -1,28 +1,28 @@
|
|||||||
@using System.Web.Http.Description
|
@using System.Web.Http.Description
|
||||||
@using DalSoft.WebApi.HelpPage
|
@using DalSoft.WebApi.HelpPage
|
||||||
@model IGrouping<string, ApiDescription>
|
@model IGrouping<string, ApiDescription>
|
||||||
|
|
||||||
<h2 id="@Model.Key">@Model.Key</h2>
|
<h2 id="@Model.Key">@Model.Key</h2>
|
||||||
<table class="help-page-table">
|
<table class="help-page-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr><th>API</th><th>Description</th></tr>
|
<tr><th>API</th><th>Description</th></tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach (var api in Model)
|
@foreach (var api in Model)
|
||||||
{
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td class="api-name"><a href="@ViewBag.HelpRoute/api?apiId=@api.GetFriendlyId()">@api.HttpMethod.Method @api.RelativePath</a></td>
|
<td class="api-name"><a href="@ViewBag.HelpRoute/api?apiId=@api.GetFriendlyId()">@api.HttpMethod.Method @api.RelativePath</a></td>
|
||||||
<td class="api-documentation">
|
<td class="api-documentation">
|
||||||
@if (api.Documentation !=null)
|
@if (api.Documentation !=null)
|
||||||
{
|
{
|
||||||
<p>@api.Documentation</p>
|
<p>@api.Documentation</p>
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
<p>No documentation available.</p>
|
<p>No documentation available.</p>
|
||||||
}
|
}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@ -1,49 +1,49 @@
|
|||||||
@using System.Collections.Generic
|
@using System.Collections.Generic
|
||||||
@using System.Net.Http.Headers
|
@using System.Net.Http.Headers
|
||||||
@using DalSoft.WebApi.HelpPage.Models
|
@using DalSoft.WebApi.HelpPage.Models
|
||||||
|
|
||||||
@model HelpPageApiModel
|
@model HelpPageApiModel
|
||||||
|
|
||||||
@{
|
@{
|
||||||
var description = Model.ApiDescription;
|
var description = Model.ApiDescription;
|
||||||
var hasParameters = description.ParameterDescriptions.Count > 0;
|
var hasParameters = description.ParameterDescriptions.Count > 0;
|
||||||
var hasRequestSamples = Model.SampleRequests.Count > 0;
|
var hasRequestSamples = Model.SampleRequests.Count > 0;
|
||||||
var hasResponseSamples = Model.SampleResponses.Count > 0;
|
var hasResponseSamples = Model.SampleResponses.Count > 0;
|
||||||
}
|
}
|
||||||
<h1>@description.HttpMethod.Method @description.RelativePath</h1>
|
<h1>@description.HttpMethod.Method @description.RelativePath</h1>
|
||||||
<div>
|
<div>
|
||||||
@{
|
@{
|
||||||
if (description.Documentation != null)
|
if (description.Documentation != null)
|
||||||
{
|
{
|
||||||
<p>@description.Documentation</p>
|
<p>@description.Documentation</p>
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
<p>No documentation available.</p>
|
<p>No documentation available.</p>
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hasParameters || hasRequestSamples)
|
if (hasParameters || hasRequestSamples)
|
||||||
{
|
{
|
||||||
<h2>Request Information</h2>
|
<h2>Request Information</h2>
|
||||||
if (hasParameters)
|
if (hasParameters)
|
||||||
{
|
{
|
||||||
<h3>Parameters</h3>
|
<h3>Parameters</h3>
|
||||||
@Include("Parameters.cshtml", Model, typeof(HelpPageApiModel))
|
@Include("Parameters.cshtml", Model, typeof(HelpPageApiModel))
|
||||||
}
|
}
|
||||||
if (hasRequestSamples)
|
if (hasRequestSamples)
|
||||||
{
|
{
|
||||||
<h3>Request body formats</h3>
|
<h3>Request body formats</h3>
|
||||||
var ModelSamples = Model.SampleRequests;
|
var ModelSamples = Model.SampleRequests;
|
||||||
@Include("Samples.cshtml", ModelSamples, typeof(IDictionary<MediaTypeHeaderValue, object>))
|
@Include("Samples.cshtml", ModelSamples, typeof(IDictionary<MediaTypeHeaderValue, object>))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hasResponseSamples)
|
if (hasResponseSamples)
|
||||||
{
|
{
|
||||||
<h2>Response Information</h2>
|
<h2>Response Information</h2>
|
||||||
<h3>Response body formats</h3>
|
<h3>Response body formats</h3>
|
||||||
var ModelSamples = Model.SampleResponses;
|
var ModelSamples = Model.SampleResponses;
|
||||||
@Include("Samples.cshtml", ModelSamples, typeof(IDictionary<MediaTypeHeaderValue, object>))
|
@Include("Samples.cshtml", ModelSamples, typeof(IDictionary<MediaTypeHeaderValue, object>))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
@ -1,55 +1,55 @@
|
|||||||
@using System.Collections.ObjectModel
|
@using System.Collections.ObjectModel
|
||||||
@using System.Threading
|
@using System.Threading
|
||||||
@using System.Web.Http.Description
|
@using System.Web.Http.Description
|
||||||
|
|
||||||
@{ Collection<ApiParameterDescription> parameters = Model.ApiDescription.ParameterDescriptions; }
|
@{ Collection<ApiParameterDescription> parameters = Model.ApiDescription.ParameterDescriptions; }
|
||||||
@if (parameters.Count > 0)
|
@if (parameters.Count > 0)
|
||||||
{
|
{
|
||||||
<table class="help-page-table">
|
<table class="help-page-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr><th>Name</th><th>Description</th><th>Additional information</th></tr>
|
<tr><th>Name</th><th>Description</th><th>Additional information</th></tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@{
|
@{
|
||||||
foreach (ApiParameterDescription parameter in parameters)
|
foreach (ApiParameterDescription parameter in parameters)
|
||||||
{
|
{
|
||||||
var parameterDocumentation = parameter.Documentation ?? "No documentation available.";
|
var parameterDocumentation = parameter.Documentation ?? "No documentation available.";
|
||||||
|
|
||||||
// Don't show CancellationToken because it's a special parameter
|
// Don't show CancellationToken because it's a special parameter
|
||||||
if (!typeof (CancellationToken).IsAssignableFrom(parameter.ParameterDescriptor.ParameterType))
|
if (!typeof (CancellationToken).IsAssignableFrom(parameter.ParameterDescriptor.ParameterType))
|
||||||
{
|
{
|
||||||
<tr>
|
<tr>
|
||||||
<td class="parameter-name">@parameter.Name</td>
|
<td class="parameter-name">@parameter.Name</td>
|
||||||
<td class="parameter-documentation">
|
<td class="parameter-documentation">
|
||||||
<p>@parameterDocumentation</p>
|
<p>@parameterDocumentation</p>
|
||||||
</td>
|
</td>
|
||||||
<td class="parameter-type">
|
<td class="parameter-type">
|
||||||
@{
|
@{
|
||||||
switch (parameter.Source)
|
switch (parameter.Source)
|
||||||
{
|
{
|
||||||
case ApiParameterSource.FromBody:
|
case ApiParameterSource.FromBody:
|
||||||
<p>Define this parameter in the request <b>body</b>.
|
<p>Define this parameter in the request <b>body</b>.
|
||||||
</p>
|
</p>
|
||||||
break;
|
break;
|
||||||
case ApiParameterSource.FromUri:
|
case ApiParameterSource.FromUri:
|
||||||
<p>Define this parameter in the request <b>URI</b>.
|
<p>Define this parameter in the request <b>URI</b>.
|
||||||
</p>
|
</p>
|
||||||
break;
|
break;
|
||||||
case ApiParameterSource.Unknown:
|
case ApiParameterSource.Unknown:
|
||||||
default:
|
default:
|
||||||
<p>None.</p>
|
<p>None.</p>
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
<p>None.</p>
|
<p>None.</p>
|
||||||
}
|
}
|
||||||
@ -1,37 +1,37 @@
|
|||||||
@using System.Net.Http.Headers
|
@using System.Net.Http.Headers
|
||||||
@using DalSoft.WebApi.HelpPage.SampleGeneration
|
@using DalSoft.WebApi.HelpPage.SampleGeneration
|
||||||
@model IDictionary<MediaTypeHeaderValue, object>
|
@model IDictionary<MediaTypeHeaderValue, object>
|
||||||
|
|
||||||
@{
|
@{
|
||||||
// Group the samples into a single tab if they are the same.
|
// Group the samples into a single tab if they are the same.
|
||||||
var samples = Model.GroupBy(x => x.Value).ToDictionary(x => string.Join(", ", x.Select(m => m.Key.ToString()).ToArray()), x => x.Key);
|
var samples = Model.GroupBy(x => x.Value).ToDictionary(x => string.Join(", ", x.Select(m => m.Key.ToString()).ToArray()), x => x.Key);
|
||||||
var mediaTypes = samples.Keys;
|
var mediaTypes = samples.Keys;
|
||||||
}
|
}
|
||||||
<div>
|
<div>
|
||||||
@{
|
@{
|
||||||
foreach (var mediaType in mediaTypes)
|
foreach (var mediaType in mediaTypes)
|
||||||
{
|
{
|
||||||
<h4 class="sample-header">@mediaType</h4>
|
<h4 class="sample-header">@mediaType</h4>
|
||||||
<div class="sample-content">
|
<div class="sample-content">
|
||||||
<span><b>Sample:</b></span>
|
<span><b>Sample:</b></span>
|
||||||
@{ var sample = samples[mediaType]; }
|
@{ var sample = samples[mediaType]; }
|
||||||
@if (sample == null)
|
@if (sample == null)
|
||||||
{
|
{
|
||||||
<p>Sample not available.</p>
|
<p>Sample not available.</p>
|
||||||
}
|
}
|
||||||
else if (sample is TextSample)
|
else if (sample is TextSample)
|
||||||
{
|
{
|
||||||
<pre class="wrapped">@(((TextSample)sample).Text)</pre>
|
<pre class="wrapped">@(((TextSample)sample).Text)</pre>
|
||||||
}
|
}
|
||||||
else if (sample is ImageSample)
|
else if (sample is ImageSample)
|
||||||
{
|
{
|
||||||
<img src="@(((ImageSample)sample).Src)"/>
|
<img src="@(((ImageSample)sample).Src)"/>
|
||||||
}
|
}
|
||||||
else if (sample is InvalidSample)
|
else if (sample is InvalidSample)
|
||||||
{
|
{
|
||||||
<div class="warning-message-container">@(((InvalidSample)sample).ErrorMessage)</div>
|
<div class="warning-message-container">@(((InvalidSample)sample).ErrorMessage)</div>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
@ -1,134 +1,134 @@
|
|||||||
.help-page h1,
|
.help-page h1,
|
||||||
.help-page .h1,
|
.help-page .h1,
|
||||||
.help-page h2,
|
.help-page h2,
|
||||||
.help-page .h2,
|
.help-page .h2,
|
||||||
.help-page h3,
|
.help-page h3,
|
||||||
.help-page .h3,
|
.help-page .h3,
|
||||||
#body.help-page,
|
#body.help-page,
|
||||||
.help-page-table th,
|
.help-page-table th,
|
||||||
.help-page-table pre,
|
.help-page-table pre,
|
||||||
.help-page-table p {
|
.help-page-table p {
|
||||||
font-family: "Segoe UI Light", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
|
font-family: "Segoe UI Light", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-page pre.wrapped {
|
.help-page pre.wrapped {
|
||||||
white-space: -moz-pre-wrap;
|
white-space: -moz-pre-wrap;
|
||||||
white-space: -pre-wrap;
|
white-space: -pre-wrap;
|
||||||
white-space: -o-pre-wrap;
|
white-space: -o-pre-wrap;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-page .warning-message-container {
|
.help-page .warning-message-container {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
color: #525252;
|
color: #525252;
|
||||||
background: #EFDCA9;
|
background: #EFDCA9;
|
||||||
border: 1px solid #CCCCCC;
|
border: 1px solid #CCCCCC;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-page-table {
|
.help-page-table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
margin: 0px 0px 20px 0px;
|
margin: 0px 0px 20px 0px;
|
||||||
border-top: 1px solid #D4D4D4;
|
border-top: 1px solid #D4D4D4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-page-table th {
|
.help-page-table th {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
border-bottom: 1px solid #D4D4D4;
|
border-bottom: 1px solid #D4D4D4;
|
||||||
padding: 5px 6px 5px 6px;
|
padding: 5px 6px 5px 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-page-table td {
|
.help-page-table td {
|
||||||
border-bottom: 1px solid #D4D4D4;
|
border-bottom: 1px solid #D4D4D4;
|
||||||
padding: 10px 8px 10px 8px;
|
padding: 10px 8px 10px 8px;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-page-table pre,
|
.help-page-table pre,
|
||||||
.help-page-table p {
|
.help-page-table p {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-page-table tbody tr:hover td {
|
.help-page-table tbody tr:hover td {
|
||||||
background-color: #F3F3F3;
|
background-color: #F3F3F3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-page a:hover {
|
.help-page a:hover {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-page .sample-header {
|
.help-page .sample-header {
|
||||||
border: 2px solid #D4D4D4;
|
border: 2px solid #D4D4D4;
|
||||||
background: #00497E;
|
background: #00497E;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
padding: 8px 15px;
|
padding: 8px 15px;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 10px 0px 0px 0px;
|
margin: 10px 0px 0px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-page .sample-content {
|
.help-page .sample-content {
|
||||||
display: block;
|
display: block;
|
||||||
border-width: 0;
|
border-width: 0;
|
||||||
padding: 15px 20px;
|
padding: 15px 20px;
|
||||||
background: #FFFFFF;
|
background: #FFFFFF;
|
||||||
border: 2px solid #D4D4D4;
|
border: 2px solid #D4D4D4;
|
||||||
margin: 0px 0px 10px 0px;
|
margin: 0px 0px 10px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-page .api-name {
|
.help-page .api-name {
|
||||||
width: 40%;
|
width: 40%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-page .api-documentation {
|
.help-page .api-documentation {
|
||||||
width: 60%;
|
width: 60%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-page .parameter-name {
|
.help-page .parameter-name {
|
||||||
width: 20%;
|
width: 20%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-page .parameter-documentation {
|
.help-page .parameter-documentation {
|
||||||
width: 40%;
|
width: 40%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-page .parameter-type {
|
.help-page .parameter-type {
|
||||||
width: 20%;
|
width: 20%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-page .parameter-annotations {
|
.help-page .parameter-annotations {
|
||||||
width: 20%;
|
width: 20%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-page h1,
|
.help-page h1,
|
||||||
.help-page .h1 {
|
.help-page .h1 {
|
||||||
font-size: 36px;
|
font-size: 36px;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-page h2,
|
.help-page h2,
|
||||||
.help-page .h2 {
|
.help-page .h2 {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-page h3,
|
.help-page h3,
|
||||||
.help-page .h3 {
|
.help-page .h3 {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#body.help-page {
|
#body.help-page {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 143%;
|
line-height: 143%;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-page a {
|
.help-page a {
|
||||||
color: #0000EE;
|
color: #0000EE;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,28 +1,28 @@
|
|||||||
@using DalSoft.WebApi.HelpPage.Models
|
@using DalSoft.WebApi.HelpPage.Models
|
||||||
@model HelpPageApiModel
|
@model HelpPageApiModel
|
||||||
|
|
||||||
@{
|
@{
|
||||||
var description = Model.ApiDescription;
|
var description = Model.ApiDescription;
|
||||||
var title = description.HttpMethod.Method + " " + description.RelativePath;
|
var title = description.HttpMethod.Method + " " + description.RelativePath;
|
||||||
}
|
}
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>@title</title>
|
<title>@title</title>
|
||||||
<link type="text/css" href="@ViewBag.HelpRoute/HelpPage_css" rel="stylesheet" />
|
<link type="text/css" href="@ViewBag.HelpRoute/HelpPage_css" rel="stylesheet" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="body" class="help-page">
|
<div id="body" class="help-page">
|
||||||
<section class="featured">
|
<section class="featured">
|
||||||
<div class="content-wrapper">
|
<div class="content-wrapper">
|
||||||
<p>
|
<p>
|
||||||
<a href="/@ViewBag.HelpRoute">Help Page Home</a>
|
<a href="/@ViewBag.HelpRoute">Help Page Home</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="content-wrapper main-content clear-fix">
|
<section class="content-wrapper main-content clear-fix">
|
||||||
@Include("HelpPageApiModel.cshtml", Model, typeof(HelpPageApiModel))
|
@Include("HelpPageApiModel.cshtml", Model, typeof(HelpPageApiModel))
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -1,43 +1,43 @@
|
|||||||
@using System.Web.Http.Description
|
@using System.Web.Http.Description
|
||||||
@using System.Collections.ObjectModel
|
@using System.Collections.ObjectModel
|
||||||
@using System.Linq
|
@using System.Linq
|
||||||
@model Collection<ApiDescription>
|
@model Collection<ApiDescription>
|
||||||
|
|
||||||
@{
|
@{
|
||||||
ViewBag.Title = "ASP.NET Web API Help Page";
|
ViewBag.Title = "ASP.NET Web API Help Page";
|
||||||
|
|
||||||
// Group APIs by controller
|
// Group APIs by controller
|
||||||
ILookup<string, ApiDescription> apiGroups = Model.ToLookup(api => api.ActionDescriptor.ControllerDescriptor.ControllerName);
|
ILookup<string, ApiDescription> apiGroups = Model.ToLookup(api => api.ActionDescriptor.ControllerDescriptor.ControllerName);
|
||||||
}
|
}
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>@ViewBag.Title</title>
|
<title>@ViewBag.Title</title>
|
||||||
<link type="text/css" href="@ViewBag.HelpRoute/HelpPage_css" rel="stylesheet" />
|
<link type="text/css" href="@ViewBag.HelpRoute/HelpPage_css" rel="stylesheet" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header class="help-page">
|
<header class="help-page">
|
||||||
<div class="content-wrapper">
|
<div class="content-wrapper">
|
||||||
<div class="float-left">
|
<div class="float-left">
|
||||||
<h1>@ViewBag.Title</h1>
|
<h1>@ViewBag.Title</h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<div id="body" class="help-page">
|
<div id="body" class="help-page">
|
||||||
<section class="featured">
|
<section class="featured">
|
||||||
<div class="content-wrapper">
|
<div class="content-wrapper">
|
||||||
<h2>Introduction</h2>
|
<h2>Introduction</h2>
|
||||||
<p>
|
<p>
|
||||||
Provide a general description of your APIs here.
|
Provide a general description of your APIs here.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="content-wrapper main-content clear-fix">
|
<section class="content-wrapper main-content clear-fix">
|
||||||
@foreach (IGrouping<string, ApiDescription> controllerGroup in apiGroups)
|
@foreach (IGrouping<string, ApiDescription> controllerGroup in apiGroups)
|
||||||
{
|
{
|
||||||
@Include("ApiGroup.cshtml", controllerGroup, typeof (IGrouping<string, ApiDescription>))
|
@Include("ApiGroup.cshtml", controllerGroup, typeof (IGrouping<string, ApiDescription>))
|
||||||
}
|
}
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -1,351 +1,389 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<ProjectGuid>{A5FEE048-17A6-4966-9B6B-BF073592A470}</ProjectGuid>
|
<ProjectGuid>{A5FEE048-17A6-4966-9B6B-BF073592A470}</ProjectGuid>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>WindowsDataCenter</RootNamespace>
|
<RootNamespace>WindowsDataCenter</RootNamespace>
|
||||||
<AssemblyName>WindowsDataCenter</AssemblyName>
|
<AssemblyName>WindowsDataCenter</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
<NuGetPackageImportStamp>
|
<NuGetPackageImportStamp>
|
||||||
</NuGetPackageImportStamp>
|
</NuGetPackageImportStamp>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<DocumentationFile>bin\Debug\WindowsDataCenter.XML</DocumentationFile>
|
<DocumentationFile>bin\Debug\WindowsDataCenter.XML</DocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugInstallers|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugInstallers|AnyCPU'">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<OutputPath>bin\DebugInstallers\</OutputPath>
|
<OutputPath>bin\DebugInstallers\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<DocumentationFile>bin\Debug\WindowsDataCenter.XML</DocumentationFile>
|
<DocumentationFile>bin\Debug\WindowsDataCenter.XML</DocumentationFile>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
<Prefer32Bit>true</Prefer32Bit>
|
<Prefer32Bit>true</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseInstallers|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseInstallers|AnyCPU'">
|
||||||
<OutputPath>bin\ReleaseInstallers\</OutputPath>
|
<OutputPath>bin\ReleaseInstallers\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
<Prefer32Bit>true</Prefer32Bit>
|
<Prefer32Bit>true</Prefer32Bit>
|
||||||
<DocumentationFile>bin\ReleaseInstallers\WindowsDataCenter.XML</DocumentationFile>
|
<DocumentationFile>bin\ReleaseInstallers\WindowsDataCenter.XML</DocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="DalSoft.WebApi.HelpPage, Version=0.0.7.0, Culture=neutral, processorArchitecture=MSIL">
|
<Reference Include="Castle.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\DalSoft.WebApi.HelpPage.0.0.7.0\lib\net451\DalSoft.WebApi.HelpPage.dll</HintPath>
|
<HintPath>..\packages\Castle.Core.4.2.0\lib\net45\Castle.Core.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.Owin, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
<Reference Include="DalSoft.WebApi.HelpPage, Version=0.0.7.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Microsoft.Owin.3.0.1\lib\net45\Microsoft.Owin.dll</HintPath>
|
<HintPath>..\packages\DalSoft.WebApi.HelpPage.0.0.7.0\lib\net451\DalSoft.WebApi.HelpPage.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.Owin.FileSystems, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
<Reference Include="Microsoft.Owin, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Microsoft.Owin.FileSystems.3.0.1\lib\net45\Microsoft.Owin.FileSystems.dll</HintPath>
|
<HintPath>..\packages\Microsoft.Owin.3.1.0\lib\net45\Microsoft.Owin.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.Owin.Host.HttpListener, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
<Reference Include="Microsoft.Owin.FileSystems, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Microsoft.Owin.Host.HttpListener.3.0.1\lib\net45\Microsoft.Owin.Host.HttpListener.dll</HintPath>
|
<HintPath>..\packages\Microsoft.Owin.FileSystems.3.0.1\lib\net45\Microsoft.Owin.FileSystems.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.Owin.Hosting, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
<Reference Include="Microsoft.Owin.Host.HttpListener, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Microsoft.Owin.Hosting.3.0.1\lib\net45\Microsoft.Owin.Hosting.dll</HintPath>
|
<HintPath>..\packages\Microsoft.Owin.Host.HttpListener.3.0.1\lib\net45\Microsoft.Owin.Host.HttpListener.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.Owin.StaticFiles, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
<Reference Include="Microsoft.Owin.Hosting, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Microsoft.Owin.StaticFiles.3.0.1\lib\net45\Microsoft.Owin.StaticFiles.dll</HintPath>
|
<HintPath>..\packages\Microsoft.Owin.Hosting.3.0.1\lib\net45\Microsoft.Owin.Hosting.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
<Reference Include="Microsoft.Owin.StaticFiles, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
|
<HintPath>..\packages\Microsoft.Owin.StaticFiles.3.0.1\lib\net45\Microsoft.Owin.StaticFiles.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
<HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Ninject, Version=3.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Ninject.3.2.2.0\lib\net45-full\Ninject.dll</HintPath>
|
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Ninject.Extensions.ContextPreservation, Version=3.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
<Reference Include="Ninject, Version=3.3.4.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Ninject.Extensions.ContextPreservation.3.2.0.0\lib\net45-full\Ninject.Extensions.ContextPreservation.dll</HintPath>
|
<HintPath>..\packages\Ninject.3.3.4\lib\net45\Ninject.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Ninject.Extensions.NamedScope, Version=3.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
<Reference Include="Ninject.Extensions.ContextPreservation, Version=3.3.1.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Ninject.Extensions.NamedScope.3.2.0.0\lib\net45-full\Ninject.Extensions.NamedScope.dll</HintPath>
|
<HintPath>..\packages\Ninject.Extensions.ContextPreservation.3.3.1\lib\net45\Ninject.Extensions.ContextPreservation.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Ninject.Extensions.Xml, Version=3.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
<Reference Include="Ninject.Extensions.Factory, Version=3.3.2.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Ninject.Extensions.Xml.3.2.0.0\lib\net45-full\Ninject.Extensions.Xml.dll</HintPath>
|
<HintPath>..\packages\Ninject.Extensions.Factory.3.3.2\lib\net45\Ninject.Extensions.Factory.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Ninject.Web.Common, Version=3.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
<Reference Include="Ninject.Extensions.NamedScope, Version=3.3.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Ninject.Web.Common.3.2.3.0\lib\net45-full\Ninject.Web.Common.dll</HintPath>
|
<HintPath>..\packages\Ninject.Extensions.NamedScope.3.3.0\lib\net45\Ninject.Extensions.NamedScope.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Ninject.Web.Common.OwinHost, Version=3.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
<Reference Include="Ninject.Extensions.Xml, Version=3.3.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Ninject.Web.Common.OwinHost.3.2.3.0\lib\net45-full\Ninject.Web.Common.OwinHost.dll</HintPath>
|
<HintPath>..\packages\Ninject.Extensions.Xml.3.3.0\lib\net45\Ninject.Extensions.Xml.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Ninject.Web.WebApi, Version=3.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
<Reference Include="Ninject.Web.Common, Version=3.3.1.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Ninject.Web.WebApi.3.2.4.0\lib\net45-full\Ninject.Web.WebApi.dll</HintPath>
|
<HintPath>..\packages\Ninject.Web.Common.3.3.1\lib\net45\Ninject.Web.Common.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Ninject.Web.WebApi.OwinHost, Version=3.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
<Reference Include="Ninject.Web.Common.OwinHost, Version=3.3.1.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Ninject.Web.WebApi.OwinHost.3.2.4.0\lib\net45-full\Ninject.Web.WebApi.OwinHost.dll</HintPath>
|
<HintPath>..\packages\Ninject.Web.Common.OwinHost.3.3.1\lib\net45\Ninject.Web.Common.OwinHost.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Owin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f0ebd12fd5e55cc5, processorArchitecture=MSIL">
|
<Reference Include="Ninject.Web.Common.WebHost, Version=3.3.1.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Owin.1.0\lib\net40\Owin.dll</HintPath>
|
<HintPath>..\packages\Ninject.Web.Common.WebHost.3.3.1\lib\net45\Ninject.Web.Common.WebHost.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="RazorEngine, Version=3.7.2.0, Culture=neutral, PublicKeyToken=9ee697374c7e744a, processorArchitecture=MSIL">
|
<Reference Include="Ninject.Web.WebApi, Version=3.3.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\RazorEngine.3.7.2\lib\net45\RazorEngine.dll</HintPath>
|
<HintPath>..\packages\Ninject.Web.WebApi.3.3.0\lib\net45\Ninject.Web.WebApi.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="Ninject.Web.WebApi.OwinHost, Version=3.3.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7, processorArchitecture=MSIL">
|
||||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
<HintPath>..\packages\Ninject.Web.WebApi.OwinHost.3.3.0\lib\net45\Ninject.Web.WebApi.OwinHost.dll</HintPath>
|
||||||
<Reference Include="System.Configuration" />
|
<Private>True</Private>
|
||||||
<Reference Include="System.Core" />
|
</Reference>
|
||||||
<Reference Include="System.Data.SQLite, Version=1.0.104.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
|
<Reference Include="Owin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f0ebd12fd5e55cc5, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\System.Data.SQLite.Core.1.0.104.0\lib\net451\System.Data.SQLite.dll</HintPath>
|
<HintPath>..\packages\Owin.1.0\lib\net40\Owin.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Net.Http.Formatting, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
<Reference Include="RazorEngine, Version=3.7.2.0, Culture=neutral, PublicKeyToken=9ee697374c7e744a, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.Client.5.2.3\lib\net45\System.Net.Http.Formatting.dll</HintPath>
|
<HintPath>..\packages\RazorEngine.3.7.2\lib\net45\RazorEngine.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Web" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Web.Http, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.Core.5.2.3\lib\net45\System.Web.Http.dll</HintPath>
|
<Reference Include="System.Configuration" />
|
||||||
<Private>True</Private>
|
<Reference Include="System.Core" />
|
||||||
</Reference>
|
<Reference Include="System.Data.SQLite, Version=1.0.104.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
|
||||||
<Reference Include="System.Web.Http.Owin, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
<HintPath>..\packages\System.Data.SQLite.Core.1.0.104.0\lib\net451\System.Data.SQLite.dll</HintPath>
|
||||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.Owin.5.2.3\lib\net45\System.Web.Http.Owin.dll</HintPath>
|
<Private>True</Private>
|
||||||
<Private>True</Private>
|
</Reference>
|
||||||
</Reference>
|
<Reference Include="System.Net.Http.Formatting, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
<Reference Include="System.Web.Http.WebHost, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
<HintPath>..\packages\Microsoft.AspNet.WebApi.Client.5.2.3\lib\net45\System.Net.Http.Formatting.dll</HintPath>
|
||||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.WebHost.5.0.0\lib\net45\System.Web.Http.WebHost.dll</HintPath>
|
<Private>True</Private>
|
||||||
<Private>True</Private>
|
</Reference>
|
||||||
</Reference>
|
<Reference Include="System.Web" />
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Web.Http, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
<HintPath>..\packages\Microsoft.AspNet.WebApi.Core.5.2.3\lib\net45\System.Web.Http.dll</HintPath>
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Private>True</Private>
|
||||||
<Reference Include="System.Data" />
|
</Reference>
|
||||||
<Reference Include="System.Net.Http" />
|
<Reference Include="System.Web.Http.Owin, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
<Reference Include="System.ServiceProcess" />
|
<HintPath>..\packages\Microsoft.AspNet.WebApi.Owin.5.2.3\lib\net45\System.Web.Http.Owin.dll</HintPath>
|
||||||
<Reference Include="System.Xml" />
|
<Private>True</Private>
|
||||||
<Reference Include="WebActivatorEx, Version=2.0.0.0, Culture=neutral, PublicKeyToken=7b26dc2a43f6a0d4, processorArchitecture=MSIL">
|
</Reference>
|
||||||
<HintPath>..\packages\WebActivatorEx.2.0\lib\net40\WebActivatorEx.dll</HintPath>
|
<Reference Include="System.Web.Http.WebHost, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
<Private>True</Private>
|
<HintPath>..\packages\Microsoft.AspNet.WebApi.WebHost.5.0.0\lib\net45\System.Web.Http.WebHost.dll</HintPath>
|
||||||
</Reference>
|
<Private>True</Private>
|
||||||
</ItemGroup>
|
</Reference>
|
||||||
<ItemGroup>
|
<Reference Include="System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
<Compile Include="CardData.cs" />
|
<HintPath>..\packages\Microsoft.AspNet.Razor.3.0.0\lib\net45\System.Web.Razor.dll</HintPath>
|
||||||
<Compile Include="Controllers\ApplicationController.cs" />
|
<Private>True</Private>
|
||||||
<Compile Include="Controllers\CardsController.cs" />
|
</Reference>
|
||||||
<Compile Include="Configuration.cs" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
<Compile Include="Controllers\GroupController.cs" />
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
<Compile Include="Controllers\LogsController.cs" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Compile Include="Controllers\TimelogController.cs" />
|
<Reference Include="System.Data" />
|
||||||
<Compile Include="DefaultComponents\DefaultLogger.cs" />
|
<Reference Include="System.Net.Http" />
|
||||||
<Compile Include="Helpers\CacheControlAttribute.cs" />
|
<Reference Include="System.ServiceProcess" />
|
||||||
<Compile Include="JsonpFormatter.cs" />
|
<Reference Include="System.Xml" />
|
||||||
<Compile Include="NinjectDependencyResolver.cs" />
|
<Reference Include="WebActivatorEx, Version=2.0.0.0, Culture=neutral, PublicKeyToken=7b26dc2a43f6a0d4, processorArchitecture=MSIL">
|
||||||
<Compile Include="NinjectDependencyScope.cs" />
|
<HintPath>..\packages\WebActivatorEx.2.2.0\lib\net40\WebActivatorEx.dll</HintPath>
|
||||||
<Compile Include="NinjectHelper.cs" />
|
<Private>True</Private>
|
||||||
<Compile Include="RestService_Get.cs" />
|
</Reference>
|
||||||
<Compile Include="RestService_Post.cs" />
|
</ItemGroup>
|
||||||
<Compile Include="DataCenterService.cs">
|
<ItemGroup>
|
||||||
<SubType>Component</SubType>
|
<Compile Include="App_Start\Ninject.Web.Common.cs" />
|
||||||
</Compile>
|
<Compile Include="CardData.cs" />
|
||||||
<Compile Include="DataCenterService.Designer.cs">
|
<Compile Include="Controllers\ApplicationController.cs" />
|
||||||
<DependentUpon>DataCenterService.cs</DependentUpon>
|
<Compile Include="Controllers\CardsController.cs" />
|
||||||
</Compile>
|
<Compile Include="Configuration.cs" />
|
||||||
<Compile Include="Program.cs" />
|
<Compile Include="Controllers\GroupController.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Controllers\LogsController.cs" />
|
||||||
<Compile Include="StartOwin.cs" />
|
<Compile Include="Controllers\TimelogController.cs" />
|
||||||
<Compile Include="Controllers\SwipeDataController.cs" />
|
<Compile Include="DefaultComponents\DefaultLogger.cs" />
|
||||||
<Compile Include="Controllers\UsersController.cs" />
|
<Compile Include="Helpers\CacheControlAttribute.cs" />
|
||||||
<Compile Include="Controllers\ValuesController.cs" />
|
<Compile Include="JsonpFormatter.cs" />
|
||||||
</ItemGroup>
|
<Compile Include="NinjectDependencyResolver.cs" />
|
||||||
<ItemGroup>
|
<Compile Include="NinjectDependencyScope.cs" />
|
||||||
<Content Include="Minifier\MinifierConfig.xml" />
|
<Compile Include="NinjectHelper.cs" />
|
||||||
<Content Include="NinjectConfig.xml">
|
<Compile Include="RestService_Get.cs" />
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<Compile Include="RestService_Post.cs" />
|
||||||
</Content>
|
<Compile Include="DataCenterService.cs">
|
||||||
<Content Include="www\Admin.html">
|
<SubType>Component</SubType>
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
</Compile>
|
||||||
</Content>
|
<Compile Include="DataCenterService.Designer.cs">
|
||||||
<Content Include="www\admin.js">
|
<DependentUpon>DataCenterService.cs</DependentUpon>
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
</Compile>
|
||||||
</Content>
|
<Compile Include="Program.cs" />
|
||||||
<Content Include="www\admin.min.js">
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<Compile Include="StartOwin.cs" />
|
||||||
</Content>
|
<Compile Include="Controllers\SwipeDataController.cs" />
|
||||||
<Content Include="www\css\bootstrap-theme.css">
|
<Compile Include="Controllers\UsersController.cs" />
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<Compile Include="Controllers\ValuesController.cs" />
|
||||||
</Content>
|
</ItemGroup>
|
||||||
<Content Include="www\css\bootstrap-theme.min.css">
|
<ItemGroup>
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<Content Include="Help\DalSoft.WebApi.HelpPage.Views\HelpPage.css">
|
||||||
</Content>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<Content Include="www\css\bootstrap.css">
|
</Content>
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<Content Include="Minifier\MinifierConfig.xml" />
|
||||||
</Content>
|
<Content Include="NinjectConfig.xml">
|
||||||
<Content Include="www\css\bootstrap.min.css">
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
</Content>
|
||||||
</Content>
|
<Content Include="www\Admin.html">
|
||||||
<Content Include="www\css\knockout.contextmenu.css">
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
</Content>
|
||||||
</Content>
|
<Content Include="www\admin.js">
|
||||||
<Content Include="www\favicon.ico">
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
</Content>
|
||||||
</Content>
|
<Content Include="www\admin.min.js">
|
||||||
<Content Include="www\fonts\glyphicons-halflings-regular.svg">
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
</Content>
|
||||||
</Content>
|
<Content Include="www\css\bootstrap-theme.css">
|
||||||
<Content Include="www\Helpers.js">
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
</Content>
|
||||||
</Content>
|
<Content Include="www\css\bootstrap-theme.min.css">
|
||||||
<Content Include="www\Helpers.min.js">
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
</Content>
|
||||||
</Content>
|
<Content Include="www\css\bootstrap.css">
|
||||||
<Content Include="www\index.html">
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
</Content>
|
||||||
</Content>
|
<Content Include="www\css\bootstrap.min.css">
|
||||||
<Content Include="www\js\bootstrap.js">
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
</Content>
|
||||||
</Content>
|
<Content Include="www\css\highlightjs.min.css">
|
||||||
<Content Include="www\js\bootstrap.min.js">
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
</Content>
|
||||||
</Content>
|
<Content Include="www\css\knockout.contextmenu.css">
|
||||||
<Content Include="www\js\knockout.contextmenu.js">
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
</Content>
|
||||||
</Content>
|
<Content Include="www\favicon.ico">
|
||||||
<Content Include="www\spa.css">
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
</Content>
|
||||||
</Content>
|
<Content Include="www\fonts\glyphicons-halflings-regular.svg">
|
||||||
<Content Include="www\spa.js">
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
</Content>
|
||||||
</Content>
|
<Content Include="www\Helpers.js">
|
||||||
<Content Include="www\spa.min.css">
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
</Content>
|
||||||
</Content>
|
<Content Include="www\Helpers.min.js">
|
||||||
<Content Include="www\spa.min.js">
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
</Content>
|
||||||
</Content>
|
<Content Include="www\index.html">
|
||||||
<None Include="App.config">
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
<SubType>Designer</SubType>
|
</Content>
|
||||||
</None>
|
<Content Include="www\js\bootstrap.js">
|
||||||
<Content Include="Help\DalSoft.WebApi.HelpPage.Views\api.cshtml">
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
</Content>
|
||||||
</Content>
|
<Content Include="www\js\bootstrap.min.js">
|
||||||
<Content Include="Help\DalSoft.WebApi.HelpPage.Views\DisplayTemplates\ApiGroup.cshtml">
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
</Content>
|
||||||
</Content>
|
<Content Include="www\css\easymde.min.css">
|
||||||
<Content Include="Help\DalSoft.WebApi.HelpPage.Views\DisplayTemplates\HelpPageApiModel.cshtml">
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
</Content>
|
||||||
</Content>
|
<Content Include="www\js\easymde.min.js">
|
||||||
<Content Include="Help\DalSoft.WebApi.HelpPage.Views\DisplayTemplates\Parameters.cshtml">
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
</Content>
|
||||||
</Content>
|
<Content Include="www\js\highlightjs.min.js">
|
||||||
<Content Include="Help\DalSoft.WebApi.HelpPage.Views\DisplayTemplates\Samples.cshtml">
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
</Content>
|
||||||
</Content>
|
<Content Include="www\js\htmlparser.min.js">
|
||||||
<Content Include="Help\DalSoft.WebApi.HelpPage.Views\index.cshtml">
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
</Content>
|
||||||
</Content>
|
<Content Include="www\js\knockout.contextmenu.js">
|
||||||
<None Include="Minifier\Minify.bat" />
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
<None Include="packages.config" />
|
</Content>
|
||||||
<None Include="www\css\bootstrap-theme.css.map">
|
<Content Include="www\js\marked.min.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</None>
|
</Content>
|
||||||
<None Include="www\css\bootstrap-theme.min.css.map">
|
<Content Include="www\js\PolicyObject.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</None>
|
</Content>
|
||||||
<None Include="www\css\bootstrap.css.map">
|
<Content Include="www\spa.css">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</None>
|
</Content>
|
||||||
<None Include="www\css\bootstrap.min.css.map">
|
<Content Include="www\spa.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</None>
|
</Content>
|
||||||
<None Include="www\fonts\glyphicons-halflings-regular.eot">
|
<Content Include="www\spa.min.css">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</None>
|
</Content>
|
||||||
<None Include="www\fonts\glyphicons-halflings-regular.ttf">
|
<Content Include="www\spa.min.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</None>
|
</Content>
|
||||||
<None Include="www\fonts\glyphicons-halflings-regular.woff">
|
<None Include="App.config">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<SubType>Designer</SubType>
|
||||||
</None>
|
</None>
|
||||||
<None Include="www\fonts\glyphicons-halflings-regular.woff2">
|
<Content Include="Help\DalSoft.WebApi.HelpPage.Views\api.cshtml">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</None>
|
</Content>
|
||||||
</ItemGroup>
|
<Content Include="Help\DalSoft.WebApi.HelpPage.Views\DisplayTemplates\ApiGroup.cshtml">
|
||||||
<ItemGroup>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<Content Include="Help\DalSoft.WebApi.HelpPage.Views\HelpPage.css">
|
</Content>
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<Content Include="Help\DalSoft.WebApi.HelpPage.Views\DisplayTemplates\HelpPageApiModel.cshtml">
|
||||||
</Content>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<Content Include="sqlite3.def" />
|
</Content>
|
||||||
<Content Include="sqlite3.dll" />
|
<Content Include="Help\DalSoft.WebApi.HelpPage.Views\DisplayTemplates\Parameters.cshtml">
|
||||||
</ItemGroup>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<ItemGroup>
|
</Content>
|
||||||
<ProjectReference Include="..\ConfigurationHandler\ConfigurationHandler.csproj">
|
<Content Include="Help\DalSoft.WebApi.HelpPage.Views\DisplayTemplates\Samples.cshtml">
|
||||||
<Project>{115250F6-F8C4-4F9B-A15F-251EA258D963}</Project>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<Name>ConfigurationHandler</Name>
|
</Content>
|
||||||
</ProjectReference>
|
<Content Include="Help\DalSoft.WebApi.HelpPage.Views\index.cshtml">
|
||||||
<ProjectReference Include="..\Interfaces\Interfaces.csproj">
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<Project>{B7347B72-E208-423A-9D99-723B558EA3D7}</Project>
|
</Content>
|
||||||
<Name>Interfaces</Name>
|
<None Include="Minifier\Minify.bat" />
|
||||||
</ProjectReference>
|
<None Include="packages.config" />
|
||||||
<ProjectReference Include="..\SQLiteRepository\SQLiteRepository.csproj">
|
<None Include="www\css\bootstrap-theme.css.map">
|
||||||
<Project>{B3510C81-F069-48A2-B826-EBE0CE7AB0B2}</Project>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<Name>SQLiteRepository</Name>
|
</None>
|
||||||
</ProjectReference>
|
<None Include="www\css\bootstrap-theme.min.css.map">
|
||||||
</ItemGroup>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
</None>
|
||||||
<Import Project="..\packages\System.Data.SQLite.Core.1.0.104.0\build\net451\System.Data.SQLite.Core.targets" Condition="Exists('..\packages\System.Data.SQLite.Core.1.0.104.0\build\net451\System.Data.SQLite.Core.targets')" />
|
<None Include="www\css\bootstrap.css.map">
|
||||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<PropertyGroup>
|
</None>
|
||||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
<None Include="www\css\bootstrap.min.css.map">
|
||||||
</PropertyGroup>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<Error Condition="!Exists('..\packages\System.Data.SQLite.Core.1.0.104.0\build\net451\System.Data.SQLite.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\System.Data.SQLite.Core.1.0.104.0\build\net451\System.Data.SQLite.Core.targets'))" />
|
</None>
|
||||||
</Target>
|
<None Include="www\fonts\glyphicons-halflings-regular.eot">
|
||||||
<PropertyGroup>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
<PreBuildEvent>call "$(ProjectDir)Minifier\Minify.bat" "$(SolutionDir)"</PreBuildEvent>
|
</None>
|
||||||
</PropertyGroup>
|
<None Include="www\fonts\glyphicons-halflings-regular.ttf">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
|
<None Include="www\fonts\glyphicons-halflings-regular.woff">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
|
<None Include="www\fonts\glyphicons-halflings-regular.woff2">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="sqlite3.def" />
|
||||||
|
<Content Include="sqlite3.dll" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\ConfigurationHandler\ConfigurationHandler.csproj">
|
||||||
|
<Project>{115250F6-F8C4-4F9B-A15F-251EA258D963}</Project>
|
||||||
|
<Name>ConfigurationHandler</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\Interfaces\Interfaces.csproj">
|
||||||
|
<Project>{B7347B72-E208-423A-9D99-723B558EA3D7}</Project>
|
||||||
|
<Name>Interfaces</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\SQLiteRepository\SQLiteRepository.csproj">
|
||||||
|
<Project>{B3510C81-F069-48A2-B826-EBE0CE7AB0B2}</Project>
|
||||||
|
<Name>SQLiteRepository</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<PreBuildEvent>call "$(ProjectDir)Minifier\Minify.bat" "$(SolutionDir)"</PreBuildEvent>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="..\packages\System.Data.SQLite.Core.1.0.104.0\build\net451\System.Data.SQLite.Core.targets" Condition="Exists('..\packages\System.Data.SQLite.Core.1.0.104.0\build\net451\System.Data.SQLite.Core.targets')" />
|
||||||
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||||
|
<PropertyGroup>
|
||||||
|
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Error Condition="!Exists('..\packages\System.Data.SQLite.Core.1.0.104.0\build\net451\System.Data.SQLite.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\System.Data.SQLite.Core.1.0.104.0\build\net451\System.Data.SQLite.Core.targets'))" />
|
||||||
|
</Target>
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
<Target Name="BeforeBuild">
|
<Target Name="BeforeBuild">
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="AfterBuild">
|
<Target Name="AfterBuild">
|
||||||
</Target>
|
</Target>
|
||||||
-->
|
-->
|
||||||
</Project>
|
</Project>
|
||||||
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ProjectView>ProjectFiles</ProjectView>
|
<ProjectView>ProjectFiles</ProjectView>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@ -1,32 +1,33 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
<package id="Castle.Core" version="4.2.0" targetFramework="net452" />
|
<package id="Castle.Core" version="4.2.0" targetFramework="net452" />
|
||||||
<package id="DalSoft.WebApi.HelpPage" version="0.0.7.0" targetFramework="net452" />
|
<package id="DalSoft.WebApi.HelpPage" version="0.0.7.0" targetFramework="net452" />
|
||||||
<package id="Microsoft.AspNet.Razor" version="3.0.0" targetFramework="net452" />
|
<package id="Microsoft.AspNet.Razor" version="3.0.0" targetFramework="net452" />
|
||||||
<package id="Microsoft.AspNet.WebApi" version="5.0.0" targetFramework="net452" />
|
<package id="Microsoft.AspNet.WebApi" version="5.0.0" targetFramework="net452" />
|
||||||
<package id="Microsoft.AspNet.WebApi.Client" version="5.2.3" targetFramework="net452" />
|
<package id="Microsoft.AspNet.WebApi.Client" version="5.2.3" targetFramework="net452" />
|
||||||
<package id="Microsoft.AspNet.WebApi.Core" version="5.2.3" targetFramework="net452" />
|
<package id="Microsoft.AspNet.WebApi.Core" version="5.2.3" targetFramework="net452" />
|
||||||
<package id="Microsoft.AspNet.WebApi.Owin" version="5.2.3" targetFramework="net452" />
|
<package id="Microsoft.AspNet.WebApi.Owin" version="5.2.3" targetFramework="net452" />
|
||||||
<package id="Microsoft.AspNet.WebApi.OwinSelfHost" version="5.2.3" targetFramework="net452" />
|
<package id="Microsoft.AspNet.WebApi.OwinSelfHost" version="5.2.3" targetFramework="net452" />
|
||||||
<package id="Microsoft.AspNet.WebApi.WebHost" version="5.0.0" targetFramework="net452" />
|
<package id="Microsoft.AspNet.WebApi.WebHost" version="5.0.0" targetFramework="net452" />
|
||||||
<package id="Microsoft.Owin" version="3.1.0" targetFramework="net452" />
|
<package id="Microsoft.Owin" version="3.1.0" targetFramework="net452" />
|
||||||
<package id="Microsoft.Owin.FileSystems" version="3.0.1" targetFramework="net452" />
|
<package id="Microsoft.Owin.FileSystems" version="3.0.1" targetFramework="net452" />
|
||||||
<package id="Microsoft.Owin.Host.HttpListener" version="3.0.1" targetFramework="net452" />
|
<package id="Microsoft.Owin.Host.HttpListener" version="3.0.1" targetFramework="net452" />
|
||||||
<package id="Microsoft.Owin.Hosting" version="3.0.1" targetFramework="net452" />
|
<package id="Microsoft.Owin.Hosting" version="3.0.1" targetFramework="net452" />
|
||||||
<package id="Microsoft.Owin.StaticFiles" version="3.0.1" targetFramework="net452" />
|
<package id="Microsoft.Owin.StaticFiles" version="3.0.1" targetFramework="net452" />
|
||||||
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net452" />
|
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net452" />
|
||||||
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net452" />
|
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net452" />
|
||||||
<package id="Ninject" version="3.3.4" targetFramework="net452" />
|
<package id="Ninject" version="3.3.4" targetFramework="net452" />
|
||||||
<package id="Ninject.Extensions.ContextPreservation" version="3.3.1" targetFramework="net452" />
|
<package id="Ninject.Extensions.ContextPreservation" version="3.3.1" targetFramework="net452" />
|
||||||
<package id="Ninject.Extensions.Factory" version="3.3.2" targetFramework="net452" />
|
<package id="Ninject.Extensions.Factory" version="3.3.2" targetFramework="net452" />
|
||||||
<package id="Ninject.Extensions.NamedScope" version="3.3.0" targetFramework="net452" />
|
<package id="Ninject.Extensions.NamedScope" version="3.3.0" targetFramework="net452" />
|
||||||
<package id="Ninject.Extensions.Xml" version="3.3.0" targetFramework="net452" />
|
<package id="Ninject.Extensions.Xml" version="3.3.0" targetFramework="net452" />
|
||||||
<package id="Ninject.Web.Common" version="3.3.1" targetFramework="net452" />
|
<package id="Ninject.Web.Common" version="3.3.1" targetFramework="net452" />
|
||||||
<package id="Ninject.Web.Common.OwinHost" version="3.3.1" targetFramework="net452" />
|
<package id="Ninject.Web.Common.OwinHost" version="3.3.1" targetFramework="net452" />
|
||||||
<package id="Ninject.Web.WebApi" version="3.3.0" targetFramework="net452" />
|
<package id="Ninject.Web.Common.WebHost" version="3.3.1" targetFramework="net452" />
|
||||||
<package id="Ninject.Web.WebApi.OwinHost" version="3.3.0" targetFramework="net452" />
|
<package id="Ninject.Web.WebApi" version="3.3.0" targetFramework="net452" />
|
||||||
<package id="Owin" version="1.0" targetFramework="net452" />
|
<package id="Ninject.Web.WebApi.OwinHost" version="3.3.0" targetFramework="net452" />
|
||||||
<package id="RazorEngine" version="3.7.2" targetFramework="net452" />
|
<package id="Owin" version="1.0" targetFramework="net452" />
|
||||||
<package id="System.Data.SQLite.Core" version="1.0.104.0" targetFramework="net452" />
|
<package id="RazorEngine" version="3.7.2" targetFramework="net452" />
|
||||||
<package id="WebActivatorEx" version="2.0" targetFramework="net452" />
|
<package id="System.Data.SQLite.Core" version="1.0.104.0" targetFramework="net452" />
|
||||||
|
<package id="WebActivatorEx" version="2.2.0" targetFramework="net452" />
|
||||||
</packages>
|
</packages>
|
||||||
@ -1,109 +1,171 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|
||||||
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<title>Flexitime Admin page</title>
|
<title>Flexitime Admin page</title>
|
||||||
<link rel="stylesheet preload" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
|
<link rel="stylesheet preload" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
|
||||||
<link href="spa.min.css" rel="stylesheet" />
|
<link href="spa.min.css" rel="stylesheet" />
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
|
||||||
|
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/knockout/3.0.0/knockout-min.js" type="text/javascript"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/knockout/3.0.0/knockout-min.js" type="text/javascript"></script>
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/sammy.js/0.7.6/sammy.js" type="text/javascript"></script>
|
<script src="https://cdn.jsdelivr.net/momentjs/2.10.6/moment.min.js" type="text/javascript"></script>
|
||||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/sammy.js/0.7.6/sammy.js" type="text/javascript"></script>
|
||||||
</head>
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
||||||
<body>
|
<link rel="stylesheet" href="css/easymde.min.css" />
|
||||||
<nav class="navbar navbar-default">
|
<link rel="stylesheet" href="css/highlightjs.min.css" />
|
||||||
<div class="container-fluid">
|
</head>
|
||||||
<!-- Brand and toggle get grouped for better mobile display -->
|
<body>
|
||||||
<div class="navbar-header">
|
<nav class="navbar navbar-default">
|
||||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
|
<div class="container-fluid">
|
||||||
<span class="sr-only">Toggle navigation</span>
|
<!-- Brand and toggle get grouped for better mobile display -->
|
||||||
<span class="icon-bar"></span>
|
<div class="navbar-header">
|
||||||
<span class="icon-bar"></span>
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
|
||||||
<span class="icon-bar"></span>
|
<span class="sr-only">Toggle navigation</span>
|
||||||
</button>
|
<span class="icon-bar"></span>
|
||||||
<a class="navbar-brand" href="#">Big Brother</a>
|
<span class="icon-bar"></span>
|
||||||
</div>
|
<span class="icon-bar"></span>
|
||||||
|
</button>
|
||||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
<a class="navbar-brand" href="#">Big Brother</a>
|
||||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
</div>
|
||||||
<ul class="nav navbar-nav">
|
|
||||||
<li><a class="indent-nav-xs" href="index.html">Home</a></li>
|
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||||
<li class="hidden-xs">
|
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||||
<a data-toggle="modal" data-target="#aboutDialog">About</a>
|
<ul class="nav navbar-nav">
|
||||||
</li>
|
<li><a class="indent-nav-xs" href="index.html">Home</a></li>
|
||||||
</ul>
|
<li class="hidden-xs">
|
||||||
</div>
|
<a data-toggle="modal" data-target="#aboutDialog">About</a>
|
||||||
</div>
|
</li>
|
||||||
</nav>
|
</ul>
|
||||||
<div id="GroupAdminPage" class="container">
|
</div>
|
||||||
<div class="row">
|
</div>
|
||||||
<h2 class="col-md-4">Groups</h2>
|
</nav>
|
||||||
<button class="col-md-1 btn btn-default pull-right" style="margin-top: 20px;" data-bind="click: $root.newGroupForm">
|
<div id="GroupAdminPage" class="container">
|
||||||
<span class="glyphicon glyphicon-plus"></span>
|
<div class="row">
|
||||||
</button>
|
<h2 class="col-md-4">Groups</h2>
|
||||||
</div>
|
<button class="col-md-1 btn btn-default pull-right" style="margin-top: 20px;" data-bind="click: $root.newGroupForm">
|
||||||
<hr/>
|
<span class="glyphicon glyphicon-plus"></span>
|
||||||
<div class="row">
|
</button>
|
||||||
<div data-bind="with: groupsList, css:{'col-md-8': !$root.groupFormHidden(), 'col-md-12':$root.groupFormHidden()}">
|
</div>
|
||||||
<table class="table table-striped">
|
<hr />
|
||||||
<thead>
|
<div class="row">
|
||||||
<tr>
|
<div data-bind="with: groupsList, css:{'col-md-8': !$root.groupFormHidden(), 'col-md-12':$root.groupFormHidden()}">
|
||||||
<th>Name</th>
|
<table class="table table-striped">
|
||||||
<th class="col-md-3">User Count</th>
|
<thead>
|
||||||
<th class="col-md-1"></th>
|
<tr>
|
||||||
</tr>
|
<th>Name</th>
|
||||||
</thead>
|
<th class="col-md-3">User Count</th>
|
||||||
<tbody data-bind="foreach: Groups">
|
<th class="col-md-1"></th>
|
||||||
<tr data-bind="click: $root.editGroupClick">
|
</tr>
|
||||||
<td class="valign" data-bind="text: Name"></td>
|
</thead>
|
||||||
<td class="valign" data-bind="text: UserCount"></td>
|
<tbody data-bind="foreach: Groups">
|
||||||
<td><button class="btn btn-link" data-bind="enable: UserCount=='0', click: function(data, event){$root.deleteGroup(Id);}" type="button">Delete</button></td>
|
<tr data-bind="click: $root.editGroupClick">
|
||||||
</tr>
|
<td class="valign" data-bind="text: Name"></td>
|
||||||
</tbody>
|
<td class="valign" data-bind="text: UserCount"></td>
|
||||||
</table>
|
<td><button class="btn btn-link" data-bind="enable: UserCount=='0', click: function(data, event){$root.deleteGroup(Id);}" type="button">Delete</button></td>
|
||||||
</div>
|
</tr>
|
||||||
<form method="post" action="#editgroup" data-bind="with: $root.groupEditItem(), css:{'col-md-4':!$root.groupFormHidden()}">
|
</tbody>
|
||||||
<input type="hidden" name="id" data-bind="value: Id">
|
</table>
|
||||||
<div class="form-group">
|
</div>
|
||||||
<label for="groupNameEdit">Group Name</label>
|
<form method="post" action="#editgroup" data-bind="with: $root.groupEditItem(), css:{'col-md-4':!$root.groupFormHidden()}">
|
||||||
<input for="Name" type="text" class="form-control" id="groupNameEdit" placeholder="Group Name" data-bind="value: Name"/>
|
<input type="hidden" name="id" data-bind="value: Id">
|
||||||
</div>
|
<div class="form-group">
|
||||||
<button pageDestination="Users" class="btn btn-secondary" type="button"
|
<label for="groupNameEdit">Group Name</label>
|
||||||
data-bind="click: $root.hideGroupForm">Cancel</button>
|
<input for="Name" type="text" class="form-control" id="groupNameEdit" placeholder="Group Name" data-bind="value: Name" />
|
||||||
|
</div>
|
||||||
<button type="submit" class="btn btn-primary">Submit</button>
|
<button pageDestination="Users" class="btn btn-secondary" type="button"
|
||||||
</form>
|
data-bind="click: $root.hideGroupForm">
|
||||||
</div>
|
Cancel
|
||||||
</div>
|
</button>
|
||||||
<div id="CardManagement" class="container">
|
|
||||||
<div class="row">
|
<button type="submit" class="btn btn-primary">Submit</button>
|
||||||
<h2 class="col-md-4">Unassigned Cards</h2>
|
</form>
|
||||||
<button class="col-md-1 btn btn-default pull-right" style="margin-top: 20px;" data-bind="click: $root.clearUnassignedCards">
|
</div>
|
||||||
<span class="glyphicon glyphicon-trash"></span>
|
</div>
|
||||||
</button>
|
<div id="CardManagement" class="container">
|
||||||
</div>
|
<div class="row">
|
||||||
<div class="row">
|
<h2 class="col-md-4">Unassigned Cards</h2>
|
||||||
<div data-bind="with: unassignedCardList">
|
<button class="col-md-1 btn btn-default pull-right" style="margin-top: 20px;" data-bind="click: $root.clearUnassignedCards">
|
||||||
<table class="table table-striped">
|
<span class="glyphicon glyphicon-trash"></span>
|
||||||
<thead>
|
</button>
|
||||||
<tr>
|
</div>
|
||||||
<th>Card Unique Id</th>
|
<div class="row">
|
||||||
<th>Last Used Date</th>
|
<div data-bind="with: unassignedCardList">
|
||||||
</tr>
|
<table class="table table-striped">
|
||||||
</thead>
|
<thead>
|
||||||
<tbody data-bind="foreach: data">
|
<tr>
|
||||||
<tr>
|
<th>Card Unique Id</th>
|
||||||
<td data-bind="text: UniqueId"></td>
|
<th>Last Used Date</th>
|
||||||
<td data-bind="text: $root.convertToDisplayDateTime(LastUsed)"></td>
|
</tr>
|
||||||
</tr>
|
</thead>
|
||||||
</tbody>
|
<tbody data-bind="foreach: data">
|
||||||
</table>
|
<tr>
|
||||||
</div>
|
<td data-bind="text: UniqueId"></td>
|
||||||
</div>
|
<td data-bind="text: $root.convertToDisplayDateTime(LastUsed)"></td>
|
||||||
</div>
|
</tr>
|
||||||
<script src="Helpers.min.js" type="text/javascript"></script>
|
</tbody>
|
||||||
<script src="admin.js" type="text/javascript"></script>
|
</table>
|
||||||
</body>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="PolicyManagement" class="container">
|
||||||
|
<div id="row">
|
||||||
|
<ul class="nav nav-tabs">
|
||||||
|
<li class="active"><a href="#edit" data-toggle="tab">Edit</a></li>
|
||||||
|
<li><a href="#preview" data-toggle="tab">Preview</a></li>
|
||||||
|
</ul>
|
||||||
|
<div class="tab-content" style="max-height: 500px; min-height: 400px;overflow-y: auto">
|
||||||
|
<div id="edit" class="tab-pane fade in active">
|
||||||
|
<textarea id="policyEditor"></textarea>
|
||||||
|
</div>
|
||||||
|
<div id="preview" class="tab-pane fade in">
|
||||||
|
<div data-bind="html: policyData.html" class="well-lg"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<button class="btn btn-primary pull-right" data-toggle="modal" data-target="#saveDialog">Save</button><!--data-bind="click: $root.policySave"-->
|
||||||
|
<button class="btn btn-secondary pull-right" data-bind="click: $root.policyReload">Cancel</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="saveDialog" class="modal fade" role="dialog">
|
||||||
|
<div class="modal-dialog">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||||
|
<h4>Change Details</h4>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<table class="table">
|
||||||
|
<tr>
|
||||||
|
<th>Change Author</th>
|
||||||
|
<td><input class="form-control" id="changeAuthorInput" type="text" data-bind="value: policyData.ChangeAuthor" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>Change Date</th>
|
||||||
|
<td><input class="form-control" id="changeDatePicker" type="datetime-local" data-bind="value: policyData.ChangeDate" /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>Version</th>
|
||||||
|
<td><input class="form-control" id="versionInput" type="text" data-bind="value: policyData.Version" readonly /></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>Change Description</th>
|
||||||
|
<td><input class="form-control" id="changeDescription" type="text" data-bind="value: policyData.ChangeDescription" /></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button class="btn btn-primary pull-right" data-bind="click: $root.policySave">Save</button>
|
||||||
|
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<script src="js/PolicyObject.js" type="text/javascript"></script>
|
||||||
|
<script src="Helpers.min.js" type="text/javascript"></script>
|
||||||
|
<script src="js/easymde.min.js" type="text/javascript"></script>
|
||||||
|
<script src="js/highlightjs.min.js" type="text/javascript"></script>
|
||||||
|
<script src="js/htmlparser.min.js" type="text/javascript"></script>
|
||||||
|
<script src="js/marked.min.js"></script>
|
||||||
|
<script src="admin.js" type="text/javascript"></script>
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@ -1,126 +1,221 @@
|
|||||||
function AdminVM() {
|
function AdminVM() {
|
||||||
var self = this;
|
var self = this;
|
||||||
self.groupsList = ko.observable(null);
|
self.groupsList = ko.observable(null);
|
||||||
self.groupEditItem = ko.observable(null);
|
self.groupEditItem = ko.observable(null);
|
||||||
self.unassignedCardList = ko.observable(null);
|
self.unassignedCardList = ko.observable(null);
|
||||||
self.helpers = new Helpers();
|
self.helpers = new Helpers();
|
||||||
self.uiPages = {
|
self.policyMarkdown = "";
|
||||||
overview: "overview",
|
self.policyData = new policy();
|
||||||
group: "groups",
|
self.renderer = new marked.Renderer();
|
||||||
home: function () { return this.overview; }
|
self.renderer.blockquote = function(quote) {
|
||||||
};
|
return "<blockquote class=\"blockquote\">" + quote + "</blockquote>";
|
||||||
self.apiEndpoints = {
|
};
|
||||||
deleteGroups:"/api/groups/delete",
|
self.renderer.heading = function (text, level) {
|
||||||
getGroups: "/api/groups",
|
|
||||||
editGroup: "/api/groups/edit",
|
var parserHandler = new Tautologistics.NodeHtmlParser.DefaultHandler(function (error) {
|
||||||
getUnassignedCards: "/api/cards/unassigned",
|
if (error)
|
||||||
clearUnassignedCards: "/api/cards/unassigned"
|
throw new Error("Cannot parse \"" + text + "\" in markdown file.");
|
||||||
};
|
});
|
||||||
self.clearGroupForm = function () {
|
var parser = new Tautologistics.NodeHtmlParser.Parser(parserHandler);
|
||||||
self.helpers.goToMenuOption(self.uiPages.group);
|
|
||||||
self.groupEditItem(null);
|
parser.parseComplete(text);
|
||||||
};
|
var escaped = "unknown";
|
||||||
self.hideGroupForm = function () {
|
|
||||||
self.groupEditItem(null);
|
if (parserHandler.dom.length > 0) {
|
||||||
};
|
escaped = parserHandler.dom[0].raw.toLowerCase().trim().replace(/ /g, "-");
|
||||||
self.newGroupForm = function () {
|
}
|
||||||
self.groupEditItem({ Id: -1, Name: "" });
|
|
||||||
self.helpers.goToMenuOption(self.uiPages.group);
|
return "<h" + level + " id=\"" + escaped + "\">"
|
||||||
};
|
// NOTE: We're setting display none INLINE, so you have
|
||||||
self.groupFormHidden = ko.computed(function () {
|
// to override with !important if you want it to show.
|
||||||
return self.groupEditItem() == null;
|
+ " <a class=\"heading-anchor\" style=\"display:none;\" href=\"#" + escaped + '">'
|
||||||
}, self);
|
+ " <i class=\"oi oi-link-intact\"></i>"
|
||||||
self.editGroupClick = function (data) {
|
+ " </a>"
|
||||||
self.helpers.goToMenuOption(self.uiPages.group);
|
+ text
|
||||||
self.groupEditItem(data);
|
+ "</h" + level + ">";
|
||||||
};
|
};
|
||||||
self.getGroups = function () {
|
self.renderer.table = function(header, body) {
|
||||||
var url = self.helpers.createRequestUrl(self.apiEndpoints.getGroups, null, false);
|
return "<table class=\"table\">" +
|
||||||
$.getJSON(url, function (res) {
|
"<thead class=\"thead-default\">" +
|
||||||
self.groupsList(res);
|
header +
|
||||||
}).fail(function (resp, status, error) {
|
"</thead>" +
|
||||||
console.log("error - getGroups");
|
"<tbody>" +
|
||||||
var errorObj = self.helpers.processRequestFailure(resp, status, error);
|
body +
|
||||||
});
|
"</tbody>" +
|
||||||
};
|
"</table>";
|
||||||
self.deleteGroup = function (groupId) {
|
};
|
||||||
var url = self.helpers.createRequestUrl(self.apiEndpoints.deleteGroups,
|
/*
|
||||||
[{ key: "groupId", value: groupId }],
|
* Adds highlight.js classes to `code` blocks
|
||||||
false,
|
*/
|
||||||
false);
|
self.renderer.code = function(code, language) {
|
||||||
$.ajax({
|
|
||||||
url: url,
|
var valid = !!(language && hljs.getLanguage(language));
|
||||||
type: 'DELETE',
|
var highlighted = valid ? hljs.highlight(language, code).value : code
|
||||||
success: function () {
|
|
||||||
console.log("deleted " + groupId);
|
return "<pre><code class=\"hljs lang-" + language + "\">" + highlighted + "</code></pre>";
|
||||||
self.hideGroupForm();
|
};
|
||||||
self.helpers.goToMenuOption(self.uiPages.home());
|
self.editor = new EasyMDE({
|
||||||
}
|
element: document.getElementById("policyEditor"),
|
||||||
});
|
showIcons: ["bold", "italic", "strikethrough", "heading", "heading-smaller", "heading-bigger", "heading-1", "heading-2", "heading-3", "code", "quote", "unordered-list", "ordered-list", "clean-block", "link", "table", "horizontal-rule", "guide", "table"],
|
||||||
console.log("delete: " + groupId);
|
hideIcons: ["preview", "side-by-side", "fullscreen"],
|
||||||
};
|
renderingConfig: {
|
||||||
self.submitGroupEdit = function(group) {
|
markedOptions: {
|
||||||
var url = self.helpers.createRequestUrl(self.apiEndpoints.editGroup, null, false);
|
renderer: self.renderer
|
||||||
$.post(url, group, function () {
|
}
|
||||||
}, "json")
|
}
|
||||||
.done(function () {
|
});
|
||||||
self.groupEditItem(null);
|
self.editor.codemirror.on("changes",
|
||||||
self.helpers.goToMenuOption(self.uiPages.home());
|
function () {
|
||||||
})
|
self.policyData.html(self.editor.options.previewRender(self.editor.value()));
|
||||||
.fail(function (resp, status, error) {
|
});
|
||||||
self.helpers.goToMenuOption(self.uiPages.home());
|
self.uiPages = {
|
||||||
var errorObj = self.helpers.processRequestFailure(resp, status, error);
|
overview: "overview",
|
||||||
});
|
group: "groups",
|
||||||
};
|
home: function () { return this.overview; }
|
||||||
self.getUnassignedCardData = function() {
|
};
|
||||||
var url = self.helpers.createRequestUrl(self.apiEndpoints.getUnassignedCards, null, false);
|
self.apiEndpoints = {
|
||||||
$.getJSON(url,
|
deleteGroups:"/api/groups/delete",
|
||||||
function(res) {
|
getGroups: "/api/groups",
|
||||||
self.unassignedCardList(res);
|
editGroup: "/api/groups/edit",
|
||||||
}).fail(function(resp, status, error) {
|
getUnassignedCards: "/api/cards/unassigned",
|
||||||
console.log("error - getUnassignedCards");
|
clearUnassignedCards: "/api/cards/unassigned",
|
||||||
var errorObj = self.helpers.processRequestFailure(resp, status, error);
|
getPolicy:"/api/app/policy",
|
||||||
});
|
savePolicy:"/api/app/policy"
|
||||||
};
|
};
|
||||||
self.clearUnassignedCards = function() {
|
self.clearGroupForm = function () {
|
||||||
var url = self.helpers.createRequestUrl(self.apiEndpoints.clearUnassignedCards, null, false);
|
self.helpers.goToMenuOption(self.uiPages.group);
|
||||||
$.ajax({
|
self.groupEditItem(null);
|
||||||
type: "DELETE",
|
};
|
||||||
url: url,
|
self.hideGroupForm = function () {
|
||||||
data: "",
|
self.groupEditItem(null);
|
||||||
success: function() {
|
};
|
||||||
self.getUnassignedCardData(); //update
|
self.newGroupForm = function () {
|
||||||
},
|
self.groupEditItem({ Id: -1, Name: "" });
|
||||||
error: function(jqxhr, status, error) {
|
self.helpers.goToMenuOption(self.uiPages.group);
|
||||||
console.log("error - clearUnassignedCards");
|
};
|
||||||
var errorObj = self.helpers.processRequestFailure(resp, status, error);
|
self.groupFormHidden = ko.computed(function () {
|
||||||
}
|
return self.groupEditItem() == null;
|
||||||
});
|
}, self);
|
||||||
};
|
self.editGroupClick = function (data) {
|
||||||
self.padNumber = function (number) {
|
self.helpers.goToMenuOption(self.uiPages.group);
|
||||||
return (number < 10 ? "0" : "") + number;
|
self.groupEditItem(data);
|
||||||
};
|
};
|
||||||
self.convertToDisplayDateTime = function (dateValue) {
|
self.getGroups = function () {
|
||||||
var date = new Date(dateValue); // dd MM YY HH:mm:ss e.g.: 01 Mar 17 17:34:02
|
var url = self.helpers.createRequestUrl(self.apiEndpoints.getGroups, null, false);
|
||||||
return date.getDate() + " "
|
$.getJSON(url, function (res) {
|
||||||
+ date.toLocaleString("en-us", { month: "long" }) + " "
|
self.groupsList(res);
|
||||||
+ (date.getYear()-100) + " "
|
}).fail(function (resp, status, error) {
|
||||||
+ self.padNumber(date.getHours()) + ":"
|
console.log("error - getGroups");
|
||||||
+ self.padNumber(date.getMinutes()) + ":"
|
var errorObj = self.helpers.processRequestFailure(resp, status, error);
|
||||||
+ self.padNumber(date.getSeconds());
|
});
|
||||||
};
|
};
|
||||||
Sammy(function () {
|
self.deleteGroup = function (groupId) {
|
||||||
this.disable_push_state = true;
|
var url = self.helpers.createRequestUrl(self.apiEndpoints.deleteGroups,
|
||||||
this.get("#overview", function () {
|
[{ key: "groupId", value: groupId }],
|
||||||
self.getGroups();
|
false,
|
||||||
self.getUnassignedCardData();
|
false);
|
||||||
});
|
$.ajax({
|
||||||
this.post("#editgroup", function () {
|
url: url,
|
||||||
self.submitGroupEdit(self.groupEditItem());
|
type: "DELETE",
|
||||||
return false;
|
success: function () {
|
||||||
});
|
console.log("deleted " + groupId);
|
||||||
//default route (home page)
|
self.hideGroupForm();
|
||||||
this.get("", function () { this.app.runRoute("get", "#" + self.uiPages.home()) });
|
self.helpers.goToMenuOption(self.uiPages.home());
|
||||||
}).run();
|
}
|
||||||
};
|
});
|
||||||
|
console.log("delete: " + groupId);
|
||||||
|
};
|
||||||
|
self.submitGroupEdit = function(group) {
|
||||||
|
var url = self.helpers.createRequestUrl(self.apiEndpoints.editGroup, null, false);
|
||||||
|
$.post(url, group, function () {
|
||||||
|
}, "json")
|
||||||
|
.done(function () {
|
||||||
|
self.groupEditItem(null);
|
||||||
|
self.helpers.goToMenuOption(self.uiPages.home());
|
||||||
|
})
|
||||||
|
.fail(function (resp, status, error) {
|
||||||
|
self.helpers.goToMenuOption(self.uiPages.home());
|
||||||
|
var errorObj = self.helpers.processRequestFailure(resp, status, error);
|
||||||
|
});
|
||||||
|
};
|
||||||
|
self.getUnassignedCardData = function() {
|
||||||
|
var url = self.helpers.createRequestUrl(self.apiEndpoints.getUnassignedCards, null, false);
|
||||||
|
$.getJSON(url,
|
||||||
|
function(res) {
|
||||||
|
self.unassignedCardList(res);
|
||||||
|
}).fail(function(resp, status, error) {
|
||||||
|
console.log("error - getUnassignedCards");
|
||||||
|
var errorObj = self.helpers.processRequestFailure(resp, status, error);
|
||||||
|
});
|
||||||
|
};
|
||||||
|
self.clearUnassignedCards = function() {
|
||||||
|
var url = self.helpers.createRequestUrl(self.apiEndpoints.clearUnassignedCards, null, false);
|
||||||
|
$.ajax({
|
||||||
|
type: "DELETE",
|
||||||
|
url: url,
|
||||||
|
data: "",
|
||||||
|
success: function() {
|
||||||
|
self.getUnassignedCardData(); //update
|
||||||
|
},
|
||||||
|
error: function(jqxhr, status, error) {
|
||||||
|
console.log("error - clearUnassignedCards");
|
||||||
|
var errorObj = self.helpers.processRequestFailure(resp, status, error);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
};
|
||||||
|
self.padNumber = function (number) {
|
||||||
|
return (number < 10 ? "0" : "") + number;
|
||||||
|
};
|
||||||
|
self.policySave = function () {
|
||||||
|
var url = self.helpers.createRequestUrl(self.apiEndpoints.savePolicy, null, false);
|
||||||
|
self.policyData.Markdown(self.editor.value()); //make sure we update it, as it doesnt push the value back into the variable
|
||||||
|
//console.log(self.policyData());
|
||||||
|
$.post(url, self.policyData(), function() {
|
||||||
|
}, "json") //todo: check this serialisation as the object is now complex.
|
||||||
|
.done(function() {
|
||||||
|
self.policyReload();
|
||||||
|
}).fail(function(resp, status, error) {
|
||||||
|
var errorObj = self.helpers.processRequestFailure(resp, status, error);
|
||||||
|
console.log(errorObj);
|
||||||
|
});
|
||||||
|
};
|
||||||
|
self.policyReload = function() {
|
||||||
|
var url = self.helpers.createRequestUrl(self.apiEndpoints.getPolicy,
|
||||||
|
[], false, false);
|
||||||
|
$.getJSON(url, function (res) {
|
||||||
|
//console.log(res);
|
||||||
|
self.editor.value(res.Markdown);
|
||||||
|
res.Version = (parseInt(res.Version) + 1).toString();
|
||||||
|
self.policyData.update(res);
|
||||||
|
$('#saveDialog').modal('hide');
|
||||||
|
}).fail(function (resp, status, error) {
|
||||||
|
console.log("error - policyReload");
|
||||||
|
var errObj = self.helpers.processRequestFailure(resp, status, error);
|
||||||
|
self.assignErrorObject(errObj.errorCode, errObj.errorMessage, "policyReload");
|
||||||
|
});
|
||||||
|
};
|
||||||
|
self.convertToDisplayDateTime = function (dateValue) {
|
||||||
|
var date = new Date(dateValue); // dd MM YY HH:mm:ss e.g.: 01 Mar 17 17:34:02
|
||||||
|
return date.getDate() + " "
|
||||||
|
+ date.toLocaleString("en-us", { month: "long" }) + " "
|
||||||
|
+ (date.getYear()-100) + " "
|
||||||
|
+ self.padNumber(date.getHours()) + ":"
|
||||||
|
+ self.padNumber(date.getMinutes()) + ":"
|
||||||
|
+ self.padNumber(date.getSeconds());
|
||||||
|
};
|
||||||
|
Sammy(function () {
|
||||||
|
this.disable_push_state = true;
|
||||||
|
this.get("#overview", function () {
|
||||||
|
self.getGroups();
|
||||||
|
self.getUnassignedCardData();
|
||||||
|
self.policyReload();
|
||||||
|
});
|
||||||
|
this.post("#editgroup", function () {
|
||||||
|
self.submitGroupEdit(self.groupEditItem());
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
//default route (home page)
|
||||||
|
this.get("", function () { this.app.runRoute("get", "#" + self.uiPages.home()) });
|
||||||
|
}).run();
|
||||||
|
};
|
||||||
ko.applyBindings(new AdminVM());
|
ko.applyBindings(new AdminVM());
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
7
DataCenter_Windows/WindowsDataCenter/WindowsDataCenter/www/css/easymde.min.css
vendored
Normal file
7
DataCenter_Windows/WindowsDataCenter/WindowsDataCenter/www/css/easymde.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
DataCenter_Windows/WindowsDataCenter/WindowsDataCenter/www/css/highlightjs.min.css
vendored
Normal file
1
DataCenter_Windows/WindowsDataCenter/WindowsDataCenter/www/css/highlightjs.min.css
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.hljs{display:block;overflow-x:auto;padding:.5em;background:#F0F0F0}.hljs,.hljs-subst{color:#444}.hljs-comment{color:#888888}.hljs-keyword,.hljs-attribute,.hljs-selector-tag,.hljs-meta-keyword,.hljs-doctag,.hljs-name{font-weight:bold}.hljs-type,.hljs-string,.hljs-number,.hljs-selector-id,.hljs-selector-class,.hljs-quote,.hljs-template-tag,.hljs-deletion{color:#880000}.hljs-title,.hljs-section{color:#880000;font-weight:bold}.hljs-regexp,.hljs-symbol,.hljs-variable,.hljs-template-variable,.hljs-link,.hljs-selector-attr,.hljs-selector-pseudo{color:#BC6060}.hljs-literal{color:#78A960}.hljs-built_in,.hljs-bullet,.hljs-code,.hljs-addition{color:#397300}.hljs-meta{color:#1f7199}.hljs-meta-string{color:#4d99bf}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:bold}
|
||||||
@ -1,59 +1,59 @@
|
|||||||
/* knockout.contextmenu v1.0.0
|
/* knockout.contextmenu v1.0.0
|
||||||
Nicolás Escalante - nlante@gmail.com
|
Nicolás Escalante - nlante@gmail.com
|
||||||
Issues: https://github.com/nescalante/knockout.contextmenu/issues
|
Issues: https://github.com/nescalante/knockout.contextmenu/issues
|
||||||
License: MIT */
|
License: MIT */
|
||||||
|
|
||||||
.context-menu {
|
.context-menu {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
z-index: 1030;
|
z-index: 1030;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
}
|
}
|
||||||
.context-menu ul {
|
.context-menu ul {
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
border: 1px solid #dddddd;
|
border: 1px solid #dddddd;
|
||||||
box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
|
box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
|
||||||
}
|
}
|
||||||
.context-menu ul > li {
|
.context-menu ul > li {
|
||||||
padding: 4px 20px;
|
padding: 4px 20px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
z-index: 1031;
|
z-index: 1031;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
}
|
}
|
||||||
.context-menu ul > li:hover {
|
.context-menu ul > li:hover {
|
||||||
background-color: #eeeeee;
|
background-color: #eeeeee;
|
||||||
}
|
}
|
||||||
.context-menu ul > li.disabled,
|
.context-menu ul > li.disabled,
|
||||||
.context-menu ul > li.disabled a {
|
.context-menu ul > li.disabled a {
|
||||||
color: #666666;
|
color: #666666;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
.context-menu ul > li.checked:before {
|
.context-menu ul > li.checked:before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
content: "\2713";
|
content: "\2713";
|
||||||
left: 7px;
|
left: 7px;
|
||||||
}
|
}
|
||||||
.context-menu ul > li.with-url {
|
.context-menu ul > li.with-url {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
.context-menu ul > li.with-url a {
|
.context-menu ul > li.with-url a {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 4px 20px;
|
padding: 4px 20px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
}
|
}
|
||||||
.context-menu ul > li.separator {
|
.context-menu ul > li.separator {
|
||||||
margin: 4px 0;
|
margin: 4px 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border-bottom: 1px solid #cccccc;
|
border-bottom: 1px solid #cccccc;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
.context-menu ul > li.separator:hover {
|
.context-menu ul > li.separator:hover {
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
}
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@ -1,459 +1,459 @@
|
|||||||
/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
|
/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
|
||||||
html {
|
html {
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
line-height: 1.15;
|
line-height: 1.15;
|
||||||
-ms-text-size-adjust: 100%;
|
-ms-text-size-adjust: 100%;
|
||||||
-webkit-text-size-adjust: 100%;
|
-webkit-text-size-adjust: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
article,
|
article,
|
||||||
aside,
|
aside,
|
||||||
footer,
|
footer,
|
||||||
header,
|
header,
|
||||||
nav,
|
nav,
|
||||||
section {
|
section {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
margin: 0.67em 0;
|
margin: 0.67em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
figcaption,
|
figcaption,
|
||||||
figure,
|
figure,
|
||||||
main {
|
main {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
figure {
|
figure {
|
||||||
margin: 1em 40px;
|
margin: 1em 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
-webkit-box-sizing: content-box;
|
-webkit-box-sizing: content-box;
|
||||||
box-sizing: content-box;
|
box-sizing: content-box;
|
||||||
height: 0;
|
height: 0;
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
font-family: monospace, monospace;
|
font-family: monospace, monospace;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
-webkit-text-decoration-skip: objects;
|
-webkit-text-decoration-skip: objects;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:active,
|
a:active,
|
||||||
a:hover {
|
a:hover {
|
||||||
outline-width: 0;
|
outline-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
abbr[title] {
|
abbr[title] {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
text-decoration: underline dotted;
|
text-decoration: underline dotted;
|
||||||
}
|
}
|
||||||
|
|
||||||
b,
|
b,
|
||||||
strong {
|
strong {
|
||||||
font-weight: inherit;
|
font-weight: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
b,
|
b,
|
||||||
strong {
|
strong {
|
||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
}
|
}
|
||||||
|
|
||||||
code,
|
code,
|
||||||
kbd,
|
kbd,
|
||||||
samp {
|
samp {
|
||||||
font-family: monospace, monospace;
|
font-family: monospace, monospace;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
dfn {
|
dfn {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
mark {
|
mark {
|
||||||
background-color: #ff0;
|
background-color: #ff0;
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
small {
|
small {
|
||||||
font-size: 80%;
|
font-size: 80%;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub,
|
sub,
|
||||||
sup {
|
sup {
|
||||||
font-size: 75%;
|
font-size: 75%;
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub {
|
sub {
|
||||||
bottom: -0.25em;
|
bottom: -0.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
sup {
|
sup {
|
||||||
top: -0.5em;
|
top: -0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
audio,
|
audio,
|
||||||
video {
|
video {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
audio:not([controls]) {
|
audio:not([controls]) {
|
||||||
display: none;
|
display: none;
|
||||||
height: 0;
|
height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
border-style: none;
|
border-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
svg:not(:root) {
|
svg:not(:root) {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
button,
|
button,
|
||||||
input,
|
input,
|
||||||
optgroup,
|
optgroup,
|
||||||
select,
|
select,
|
||||||
textarea {
|
textarea {
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
line-height: 1.15;
|
line-height: 1.15;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
button,
|
button,
|
||||||
input {
|
input {
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
button,
|
button,
|
||||||
select {
|
select {
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
button,
|
button,
|
||||||
html [type="button"],
|
html [type="button"],
|
||||||
[type="reset"],
|
[type="reset"],
|
||||||
[type="submit"] {
|
[type="submit"] {
|
||||||
-webkit-appearance: button;
|
-webkit-appearance: button;
|
||||||
}
|
}
|
||||||
|
|
||||||
button::-moz-focus-inner,
|
button::-moz-focus-inner,
|
||||||
[type="button"]::-moz-focus-inner,
|
[type="button"]::-moz-focus-inner,
|
||||||
[type="reset"]::-moz-focus-inner,
|
[type="reset"]::-moz-focus-inner,
|
||||||
[type="submit"]::-moz-focus-inner {
|
[type="submit"]::-moz-focus-inner {
|
||||||
border-style: none;
|
border-style: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:-moz-focusring,
|
button:-moz-focusring,
|
||||||
[type="button"]:-moz-focusring,
|
[type="button"]:-moz-focusring,
|
||||||
[type="reset"]:-moz-focusring,
|
[type="reset"]:-moz-focusring,
|
||||||
[type="submit"]:-moz-focusring {
|
[type="submit"]:-moz-focusring {
|
||||||
outline: 1px dotted ButtonText;
|
outline: 1px dotted ButtonText;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset {
|
fieldset {
|
||||||
border: 1px solid #c0c0c0;
|
border: 1px solid #c0c0c0;
|
||||||
margin: 0 2px;
|
margin: 0 2px;
|
||||||
padding: 0.35em 0.625em 0.75em;
|
padding: 0.35em 0.625em 0.75em;
|
||||||
}
|
}
|
||||||
|
|
||||||
legend {
|
legend {
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
display: table;
|
display: table;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
progress {
|
progress {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
}
|
}
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
[type="checkbox"],
|
[type="checkbox"],
|
||||||
[type="radio"] {
|
[type="radio"] {
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[type="number"]::-webkit-inner-spin-button,
|
[type="number"]::-webkit-inner-spin-button,
|
||||||
[type="number"]::-webkit-outer-spin-button {
|
[type="number"]::-webkit-outer-spin-button {
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
[type="search"] {
|
[type="search"] {
|
||||||
-webkit-appearance: textfield;
|
-webkit-appearance: textfield;
|
||||||
outline-offset: -2px;
|
outline-offset: -2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
[type="search"]::-webkit-search-cancel-button,
|
[type="search"]::-webkit-search-cancel-button,
|
||||||
[type="search"]::-webkit-search-decoration {
|
[type="search"]::-webkit-search-decoration {
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-file-upload-button {
|
::-webkit-file-upload-button {
|
||||||
-webkit-appearance: button;
|
-webkit-appearance: button;
|
||||||
font: inherit;
|
font: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
details,
|
details,
|
||||||
menu {
|
menu {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
summary {
|
summary {
|
||||||
display: list-item;
|
display: list-item;
|
||||||
}
|
}
|
||||||
|
|
||||||
canvas {
|
canvas {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
template {
|
template {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
[hidden] {
|
[hidden] {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
*,
|
*,
|
||||||
*::before,
|
*::before,
|
||||||
*::after {
|
*::after {
|
||||||
-webkit-box-sizing: inherit;
|
-webkit-box-sizing: inherit;
|
||||||
box-sizing: inherit;
|
box-sizing: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@-ms-viewport {
|
@-ms-viewport {
|
||||||
width: device-width;
|
width: device-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
-ms-overflow-style: scrollbar;
|
-ms-overflow-style: scrollbar;
|
||||||
-webkit-tap-highlight-color: transparent;
|
-webkit-tap-highlight-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
color: #292b2c;
|
color: #292b2c;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
[tabindex="-1"]:focus {
|
[tabindex="-1"]:focus {
|
||||||
outline: none !important;
|
outline: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: .5rem;
|
margin-bottom: .5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
abbr[title],
|
abbr[title],
|
||||||
abbr[data-original-title] {
|
abbr[data-original-title] {
|
||||||
cursor: help;
|
cursor: help;
|
||||||
}
|
}
|
||||||
|
|
||||||
address {
|
address {
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
ol,
|
ol,
|
||||||
ul,
|
ul,
|
||||||
dl {
|
dl {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
ol ol,
|
ol ol,
|
||||||
ul ul,
|
ul ul,
|
||||||
ol ul,
|
ol ul,
|
||||||
ul ol {
|
ul ol {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
dt {
|
dt {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
dd {
|
dd {
|
||||||
margin-bottom: .5rem;
|
margin-bottom: .5rem;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
margin: 0 0 1rem;
|
margin: 0 0 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #0275d8;
|
color: #0275d8;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:focus, a:hover {
|
a:focus, a:hover {
|
||||||
color: #014c8c;
|
color: #014c8c;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:not([href]):not([tabindex]) {
|
a:not([href]):not([tabindex]) {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover {
|
a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:not([href]):not([tabindex]):focus {
|
a:not([href]):not([tabindex]):focus {
|
||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
figure {
|
figure {
|
||||||
margin: 0 0 1rem;
|
margin: 0 0 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
[role="button"] {
|
[role="button"] {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
a,
|
a,
|
||||||
area,
|
area,
|
||||||
button,
|
button,
|
||||||
[role="button"],
|
[role="button"],
|
||||||
input,
|
input,
|
||||||
label,
|
label,
|
||||||
select,
|
select,
|
||||||
summary,
|
summary,
|
||||||
textarea {
|
textarea {
|
||||||
-ms-touch-action: manipulation;
|
-ms-touch-action: manipulation;
|
||||||
touch-action: manipulation;
|
touch-action: manipulation;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
caption {
|
caption {
|
||||||
padding-top: 0.75rem;
|
padding-top: 0.75rem;
|
||||||
padding-bottom: 0.75rem;
|
padding-bottom: 0.75rem;
|
||||||
color: #636c72;
|
color: #636c72;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
caption-side: bottom;
|
caption-side: bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-bottom: .5rem;
|
margin-bottom: .5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:focus {
|
button:focus {
|
||||||
outline: 1px dotted;
|
outline: 1px dotted;
|
||||||
outline: 5px auto -webkit-focus-ring-color;
|
outline: 5px auto -webkit-focus-ring-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
input,
|
input,
|
||||||
button,
|
button,
|
||||||
select,
|
select,
|
||||||
textarea {
|
textarea {
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="radio"]:disabled,
|
input[type="radio"]:disabled,
|
||||||
input[type="checkbox"]:disabled {
|
input[type="checkbox"]:disabled {
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="date"],
|
input[type="date"],
|
||||||
input[type="time"],
|
input[type="time"],
|
||||||
input[type="datetime-local"],
|
input[type="datetime-local"],
|
||||||
input[type="month"] {
|
input[type="month"] {
|
||||||
-webkit-appearance: listbox;
|
-webkit-appearance: listbox;
|
||||||
}
|
}
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
resize: vertical;
|
resize: vertical;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset {
|
fieldset {
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
border: 0;
|
border: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
legend {
|
legend {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin-bottom: .5rem;
|
margin-bottom: .5rem;
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="search"] {
|
input[type="search"] {
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
output {
|
output {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
[hidden] {
|
[hidden] {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
/*# sourceMappingURL=bootstrap-reboot.css.map */
|
/*# sourceMappingURL=bootstrap-reboot.css.map */
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -302,6 +302,11 @@
|
|||||||
</menu>
|
</menu>
|
||||||
</menu>-->
|
</menu>-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="container" data-bind="with: policyData">
|
||||||
|
<div class="row" data-bind="html:Html">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="aboutDialog" class="modal fade" role="dialog" data-bind="with: appDetails">
|
<div id="aboutDialog" class="modal fade" role="dialog" data-bind="with: appDetails">
|
||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
|
|||||||
@ -0,0 +1,30 @@
|
|||||||
|
function policy(data) {
|
||||||
|
var self = this;
|
||||||
|
if (typeof data === "undefined") {
|
||||||
|
data = createDefaultPolicy();
|
||||||
|
}
|
||||||
|
self.changeDate = ko.observable(data.changeDate);
|
||||||
|
self.description = ko.observable(data.description);
|
||||||
|
self.changeAuthor = ko.observable(data.changeAuthor);
|
||||||
|
self.version = ko.observable(data.version);
|
||||||
|
self.markdown = ko.observable(data.markdown);
|
||||||
|
self.html = ko.observable(data.html);
|
||||||
|
function createDefaultPolicy() {
|
||||||
|
return {
|
||||||
|
changeDate: moment().format(),
|
||||||
|
description: "",
|
||||||
|
changeAuthor: "",
|
||||||
|
version: -1,
|
||||||
|
markdown: "",
|
||||||
|
html: ""
|
||||||
|
};
|
||||||
|
}
|
||||||
|
self.update = function(data) {
|
||||||
|
self.changeDate(data.changeDate);
|
||||||
|
self.description(data.description);
|
||||||
|
self.changeAuthor(data.changeAuthor);
|
||||||
|
self.version(data.version);
|
||||||
|
self.markdown(data.markdown);
|
||||||
|
self.html(data.html);
|
||||||
|
}
|
||||||
|
}
|
||||||
7
DataCenter_Windows/WindowsDataCenter/WindowsDataCenter/www/js/easymde.min.js
vendored
Normal file
7
DataCenter_Windows/WindowsDataCenter/WindowsDataCenter/www/js/easymde.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
DataCenter_Windows/WindowsDataCenter/WindowsDataCenter/www/js/highlightjs.min.js
vendored
Normal file
2
DataCenter_Windows/WindowsDataCenter/WindowsDataCenter/www/js/highlightjs.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
22
DataCenter_Windows/WindowsDataCenter/WindowsDataCenter/www/js/htmlparser.min.js
vendored
Normal file
22
DataCenter_Windows/WindowsDataCenter/WindowsDataCenter/www/js/htmlparser.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
6
DataCenter_Windows/WindowsDataCenter/WindowsDataCenter/www/js/marked.min.js
vendored
Normal file
6
DataCenter_Windows/WindowsDataCenter/WindowsDataCenter/www/js/marked.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@ -1,48 +1,48 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<appSettings>
|
<appSettings>
|
||||||
<add key="NLogConfigFilePath" value="Configs/NLogConfig.xml" />
|
<add key="NLogConfigFilePath" value="Configs/NLogConfig.xml" />
|
||||||
<add key="DefaultPageSize" value="20" />
|
<add key="DefaultPageSize" value="20" />
|
||||||
<add key="SwipeTimeGap" value="3" />
|
<add key="SwipeTimeGap" value="3" />
|
||||||
<add key="BugSubmissionEmailAddress" value="incoming+WattsC/FlexiTimeTrackerTool+24qrefn8e1urhl4iqct7we2jl@gitlab.com" />
|
<add key="BugSubmissionEmailAddress" value="incoming+WattsC/FlexiTimeTrackerTool+24qrefn8e1urhl4iqct7we2jl@gitlab.com" />
|
||||||
</appSettings>
|
</appSettings>
|
||||||
<startup>
|
<startup>
|
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
|
||||||
</startup>
|
</startup>
|
||||||
<runtime>
|
<runtime>
|
||||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
|
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
|
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
<assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
|
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
<assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
|
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="System.Web.Http.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
<assemblyIdentity name="System.Web.Http.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
|
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="Ninject" publicKeyToken="c7192dc5380945e7" culture="neutral" />
|
<assemblyIdentity name="Ninject" publicKeyToken="c7192dc5380945e7" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-3.3.4.0" newVersion="3.3.4.0" />
|
<bindingRedirect oldVersion="0.0.0.0-3.3.4.0" newVersion="3.3.4.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="Ninject.Web.Common" publicKeyToken="c7192dc5380945e7" culture="neutral" />
|
<assemblyIdentity name="Ninject.Web.Common" publicKeyToken="c7192dc5380945e7" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-3.3.1.0" newVersion="3.3.1.0" />
|
<bindingRedirect oldVersion="0.0.0.0-3.3.1.0" newVersion="3.3.1.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="Ninject.Web.Common.OwinHost" publicKeyToken="c7192dc5380945e7" culture="neutral" />
|
<assemblyIdentity name="Ninject.Web.Common.OwinHost" publicKeyToken="c7192dc5380945e7" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-3.3.1.0" newVersion="3.3.1.0" />
|
<bindingRedirect oldVersion="0.0.0.0-3.3.1.0" newVersion="3.3.1.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</assemblyBinding>
|
</assemblyBinding>
|
||||||
</runtime>
|
</runtime>
|
||||||
</configuration>
|
</configuration>
|
||||||
@ -1,133 +1,137 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<ProjectGuid>{5A4E2CF2-FA51-413E-82C7-14A19A50766D}</ProjectGuid>
|
<ProjectGuid>{5A4E2CF2-FA51-413E-82C7-14A19A50766D}</ProjectGuid>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>WindowsDataServiceHost</RootNamespace>
|
<RootNamespace>WindowsDataServiceHost</RootNamespace>
|
||||||
<AssemblyName>WindowsDataServiceHost</AssemblyName>
|
<AssemblyName>WindowsDataServiceHost</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugInstallers|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugInstallers|AnyCPU'">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<OutputPath>bin\DebugInstallers\</OutputPath>
|
<OutputPath>bin\DebugInstallers\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
<Prefer32Bit>true</Prefer32Bit>
|
<Prefer32Bit>true</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseInstallers|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseInstallers|AnyCPU'">
|
||||||
<OutputPath>bin\ReleaseInstallers\</OutputPath>
|
<OutputPath>bin\ReleaseInstallers\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
<Prefer32Bit>true</Prefer32Bit>
|
<Prefer32Bit>true</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Microsoft.Owin, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
<Reference Include="Microsoft.Owin, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Microsoft.Owin.3.0.1\lib\net45\Microsoft.Owin.dll</HintPath>
|
<HintPath>..\packages\Microsoft.Owin.3.0.1\lib\net45\Microsoft.Owin.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Microsoft.Owin.Host.HttpListener, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
<Reference Include="Microsoft.Owin.FileSystems, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Microsoft.Owin.Host.HttpListener.3.0.1\lib\net45\Microsoft.Owin.Host.HttpListener.dll</HintPath>
|
<HintPath>..\packages\Microsoft.Owin.FileSystems.3.0.1\lib\net45\Microsoft.Owin.FileSystems.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
<Reference Include="Microsoft.Owin.Host.HttpListener, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
<HintPath>..\packages\Microsoft.Owin.Host.HttpListener.3.0.1\lib\net45\Microsoft.Owin.Host.HttpListener.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Owin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f0ebd12fd5e55cc5, processorArchitecture=MSIL">
|
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Owin.1.0\lib\net40\Owin.dll</HintPath>
|
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="Owin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f0ebd12fd5e55cc5, processorArchitecture=MSIL">
|
||||||
<Reference Include="System.Core" />
|
<HintPath>..\packages\Owin.1.0\lib\net40\Owin.dll</HintPath>
|
||||||
<Reference Include="System.Net.Http.Formatting, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
<Private>True</Private>
|
||||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.Client.5.2.3\lib\net45\System.Net.Http.Formatting.dll</HintPath>
|
</Reference>
|
||||||
<Private>True</Private>
|
<Reference Include="System" />
|
||||||
</Reference>
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.ServiceProcess" />
|
<Reference Include="System.Net.Http.Formatting, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
<Reference Include="System.Web.Http, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
<HintPath>..\packages\Microsoft.AspNet.WebApi.Client.5.2.3\lib\net45\System.Net.Http.Formatting.dll</HintPath>
|
||||||
<HintPath>..\packages\Microsoft.AspNet.WebApi.Core.5.2.3\lib\net45\System.Web.Http.dll</HintPath>
|
<Private>True</Private>
|
||||||
<Private>True</Private>
|
</Reference>
|
||||||
</Reference>
|
<Reference Include="System.ServiceProcess" />
|
||||||
<Reference Include="System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
<Reference Include="System.Web.Http, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Microsoft.AspNet.Razor.3.0.0\lib\net45\System.Web.Razor.dll</HintPath>
|
<HintPath>..\packages\Microsoft.AspNet.WebApi.Core.5.2.3\lib\net45\System.Web.Http.dll</HintPath>
|
||||||
<Private>True</Private>
|
<Private>True</Private>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
<HintPath>..\packages\Microsoft.AspNet.Razor.3.0.0\lib\net45\System.Web.Razor.dll</HintPath>
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Private>True</Private>
|
||||||
<Reference Include="System.Data" />
|
</Reference>
|
||||||
<Reference Include="System.Net.Http" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
</ItemGroup>
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<ItemGroup>
|
<Reference Include="System.Data" />
|
||||||
<Compile Include="Program.cs" />
|
<Reference Include="System.Net.Http" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="App.config">
|
<Compile Include="Program.cs" />
|
||||||
<SubType>Designer</SubType>
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
</None>
|
</ItemGroup>
|
||||||
<None Include="packages.config" />
|
<ItemGroup>
|
||||||
</ItemGroup>
|
<None Include="App.config">
|
||||||
<ItemGroup>
|
<SubType>Designer</SubType>
|
||||||
<ProjectReference Include="..\WindowsDataCenter\WindowsDataCenter.csproj">
|
</None>
|
||||||
<Project>{A5FEE048-17A6-4966-9B6B-BF073592A470}</Project>
|
<None Include="packages.config" />
|
||||||
<Name>WindowsDataCenter</Name>
|
</ItemGroup>
|
||||||
</ProjectReference>
|
<ItemGroup>
|
||||||
</ItemGroup>
|
<ProjectReference Include="..\WindowsDataCenter\WindowsDataCenter.csproj">
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Project>{A5FEE048-17A6-4966-9B6B-BF073592A470}</Project>
|
||||||
<PropertyGroup>
|
<Name>WindowsDataCenter</Name>
|
||||||
<PostBuildEvent>copy "$(SolutionDir)SQLiteRepository\$(OutDir)SQLiteRepository.dll" "$(TargetDir)"
|
</ProjectReference>
|
||||||
copy "$(SolutionDir)SQLiteRepository\$(OutDir)SQLite.Net.Platform.Win32.dll" "$(TargetDir)"
|
</ItemGroup>
|
||||||
copy "$(SolutionDir)SQLiteRepository\$(OutDir)SQLite.Net.Platform.Generic.dll" "$(TargetDir)"
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
copy "$(SolutionDir)SQLiteRepository\$(OutDir)SQLite.Net.dll" "$(TargetDir)"
|
<PropertyGroup>
|
||||||
mkdir "$(TargetDir)Configs"
|
<PostBuildEvent>copy "$(SolutionDir)SQLiteRepository\$(OutDir)SQLiteRepository.dll" "$(TargetDir)"
|
||||||
copy "$(SolutionDir)NLogLogger\$(OutDir)NLogLogger.dll" "$(TargetDir)"
|
copy "$(SolutionDir)SQLiteRepository\$(OutDir)SQLite.Net.Platform.Win32.dll" "$(TargetDir)"
|
||||||
copy "$(SolutionDir)NLogLogger\$(OutDir)NLog.dll" "$(TargetDir)"
|
copy "$(SolutionDir)SQLiteRepository\$(OutDir)SQLite.Net.Platform.Generic.dll" "$(TargetDir)"
|
||||||
copy "$(SolutionDir)NLogLogger\$(OutDir)NLogLogger.dll.config" "$(TargetDir)"
|
copy "$(SolutionDir)SQLiteRepository\$(OutDir)SQLite.Net.dll" "$(TargetDir)"
|
||||||
copy "$(SolutionDir)NLogLogger\$(OutDir)NLogConfig.xml" "$(TargetDir)Configs\"
|
mkdir "$(TargetDir)Configs"
|
||||||
|
copy "$(SolutionDir)NLogLogger\$(OutDir)NLogLogger.dll" "$(TargetDir)"
|
||||||
copy "$(SolutionDir)WindowsDataCenter\$(OutDir)Ninject.Extensions.Xml.dll" "$(TargetDir)"
|
copy "$(SolutionDir)NLogLogger\$(OutDir)NLog.dll" "$(TargetDir)"
|
||||||
|
copy "$(SolutionDir)NLogLogger\$(OutDir)NLogLogger.dll.config" "$(TargetDir)"
|
||||||
copy "$(SolutionDir)WindowsDataCenter\$(OutDir)RazorEngine.dll" "$(TargetDir)"</PostBuildEvent>
|
copy "$(SolutionDir)NLogLogger\$(OutDir)NLogConfig.xml" "$(TargetDir)Configs\"
|
||||||
</PropertyGroup>
|
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
copy "$(SolutionDir)WindowsDataCenter\$(OutDir)Ninject.Extensions.Xml.dll" "$(TargetDir)"
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
|
||||||
<Target Name="BeforeBuild">
|
copy "$(SolutionDir)WindowsDataCenter\$(OutDir)RazorEngine.dll" "$(TargetDir)"</PostBuildEvent>
|
||||||
</Target>
|
</PropertyGroup>
|
||||||
<Target Name="AfterBuild">
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
</Target>
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
-->
|
<Target Name="BeforeBuild">
|
||||||
|
</Target>
|
||||||
|
<Target Name="AfterBuild">
|
||||||
|
</Target>
|
||||||
|
-->
|
||||||
</Project>
|
</Project>
|
||||||
@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
<package id="Microsoft.Owin" version="3.0.1" targetFramework="net452" />
|
<package id="Microsoft.Owin" version="3.0.1" targetFramework="net452" />
|
||||||
<package id="Microsoft.Owin.FileSystems" version="3.0.1" targetFramework="net452" />
|
<package id="Microsoft.Owin.FileSystems" version="3.0.1" targetFramework="net452" />
|
||||||
<package id="Microsoft.Owin.Host.HttpListener" version="3.0.1" targetFramework="net452" />
|
<package id="Microsoft.Owin.Host.HttpListener" version="3.0.1" targetFramework="net452" />
|
||||||
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net452" />
|
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net452" />
|
||||||
<package id="Owin" version="1.0" targetFramework="net452" />
|
<package id="Owin" version="1.0" targetFramework="net452" />
|
||||||
</packages>
|
</packages>
|
||||||
BIN
Tools/Sentinel.zip
Normal file
BIN
Tools/Sentinel.zip
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user