From ee55ac482ceb18e47c22d120d8a51072a046c4af Mon Sep 17 00:00:00 2001 From: Binary Alley Date: Mon, 16 Nov 2026 18:18:21 +0200 Subject: [PATCH] Formats code comments as sentences in the build and asset files. Capitalizes the first word and adds the terminal period in the Dockerfiles, the compose files, the CI workflow, the MSBuild comments, the Razor views and the client assets. The existing delimiter spacing is preserved, structural banners and commented-out commands are untouched, and the Dockerfile tool names use their proper case. --- .github/workflows/run-tests.yml | 6 +- .../Lumina.Plugins.Calibre.csproj | 2 +- .../Lumina.Plugins.CoverArtArchive.csproj | 2 +- .../Lumina.Plugins.Epub.csproj | 2 +- .../Lumina.Plugins.ID3.csproj | 2 +- .../Lumina.Plugins.LocalMusicArtwork.csproj | 2 +- .../Lumina.Plugins.MusicBrainz.csproj | 2 +- .../Lumina.Plugins.OpenLibrary.csproj | 2 +- .../Lumina.Plugins.Pdf.csproj | 2 +- src/Lumina.Presentation.Api/Dockerfile | 14 +- .../Core/Views/Auth/AccessDenied.cshtml | 4 +- .../FileSystemBrowser/Default.cshtml | 16 +-- .../Core/Views/Shared/NotFound.cshtml | 4 +- src/Lumina.Presentation.Web/Dockerfile | 12 +- .../wwwroot/css/site.css | 2 +- .../js/audio-player/audio-player-decode.js | 2 +- .../js/audio-player/audio-player-download.js | 2 +- .../js/audio-player/audio-player-vu-meter.js | 2 +- .../wwwroot/js/dialogs.js | 10 +- .../wwwroot/js/image-viewer.js | 8 +- .../wwwroot/js/notifications.js | 6 +- .../wwwroot/js/site.js | 124 +++++++++--------- .../js/theme-client-template-engine.js | 8 +- src/docker-compose.vs.debug.yml | 4 +- src/docker-compose.yml | 2 +- 25 files changed, 121 insertions(+), 121 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 6e871e06..94d7a778 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -4,7 +4,7 @@ on: pull_request: branches: - master - workflow_dispatch: # enable manual triggers + workflow_dispatch: # Enable manual triggers. jobs: run-platform-tests: @@ -32,8 +32,8 @@ jobs: - name: Build run: dotnet build src/Lumina.slnx --no-restore -p:SixLaborsLicenseEnforceBuild=true - name: Run tests - # blame-hang terminates a test that blocks for 10 minutes and dumps the hang stack, - # turning the recurring 'stuck job' into a failing job that names the culprit test + # Blame-hang terminates a test that blocks for 10 minutes and dumps the hang stack, + # turning the recurring 'stuck job' into a failing job that names the culprit test. run: dotnet test src/Lumina.slnx --no-build --verbosity normal --blame-hang --blame-hang-timeout 10m - name: Upload hang diagnostics if: failure() diff --git a/plugins/Lumina.Plugins.Calibre/Lumina.Plugins.Calibre.csproj b/plugins/Lumina.Plugins.Calibre/Lumina.Plugins.Calibre.csproj index 21cb19f4..f53969c4 100644 --- a/plugins/Lumina.Plugins.Calibre/Lumina.Plugins.Calibre.csproj +++ b/plugins/Lumina.Plugins.Calibre/Lumina.Plugins.Calibre.csproj @@ -21,7 +21,7 @@ - false + false runtime diff --git a/plugins/Lumina.Plugins.CoverArtArchive/Lumina.Plugins.CoverArtArchive.csproj b/plugins/Lumina.Plugins.CoverArtArchive/Lumina.Plugins.CoverArtArchive.csproj index bed7d79c..f9b9e720 100644 --- a/plugins/Lumina.Plugins.CoverArtArchive/Lumina.Plugins.CoverArtArchive.csproj +++ b/plugins/Lumina.Plugins.CoverArtArchive/Lumina.Plugins.CoverArtArchive.csproj @@ -23,7 +23,7 @@ - false + false runtime diff --git a/plugins/Lumina.Plugins.Epub/Lumina.Plugins.Epub.csproj b/plugins/Lumina.Plugins.Epub/Lumina.Plugins.Epub.csproj index 21cb19f4..f53969c4 100644 --- a/plugins/Lumina.Plugins.Epub/Lumina.Plugins.Epub.csproj +++ b/plugins/Lumina.Plugins.Epub/Lumina.Plugins.Epub.csproj @@ -21,7 +21,7 @@ - false + false runtime diff --git a/plugins/Lumina.Plugins.ID3/Lumina.Plugins.ID3.csproj b/plugins/Lumina.Plugins.ID3/Lumina.Plugins.ID3.csproj index 7ff8f7bd..8d4bae2e 100644 --- a/plugins/Lumina.Plugins.ID3/Lumina.Plugins.ID3.csproj +++ b/plugins/Lumina.Plugins.ID3/Lumina.Plugins.ID3.csproj @@ -23,7 +23,7 @@ - false + false runtime diff --git a/plugins/Lumina.Plugins.LocalMusicArtwork/Lumina.Plugins.LocalMusicArtwork.csproj b/plugins/Lumina.Plugins.LocalMusicArtwork/Lumina.Plugins.LocalMusicArtwork.csproj index 406f5b96..9b8a88f6 100644 --- a/plugins/Lumina.Plugins.LocalMusicArtwork/Lumina.Plugins.LocalMusicArtwork.csproj +++ b/plugins/Lumina.Plugins.LocalMusicArtwork/Lumina.Plugins.LocalMusicArtwork.csproj @@ -23,7 +23,7 @@ - false + false runtime diff --git a/plugins/Lumina.Plugins.MusicBrainz/Lumina.Plugins.MusicBrainz.csproj b/plugins/Lumina.Plugins.MusicBrainz/Lumina.Plugins.MusicBrainz.csproj index bed7d79c..f9b9e720 100644 --- a/plugins/Lumina.Plugins.MusicBrainz/Lumina.Plugins.MusicBrainz.csproj +++ b/plugins/Lumina.Plugins.MusicBrainz/Lumina.Plugins.MusicBrainz.csproj @@ -23,7 +23,7 @@ - false + false runtime diff --git a/plugins/Lumina.Plugins.OpenLibrary/Lumina.Plugins.OpenLibrary.csproj b/plugins/Lumina.Plugins.OpenLibrary/Lumina.Plugins.OpenLibrary.csproj index 56fbb4a4..5d74e545 100644 --- a/plugins/Lumina.Plugins.OpenLibrary/Lumina.Plugins.OpenLibrary.csproj +++ b/plugins/Lumina.Plugins.OpenLibrary/Lumina.Plugins.OpenLibrary.csproj @@ -21,7 +21,7 @@ - false + false runtime diff --git a/plugins/Lumina.Plugins.Pdf/Lumina.Plugins.Pdf.csproj b/plugins/Lumina.Plugins.Pdf/Lumina.Plugins.Pdf.csproj index 55750f63..de4aec64 100644 --- a/plugins/Lumina.Plugins.Pdf/Lumina.Plugins.Pdf.csproj +++ b/plugins/Lumina.Plugins.Pdf/Lumina.Plugins.Pdf.csproj @@ -34,7 +34,7 @@ - false + false runtime diff --git a/src/Lumina.Presentation.Api/Dockerfile b/src/Lumina.Presentation.Api/Dockerfile index 07194994..40c04593 100644 --- a/src/Lumina.Presentation.Api/Dockerfile +++ b/src/Lumina.Presentation.Api/Dockerfile @@ -1,7 +1,7 @@ -# This stage is used when running from VS in fast mode (Default for Debug configuration) +# This stage is used when running from VS in fast mode (Default for Debug configuration). FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS base -# curl is used by the container healthcheck to probe the /health endpoints -# ffmpeg is used by the API server to remux or transcode audio the browser cannot play directly. +# Curl is used by the container healthcheck to probe the /health endpoints. +# FFmpeg is used by the API server to remux or transcode audio the browser cannot play directly. # The package comes from the base image distribution and is not version-pinned, so the encoder set can change with a base image rebuild. # The API startup probe verifies the encoders the normalization catalog uses and reports a missing one at startup. Pin the base image digest # or the package version when a fully reproducible toolchain is required. @@ -20,7 +20,7 @@ ARG BUILD_CONFIGURATION=Release WORKDIR /src -# restore NuGet packages (keeping this section separate from the rest of the project files allows Docker to cache the restored packages) +# Restore NuGet packages (keeping this section separate from the rest of the project files allows Docker to cache the restored packages). COPY ["AssemblyInfo_Shared.cs", "."] COPY ["Lumina.Presentation.Api/Lumina.Presentation.Api.csproj", "Lumina.Presentation.Api/"] COPY ["Lumina.Application/Lumina.Application.csproj", "Lumina.Application/"] @@ -33,7 +33,7 @@ COPY ["Lumina.Plugins.Contracts/Lumina.Plugins.Contracts.csproj", "Lumina.Plugin RUN dotnet restore "./Lumina.Presentation.Api/Lumina.Presentation.Api.csproj" /p:BaseOutputPath=/app/publish/ -# build the project +# Build the project. COPY ["Lumina.Presentation.Api/", "Lumina.Presentation.Api/"] COPY ["Lumina.Application/", "Lumina.Application/"] COPY ["Lumina.Contracts/", "Lumina.Contracts/"] @@ -60,10 +60,10 @@ WORKDIR /app COPY --from=publish /app/publish . # The HTTP port is controlled per run mode: launchSettings.json for local development, ASPNETCORE_HTTP_PORTS here for -# Docker, and for a published DLL run directly on a host, ASPNETCORE_URLS (or ASPNETCORE_HTTP_PORTS) must be set +# Docker, and for a published DLL run directly on a host, ASPNETCORE_URLS (or ASPNETCORE_HTTP_PORTS) must be set. ENV ASPNETCORE_HTTP_PORTS=5214 EXPOSE 5214 ENTRYPOINT ["dotnet", "Lumina.Presentation.Api.dll"] -# to build this Docker image, run the following command from the root of the project (location of the .slnx solution file): +# To build this Docker image, run the following command from the root of the project (location of the .slnx solution file): # docker build --no-cache -t lumina-api -f Lumina.Presentation.Api/Dockerfile . diff --git a/src/Lumina.Presentation.Web/Core/Views/Auth/AccessDenied.cshtml b/src/Lumina.Presentation.Web/Core/Views/Auth/AccessDenied.cshtml index cfec2b7a..8672e19e 100644 --- a/src/Lumina.Presentation.Web/Core/Views/Auth/AccessDenied.cshtml +++ b/src/Lumina.Presentation.Web/Core/Views/Auth/AccessDenied.cshtml @@ -6,8 +6,8 @@ @inject IViewLocalizer _localizer -
-
+
+
diff --git a/src/Lumina.Presentation.Web/Core/Views/Shared/Components/FileSystemBrowser/Default.cshtml b/src/Lumina.Presentation.Web/Core/Views/Shared/Components/FileSystemBrowser/Default.cshtml index a116da6f..fed4cc14 100644 --- a/src/Lumina.Presentation.Web/Core/Views/Shared/Components/FileSystemBrowser/Default.cshtml +++ b/src/Lumina.Presentation.Web/Core/Views/Shared/Components/FileSystemBrowser/Default.cshtml @@ -12,7 +12,7 @@
- + - +
- +
- +
@@ -88,9 +88,9 @@