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

V1.1.0 Update #647

Merged
merged 83 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
ee630e2
Multi-threaded non-replicated property collection
jacobsen9026 Nov 1, 2024
47b084c
Merge pull request #623 from Blazam-App/v1-0-8
jacobsen9026 Nov 1, 2024
3f0c8ec
Add Require Password Change display for users
jacobsen9026 Nov 1, 2024
fb3fdd6
Add Set Password permission action
jacobsen9026 Nov 1, 2024
1e3088b
Merge pull request #624 from Blazam-App/v1-0-8
jacobsen9026 Nov 1, 2024
f03d092
Work towards Access Request Notifications
jacobsen9026 Nov 1, 2024
f6a5c97
Show disabled AppNews Button when no news exists
jacobsen9026 Nov 2, 2024
d058f97
Merge pull request #625 from Blazam-App/v1-0-8
jacobsen9026 Nov 2, 2024
a4ae5a2
New Notifications Panel
jacobsen9026 Nov 2, 2024
3accf6c
Merge pull request #626 from Blazam-App/v1-0-8
jacobsen9026 Nov 2, 2024
c537425
View job details in Jobs Monitor
jacobsen9026 Nov 2, 2024
d6b5012
Merge pull request #627 from Blazam-App/v1-0-8
jacobsen9026 Nov 2, 2024
70cde76
AppIconButton Tooltip placement added
jacobsen9026 Nov 2, 2024
c94bbb6
Add self user for self modification permissions
jacobsen9026 Nov 2, 2024
f3c624a
New Notifications Panel
jacobsen9026 Nov 2, 2024
da3e1d6
Merge pull request #628 from Blazam-App/v1-0-8
jacobsen9026 Nov 2, 2024
f19dad4
Foundation of request notifications
jacobsen9026 Nov 2, 2024
a6696cc
Merge pull request #629 from Blazam-App/v1-0-8
jacobsen9026 Nov 2, 2024
3fa07f8
Fix for news button not "silencing" after acknowledging last unread n…
jacobsen9026 Nov 2, 2024
f7eb3f9
Merge pull request #630 from Blazam-App/v1-0-8
jacobsen9026 Nov 2, 2024
cbe3922
Possible access request structure
jacobsen9026 Nov 2, 2024
0071b80
Massive increase in automated UI testing
jacobsen9026 Nov 3, 2024
d2ea610
Working Self Access Creation
jacobsen9026 Nov 4, 2024
cf399ef
Start implementation of approved request actions #464
jacobsen9026 Nov 5, 2024
4969128
Remove DB Migration and add dedicated notifications button
jacobsen9026 Nov 6, 2024
a3768c7
Fix for notification badge
jacobsen9026 Nov 6, 2024
db43db7
Notification display optimization and fix of #634
Nov 6, 2024
38c5866
Still not able to link ObjectActions to GlobalPermissions
Nov 6, 2024
b70f4cf
Access Request Modal started #464
jacobsen9026 Nov 7, 2024
4203fe3
Attempt to fix possible application hang after install
jacobsen9026 Nov 7, 2024
f7be278
Fix for update credentials only using domain account #464
jacobsen9026 Nov 8, 2024
47161cf
Publishing framework completed #464
jacobsen9026 Nov 8, 2024
1fce0dc
Expand LoadingData component usage
jacobsen9026 Nov 10, 2024
6ea246b
Lazy load notification drawer
jacobsen9026 Nov 10, 2024
341faa9
Remove notifications
jacobsen9026 Nov 10, 2024
86dbf5a
Fix for intials not being displayed
jacobsen9026 Nov 10, 2024
f945b69
Hide news for non admins
jacobsen9026 Nov 10, 2024
51cb268
Add Color to notification icon
jacobsen9026 Nov 10, 2024
ad5997d
Increase ussage of LoadingData component
jacobsen9026 Nov 10, 2024
1897371
Add delete notification event
jacobsen9026 Nov 10, 2024
32e0169
Add space for close icon button
jacobsen9026 Nov 10, 2024
7003798
Move method to helpers
jacobsen9026 Nov 10, 2024
835c801
Reemove created since it is auto-set
jacobsen9026 Nov 10, 2024
0e052d6
More Loading Data changes
jacobsen9026 Nov 10, 2024
351e2d0
New SID byte array to string helper
jacobsen9026 Nov 10, 2024
924d7fe
Replace candidate requests migration
jacobsen9026 Nov 10, 2024
dc75daf
Add ObjectActionId property
jacobsen9026 Nov 10, 2024
fe60c2c
Remove unused import
jacobsen9026 Nov 10, 2024
b550101
Increment feature version
jacobsen9026 Nov 10, 2024
3048eed
Merge pull request #637 from Blazam-App/v1-0-8
jacobsen9026 Nov 10, 2024
51fcea6
Fix for loss of scroll position when marking notifications as read
jacobsen9026 Nov 10, 2024
5c46df5
Darken AppBar colors
jacobsen9026 Nov 10, 2024
9a95f38
Multi-threading admin user lookup
jacobsen9026 Nov 11, 2024
3dd6456
Merge pull request #639 from Blazam-App/v1-0-8
jacobsen9026 Nov 11, 2024
3ce7508
Add access request email notification
jacobsen9026 Nov 11, 2024
63f3ccb
Merge pull request #640 from Blazam-App/v1-0-8
jacobsen9026 Nov 11, 2024
13a688f
Merge pull request #631 from Blazam-App/v1-Dev
jacobsen9026 Nov 11, 2024
9ee23c8
Fix for database error in Global Permissions
jacobsen9026 Nov 12, 2024
1ad7c59
Fix for database error on request modal
jacobsen9026 Nov 12, 2024
a697bed
Merge pull request #643 from Blazam-App/v1-Dev
jacobsen9026 Nov 12, 2024
f5a0d07
Fix for null value
jacobsen9026 Nov 12, 2024
58ac262
Merge pull request #644 from Blazam-App/v1-Dev
jacobsen9026 Nov 12, 2024
f81b060
Fix tests for notifications movement to dedicated button
jacobsen9026 Nov 12, 2024
a1eb0a9
Test update
jacobsen9026 Nov 12, 2024
8be6961
Attempt to fix self update
jacobsen9026 Nov 12, 2024
76b4f37
Update test
jacobsen9026 Nov 12, 2024
500f605
Fix for possible database error in UserNotificationsProvider
jacobsen9026 Nov 12, 2024
f3e556c
Undo changes
jacobsen9026 Nov 12, 2024
5d9ab68
Update Test
jacobsen9026 Nov 12, 2024
633e151
Capture update process output and log it
jacobsen9026 Nov 12, 2024
05cb5d6
Formatting
jacobsen9026 Nov 12, 2024
12bef41
Apply any update in dev mode
jacobsen9026 Nov 12, 2024
34e2db4
Attempted Update Fix
Nov 12, 2024
3445a4d
Add double trailing slashes for update parameter paths
jacobsen9026 Nov 12, 2024
17296ff
Proper fix for destinations with spaces
jacobsen9026 Nov 12, 2024
d739de7
Correct $ to &
jacobsen9026 Nov 12, 2024
1603610
Improve service update
jacobsen9026 Nov 13, 2024
077198b
Rely on impersonation for update credentials
jacobsen9026 Nov 13, 2024
f60d40f
Comment out original update invoke code
jacobsen9026 Nov 13, 2024
bd1b85c
Add error capture to update process
Nov 13, 2024
edca13c
Merge pull request #645 from Blazam-App/v1-Dev
jacobsen9026 Nov 13, 2024
16044e5
Add more documentation links and align setting pages header style
jacobsen9026 Nov 13, 2024
2ff41d1
Merge pull request #646 from Blazam-App/v1-Dev
jacobsen9026 Nov 13, 2024
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
142 changes: 142 additions & 0 deletions BLAZAM/BLAZAM - Backup.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<ServerGarbageCollection>false</ServerGarbageCollection>
<AssemblyVersion>1.0.7</AssemblyVersion>
<Version>2024.11.02.0114</Version>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<RootNamespace>BLAZAM</RootNamespace>
<GenerateDocumentationFile>False</GenerateDocumentationFile>

</PropertyGroup>

<ItemGroup>
<Compile Remove="Exceptions\**" />
<Content Remove="Exceptions\**" />
<EmbeddedResource Remove="Exceptions\**" />
<None Remove="Exceptions\**" />
</ItemGroup>

<ItemGroup>
<None Remove="nssm.exe" />
<None Remove="static\img\default_logo.png" />
<None Remove="static\img\default_logo2.png" />
<None Remove="static\img\default_logo3.png" />
<None Remove="static\img\default_logo4.png" />
<None Remove="static\img\default_logo5.png" />
</ItemGroup>







<ItemGroup>
<Content Include="nssm.exe">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="static\img\default_logo.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="static\img\default_logo2.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="static\img\default_logo3.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="static\img\default_logo4.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>

<ItemGroup>
<PackageReference Include="BlazorTemplater" Version="1.5.1" />
<PackageReference Include="Cassia" Version="2.0.0.60" />
<PackageReference Include="DuoUniversal" Version="1.2.5" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.Negotiate" Version="8.0.10" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.10">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.2" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Localization" Version="8.0.10" />
<PackageReference Include="Microsoft.Extensions.Logging.EventLog" Version="8.0.1" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="8.0.6" />
<PackageReference Include="MudBlazor" Version="7.11.0" />
<PackageReference Include="MudBlazor.Markdown" Version="7.8.0" />
<PackageReference Include="MudBlazor.ThemeManager" Version="2.1.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="SixLabors.ImageSharp.Web" Version="3.1.3" />
<PackageReference Include="System.DirectoryServices" Version="8.0.0" />

<PackageReference Include="System.DirectoryServices.AccountManagement" Version="8.0.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\BLAZAMActiveDirectory\BLAZAMActiveDirectory.csproj" />
<ProjectReference Include="..\BLAZAMCommon\BLAZAMCommon.csproj" />
<ProjectReference Include="..\BLAZAMDatabase\BLAZAMDatabase.csproj" />
<ProjectReference Include="..\BLAZAMEmailMessage\BLAZAMEmailMessage.csproj" />
<ProjectReference Include="..\BLAZAMFileSystem\BLAZAMFileSystem.csproj" />
<ProjectReference Include="..\BLAZAMGui\BLAZAMGui.csproj" />
<ProjectReference Include="..\BLAZAMJobs\BLAZAMJobs.csproj" />
<ProjectReference Include="..\BLAZAMLocalization\BLAZAMLocalization.csproj" />
<ProjectReference Include="..\BLAZAMLoggers\BLAZAMLogger.csproj" />
<ProjectReference Include="..\BLAZAMNav\BLAZAMNav.csproj" />
<ProjectReference Include="..\BLAZAMNotifications\BLAZAMNotifications.csproj" />
<ProjectReference Include="..\BLAZAMServices\BLAZAMServices.csproj" />
<ProjectReference Include="..\BLAZAMSession\BLAZAMSession.csproj" />
<ProjectReference Include="..\BLAZAMStatic\BLAZAMStatic.csproj" />
<ProjectReference Include="..\BlazamUpdate\BLAZAMUpdate.csproj" />
</ItemGroup>

<ItemGroup>
<Content Include="static\img\default_logo5.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>

<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>

<ItemGroup>
<Content Update="appsettings.json">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</Content>
<Content Update="wwwroot\favicon.ico">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>

<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>

<ItemGroup>
<None Update="license.rtf">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="updater\update.ps1">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Condition="'$(Configuration)' == 'Debug'" Command="powershell -ExecutionPolicy Unrestricted -NoProfile -NonInteractive -File $(ProjectDir)\IncrementBuildNumber.ps1 -ProjectDir $(ProjectDir) -ProjectPath $(ProjectPath)" />
</Target>
</Project>

8 changes: 6 additions & 2 deletions BLAZAM/BLAZAM.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<ServerGarbageCollection>false</ServerGarbageCollection>
<AssemblyVersion>1.0.7</AssemblyVersion>
<Version>2024.10.31.0016</Version>
<AssemblyVersion>1.1.0</AssemblyVersion>
<Version>2024.11.13.2234</Version>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<RootNamespace>BLAZAM</RootNamespace>
<GenerateDocumentationFile>False</GenerateDocumentationFile>
Expand Down Expand Up @@ -58,6 +58,10 @@
<PackageReference Include="Cassia" Version="2.0.0.60" />
<PackageReference Include="DuoUniversal" Version="1.2.5" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.Negotiate" Version="8.0.10" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.10">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.2" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.1" />
Expand Down
4 changes: 1 addition & 3 deletions BLAZAM/Pages/Computers/ViewBitLocker.razor
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@


<BitLockerViewer Computer="_computer"/>
<MudOverlay Visible="LoadingData" DarkBackground="true" Absolute="true">
<MudProgressCircular Color="Color.Secondary" Indeterminate="true" />
</MudOverlay>
<LoadingData Loading=LoadingData />



Expand Down
12 changes: 4 additions & 8 deletions BLAZAM/Pages/Computers/ViewComputer.razor
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@
OnUnlock="@Unlock"
OnShowHistory="@(()=>{ChangeHistoryModal?.ShowAsync();})"
OnShowPermissions="@(()=>{EffectivePermissionsModal?.ShowAsync();})" />
<MudOverlay Visible="SavingChanges" DarkBackground="false" Absolute="true">

</MudOverlay>
<LoadingData Loading=SavingChanges />


</SetSubHeader>
Expand Down Expand Up @@ -231,9 +229,7 @@
<UnsavedChangesPrompt SaveChanges="SaveChanges" DiscardChanges="DiscardChanges" />
}
}
<MudOverlay Visible="SavingChanges" DarkBackground="true" Absolute="true">
<MudProgressCircular Color="Color.Secondary" Indeterminate="true" />
</MudOverlay>
<LoadingData Loading=SavingChanges />



Expand Down Expand Up @@ -292,7 +288,7 @@
Computer.Delete();
SnackBarService.Success(Computer.CanonicalName + " has been deleted.");
await AuditLogger.Computer.Deleted(Computer);
_ = OUNotificationService.PostAsync(Computer, NotificationType.Delete);
_ = NotificationGenerationService.PostAsync(Computer, NotificationType.Delete, CurrentUser.State);

Nav.NavigateTo("/users/search");

Expand Down Expand Up @@ -332,7 +328,7 @@
}
if (changes.Any(c => c.Field != ActiveDirectoryFields.MemberOf.FieldName))
{
_ = OUNotificationService.PostAsync(Computer, NotificationType.Modify);
_ = NotificationGenerationService.PostAsync(Computer, NotificationType.Modify, CurrentUser.State);
await AuditLogger.User.Changed(Computer, changes.Where(c => c.Field != ActiveDirectoryFields.MemberOf.FieldName).ToList());
}

Expand Down
4 changes: 2 additions & 2 deletions BLAZAM/Pages/Configure/Audit.razor
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@



<AppPageTitle>Audit</AppPageTitle>
<h3>Audit</h3>
<AppPageTitle>@AppLocalization["Audit"]</AppPageTitle>
<MudText Typo="Typo.h4">@AppLocalization["Audit"]</MudText>



Expand Down
7 changes: 4 additions & 3 deletions BLAZAM/Pages/Configure/Fields.razor
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
@inherits DatabaseComponentBase
@attribute [Authorize(Roles = UserRoles.SuperAdmin)]

<AppPageTitle>@AppLocalization["Fields"]</AppPageTitle>

<MudText Typo="Typo.h4">@AppLocalization["Fields"] <AppDocumentationButton Page="/admin/fields" /></MudText>
<MudDataGrid @ref=fieldGrid
T="CustomActiveDirectoryField"
ServerData="RefreshData"
Expand All @@ -11,10 +14,8 @@
FixedHeader=true
EditTrigger="DataGridEditTrigger.Manual">
<ToolBarContent>
<MudText Typo="Typo.h6">@AppLocalization["Fields"]</MudText>
<MudSpacer />
<MudIconButton Icon="@Icons.Material.Filled.Add" OnClick="@(()=>{addFieldModal?.ShowAsync();})" />
<AppDocumentationButton Page="/admin/fields" />
<MudIconButton Icon="@Icons.Material.Filled.Add" [email protected] OnClick="@(()=>{addFieldModal?.ShowAsync();})" />

</ToolBarContent>

Expand Down
20 changes: 18 additions & 2 deletions BLAZAM/Pages/Configure/Permissions.razor
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
@attribute [Authorize(Roles = UserRoles.SuperAdmin)]

@inherits TabbedAppComponentBase
<AppPageTitle>@AppLocalization["Permissions"]</AppPageTitle>

<AppPageTitle>Permissions</AppPageTitle>
<AuthorizeView [email protected]>

<SetHeader>
Expand Down Expand Up @@ -48,7 +48,7 @@

@if (Monitor.DirectoryConnectionStatus == ServiceConnectionState.Up)
{
<ImpersonateUser />

<PermissionMapper />

}
Expand Down Expand Up @@ -76,6 +76,22 @@
</TabContent>

</MudTabPanel>
<MudTabPanel>
<ChildContent>

@if (Monitor.DirectoryConnectionStatus == ServiceConnectionState.Up)
{
<GlobalPermissions />

}


</ChildContent>
<TabContent>
@AppLocalization["Global Settings"]
</TabContent>

</MudTabPanel>
</MudTabs>


Expand Down
2 changes: 1 addition & 1 deletion BLAZAM/Pages/Configure/Settings.razor
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
@attribute [Authorize(Roles = UserRoles.SuperAdmin)]

@inherits TabbedAppComponentBase
<AppPageTitle>@AppLocalization["Settings"]</AppPageTitle>

<AppPageTitle>Settings</AppPageTitle>
<SetHeader>
</SetHeader>
<AuthorizeView>
Expand Down
2 changes: 2 additions & 0 deletions BLAZAM/Pages/Configure/Templates.razor
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@

</AppModal>
</SetHeader>

<MudText Typo="Typo.h4">@AppLocalization["Templates"] <AppDocumentationButton Page="/admin/templates" /></MudText>
@if (Templates.Count() > 0)
{

Expand Down
3 changes: 3 additions & 0 deletions BLAZAM/Pages/Error/UnhandledExceptionPage.razor
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@
</MudPaper>
</MudCard>
}
else
{
<MudText Class="my-7">To see error details, set DebugMode to true in appsettings.json in the Blazam installation directory.</MudText>
}

}
catch (Exception ex)
Expand Down
4 changes: 2 additions & 2 deletions BLAZAM/Pages/Groups/ConfirmNewGroup.razor
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@inherits AppComponentBase
@inject OUNotificationService OUNotificationService
@inject NotificationGenerationService OUNotificationService

<AppPageTitle>Confirm Group Creation</AppPageTitle>

Expand Down Expand Up @@ -43,7 +43,7 @@

}
await AuditLogger.Group.Created(Group);
_ = OUNotificationService.PostAsync(Group, NotificationType.Create);
_ = OUNotificationService.PostAsync(Group, NotificationType.Create,CurrentUser.State);

var commitJob = Group.CommitChanges();
await Confirmed.InvokeAsync(Group);
Expand Down
10 changes: 5 additions & 5 deletions BLAZAM/Pages/Groups/ViewGroup.razor
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
OnShowHistory="@(()=>{ChangeHistoryModal?.ShowAsync();})"
OnShowPermissions="@(()=>{EffectivePermissionsModal?.ShowAsync();})"
OnToggleEditMode="@ToggleEditMode" />
<MudOverlay Visible="SavingChanges" DarkBackground="false" Absolute="true" />
<LoadingData Loading=SavingChanges />
</SetSubHeader>

<CascadingValue Value="EditMode">
Expand Down Expand Up @@ -161,20 +161,20 @@
{
await AuditLogger.User.Assigned(assignment.Member, assignment.Group);
await AuditLogger.Group.MemberAdded(assignment.Group, assignment.Member);
_ = OUNotificationService.PostAsync(assignment.Member, NotificationType.GroupAssignment, target: Group);
_ = NotificationGenerationService.PostAsync(assignment.Member, NotificationType.GroupAssignment, CurrentUser.State, Group);

}

foreach (var assignment in unassignFrom)
{
await AuditLogger.User.Unassigned(assignment.Member, assignment.Group);
await AuditLogger.Group.MemberRemoved(assignment.Group, assignment.Member);
_ = OUNotificationService.PostAsync(assignment.Member, NotificationType.GroupAssignment, target: Group);
_ = NotificationGenerationService.PostAsync(assignment.Member, NotificationType.GroupAssignment, CurrentUser.State, Group);

}
if (changes.Any(c => c.Field != "member"))
{
_ = OUNotificationService.PostAsync(Group, NotificationType.Modify);
_ = NotificationGenerationService.PostAsync(Group, NotificationType.Modify, CurrentUser.State);
await AuditLogger.Group.Changed(Group, changes.Where(c => c.Field != ActiveDirectoryFields.MemberOf.FieldName).ToList());
}
//await AuditLogger.Group.Changed(Group, Group.Changes);
Expand Down Expand Up @@ -205,7 +205,7 @@
Group.Delete();
SnackBarService.Success(Group.CanonicalName + " has been deleted.");
await AuditLogger.Group.Deleted(Group);
_ = OUNotificationService.PostAsync(Group, NotificationType.Delete);
_ = NotificationGenerationService.PostAsync(Group, NotificationType.Delete, CurrentUser.State);

//Group = null;
Nav.NavigateTo("/groups/search");
Expand Down
6 changes: 1 addition & 5 deletions BLAZAM/Pages/Login.razor
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,7 @@

</MudContainer>

<MudOverlay Visible="attemptingSignIn"
DarkBackground="true"
Absolute="true">
@*<MudProgressCircular Color="Color.Secondary" Indeterminate="true" />*@
</MudOverlay>
<LoadingData Loading=attemptingSignIn />
</form>
<MudElement Class="d-flex mud-width-full justify-end">
<Copyright Style="font-size:0.8em;" />
Expand Down
Loading
Loading