yiyun

Results 53 issues of yiyun

PluginCore Admin 在线修改用户名、密码

enhancement

兼容层 - 插件 `info.json` 中 声明使用哪个 `PluginContextPack` > 在以下时 使用 - 在启动时加载插件 - 启用插件

enhancement

PluginCore Admin 前端 显示 版本 > 需要显示 3 个版本 - `plugincore-admin-frontend` 前端版本 - `PluginCore.AspNetCore` 版本 - 运行 `PluginCore.AspNetCore` 的 主程序 的 主程序集 版本 https://github.com/yiyungent/PluginCore

enhancement

> 仅为 `Docker` 下,并挂载 `Plugins` 目录时,上传 插件才发生此问题, > 不挂载 `Plugins` 目录,经过测试,正常上传插件 ![image](https://user-images.githubusercontent.com/16939388/154637682-4510312a-bc3e-454a-8d6e-4da2ee6ee2cc.png) > 经过测试,仅为 上传过程错误, 手动上传到插件文件夹 `Plugins`, 并配置 `App_Data/plugin.config.json`, 无论 `安装`, `启用` , `禁用`, `卸载`, `删除` 都正常使用

bug

``` warn: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[60] Storing keys in a directory '/root/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] No...

help wanted

https://plugincore.moeci.com/api/plugins/Hello 当禁用此插件后,尝试访问此链接,会报错 ![image](https://user-images.githubusercontent.com/16939388/130654201-d16a49c1-86de-4cd3-b197-1aa143e85933.png)

bug

![image](https://user-images.githubusercontent.com/16939388/130476016-312ef7bb-589d-41d0-9f7a-a7bdff60def7.png) # 原因 不知道为什么 `dotnet pack` 打包,里面的 `PluginCore.dll` 缺少 `Resources`, 但是 `dotnet build -c Release` 方式的,就有 ![image](https://user-images.githubusercontent.com/16939388/130476545-1e9e552e-eb51-4633-8623-8d8fb83d9f7b.png)

help wanted

```C# using System; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using PluginCore.IPlugins; namespace WebSocketDemoPlugin { public class WebSocketDemoPlugin : BasePlugin, IStartupXPlugin { public override (bool IsSuccess, string Message) AfterEnable() { Console.WriteLine($"{nameof(WebSocketDemoPlugin)}: {nameof(AfterEnable)}"); return...

bug
help wanted

某些时候,启用插件失败后,但 `plugin.config.json` 还是变成了启用状态, 需要回滚状态,或者是 调整 启用插件时的内部 顺序

bug
help wanted

使用 `环境变量` 方式 指定承载启动程序集后,报错 ```C# System.InvalidOperationException: 'Unable to resolve service for type 'Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager' while attempting to activate 'PluginCore.PluginControllerManager'.' ``` 发生在 ```C# PluginManager pluginManager = scope.ServiceProvider.GetService(); ``` # 原因分析 由于外部承载启动程序集 (`PluginCore`)...

bug