-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #159 from loresoft/develop
deploy to production
- Loading branch information
Showing
547 changed files
with
25,347 additions
and
24,884 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -257,3 +257,4 @@ build/ | |
client/dist/ | ||
temp/ | ||
coverage.opencover.xml | ||
*.clef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<Project> | ||
<PropertyGroup Label="Package"> | ||
<Product>InstructorIQ</Product> | ||
<Description>Training calendar manangement</Description> | ||
<Copyright>Copyright © $([System.DateTime]::Now.ToString(yyyy)) LoreSoft</Copyright> | ||
<Authors>LoreSoft</Authors> | ||
<NeutralLanguage>en-US</NeutralLanguage> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<PackageProjectUrl>https://github.com/loresoft/InstructorIQ</PackageProjectUrl> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageIcon>logo.png</PackageIcon> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
<RepositoryType>git</RepositoryType> | ||
<RepositoryUrl>https://github.com/loresoft/InstructorIQ</RepositoryUrl> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<NoWarn>1591</NoWarn> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" /> | ||
<PackageReference Include="Injectio" Version="2.5.87" PrivateAssets="all" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Using Include="Injectio.Attributes" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 12 additions & 13 deletions
25
service/src/InstructorIQ.Core/Converters/TimeSpanConverter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
using System; | ||
using System; | ||
using System.Text.Json; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace InstructorIQ.Core.Converters | ||
namespace InstructorIQ.Core.Converters; | ||
|
||
public class TimeSpanConverter : JsonConverter<TimeSpan> | ||
{ | ||
public class TimeSpanConverter : JsonConverter<TimeSpan> | ||
public override TimeSpan Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) | ||
{ | ||
public override TimeSpan Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) | ||
{ | ||
var stringValue = reader.GetString(); | ||
return TimeSpan.Parse(stringValue); | ||
} | ||
var stringValue = reader.GetString(); | ||
return TimeSpan.Parse(stringValue); | ||
} | ||
|
||
public override void Write(Utf8JsonWriter writer, TimeSpan value, JsonSerializerOptions options) | ||
{ | ||
var stringValue = value.ToString(); | ||
writer.WriteStringValue(stringValue); | ||
} | ||
public override void Write(Utf8JsonWriter writer, TimeSpan value, JsonSerializerOptions options) | ||
{ | ||
var stringValue = value.ToString(); | ||
writer.WriteStringValue(stringValue); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
using System; | ||
using System; | ||
|
||
namespace InstructorIQ.Core.Data.Constants | ||
namespace InstructorIQ.Core.Data.Constants; | ||
|
||
public static class Role | ||
{ | ||
public static class Role | ||
{ | ||
///<summary>Member for organization</summary> | ||
public static readonly Guid Member = new Guid("d373fbb2-39eb-e711-87c1-708bcd56aa6d"); | ||
///<summary>User that can attend sessions</summary> | ||
public static readonly Guid Attendee = new Guid("d9fb92e7-a5e8-4fe3-86ba-16924e44fb86"); | ||
///<summary>Instructor for organization</summary> | ||
public static readonly Guid Instructor = new Guid("808c0ec0-39eb-e711-87c1-708bcd56aa6d"); | ||
///<summary>Administrator for organization</summary> | ||
public static readonly Guid Administrator = new Guid("8fa6aec8-39eb-e711-87c1-708bcd56aa6d"); | ||
///<summary>Member for organization</summary> | ||
public static readonly Guid Member = new Guid("d373fbb2-39eb-e711-87c1-708bcd56aa6d"); | ||
///<summary>User that can attend sessions</summary> | ||
public static readonly Guid Attendee = new Guid("d9fb92e7-a5e8-4fe3-86ba-16924e44fb86"); | ||
///<summary>Instructor for organization</summary> | ||
public static readonly Guid Instructor = new Guid("808c0ec0-39eb-e711-87c1-708bcd56aa6d"); | ||
///<summary>Administrator for organization</summary> | ||
public static readonly Guid Administrator = new Guid("8fa6aec8-39eb-e711-87c1-708bcd56aa6d"); | ||
|
||
public const string MemberName = "Member"; | ||
public const string AttendeeName = "Attendee"; | ||
public const string InstructorName = "Instructor"; | ||
public const string AdministratorName = "Administrator"; | ||
public const string GlobalAdministrator = "GlobalAdministrator"; | ||
public const string MemberName = "Member"; | ||
public const string AttendeeName = "Attendee"; | ||
public const string InstructorName = "Instructor"; | ||
public const string AdministratorName = "Administrator"; | ||
public const string GlobalAdministrator = "GlobalAdministrator"; | ||
|
||
} | ||
} |
11 changes: 5 additions & 6 deletions
11
service/src/InstructorIQ.Core/Data/Constants/TemplateType.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
using System; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace InstructorIQ.Core.Data.Constants | ||
namespace InstructorIQ.Core.Data.Constants; | ||
|
||
public static class TemplateType | ||
{ | ||
public static class TemplateType | ||
{ | ||
public const string Editor = "Editor"; | ||
} | ||
public const string Editor = "Editor"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
using System; | ||
using System; | ||
|
||
namespace InstructorIQ.Core.Data.Constants | ||
namespace InstructorIQ.Core.Data.Constants; | ||
|
||
public static class Tenant | ||
{ | ||
public static class Tenant | ||
{ | ||
///<summary>Test Organization</summary> | ||
public static readonly Guid Test = new Guid("2a3080d2-a9ec-e711-87c2-708bcd56aa6d"); | ||
///<summary>Demo Organization</summary> | ||
public static readonly Guid Demo = new Guid("e8a8db6e-2feb-e711-87c1-708bcd56aa6d"); | ||
} | ||
} | ||
///<summary>Test Organization</summary> | ||
public static readonly Guid Test = new Guid("2a3080d2-a9ec-e711-87c2-708bcd56aa6d"); | ||
///<summary>Demo Organization</summary> | ||
public static readonly Guid Demo = new Guid("e8a8db6e-2feb-e711-87c1-708bcd56aa6d"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
using System; | ||
using System; | ||
|
||
namespace InstructorIQ.Core.Data.Constants | ||
namespace InstructorIQ.Core.Data.Constants; | ||
|
||
public static class User | ||
{ | ||
public static class User | ||
{ | ||
///<summary>Test User</summary> | ||
public static readonly System.Guid Test = new Guid("52ae0c20-c4de-e711-87bf-708bcd56aa6d"); | ||
///<summary>InstructorIQ Support</summary> | ||
public static readonly System.Guid Support = new Guid("2a31eec5-30eb-e711-87c1-708bcd56aa6d"); | ||
} | ||
} | ||
///<summary>Test User</summary> | ||
public static readonly System.Guid Test = new Guid("52ae0c20-c4de-e711-87bf-708bcd56aa6d"); | ||
///<summary>InstructorIQ Support</summary> | ||
public static readonly System.Guid Support = new Guid("2a31eec5-30eb-e711-87c1-708bcd56aa6d"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.