mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-02 19:11:10 +00:00
Adds bundled plugin trust and cross-platform native deployment
- embeds the append-only historical and deny trust lists in the API and marks matching bundled plugins as Official without blocking loading - builds and records the current plugin manifest only for official release builds - deploys the PDF native libraries for the supported Linux, macOS and Windows runtimes from the plugin dependency manifest - records release hashes by appending only missing entries to master's manifest and rejects any diff that removes a line - documents the release flow, the supported runtimes and the plugin installer limits
This commit is contained in:
1 parent
3fb8912c7f
commit
b30cbd6b9e
114 files changed
+2708
-243
No files matched your search
+4
-4
@@ -1,4 +1,7 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Options;
|
||||
using Nemera.Application.Common.Infrastructure.Models.DTO.Configuration;
|
||||
using Nemera.Application.Core.MediaLibrary.WrittenContentLibrary.BookLibrary.Artwork;
|
||||
using Nemera.Application.Fixtures.Common.Infrastructure.Models.DTO.Configuration;
|
||||
@@ -13,9 +16,6 @@ using Nemera.Domain.Core.BoundedContexts.FileSystemManagementBoundedContext.File
|
||||
using Nemera.Domain.Fixtures.Core.BoundedContexts.FileSystemManagementBoundedContext.FileSystemManagementAggregate.ValueObjects;
|
||||
using Nemera.Domain.SharedKernel.Common.Enums.PhotoLibrary;
|
||||
using Nemera.Infrastructure.Common.DependencyInjection;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Options;
|
||||
using NSubstitute;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Net;
|
||||
@@ -57,7 +57,7 @@ public class BookArtworkServiceSecurityTests
|
||||
mockConfiguration.GetSection(Arg.Any<string>()).Returns(Substitute.For<IConfigurationSection>());
|
||||
|
||||
ServiceCollection services = new();
|
||||
services.AddInfrastructureLayerServices(mockConfiguration);
|
||||
services.AddInfrastructureLayerServices(mockConfiguration, new Dictionary<string, IReadOnlySet<string>>());
|
||||
services.AddScoped(_ => mockEnvironmentContext);
|
||||
// The real path service is used, so that the sanitization of hostile segment names is exercised.
|
||||
services.AddScoped(_ => CreateRealPathService());
|
||||
|
||||
Reference in new issue
Block a user