Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V0.9.2 general #322

Merged
merged 3 commits into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion BLAZAM/BLAZAM.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<ServerGarbageCollection>false</ServerGarbageCollection>
<AssemblyVersion>0.9.1</AssemblyVersion>
<Version>2024.04.21.1930</Version>
<Version>2024.04.22.1925</Version>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<RootNamespace>BLAZAM</RootNamespace>
<GenerateDocumentationFile>False</GenerateDocumentationFile>
Expand Down
4 changes: 4 additions & 0 deletions BLAZAM/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,12 @@ public static void Main(string[] args)

builder.IntializeProperties();

//Create and discard a new instance of Encryption to inject the encryption seed string
_ = new Encryption(Configuration?.GetValue<string>("EncryptionKey"));

//Assign installation ID
Loggers.InstallationId = ApplicationInfo.installationId.ToString();

//Setup host logging so it can catch the earliest logs possible
Loggers.SeqServerUri = "http://logs.blazam.org:5341";
if (Debugger.IsAttached)
Expand Down
2 changes: 1 addition & 1 deletion BLAZAM/ProgramHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static class ProgramHelpers
public static WebApplicationBuilder IntializeProperties(this WebApplicationBuilder builder)
{
//Set DebugMode flag from configuration
//ApplicationInfo ApplicationInfo = new(builder);
ApplicationInfo ApplicationInfo = new(builder);
ApplicationInfo.inDebugMode = builder.Configuration.GetValue<bool>("DebugMode");
ApplicationInfo.inDemoMode = builder.Configuration.GetValue<bool>("DemoMode");

Expand Down
3 changes: 3 additions & 0 deletions BLAZAM/wwwroot/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ html, body {
h1:focus {
outline: none;
}
.blur-background {
backdrop-filter: blur(10px);
}
.app-icon{
margin-left:0.5rem;
max-height:2.5rem;
Expand Down
9 changes: 7 additions & 2 deletions BLAZAMGui/UI/SessionExpirationWarningProvider.razor
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,18 @@
<AppModal Title=@AppLocalization["Session Expired"]
@ref="ExpiredModal"
YesText=@AppLocalization["Log In"]
OnYes="@(()=>{Refresh();})">
OnYes="@(()=>{Refresh();})"
Options=@(new DialogOptions{
ClassBackground="blur-background",
CloseButton=false,
CloseOnEscapeKey=false,
DisableBackdropClick=true})>


<MudText>@AppLocalization["Your session has expired."]</MudText>


</AppModal>
</AppModal>
@code {
private Timer? sessionTimeoutCheckTimer;
AppModal? ExpirationWarningModal;
Expand Down
Loading