Skip to content

Commit

Permalink
Merge branch 'main' of github.com:yiyungent/PluginCore
Browse files Browse the repository at this point in the history
  • Loading branch information
yiyungent committed Dec 27, 2023
2 parents 6cd128a + 5e128ea commit f3beaa2
Show file tree
Hide file tree
Showing 106 changed files with 614 additions and 410 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"dotnet.defaultSolution": "PluginCore.sln"
}
366 changes: 165 additions & 201 deletions LICENSE

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ English | [中文](README_zh.md)
> 🔌 `ASP.NET Core` lightweight plugin framework
[![repo size](https://img.shields.io/github/repo-size/yiyungent/PluginCore.svg?style=flat)]()
[![LICENSE](https://img.shields.io/badge/license-Apache2.0-green)](https://github.com/yiyungent/PluginCore/blob/main/LICENSE)
[![LICENSE](https://img.shields.io/github/license/yiyungent/PluginCore.svg?style=flat)](https://github.com/yiyungent/PluginCore/blob/main/LICENSE)
[![CodeFactor](https://www.codefactor.io/repository/github/yiyungent/plugincore/badge)](https://www.codefactor.io/repository/github/yiyungent/plugincore)
[![downloads](https://img.shields.io/nuget/dt/PluginCore.svg?style=flat)](https://www.nuget.org/packages/PluginCore/)
[![QQ Group](https://img.shields.io/badge/QQ%20Group-894031109-deepgreen)](https://jq.qq.com/?_wv=1027&k=q5R82fYN)
Expand Down Expand Up @@ -390,7 +390,7 @@ MonoLogueChi

## Donate

PluginCore is an Apache-2.0 licensed open source project and completely free to use. However, the amount of effort needed to maintain and develop new features for the project is not sustainable without proper financial backing.
PluginCore is an GNU LGPLv3 licensed open source project and completely free to use. However, the amount of effort needed to maintain and develop new features for the project is not sustainable without proper financial backing.

We accept donations through these channels:

Expand All @@ -402,7 +402,7 @@ We accept donations through these channels:

## Author

**PluginCore** © [yiyun](https://github.com/yiyungent), Released under the [Apache-2.0](./LICENSE) License.<br>
**PluginCore** © [yiyun](https://github.com/yiyungent), Released under the [GNU LGPLv3](./LICENSE) License.<br>
Authored and maintained by yiyun with help from contributors ([list](https://github.com/yiyungent/PluginCore/contributors)).

> GitHub [@yiyungent](https://github.com/yiyungent) Gitee [@yiyungent](https://gitee.com/yiyungent)
Expand Down
6 changes: 3 additions & 3 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
> 🔌 适用于 `ASP.NET Core` 的轻量级插件框架
[![repo size](https://img.shields.io/github/repo-size/yiyungent/PluginCore.svg?style=flat)]()
[![LICENSE](https://img.shields.io/badge/license-Apache2.0-green)](https://github.com/yiyungent/PluginCore/blob/main/LICENSE)
[![LICENSE](https://img.shields.io/github/license/yiyungent/PluginCore.svg?style=flat)](https://github.com/yiyungent/PluginCore/blob/main/LICENSE)
[![CodeFactor](https://www.codefactor.io/repository/github/yiyungent/plugincore/badge)](https://www.codefactor.io/repository/github/yiyungent/plugincore)
[![downloads](https://img.shields.io/nuget/dt/PluginCore.svg?style=flat)](https://www.nuget.org/packages/PluginCore/)
[![QQ Group](https://img.shields.io/badge/QQ%20Group-894031109-deepgreen)](https://jq.qq.com/?_wv=1027&k=q5R82fYN)
Expand Down Expand Up @@ -339,7 +339,7 @@ TODO:

## Donate

PluginCore is an Apache-2.0 licensed open source project and completely free to use. However, the amount of effort needed to maintain and develop new features for the project is not sustainable without proper financial backing.
PluginCore is an GNU LGPLv3 licensed open source project and completely free to use. However, the amount of effort needed to maintain and develop new features for the project is not sustainable without proper financial backing.

We accept donations through these channels:

Expand All @@ -351,7 +351,7 @@ We accept donations through these channels:

## Author

**PluginCore** © [yiyun](https://github.com/yiyungent), Released under the [Apache-2.0](./LICENSE) License.<br>
**PluginCore** © [yiyun](https://github.com/yiyungent), Released under the [GNU LGPLv3](./LICENSE) License.<br>
Authored and maintained by yiyun with help from contributors ([list](https://github.com/yiyungent/PluginCore/contributors)).

> GitHub [@yiyungent](https://github.com/yiyungent) Gitee [@yiyungent](https://gitee.com/yiyungent)
Expand Down
5 changes: 3 additions & 2 deletions docs/docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ module.exports = {
'vuepress-plugin-mermaidjs',
// "mermaidjs"
[
// https://github.com/lukemnet/vuepress-plugin-matomo
"@lukemnet/vuepress-plugin-matomo",
// 作者已删除相关 npm 包: https://github.com/lukemnet/vuepress-plugin-matomo
// https://github.com/qdot/vuepress-plugin-matomo
"vuepress-plugin-matomo",
{
'siteId': 4,
'trackerUrl': "https://matomo.moeci.com/"
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ features:
details: Controllable plug-in life cycle, perfect event distribution
- title: Globalization
details: Thanks to the internationalization implementation of i18n, it provides multi-language switching support
footer: Apache-2.0 Licensed | Copyright © 2021-present yiyun
footer: GNU LGPLv3 Licensed | Copyright © 2021-present yiyun
---


2 changes: 1 addition & 1 deletion docs/docs/zh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ features:
details: 可控的插件生命周期, 完善的事件派发
- title: 国际化
details: 得益于 i18n 的国际化实现, 提供多语言切换支持
footer: Apache-2.0 Licensed | Copyright © 2021-present yiyun
footer: GNU LGPLv3 Licensed | Copyright © 2021-present yiyun
---


14 changes: 7 additions & 7 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
},
"homepage": "https://github.com/yiyungent/PluginCore#readme",
"dependencies": {
"@lukemnet/vuepress-plugin-matomo": "^1.0.3",
"vuepress": "^1.5.2"
"vuepress": "^1.5.2",
"vuepress-plugin-matomo": "^1.0.2"
},
"devDependencies": {
"vuepress-plugin-mermaidjs": "^1.9.1"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// License: Apache-2.0
// License: GNU LGPLv3
// Contributors: yiyungent@gmail.com
// Project: https://moeci.com/PluginCore
// Project: https://yiyungent.github.io/PluginCore
// GitHub: https://github.com/yiyungent/PluginCore
//===================================================

Expand Down Expand Up @@ -91,3 +91,5 @@ public static IApplicationBuilder UsePluginCoreAdminUI(

}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// License: Apache-2.0
// License: GNU LGPLv3
// Contributors: yiyungent@gmail.com
// Project: https://moeci.com/PluginCore
// Project: https://yiyungent.github.io/PluginCore
// GitHub: https://github.com/yiyungent/PluginCore
//===================================================

Expand Down Expand Up @@ -146,3 +146,5 @@ private IDictionary<string, string> GetIndexArguments()

}
}


6 changes: 4 additions & 2 deletions src/PluginCore.AspNetCore/AdminUI/PluginCoreAdminUIOptions.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// License: Apache-2.0
// License: GNU LGPLv3
// Contributors: yiyungent@gmail.com
// Project: https://moeci.com/PluginCore
// Project: https://yiyungent.github.io/PluginCore
// GitHub: https://github.com/yiyungent/PluginCore
//===================================================

Expand Down Expand Up @@ -64,3 +64,5 @@ public Func<Stream> IndexStream

}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// License: Apache-2.0
// License: GNU LGPLv3
// Contributors: yiyungent@gmail.com
// Project: https://moeci.com/PluginCore
// Project: https://yiyungent.github.io/PluginCore
// GitHub: https://github.com/yiyungent/PluginCore
//===================================================

Expand Down Expand Up @@ -128,3 +128,5 @@ public string PhysicalPath


}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// License: Apache-2.0
// License: GNU LGPLv3
// Contributors: yiyungent@gmail.com
// Project: https://moeci.com/PluginCore
// Project: https://yiyungent.github.io/PluginCore
// GitHub: https://github.com/yiyungent/PluginCore
//===================================================

Expand Down Expand Up @@ -64,3 +64,5 @@ protected override async Task<AuthenticateResult> HandleAuthenticateAsync()
}
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// License: Apache-2.0
// License: GNU LGPLv3
// Contributors: yiyungent@gmail.com
// Project: https://moeci.com/PluginCore
// Project: https://yiyungent.github.io/PluginCore
// GitHub: https://github.com/yiyungent/PluginCore
//===================================================

Expand All @@ -19,3 +19,5 @@ public class PluginCoreAuthenticationSchemeOptions : AuthenticationSchemeOptions

}
}


6 changes: 4 additions & 2 deletions src/PluginCore.AspNetCore/Authorization/AccountManager.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// License: Apache-2.0
// License: GNU LGPLv3
// Contributors: yiyungent@gmail.com
// Project: https://moeci.com/PluginCore
// Project: https://yiyungent.github.io/PluginCore
// GitHub: https://github.com/yiyungent/PluginCore
//===================================================

Expand Down Expand Up @@ -138,3 +138,5 @@ public bool IsAdmin()

}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// License: Apache-2.0
// License: GNU LGPLv3
// Contributors: yiyungent@gmail.com
// Project: https://moeci.com/PluginCore
// Project: https://yiyungent.github.io/PluginCore
// GitHub: https://github.com/yiyungent/PluginCore
//===================================================

Expand Down Expand Up @@ -54,3 +54,5 @@ protected override async Task HandleRequirementAsync(AuthorizationHandlerContext
}
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// License: Apache-2.0
// License: GNU LGPLv3
// Contributors: yiyungent@gmail.com
// Project: https://moeci.com/PluginCore
// Project: https://yiyungent.github.io/PluginCore
// GitHub: https://github.com/yiyungent/PluginCore
//===================================================

Expand All @@ -26,3 +26,5 @@ public PluginCoreAdminAuthorizeAttribute() : base(IPlugins.Constants.AspNetCoreA
}
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// License: Apache-2.0
// License: GNU LGPLv3
// Contributors: yiyungent@gmail.com
// Project: https://moeci.com/PluginCore
// Project: https://yiyungent.github.io/PluginCore
// GitHub: https://github.com/yiyungent/PluginCore
//===================================================

Expand All @@ -22,3 +22,5 @@ public PluginCoreAdminRequirement()
}
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// License: Apache-2.0
// License: GNU LGPLv3
// Contributors: yiyungent@gmail.com
// Project: https://moeci.com/PluginCore
// Project: https://yiyungent.github.io/PluginCore
// GitHub: https://github.com/yiyungent/PluginCore
//===================================================

Expand All @@ -23,3 +23,5 @@ public static IServiceCollection AddBackgroundServices(this IServiceCollection s
}
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// License: Apache-2.0
// License: GNU LGPLv3
// Contributors: yiyungent@gmail.com
// Project: https://moeci.com/PluginCore
// Project: https://yiyungent.github.io/PluginCore
// GitHub: https://github.com/yiyungent/PluginCore
//===================================================

Expand Down Expand Up @@ -88,3 +88,5 @@ protected override void DoWork(object state)
}
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// License: Apache-2.0
// License: GNU LGPLv3
// Contributors: yiyungent@gmail.com
// Project: https://moeci.com/PluginCore
// Project: https://yiyungent.github.io/PluginCore
// GitHub: https://github.com/yiyungent/PluginCore
//===================================================

Expand Down Expand Up @@ -43,3 +43,5 @@ public virtual void Dispose()
}
}
}


6 changes: 4 additions & 2 deletions src/PluginCore.AspNetCore/Controllers/AppCenterController.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// License: Apache-2.0
// License: GNU LGPLv3
// Contributors: yiyungent@gmail.com
// Project: https://moeci.com/PluginCore
// Project: https://yiyungent.github.io/PluginCore
// GitHub: https://github.com/yiyungent/PluginCore
//===================================================

Expand Down Expand Up @@ -203,3 +203,5 @@ private void WebClient_Disposed(object sender, EventArgs e)

}
}


6 changes: 4 additions & 2 deletions src/PluginCore.AspNetCore/Controllers/DebugController.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.Runtime.CompilerServices;
//===================================================
// License: Apache-2.0
// License: GNU LGPLv3
// Contributors: yiyungent@gmail.com
// Project: https://moeci.com/PluginCore
// Project: https://yiyungent.github.io/PluginCore
// GitHub: https://github.com/yiyungent/PluginCore
//===================================================

Expand Down Expand Up @@ -276,3 +276,5 @@ public List<string> DefinedTypes

}
}


6 changes: 4 additions & 2 deletions src/PluginCore.AspNetCore/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// License: Apache-2.0
// License: GNU LGPLv3
// Contributors: yiyungent@gmail.com
// Project: https://moeci.com/PluginCore
// Project: https://yiyungent.github.io/PluginCore
// GitHub: https://github.com/yiyungent/PluginCore
//===================================================

Expand Down Expand Up @@ -69,3 +69,5 @@ public class HomeController : Controller

}
}


Loading

0 comments on commit f3beaa2

Please sign in to comment.