diff --git a/.github/workflows/gitleaks.yaml b/.github/workflows/gitleaks.yaml new file mode 100644 index 0000000..d9a8e36 --- /dev/null +++ b/.github/workflows/gitleaks.yaml @@ -0,0 +1,38 @@ +name: Secret Value found! +on: + push: + public: +jobs: + scan: + name: gitleaks + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Install the gitleaks + run: wget https://github.com/zricethezav/gitleaks/releases/download/v8.15.2/gitleaks_8.15.2_linux_x64.tar.gz + shell: pwsh + - name: Extract the tar file + run: tar xzvf gitleaks_8.15.2_linux_x64.tar.gz + - name: Generate the report + id: gitleaks + run: $GITHUB_WORKSPACE/gitleaks detect -s $GITHUB_WORKSPACE -f json -r $GITHUB_WORKSPACE/leaksreport.json + shell: bash + continue-on-error: true + - name: Setup NuGet.exe + if: steps.gitleaks.outcome != 'success' + uses: nuget/setup-nuget@v1 + with: + nuget-version: latest + - name: Install the dotnet + if: steps.gitleaks.outcome != 'success' + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '3.1.x' + - name: Install the report tool packages + if: steps.gitleaks.outcome != 'success' + run: | + nuget install "Syncfusion.Email" -source "https://nexus.syncfusion.com/repository/nuget-hosted/" + dir $GITHUB_WORKSPACE/Syncfusion.Email.1.0.0/lib/netcoreapp3.1 + dotnet $GITHUB_WORKSPACE/Syncfusion.Email.1.0.0/lib/netcoreapp3.1/Email.dll "citeam@syncfusion.com" "$GITHUB_REF_NAME" ${{ secrets.NETWORKCREDENTIALS }} ${{ secrets.NETWORKKEY }} "$GITHUB_WORKSPACE" + exit 1 \ No newline at end of file diff --git a/ProgrammaticDateNavigation/ProgrammaticDateNavigation.sln b/ProgrammaticDateNavigation/ProgrammaticDateNavigation.sln new file mode 100644 index 0000000..5b71bd4 --- /dev/null +++ b/ProgrammaticDateNavigation/ProgrammaticDateNavigation.sln @@ -0,0 +1,27 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31611.283 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ProgrammaticDateNavigation", "ProgrammaticDateNavigation\ProgrammaticDateNavigation.csproj", "{F8BC48F1-A1A5-4BBE-8A17-31F354296241}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F8BC48F1-A1A5-4BBE-8A17-31F354296241}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F8BC48F1-A1A5-4BBE-8A17-31F354296241}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F8BC48F1-A1A5-4BBE-8A17-31F354296241}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {F8BC48F1-A1A5-4BBE-8A17-31F354296241}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F8BC48F1-A1A5-4BBE-8A17-31F354296241}.Release|Any CPU.Build.0 = Release|Any CPU + {F8BC48F1-A1A5-4BBE-8A17-31F354296241}.Release|Any CPU.Deploy.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {61F7FB11-1E47-470C-91E2-47F8143E1572} + EndGlobalSection +EndGlobal diff --git a/ProgrammaticDateNavigation/ProgrammaticDateNavigation/App.xaml b/ProgrammaticDateNavigation/ProgrammaticDateNavigation/App.xaml new file mode 100644 index 0000000..f8ef2d5 --- /dev/null +++ b/ProgrammaticDateNavigation/ProgrammaticDateNavigation/App.xaml @@ -0,0 +1,26 @@ + + + + + + #512bdf + White + + + + + + + + diff --git a/ProgrammaticDateNavigation/ProgrammaticDateNavigation/App.xaml.cs b/ProgrammaticDateNavigation/ProgrammaticDateNavigation/App.xaml.cs new file mode 100644 index 0000000..9d2b5a5 --- /dev/null +++ b/ProgrammaticDateNavigation/ProgrammaticDateNavigation/App.xaml.cs @@ -0,0 +1,11 @@ +namespace ProgrammaticDateNavigation; + +public partial class App : Application +{ + public App() + { + InitializeComponent(); + + MainPage = new MainPage(); + } +} diff --git a/ProgrammaticDateNavigation/ProgrammaticDateNavigation/MainPage.xaml b/ProgrammaticDateNavigation/ProgrammaticDateNavigation/MainPage.xaml new file mode 100644 index 0000000..e215369 --- /dev/null +++ b/ProgrammaticDateNavigation/ProgrammaticDateNavigation/MainPage.xaml @@ -0,0 +1,15 @@ + + + + + + + + +