Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Legind committed Oct 9, 2018
2 parents e981ad5 + 9a8425b commit 5cbbead
Show file tree
Hide file tree
Showing 70 changed files with 53,765 additions and 213 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Presentation.Web/Content/Default/loading.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions Presentation.Web/Content/css/app.min.css

Large diffs are not rendered by default.

Binary file not shown.
63 changes: 63 additions & 0 deletions Presentation.Web/Content/css/fonts/tinymce-small.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file added Presentation.Web/Content/css/fonts/tinymce.eot
Binary file not shown.
129 changes: 129 additions & 0 deletions Presentation.Web/Content/css/fonts/tinymce.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Presentation.Web/Content/css/fonts/tinymce.ttf
Binary file not shown.
Binary file added Presentation.Web/Content/css/fonts/tinymce.woff
Binary file not shown.
1 change: 1 addition & 0 deletions Presentation.Web/Content/css/maps/app.min.css.map

Large diffs are not rendered by default.

Binary file added Presentation.Web/Content/css/select2-spinner.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Presentation.Web/Content/css/select2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Presentation.Web/Content/css/select2x2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Presentation.Web/Content/fonts/FontAwesome.otf
Binary file not shown.
Binary file not shown.
2,671 changes: 2,671 additions & 0 deletions Presentation.Web/Content/fonts/fontawesome-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
288 changes: 288 additions & 0 deletions Presentation.Web/Content/fonts/glyphicons-halflings-regular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
25 changes: 25 additions & 0 deletions Presentation.Web/Content/kendo.default.min.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions Presentation.Web/Content/less/kitos.less
Original file line number Diff line number Diff line change
Expand Up @@ -1410,4 +1410,9 @@ tr.angular-ui-tree-empty {
color: #ccc !important;
}
}
}

.k-state-selected {
background-color: #376BB7;
border-color: #DBE5F1;
}
4 changes: 2 additions & 2 deletions Presentation.Web/Controllers/API/AuthorizeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public HttpResponseMessage PostLogin(LoginDTO loginDto)
var loginInfo = new { Token="", Email = "", Password = "", LoginSuccessful = false };

if (loginDto != null)
loginInfo = new { Token = loginInfo.Token, Email = loginDto.Email, Password = "********", LoginSuccessful = false };
loginInfo = new { Token = loginDto.Token, Email = loginDto.Email, Password = "********", LoginSuccessful = false };

try
{
Expand All @@ -132,7 +132,7 @@ public HttpResponseMessage PostLogin(LoginDTO loginDto)

FormsAuthentication.SetAuthCookie(user.Id.ToString(), loginDto.RememberMe);
var response = Map<User, UserDTO>(user);
loginInfo = new {loginInfo.Token, loginDto.Email, Password = "********", LoginSuccessful = true };
loginInfo = new { loginDto.Token, loginDto.Email, Password = "********", LoginSuccessful = true };
Logger.Info($"Uservalidation: Successful {loginInfo}");

return Created(response);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ public virtual IHttpActionResult GetOptionsByObjectIDAndType(int id, EntityType
{
if (UserId == 0)
return Unauthorized();
var orgId = _authService.GetCurrentOrganizationId(UserId);

var globalOptionData = _OptionRepository.AsQueryable().Where(s => s.IsEnabled || (s.IsEnabled && s.IsObligatory));
var localpersonalData = _LocalOptionRepository.AsQueryable().Where(p => p.IsActive).ToList();
var globalOptionData = _OptionRepository.AsQueryable().Where(s => s.IsEnabled);
var localpersonalData = _LocalOptionRepository.AsQueryable().Where(p => p.IsActive && p.OrganizationId == orgId).ToList();

List<TOption> result = new List<TOption>();
result.AddRange(globalOptionData.AsQueryable().Where(s => s.IsObligatory));
Expand Down
Binary file added Presentation.Web/Images/loading-image.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Presentation.Web/Images/loading.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 24 additions & 10 deletions Presentation.Web/Presentation.Web.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\Microsoft.TypeScript.MSBuild.2.0.6\build\Microsoft.TypeScript.MSBuild.props" Condition="Exists('..\packages\Microsoft.TypeScript.MSBuild.2.0.6\build\Microsoft.TypeScript.MSBuild.props')" />
<Import Project="..\packages\MSBuild.Microsoft.VisualStudio.Web.targets.14.0.0.3\build\MSBuild.Microsoft.VisualStudio.Web.targets.props" Condition="Exists('..\packages\MSBuild.Microsoft.VisualStudio.Web.targets.14.0.0.3\build\MSBuild.Microsoft.VisualStudio.Web.targets.props')" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
Expand Down Expand Up @@ -28,6 +29,11 @@
<UseGlobalApplicationHostFile>false</UseGlobalApplicationHostFile>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>12.0</OldToolsVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -785,12 +791,22 @@
<TypeScriptCompile Include="app\utility\lodash.mixin.ts" />
<Content Include="app\shared\tinyMCE_lang_da.js" />
<Content Include="app\shared\typeahead\typeahead.view.html" />
<Content Include="Content\css\app.css" />
<Content Include="Content\css\app.min.css" />
<Content Include="Content\css\fonts\tinymce-small.eot" />
<Content Include="Content\css\fonts\tinymce-small.svg" />
<Content Include="Content\css\fonts\tinymce-small.ttf" />
<Content Include="Content\css\fonts\tinymce-small.woff" />
<Content Include="Content\css\fonts\tinymce.eot" />
<Content Include="Content\css\fonts\tinymce.svg" />
<Content Include="Content\css\fonts\tinymce.ttf" />
<Content Include="Content\css\fonts\tinymce.woff" />
<Content Include="Content\css\maps\app.min.css.map" />
<Content Include="Content\css\select2-spinner.gif" />
<Content Include="Content\css\select2.png" />
<Content Include="Content\css\select2x2.png" />
<Content Include="Content\Default\loading-image.gif" />
<Content Include="Content\Default\loading.gif" />
<Content Include="Content\fonts\fontawesome-webfont.svg" />
<Content Include="Content\fonts\glyphicons-halflings-regular.svg" />
<Content Include="Content\img\Accesscontrol.svg" />
Expand Down Expand Up @@ -837,15 +853,8 @@
<Content Include="Content\img\Systemroller.svg" />
<Content Include="Content\img\VisIOverblik.svg" />
<Content Include="Content\notify\notify.css" />
<Content Include="Content\css\fonts\tinymce-small.eot" />
<Content Include="Content\css\fonts\tinymce-small.ttf" />
<Content Include="Content\css\fonts\tinymce-small.woff" />
<Content Include="Content\css\fonts\tinymce.eot" />
<Content Include="Content\css\fonts\tinymce.ttf" />
<Content Include="Content\css\fonts\tinymce.woff" />
<Content Include="app\components\it-system\usage\tabs\it-system-usage-tab-archiving.view.html" />
<Content Include="app\components\it-project\tabs\it-project-tab-status-project-edit-modal.view.html" />
<None Include="Content\kitos.less" />
<Compile Include="Controllers\OData\ItProjectStatusUpdatesController.cs" />
<Content Include="externalreferences\SerilogWeb.Classic.dll" />
<Content Include="favicon.ico" />
Expand Down Expand Up @@ -1204,14 +1213,15 @@
<Content Include="Content\fonts\glyphicons-halflings-regular.woff" />
<Content Include="Content\fonts\glyphicons-halflings-regular.woff2" />
<TypeScriptCompile Include="app\models\it-project\it-project-phase.ts" />
<Content Include="Content\css\maps\app.min.css.map" />
<Content Include="app\components\it-project\it-project-modal-create.view.html" />
<Content Include="app\components\org\user\org-user-delete.modal.view.html" />
<Content Include="app\components\it-system\edit\tabs\it-system-edit-tab-main.view.html" />
<Content Include="app\components\it-system\it-interface\it-interface-edit-tab-main.view.html" />
<Content Include="Content\less\styles.less" />
<Content Include="Content\less\kitos.less" />
<Content Include="Content\less\variables.less" />
<Content Include="Content\notify\notify.less" />
<Content Include="Content\kendo.default.min.css" />
<None Include="Properties\PublishProfiles\DeployToProd.pubxml" />
<None Include="Properties\PublishProfiles\DeployToTest.pubxml">
<SubType>Designer</SubType>
Expand Down Expand Up @@ -1434,9 +1444,9 @@
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<TypeScriptModuleKind>commonjs</TypeScriptModuleKind>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets')" />
<!--<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.targets')" />
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />-->
<Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'">
<AspNetCompiler VirtualPath="temp" PhysicalPath="$(WebProjectOutputDir)" />
</Target>
Expand Down Expand Up @@ -1464,5 +1474,9 @@
<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\MSBuild.Microsoft.VisualStudio.Web.targets.14.0.0.3\build\MSBuild.Microsoft.VisualStudio.Web.targets.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSBuild.Microsoft.VisualStudio.Web.targets.14.0.0.3\build\MSBuild.Microsoft.VisualStudio.Web.targets.props'))" />
<Error Condition="!Exists('..\packages\Microsoft.TypeScript.MSBuild.2.0.6\build\Microsoft.TypeScript.MSBuild.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.TypeScript.MSBuild.2.0.6\build\Microsoft.TypeScript.MSBuild.props'))" />
<Error Condition="!Exists('..\packages\Microsoft.TypeScript.MSBuild.2.0.6\build\Microsoft.TypeScript.MSBuild.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.TypeScript.MSBuild.2.0.6\build\Microsoft.TypeScript.MSBuild.targets'))" />
</Target>
<Import Project="..\packages\Microsoft.TypeScript.MSBuild.2.0.6\build\Microsoft.TypeScript.MSBuild.targets" Condition="Exists('..\packages\Microsoft.TypeScript.MSBuild.2.0.6\build\Microsoft.TypeScript.MSBuild.targets')" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v15.0\WebApplications\Microsoft.WebApplication.targets" />
</Project>
2 changes: 1 addition & 1 deletion Presentation.Web/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5cbbead

Please sign in to comment.