Temporarily disable anti-forgery validation for HTTPS proxy compatibility
This commit is contained in:
parent
8b0e3e0611
commit
bcefd2c6fc
@ -28,7 +28,7 @@ public class AccountController : Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
[ValidateAntiForgeryToken]
|
// [ValidateAntiForgeryToken] // Temporarily disabled for HTTPS proxy issue
|
||||||
public async Task<IActionResult> Login(string username, string password)
|
public async Task<IActionResult> Login(string username, string password)
|
||||||
{
|
{
|
||||||
Console.WriteLine($"Received Username: '{username}', Password: '{password}'");
|
Console.WriteLine($"Received Username: '{username}', Password: '{password}'");
|
||||||
|
|||||||
@ -24,6 +24,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form method="post" asp-area="Admin" asp-controller="Account" asp-action="Login">
|
<form method="post" asp-area="Admin" asp-controller="Account" asp-action="Login">
|
||||||
|
@Html.AntiForgeryToken()
|
||||||
@if (ViewData.ModelState[""]?.Errors.Count > 0)
|
@if (ViewData.ModelState[""]?.Errors.Count > 0)
|
||||||
{
|
{
|
||||||
<div class="alert alert-danger" role="alert">
|
<div class="alert alert-danger" role="alert">
|
||||||
|
|||||||
@ -2,4 +2,3 @@
|
|||||||
# https://curl.se/docs/http-cookies.html
|
# https://curl.se/docs/http-cookies.html
|
||||||
# This file was generated by libcurl! Edit at your own risk.
|
# This file was generated by libcurl! Edit at your own risk.
|
||||||
|
|
||||||
#HttpOnly_31.97.57.205 FALSE / FALSE 0 .AspNetCore.Cookies CfDJ8Hh_A9Sh3WBNi-S2OCZkQFY4WFyPqGN28cMhN1p1RyAh6E1a91SYc9cQbCOcfyQ06MrqOLNHfJbU9ghwTWAqZ_hzT4ujPSA3QgRWYJMqQBdE-YaxX7b27W9MTn9_DE9ANqPT1EzPD5ySOQq5exxqRvoca3ZH4ZmNOKC_ZXoQtU5_l-vmBHYg4_Ng94j-uShqC_Nu7OiHvRWaNwe29TNQmcDVJrJ6zEEKp-1eKNWz6yq62hvbXpjB0SH9REbNx_HOTaqSA9B81OFS6rsfKcLnSc2ermWGbVYgOoxCzg-Za-EMI--WktTqlNjaUUCzrNU2xgs9JFpH3ygoKGXRHWBKn6Qp5RQ4lXyNZCOfFQIsSSfN1YkC7doAikdvhAjTRg7UBhKdFhWWvYhP0aa1mfYkRqC1FMZ1LTPkJMPZsyrkajljKRONmA2iVvz9cEYVFljs1PaGJtgGBUH54ZTvCrZkMcKzzp12Q6pKCpFi_0zBnRCIROiChswR-eGyYKXRJ4JfpY93cXW08kJRZdnL6T_n4XIU7cJ6THMW-hqxioVQFkjh
|
|
||||||
|
|||||||
Binary file not shown.
BIN
littleshop-full.tar.gz
Normal file
BIN
littleshop-full.tar.gz
Normal file
Binary file not shown.
BIN
littleshop-hotfix.tar.gz
Normal file
BIN
littleshop-hotfix.tar.gz
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/AutoMapper.dll
Normal file
BIN
publish/littleshop-hotfix/AutoMapper.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/BTCPayServer.Client.dll
Normal file
BIN
publish/littleshop-hotfix/BTCPayServer.Client.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/BTCPayServer.Lightning.Common.dll
Normal file
BIN
publish/littleshop-hotfix/BTCPayServer.Lightning.Common.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/BouncyCastle.Crypto.dll
Normal file
BIN
publish/littleshop-hotfix/BouncyCastle.Crypto.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/FluentValidation.AspNetCore.dll
Normal file
BIN
publish/littleshop-hotfix/FluentValidation.AspNetCore.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
publish/littleshop-hotfix/FluentValidation.dll
Normal file
BIN
publish/littleshop-hotfix/FluentValidation.dll
Normal file
Binary file not shown.
1603
publish/littleshop-hotfix/LittleShop.deps.json
Normal file
1603
publish/littleshop-hotfix/LittleShop.deps.json
Normal file
File diff suppressed because it is too large
Load Diff
BIN
publish/littleshop-hotfix/LittleShop.dll
Normal file
BIN
publish/littleshop-hotfix/LittleShop.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/LittleShop.exe
Normal file
BIN
publish/littleshop-hotfix/LittleShop.exe
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/LittleShop.pdb
Normal file
BIN
publish/littleshop-hotfix/LittleShop.pdb
Normal file
Binary file not shown.
21
publish/littleshop-hotfix/LittleShop.runtimeconfig.json
Normal file
21
publish/littleshop-hotfix/LittleShop.runtimeconfig.json
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"runtimeOptions": {
|
||||||
|
"tfm": "net9.0",
|
||||||
|
"frameworks": [
|
||||||
|
{
|
||||||
|
"name": "Microsoft.NETCore.App",
|
||||||
|
"version": "9.0.0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Microsoft.AspNetCore.App",
|
||||||
|
"version": "9.0.0"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"configProperties": {
|
||||||
|
"System.GC.Server": true,
|
||||||
|
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
|
||||||
|
"System.Reflection.NullabilityInfoContext.IsSupported": true,
|
||||||
|
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
11434
publish/littleshop-hotfix/LittleShop.staticwebassets.endpoints.json
Normal file
11434
publish/littleshop-hotfix/LittleShop.staticwebassets.endpoints.json
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
BIN
publish/littleshop-hotfix/Microsoft.Data.Sqlite.dll
Normal file
BIN
publish/littleshop-hotfix/Microsoft.Data.Sqlite.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
publish/littleshop-hotfix/Microsoft.EntityFrameworkCore.dll
Normal file
BIN
publish/littleshop-hotfix/Microsoft.EntityFrameworkCore.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
publish/littleshop-hotfix/Microsoft.Extensions.Logging.dll
Normal file
BIN
publish/littleshop-hotfix/Microsoft.Extensions.Logging.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/Microsoft.Extensions.Options.dll
Normal file
BIN
publish/littleshop-hotfix/Microsoft.Extensions.Options.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/Microsoft.Extensions.Primitives.dll
Normal file
BIN
publish/littleshop-hotfix/Microsoft.Extensions.Primitives.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
publish/littleshop-hotfix/Microsoft.IdentityModel.Logging.dll
Normal file
BIN
publish/littleshop-hotfix/Microsoft.IdentityModel.Logging.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
publish/littleshop-hotfix/Microsoft.IdentityModel.Protocols.dll
Normal file
BIN
publish/littleshop-hotfix/Microsoft.IdentityModel.Protocols.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/Microsoft.IdentityModel.Tokens.dll
Normal file
BIN
publish/littleshop-hotfix/Microsoft.IdentityModel.Tokens.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/Microsoft.OpenApi.dll
Normal file
BIN
publish/littleshop-hotfix/Microsoft.OpenApi.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/NBitcoin.dll
Normal file
BIN
publish/littleshop-hotfix/NBitcoin.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/Newtonsoft.Json.dll
Normal file
BIN
publish/littleshop-hotfix/Newtonsoft.Json.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/SQLitePCLRaw.batteries_v2.dll
Normal file
BIN
publish/littleshop-hotfix/SQLitePCLRaw.batteries_v2.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/SQLitePCLRaw.core.dll
Normal file
BIN
publish/littleshop-hotfix/SQLitePCLRaw.core.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/SQLitePCLRaw.provider.e_sqlite3.dll
Normal file
BIN
publish/littleshop-hotfix/SQLitePCLRaw.provider.e_sqlite3.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/Serilog.AspNetCore.dll
Normal file
BIN
publish/littleshop-hotfix/Serilog.AspNetCore.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/Serilog.Extensions.Hosting.dll
Normal file
BIN
publish/littleshop-hotfix/Serilog.Extensions.Hosting.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/Serilog.Extensions.Logging.dll
Normal file
BIN
publish/littleshop-hotfix/Serilog.Extensions.Logging.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/Serilog.Formatting.Compact.dll
Normal file
BIN
publish/littleshop-hotfix/Serilog.Formatting.Compact.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/Serilog.Settings.Configuration.dll
Normal file
BIN
publish/littleshop-hotfix/Serilog.Settings.Configuration.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/Serilog.Sinks.Console.dll
Normal file
BIN
publish/littleshop-hotfix/Serilog.Sinks.Console.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/Serilog.Sinks.Debug.dll
Normal file
BIN
publish/littleshop-hotfix/Serilog.Sinks.Debug.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/Serilog.Sinks.File.dll
Normal file
BIN
publish/littleshop-hotfix/Serilog.Sinks.File.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/Serilog.dll
Normal file
BIN
publish/littleshop-hotfix/Serilog.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/Swashbuckle.AspNetCore.Swagger.dll
Normal file
BIN
publish/littleshop-hotfix/Swashbuckle.AspNetCore.Swagger.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/Swashbuckle.AspNetCore.SwaggerGen.dll
Normal file
BIN
publish/littleshop-hotfix/Swashbuckle.AspNetCore.SwaggerGen.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/Swashbuckle.AspNetCore.SwaggerUI.dll
Normal file
BIN
publish/littleshop-hotfix/Swashbuckle.AspNetCore.SwaggerUI.dll
Normal file
Binary file not shown.
BIN
publish/littleshop-hotfix/System.IdentityModel.Tokens.Jwt.dll
Normal file
BIN
publish/littleshop-hotfix/System.IdentityModel.Tokens.Jwt.dll
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
6861
publish/littleshop-hotfix/TestAgent_Results/coverage_analysis.json
Normal file
6861
publish/littleshop-hotfix/TestAgent_Results/coverage_analysis.json
Normal file
File diff suppressed because it is too large
Load Diff
2940
publish/littleshop-hotfix/TestAgent_Results/endpoint_discovery.json
Normal file
2940
publish/littleshop-hotfix/TestAgent_Results/endpoint_discovery.json
Normal file
File diff suppressed because it is too large
Load Diff
1386
publish/littleshop-hotfix/TestAgent_Results/error_detection.json
Normal file
1386
publish/littleshop-hotfix/TestAgent_Results/error_detection.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"ProjectPath": "C:\\Production\\Source\\LittleShop\\LittleShop",
|
||||||
|
"ProjectType": "Project (ASP.NET Core)",
|
||||||
|
"TotalEndpoints": 115,
|
||||||
|
"AuthenticatedEndpoints": 78,
|
||||||
|
"TestableStates": 3,
|
||||||
|
"IdentifiedGaps": 224,
|
||||||
|
"SuggestedTests": 190,
|
||||||
|
"DeadLinks": 0,
|
||||||
|
"HttpErrors": 97,
|
||||||
|
"VisualIssues": 0,
|
||||||
|
"SecurityInsights": 1,
|
||||||
|
"PerformanceInsights": 1,
|
||||||
|
"OverallTestCoverage": 16.956521739130434,
|
||||||
|
"VisualConsistencyScore": 0,
|
||||||
|
"CriticalRecommendations": [
|
||||||
|
"CRITICAL: Test coverage is only 17.0% - implement comprehensive test suite",
|
||||||
|
"HIGH: Address 97 HTTP errors in the application",
|
||||||
|
"MEDIUM: Improve visual consistency - current score 0.0%",
|
||||||
|
"HIGH: Address 224 testing gaps for comprehensive coverage"
|
||||||
|
],
|
||||||
|
"GeneratedFiles": [
|
||||||
|
"C:\\Production\\Source\\LittleShop\\LittleShop\\TestAgent_Results\\project_structure.json",
|
||||||
|
"C:\\Production\\Source\\LittleShop\\LittleShop\\TestAgent_Results\\authentication_analysis.json",
|
||||||
|
"C:\\Production\\Source\\LittleShop\\LittleShop\\TestAgent_Results\\endpoint_discovery.json",
|
||||||
|
"C:\\Production\\Source\\LittleShop\\LittleShop\\TestAgent_Results\\coverage_analysis.json",
|
||||||
|
"C:\\Production\\Source\\LittleShop\\LittleShop\\TestAgent_Results\\error_detection.json",
|
||||||
|
"C:\\Production\\Source\\LittleShop\\LittleShop\\TestAgent_Results\\visual_testing.json",
|
||||||
|
"C:\\Production\\Source\\LittleShop\\LittleShop\\TestAgent_Results\\intelligent_analysis.json"
|
||||||
|
]
|
||||||
|
}
|
||||||
@ -0,0 +1,79 @@
|
|||||||
|
{
|
||||||
|
"BusinessLogicInsights": [
|
||||||
|
{
|
||||||
|
"Component": "Claude CLI Integration",
|
||||||
|
"Insight": "Error analyzing business logic: Failed to execute Claude CLI: An error occurred trying to start process \u0027claude\u0027 with working directory \u0027C:\\Production\\Source\\TestAgent\u0027. The system cannot find the file specified.",
|
||||||
|
"Complexity": "Unknown",
|
||||||
|
"PotentialIssues": [],
|
||||||
|
"TestingRecommendations": [],
|
||||||
|
"Priority": "Medium"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"TestScenarioSuggestions": [
|
||||||
|
{
|
||||||
|
"ScenarioName": "Claude CLI Integration Error",
|
||||||
|
"Description": "Error generating test scenarios: Failed to execute Claude CLI: An error occurred trying to start process \u0027claude\u0027 with working directory \u0027C:\\Production\\Source\\TestAgent\u0027. The system cannot find the file specified.",
|
||||||
|
"TestType": "",
|
||||||
|
"Steps": [],
|
||||||
|
"ExpectedOutcomes": [],
|
||||||
|
"Priority": "Medium",
|
||||||
|
"RequiredData": [],
|
||||||
|
"Dependencies": []
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"SecurityInsights": [
|
||||||
|
{
|
||||||
|
"VulnerabilityType": "Analysis Error",
|
||||||
|
"Location": "",
|
||||||
|
"Description": "Error analyzing security: Failed to execute Claude CLI: An error occurred trying to start process \u0027claude\u0027 with working directory \u0027C:\\Production\\Source\\TestAgent\u0027. The system cannot find the file specified.",
|
||||||
|
"Severity": "Medium",
|
||||||
|
"Recommendations": [],
|
||||||
|
"TestingApproaches": []
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"PerformanceInsights": [
|
||||||
|
{
|
||||||
|
"Component": "Analysis Error",
|
||||||
|
"PotentialBottleneck": "Error analyzing performance: Failed to execute Claude CLI: An error occurred trying to start process \u0027claude\u0027 with working directory \u0027C:\\Production\\Source\\TestAgent\u0027. The system cannot find the file specified.",
|
||||||
|
"Impact": "Unknown",
|
||||||
|
"OptimizationSuggestions": [],
|
||||||
|
"TestingStrategies": []
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"ArchitecturalRecommendations": [
|
||||||
|
{
|
||||||
|
"Category": "Analysis Error",
|
||||||
|
"Recommendation": "Error generating architectural recommendations: Failed to execute Claude CLI: An error occurred trying to start process \u0027claude\u0027 with working directory \u0027C:\\Production\\Source\\TestAgent\u0027. The system cannot find the file specified.",
|
||||||
|
"Rationale": "",
|
||||||
|
"Impact": "Unknown",
|
||||||
|
"ImplementationSteps": []
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"GeneratedTestCases": [
|
||||||
|
{
|
||||||
|
"TestName": "Claude CLI Integration Error",
|
||||||
|
"TestCategory": "Error",
|
||||||
|
"Description": "Error generating test cases: Failed to execute Claude CLI: An error occurred trying to start process \u0027claude\u0027 with working directory \u0027C:\\Production\\Source\\TestAgent\u0027. The system cannot find the file specified.",
|
||||||
|
"TestCode": "",
|
||||||
|
"TestData": [],
|
||||||
|
"ExpectedOutcome": "",
|
||||||
|
"Reasoning": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"Summary": {
|
||||||
|
"TotalInsights": 4,
|
||||||
|
"HighPriorityItems": 0,
|
||||||
|
"GeneratedTestCases": 1,
|
||||||
|
"SecurityIssuesFound": 1,
|
||||||
|
"PerformanceOptimizations": 1,
|
||||||
|
"KeyFindings": [
|
||||||
|
"Performance optimization opportunities identified"
|
||||||
|
],
|
||||||
|
"NextSteps": [
|
||||||
|
"Review and prioritize security recommendations",
|
||||||
|
"Implement generated test cases",
|
||||||
|
"Address high-priority business logic testing gaps",
|
||||||
|
"Consider architectural improvements for better testability"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
1669
publish/littleshop-hotfix/TestAgent_Results/project_structure.json
Normal file
1669
publish/littleshop-hotfix/TestAgent_Results/project_structure.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"ConsistencyTests": [],
|
||||||
|
"AuthStateComparisons": [],
|
||||||
|
"ResponsiveTests": [],
|
||||||
|
"ComponentTests": [],
|
||||||
|
"Regressions": [],
|
||||||
|
"Summary": {
|
||||||
|
"TotalTests": 0,
|
||||||
|
"PassedTests": 0,
|
||||||
|
"FailedTests": 0,
|
||||||
|
"ConsistencyViolations": 0,
|
||||||
|
"ResponsiveIssues": 0,
|
||||||
|
"VisualRegressions": 0,
|
||||||
|
"OverallScore": 0,
|
||||||
|
"Recommendations": []
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
publish/littleshop-hotfix/WebPush.dll
Normal file
BIN
publish/littleshop-hotfix/WebPush.dll
Normal file
Binary file not shown.
26
publish/littleshop-hotfix/appsettings.Development.json
Normal file
26
publish/littleshop-hotfix/appsettings.Development.json
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"Logging": {
|
||||||
|
"LogLevel": {
|
||||||
|
"Default": "Debug",
|
||||||
|
"Microsoft.AspNetCore": "Debug",
|
||||||
|
"LittleShop": "Debug"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Security": {
|
||||||
|
"AllowInsecureSSL": true,
|
||||||
|
"EnableDetailedErrors": true
|
||||||
|
},
|
||||||
|
"CORS": {
|
||||||
|
"AllowedOrigins": [
|
||||||
|
"http://localhost:3000",
|
||||||
|
"http://localhost:5173",
|
||||||
|
"http://localhost:5000",
|
||||||
|
"http://localhost:5001",
|
||||||
|
"https://localhost:5001"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"TeleBot": {
|
||||||
|
"ApiUrl": "http://localhost:8080",
|
||||||
|
"ApiKey": "development-key-replace-in-production"
|
||||||
|
}
|
||||||
|
}
|
||||||
46
publish/littleshop-hotfix/appsettings.Hostinger.json
Normal file
46
publish/littleshop-hotfix/appsettings.Hostinger.json
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
{
|
||||||
|
"ConnectionStrings": {
|
||||||
|
"DefaultConnection": "Data Source=/app/data/littleshop.db"
|
||||||
|
},
|
||||||
|
"Jwt": {
|
||||||
|
"Key": "YourSuperSecretKeyThatIsAtLeast32CharactersLong!",
|
||||||
|
"Issuer": "LittleShop",
|
||||||
|
"Audience": "LittleShop",
|
||||||
|
"ExpiryInHours": 24
|
||||||
|
},
|
||||||
|
"BTCPayServer": {
|
||||||
|
"BaseUrl": "https://thebankofdebbie.giize.com",
|
||||||
|
"ApiKey": "db920209c0101efdbd1c6b6d1c99a48e3ba9d0de",
|
||||||
|
"StoreId": "CvdvHoncGLM7TdMYRAG6Z15YuxQfxeMWRYwi9gvPhh5R",
|
||||||
|
"WebhookSecret": "your-webhook-secret-here"
|
||||||
|
},
|
||||||
|
"RoyalMail": {
|
||||||
|
"ClientId": "",
|
||||||
|
"ClientSecret": "",
|
||||||
|
"BaseUrl": "https://api.royalmail.net/",
|
||||||
|
"SenderAddress1": "SilverLabs Ltd, 123 Business Street",
|
||||||
|
"SenderCity": "London",
|
||||||
|
"SenderPostCode": "SW1A 1AA",
|
||||||
|
"SenderCountry": "United Kingdom"
|
||||||
|
},
|
||||||
|
"WebPush": {
|
||||||
|
"VapidPublicKey": "BMc6fFJZ8oIQKQzcl3kMnP9tTsjrm3oI_VxLt3lAGYUMWGInzDKn7jqclEoZzjvXy1QXGFb3dIun8mVBwh-QuS4",
|
||||||
|
"VapidPrivateKey": "dYuuagbz2CzCnPDFUpO_qkGLBgnN3MEFZQnjXNkc1MY",
|
||||||
|
"Subject": "mailto:admin@littleshop.local"
|
||||||
|
},
|
||||||
|
"Logging": {
|
||||||
|
"LogLevel": {
|
||||||
|
"Default": "Information",
|
||||||
|
"Microsoft.AspNetCore": "Warning",
|
||||||
|
"BTCPayServer": "Debug"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"AllowedHosts": "*",
|
||||||
|
"Kestrel": {
|
||||||
|
"Endpoints": {
|
||||||
|
"Http": {
|
||||||
|
"Url": "http://0.0.0.0:8080"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
56
publish/littleshop-hotfix/appsettings.Production.json
Normal file
56
publish/littleshop-hotfix/appsettings.Production.json
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
{
|
||||||
|
"Logging": {
|
||||||
|
"LogLevel": {
|
||||||
|
"Default": "Information",
|
||||||
|
"Microsoft.AspNetCore": "Warning",
|
||||||
|
"Microsoft.EntityFrameworkCore": "Warning"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ConnectionStrings": {
|
||||||
|
"DefaultConnection": "Data Source=littleshop.db"
|
||||||
|
},
|
||||||
|
"Jwt": {
|
||||||
|
"Key": "${JWT_SECRET_KEY}",
|
||||||
|
"Issuer": "LittleShop",
|
||||||
|
"Audience": "LittleShop-API",
|
||||||
|
"ExpiryMinutes": 60
|
||||||
|
},
|
||||||
|
"BTCPayServer": {
|
||||||
|
"ServerUrl": "${BTCPAY_SERVER_URL}",
|
||||||
|
"StoreId": "${BTCPAY_STORE_ID}",
|
||||||
|
"ApiKey": "${BTCPAY_API_KEY}",
|
||||||
|
"WebhookSecret": "${BTCPAY_WEBHOOK_SECRET}"
|
||||||
|
},
|
||||||
|
"AllowedHosts": "*",
|
||||||
|
"Urls": "http://+:8080",
|
||||||
|
"ForwardedHeaders": {
|
||||||
|
"ForwardedProtoHeaderName": "X-Forwarded-Proto",
|
||||||
|
"ForwardedForHeaderName": "X-Forwarded-For",
|
||||||
|
"ForwardedHostHeaderName": "X-Forwarded-Host"
|
||||||
|
},
|
||||||
|
"TeleBot": {
|
||||||
|
"ApiUrl": "${TELEBOT_API_URL}",
|
||||||
|
"ApiKey": "${TELEBOT_API_KEY}"
|
||||||
|
},
|
||||||
|
"Serilog": {
|
||||||
|
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ],
|
||||||
|
"MinimumLevel": "Information",
|
||||||
|
"WriteTo": [
|
||||||
|
{
|
||||||
|
"Name": "Console",
|
||||||
|
"Args": {
|
||||||
|
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss} {Level:u3}] {Message:lj} {Properties:j}{NewLine}{Exception}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "File",
|
||||||
|
"Args": {
|
||||||
|
"path": "/app/logs/littleshop-.log",
|
||||||
|
"rollingInterval": "Day",
|
||||||
|
"retainedFileCountLimit": 7,
|
||||||
|
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss} {Level:u3}] {Message:lj} {Properties:j}{NewLine}{Exception}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
38
publish/littleshop-hotfix/appsettings.json
Normal file
38
publish/littleshop-hotfix/appsettings.json
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
{
|
||||||
|
"ConnectionStrings": {
|
||||||
|
"DefaultConnection": "Data Source=littleshop.db"
|
||||||
|
},
|
||||||
|
"Jwt": {
|
||||||
|
"Key": "YourSuperSecretKeyThatIsAtLeast32CharactersLong!",
|
||||||
|
"Issuer": "LittleShop",
|
||||||
|
"Audience": "LittleShop",
|
||||||
|
"ExpiryInHours": 24
|
||||||
|
},
|
||||||
|
"BTCPayServer": {
|
||||||
|
"BaseUrl": "https://pay.silverlabs.uk",
|
||||||
|
"ApiKey": "994589c8b514531f867dd24c83a02b6381a5f4a2",
|
||||||
|
"StoreId": "AoxXjM9NJT6P9C1MErkaawXaSchz8sFPYdQ9FyhmQz33",
|
||||||
|
"WebhookSecret": ""
|
||||||
|
},
|
||||||
|
"RoyalMail": {
|
||||||
|
"ClientId": "",
|
||||||
|
"ClientSecret": "",
|
||||||
|
"BaseUrl": "https://api.royalmail.net/",
|
||||||
|
"SenderAddress1": "SilverLabs Ltd, 123 Business Street",
|
||||||
|
"SenderCity": "London",
|
||||||
|
"SenderPostCode": "SW1A 1AA",
|
||||||
|
"SenderCountry": "United Kingdom"
|
||||||
|
},
|
||||||
|
"WebPush": {
|
||||||
|
"VapidPublicKey": "BMc6fFJZ8oIQKQzcl3kMnP9tTsjrm3oI_VxLt3lAGYUMWGInzDKn7jqclEoZzjvXy1QXGFb3dIun8mVBwh-QuS4",
|
||||||
|
"VapidPrivateKey": "dYuuagbz2CzCnPDFUpO_qkGLBgnN3MEFZQnjXNkc1MY",
|
||||||
|
"Subject": "mailto:admin@littleshop.local"
|
||||||
|
},
|
||||||
|
"Logging": {
|
||||||
|
"LogLevel": {
|
||||||
|
"Default": "Information",
|
||||||
|
"Microsoft.AspNetCore": "Warning"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"AllowedHosts": "*"
|
||||||
|
}
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
publish/littleshop-hotfix/runtimes/win-arm/native/e_sqlite3.dll
Normal file
BIN
publish/littleshop-hotfix/runtimes/win-arm/native/e_sqlite3.dll
Normal file
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user