Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"version": "0.2.0",
"configurations": [
{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"name": ".NET Core Launch (web)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/src/FeedbackBot/bin/Debug/net6.0/FeedbackBot.dll",
"args": [],
"cwd": "${workspaceFolder}/src/FeedbackBot",
"stopAtEntry": false,
// Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
"serverReadyAction": {
"action": "openExternally",
"pattern": "\\bNow listening on:\\s+(https?://\\S+)"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/Views"
}
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach"
}
]
}
42 changes: 42 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/src/FeedbackBot/FeedbackBot.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/src/FeedbackBot/FeedbackBot.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"${workspaceFolder}/src/FeedbackBot/FeedbackBot.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
}
]
}
32 changes: 10 additions & 22 deletions FeedbackBot.sln
Original file line number Diff line number Diff line change
@@ -1,39 +1,27 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26124.0
MinimumVisualStudioVersion = 15.0.26124.0
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{93CEE17B-350D-4310-8CF2-85F5CEF0EF6C}"
# Visual Studio Version 16
VisualStudioVersion = 16.0.30114.105
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{3B9EDB84-68AC-4FC1-B020-F7F5AF5F3AFA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FeedbackBot", "src\FeedbackBot\FeedbackBot.csproj", "{A17571A3-DF4C-4994-85FB-E8DA148EDA4A}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FeedbackBot", "src\FeedbackBot\FeedbackBot.csproj", "{B232FF92-9D2F-45E7-91AD-3824A59F3F6C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A17571A3-DF4C-4994-85FB-E8DA148EDA4A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A17571A3-DF4C-4994-85FB-E8DA148EDA4A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A17571A3-DF4C-4994-85FB-E8DA148EDA4A}.Debug|x64.ActiveCfg = Debug|Any CPU
{A17571A3-DF4C-4994-85FB-E8DA148EDA4A}.Debug|x64.Build.0 = Debug|Any CPU
{A17571A3-DF4C-4994-85FB-E8DA148EDA4A}.Debug|x86.ActiveCfg = Debug|Any CPU
{A17571A3-DF4C-4994-85FB-E8DA148EDA4A}.Debug|x86.Build.0 = Debug|Any CPU
{A17571A3-DF4C-4994-85FB-E8DA148EDA4A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A17571A3-DF4C-4994-85FB-E8DA148EDA4A}.Release|Any CPU.Build.0 = Release|Any CPU
{A17571A3-DF4C-4994-85FB-E8DA148EDA4A}.Release|x64.ActiveCfg = Release|Any CPU
{A17571A3-DF4C-4994-85FB-E8DA148EDA4A}.Release|x64.Build.0 = Release|Any CPU
{A17571A3-DF4C-4994-85FB-E8DA148EDA4A}.Release|x86.ActiveCfg = Release|Any CPU
{A17571A3-DF4C-4994-85FB-E8DA148EDA4A}.Release|x86.Build.0 = Release|Any CPU
{B232FF92-9D2F-45E7-91AD-3824A59F3F6C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B232FF92-9D2F-45E7-91AD-3824A59F3F6C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B232FF92-9D2F-45E7-91AD-3824A59F3F6C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B232FF92-9D2F-45E7-91AD-3824A59F3F6C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{A17571A3-DF4C-4994-85FB-E8DA148EDA4A} = {93CEE17B-350D-4310-8CF2-85F5CEF0EF6C}
{B232FF92-9D2F-45E7-91AD-3824A59F3F6C} = {3B9EDB84-68AC-4FC1-B020-F7F5AF5F3AFA}
EndGlobalSection
EndGlobal
14 changes: 14 additions & 0 deletions src/FeedbackBot/App.razor
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<CascadingAuthenticationState>
<Router AppAssembly="@typeof(App).Assembly">
<Found Context="routeData">
<AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
<FocusOnNavigate RouteData="@routeData" Selector="h1" />
</Found>
<NotFound>
<PageTitle>Not found</PageTitle>
<LayoutView Layout="@typeof(MainLayout)">
<p role="alert">Sorry, there's nothing at this address.</p>
</LayoutView>
</NotFound>
</Router>
</CascadingAuthenticationState>
6 changes: 3 additions & 3 deletions src/FeedbackBot/AppSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ namespace FeedbackBot
{
public class AppSettings
{
public string GitHubUser { get; set; }
public string GitHubPassword { get; set; }
public string GitHubToken { get; set; }
public string GitHubUser { get; set; } = "";
public string GitHubPassword { get; set; } = "";
public string GitHubToken { get; set; } = "";
}
}
39 changes: 0 additions & 39 deletions src/FeedbackBot/Controllers/AccountController.cs

This file was deleted.

Loading