mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 10: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
@@ -10,6 +10,9 @@ namespace Nemera.Contracts.Responses.Plugins;
|
||||
/// <summary>
|
||||
/// Represents a detected plugin.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// IsOfficial is computed from the loaded plugin binaries when the response is built. It is not stored with the plugin entity, because replacing a plugin binary must change the badge without a database migration.
|
||||
/// </remarks>
|
||||
/// <param name="Id">The unique identifier of the plugin.</param>
|
||||
/// <param name="Name">The display name of the plugin.</param>
|
||||
/// <param name="Author">The author of the plugin.</param>
|
||||
@@ -18,6 +21,7 @@ namespace Nemera.Contracts.Responses.Plugins;
|
||||
/// <param name="LoadStatus">The load status of the plugin.</param>
|
||||
/// <param name="LoadError">The error message when the plugin failed to load, if applicable.</param>
|
||||
/// <param name="Settings">The settings of the plugin.</param>
|
||||
/// <param name="IsOfficial">Whether the plugin matches a trusted bundled plugin binary.</param>
|
||||
[DebuggerDisplay("Name: {Name}")]
|
||||
public sealed record PluginResponse(
|
||||
Guid Id,
|
||||
@@ -27,5 +31,6 @@ public sealed record PluginResponse(
|
||||
string Description,
|
||||
PluginLoadStatus LoadStatus,
|
||||
string? LoadError,
|
||||
IReadOnlyDictionary<string, string>? Settings
|
||||
IReadOnlyDictionary<string, string>? Settings,
|
||||
bool IsOfficial
|
||||
);
|
||||
Reference in new issue
Block a user