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

Develop #22

Merged
merged 4 commits into from
Dec 14, 2024
Merged
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
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Bug report
about: Create a report to help us improve
title: "Short description of issue"
labels: bug
assignees: ''
---

**Description:** Full description of issue here

**Expected behavior:** Screenshots and/or description of expected behavior

**OS:** OS on which the bug was encountered [e.g. linux x86_64 QTS 5.1.8 (20240712)]

**Docker version:** Docker version [e.g. 27.1.1]

**Total CPU:** Total available CPU

**Total RAM:** Total available RAM

**Application version:** Application version you are using [e.g. 1.0.1]

**Workaround** A workaround you may have found

[Pull requests](https://github.com/Ramo-Y/BulkRename/pulls) are very welcome.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Feature request
about: Suggest an idea for this project
title: "Short description of request"
labels: feature request
assignees: ''
---

**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is.

**Describe the solution you'd like** A clear and concise description of what you want to happen.

**Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered.

**Additional context** Add any other context or screenshots about the feature request here.

[Pull requests](https://github.com/Ramo-Y/BulkRename/pulls) are very welcome.
Original file line number Diff line number Diff line change
@@ -10,9 +10,9 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="NUnit" Version="4.2.2" />
<PackageReference Include="NUnit.Analyzers" Version="4.3.0">
<PackageReference Include="NUnit.Analyzers" Version="4.4.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
9 changes: 4 additions & 5 deletions src/BulkRename/BulkRename.csproj
Original file line number Diff line number Diff line change
@@ -5,15 +5,14 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.10" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.10" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.10">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.11" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.11" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.11">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Serilog" Version="4.1.0" />
<PackageReference Include="Serilog" Version="4.2.0" />
<PackageReference Include="Serilog.AspNetCore" Version="8.0.3" />
<PackageReference Include="Serilog.Sinks.Seq" Version="8.0.0" />
</ItemGroup>
3 changes: 2 additions & 1 deletion src/BulkRename/Models/PreparationDatabase.cs
Original file line number Diff line number Diff line change
@@ -55,7 +55,8 @@ private async Task TrySeedData(DbContext context)

_logger.LogWarning("Database is propably not ready...");
_logger.LogWarning($"Connection failed, will try again. Max timeout = {_connectionTimeOut}ms");
Thread.Sleep(1000);

await Task.Delay(1000);
await TrySeedData(context);
}
}
8 changes: 5 additions & 3 deletions src/BulkRename/Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
@@ -45,9 +45,11 @@
</main>
</div>

<footer class="border-top footer text-muted">
<div class="container">
&copy; 2024 - BulkRename - <a asp-area="" asp-controller="Home" asp-action="Index">@SharedLocalizer[LocalizationConstants.HOME]</a>
<footer class="footer text-muted">
<div class="container footer-links">
<a>&copy; 2024 - BulkRename</a>
<a href="https://github.com/Ramo-Y/BulkRename">Project page</a>
<a href="https://github.com/sponsors/Ramo-Y">&hearts; Support this project</a>
</div>
</footer>
<script src="~/lib/jquery/dist/jquery.min.js"></script>
7 changes: 7 additions & 0 deletions src/BulkRename/Views/Shared/_Layout.cshtml.css
Original file line number Diff line number Diff line change
@@ -40,9 +40,16 @@ button.accept-policy {
}

.footer {
border-top: 1px solid #ccc;
position: absolute;
bottom: 0;
width: 100%;
white-space: nowrap;
line-height: 60px;
}

.footer-links {
display: flex;
justify-content: space-evenly;
align-items: center;
}