Skip to content

Commit

Permalink
feat(src/**/*.cs): // Project: https://moeci.com/PluginCore -> // Pro…
Browse files Browse the repository at this point in the history
  • Loading branch information
yiyungent committed Dec 23, 2023
1 parent db9f958 commit 7420480
Show file tree
Hide file tree
Showing 94 changed files with 187 additions and 93 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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 @@ -92,3 +92,4 @@ public static IApplicationBuilder UsePluginCoreAdminUI(
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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 @@ -147,3 +147,4 @@ private IDictionary<string, string> GetIndexArguments()
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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 @@ -65,3 +65,4 @@ public Func<Stream> IndexStream
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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 @@ -129,3 +129,4 @@ public string PhysicalPath

}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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,4 @@ protected override async Task<AuthenticateResult> HandleAuthenticateAsync()
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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 @@ -20,3 +20,4 @@ public class PluginCoreAuthenticationSchemeOptions : AuthenticationSchemeOptions
}
}


3 changes: 2 additions & 1 deletion src/PluginCore.AspNetCore/Authorization/AccountManager.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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,4 @@ public bool IsAdmin()
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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 @@ -55,3 +55,4 @@ protected override async Task HandleRequirementAsync(AuthorizationHandlerContext
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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,4 @@ public PluginCoreAdminAuthorizeAttribute() : base("PluginCore.Admin")
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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,4 @@ public PluginCoreAdminRequirement()
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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 @@ -24,3 +24,4 @@ public static IServiceCollection AddBackgroundServices(this IServiceCollection s
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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 @@ -89,3 +89,4 @@ protected override void DoWork(object state)
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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 @@ -44,3 +44,4 @@ public virtual void Dispose()
}
}


3 changes: 2 additions & 1 deletion src/PluginCore.AspNetCore/Controllers/AppCenterController.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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 @@ -204,3 +204,4 @@ private void WebClient_Disposed(object sender, EventArgs e)
}
}


3 changes: 2 additions & 1 deletion src/PluginCore.AspNetCore/Controllers/DebugController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//===================================================
// 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 @@ -277,3 +277,4 @@ public List<string> DefinedTypes
}
}


3 changes: 2 additions & 1 deletion src/PluginCore.AspNetCore/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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 @@ -70,3 +70,4 @@ public class HomeController : Controller
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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 @@ -100,3 +100,4 @@ public async Task<ActionResult> Widget(string widgetKey, string extraPars = "")
}
}


3 changes: 2 additions & 1 deletion src/PluginCore.AspNetCore/Controllers/PluginsController.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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 @@ -678,3 +678,4 @@ public enum UploadFileType
}
}


3 changes: 2 additions & 1 deletion src/PluginCore.AspNetCore/Controllers/UserController.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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 @@ -140,3 +140,4 @@ public async Task<ActionResult<BaseResponseModel>> Update([FromBody] UpdateReque
}
}


Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,4 @@ private static PropertyInfo GetPropertyInfo(Type type, string propertyName)
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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 @@ -286,3 +286,4 @@ public static IApplicationBuilder UsePluginCore(this IApplicationBuilder app)
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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 @@ -347,3 +347,4 @@ IEnumerator IEnumerable.GetEnumerator()

}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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 @@ -59,3 +59,4 @@ public void Configure(IWebHostBuilder builder)
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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,4 @@ public interface IPluginApplicationBuilderManager
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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,4 @@ public interface IPluginControllerManager
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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 @@ -147,3 +147,4 @@ private async Task ResponseBodyFilter(HttpContext httpContext)
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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,4 @@ private async Task Filter(HttpContext httpContext)
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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,4 @@ private async Task Filter(HttpContext httpContext)
}
}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//===================================================
// 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,4 @@ public async Task InvokeAsync(HttpContext httpContext, IPluginApplicationBuilder
}
}


Loading

0 comments on commit 7420480

Please sign in to comment.