-
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 #423 from Blazam-App/Beta-Dev
Downpull
- Loading branch information
Showing
69 changed files
with
7,001 additions
and
504 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 |
---|---|---|
|
@@ -13,6 +13,7 @@ on: | |
jobs: | ||
build: | ||
runs-on: windows-latest | ||
permissions: write-all | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
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,23 @@ | ||
name: Close inactive issues | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "30 1 * * *" | ||
|
||
jobs: | ||
close-issues: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/stale@v5 | ||
with: | ||
days-before-issue-stale: 14 | ||
days-before-issue-close: 14 | ||
stale-issue-label: "stale" | ||
stale-issue-message: "This issue is stale because it has been open for 14 days with no activity." | ||
close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale." | ||
days-before-pr-stale: -1 | ||
days-before-pr-close: -1 | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |
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
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,40 @@ | ||
@inherits AppComponentBase | ||
<Section Title=@AppLocalization["BitLocker"]> | ||
|
||
<MudStack Row=true Class="@Class"> | ||
<MudDataGrid T=IADBitLockerRecovery Items="_recoveries"> | ||
<Columns> | ||
<PropertyColumn Property="x=>x.RecoveryId" Title="@AppLocalization["Recovery Id"]" /> | ||
<PropertyColumn Property="x=>x.RecoveryPassword" Title="@AppLocalization["Recovery Password"]" /> | ||
</Columns> | ||
</MudDataGrid> | ||
|
||
</MudStack> | ||
</Section> | ||
|
||
@code{ | ||
[Parameter] | ||
public string Class{ get; set; } | ||
|
||
private IADComputer _computer; | ||
[Parameter] | ||
public IADComputer Computer{ get=>_computer; set | ||
{ | ||
if (_computer == value) return; | ||
_computer = value; | ||
GetRecoveries(); | ||
|
||
} } | ||
|
||
List<IADBitLockerRecovery> _recoveries = new(); | ||
|
||
protected override async Task OnInitializedAsync(){ | ||
await base.OnInitializedAsync(); | ||
|
||
|
||
} | ||
private async void GetRecoveries(){ | ||
_recoveries = await Computer.GetBitLockerRecoveryAsync(); | ||
await InvokeAsync(StateHasChanged); | ||
} | ||
} |
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,40 @@ | ||
@using BLAZAM.Gui.UI.Computers | ||
@inherits DirectoryEntryViewBase | ||
@{ | ||
string _fieldMudStackClasses = "flex-wrap gap-10"; | ||
} | ||
|
||
|
||
<BitLockerViewer Computer="_computer"/> | ||
<MudOverlay Visible="LoadingData" DarkBackground="true" Absolute="true"> | ||
<MudProgressCircular Color="Color.Secondary" Indeterminate="true" /> | ||
</MudOverlay> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
@code { | ||
IADBitLockerRecovery? BitLocker=> DirectoryEntry as IADBitLockerRecovery; | ||
List<IADBitLockerRecovery> _recoveries = new(); | ||
IADComputer _computer; | ||
protected override async Task OnInitializedAsync() | ||
{ | ||
|
||
await base.OnInitializedAsync(); | ||
await InvokeAsync(StateHasChanged); | ||
|
||
|
||
_computer = (IADComputer)BitLocker.GetParent(); | ||
|
||
LoadingData = false; | ||
await RefreshEntryComponents(); | ||
} | ||
|
||
|
||
|
||
} |
Oops, something went wrong.