Template
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9d6ba08be2 | ||
|
|
2598adb286
|
No files matched your search
+132
@@ -0,0 +1,132 @@
|
||||
Index: .idea/.idea.DotNetAngular/.idea/workspace.xml
|
||||
IDEA additional info:
|
||||
Subsystem: com.intellij.openapi.diff.impl.patch.BaseRevisionTextPatchEP
|
||||
<+><?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n <component name=\"AutoGeneratedRunConfigurationManager\">\n <projectFile profileName=\"Angular_dev\">src/API/API.csproj</projectFile>\n <projectFile profileName=\"Angular_test\">src/API/API.csproj</projectFile>\n <projectFile profileName=\"swagger_dev\">src/API/API.csproj</projectFile>\n <projectFile profileName=\"swagger_test\">src/API/API.csproj</projectFile>\n <projectFile>tests/Application.FunctionalTest/Application.FunctionalTest.csproj</projectFile>\n <projectFile>tests/Application.UnitTest/Application.UnitTest.csproj</projectFile>\n </component>\n <component name=\"AutoImportSettings\">\n <option name=\"autoReloadType\" value=\"SELECTIVE\" />\n </component>\n <component name=\"ChangeListManager\">\n <list default=\"true\" id=\"1ac72a4a-52ad-4e70-9b15-c330b1ed3e7a\" name=\"Changes\" comment=\"\">\n <change afterPath=\"$PROJECT_DIR$/src/API/Controllers/AuthController.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/API/Controllers/UserController.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/API/Extension/ResultExtension.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Common/Results/Error.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Common/Results/ErrorTypeConstant.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Common/Results/Result.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Common/Results/TResult.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/DTOs/PagedResult.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/DTOs/ResetPasswordDto.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/DTOs/UserDto.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Errors/AuthError.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Errors/UserError.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Extensions/ServiceCollectionExtensions.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Interfaces/IAuthenticationService.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Interfaces/IEmailService.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Interfaces/IJwtService.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Interfaces/IUserService.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Models/AssingRoleRequest.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Models/EmailRequest.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Models/LoginRequest.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Models/RefreshTokenRequest.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Models/RegisterRequest.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Models/TokenResponse.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Models/UserUpdateRequest.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Services/AuthenticationService.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Services/EmailService.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Services/JwtService.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Services/UserService.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Validators/LoginRequestValidator.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Validators/RegisterRequestValidator.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Application/Validators/UserUpdateRequestValidator.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/ClientApp/package-lock.json\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Domain/Entities/Role.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Domain/Entities/User.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Domain/Entities/UserRole.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Domain/Interface/IGenericRepository.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Domain/Interface/IUnitOfWork.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_DIR$/src/Domain/Interface/IUserRepository.cs\" afterDir=\"false\" />\n <change afterPath=\"$PROJECT_D
Line truncated
|
||||
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
||||
<+>UTF-8
|
||||
===================================================================
|
||||
diff --git a/.idea/.idea.DotNetAngular/.idea/workspace.xml b/.idea/.idea.DotNetAngular/.idea/workspace.xml
|
||||
--- a/.idea/.idea.DotNetAngular/.idea/workspace.xml (revision ecf84016dc7fd2341fe75bd2c4113cd2d61e90be)
|
||||
+++ b/.idea/.idea.DotNetAngular/.idea/workspace.xml (date 1773056189207)
|
||||
@@ -12,70 +12,7 @@
|
||||
<option name="autoReloadType" value="SELECTIVE" />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
- <list default="true" id="1ac72a4a-52ad-4e70-9b15-c330b1ed3e7a" name="Changes" comment="">
|
||||
- <change afterPath="$PROJECT_DIR$/src/API/Controllers/AuthController.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/API/Controllers/UserController.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/API/Extension/ResultExtension.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Common/Results/Error.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Common/Results/ErrorTypeConstant.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Common/Results/Result.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Common/Results/TResult.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/DTOs/PagedResult.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/DTOs/ResetPasswordDto.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/DTOs/UserDto.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Errors/AuthError.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Errors/UserError.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Extensions/ServiceCollectionExtensions.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Interfaces/IAuthenticationService.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Interfaces/IEmailService.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Interfaces/IJwtService.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Interfaces/IUserService.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Models/AssingRoleRequest.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Models/EmailRequest.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Models/LoginRequest.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Models/RefreshTokenRequest.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Models/RegisterRequest.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Models/TokenResponse.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Models/UserUpdateRequest.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Services/AuthenticationService.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Services/EmailService.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Services/JwtService.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Services/UserService.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Validators/LoginRequestValidator.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Validators/RegisterRequestValidator.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Application/Validators/UserUpdateRequestValidator.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/ClientApp/package-lock.json" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Domain/Entities/Role.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Domain/Entities/User.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Domain/Entities/UserRole.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Domain/Interface/IGenericRepository.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Domain/Interface/IUnitOfWork.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Domain/Interface/IUserRepository.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Domain/Interface/IUserRoleRepository.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Infrastructure/Configuration/RoleConfiguration.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Infrastructure/Configuration/UserConfiguration.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Infrastructure/Configuration/UserRoleConfiguration.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Infrastructure/Context/ApplicationDbContext.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Infrastructure/Context/ApplicationDbContextFactory.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Infrastructure/Extensions/ServiceCollectionExtensions.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Infrastructure/Migrations/20260206104345_InitialCreate.Designer.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Infrastructure/Migrations/20260206104345_InitialCreate.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Infrastructure/Migrations/ApplicationDbContextModelSnapshot.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Infrastructure/Repositories/GenericRepository.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Infrastructure/Repositories/UnitOfWork.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Infrastructure/Repositories/UserRepository.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Infrastructure/Repositories/UserRoleRepository.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Infrastructure/Utilities/EmailBody.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Infrastructure/Utilities/GenerateRefreshTokenHelper.cs" afterDir="false" />
|
||||
- <change afterPath="$PROJECT_DIR$/src/Infrastructure/Utilities/PostgreSqlSettings.cs" afterDir="false" />
|
||||
- <change beforePath="$PROJECT_DIR$/.idea/.idea.DotNetAngular/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.idea.DotNetAngular/.idea/workspace.xml" afterDir="false" />
|
||||
- <change beforePath="$PROJECT_DIR$/src/API/API.csproj" beforeDir="false" afterPath="$PROJECT_DIR$/src/API/API.csproj" afterDir="false" />
|
||||
- <change beforePath="$PROJECT_DIR$/src/API/Extension/ServiceCollectionExtensions.cs" beforeDir="false" afterPath="$PROJECT_DIR$/src/API/Extension/ServiceCollectionExtensions.cs" afterDir="false" />
|
||||
- <change beforePath="$PROJECT_DIR$/src/API/Program.cs" beforeDir="false" afterPath="$PROJECT_DIR$/src/API/Program.cs" afterDir="false" />
|
||||
- <change beforePath="$PROJECT_DIR$/src/API/appsettings.json" beforeDir="false" afterPath="$PROJECT_DIR$/src/API/appsettings.json" afterDir="false" />
|
||||
- <change beforePath="$PROJECT_DIR$/src/Application/Application.csproj" beforeDir="false" afterPath="$PROJECT_DIR$/src/Application/Application.csproj" afterDir="false" />
|
||||
- <change beforePath="$PROJECT_DIR$/src/Infrastructure/Infrastructure.csproj" beforeDir="false" afterPath="$PROJECT_DIR$/src/Infrastructure/Infrastructure.csproj" afterDir="false" />
|
||||
- </list>
|
||||
+ <list default="true" id="1ac72a4a-52ad-4e70-9b15-c330b1ed3e7a" name="Changes" comment="" />
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
@@ -113,28 +50,28 @@
|
||||
<option name="hideEmptyMiddlePackages" value="true" />
|
||||
<option name="showLibraryContents" value="true" />
|
||||
</component>
|
||||
- <component name="PropertiesComponent">{
|
||||
- "keyToString": {
|
||||
- ".NET Launch Settings Profile.API: Angular_dev.executor": "Run",
|
||||
- "RunOnceActivity.MCP Project settings loaded": "true",
|
||||
- "RunOnceActivity.ShowReadmeOnStart": "true",
|
||||
- "RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
|
||||
- "RunOnceActivity.git.unshallow": "true",
|
||||
- "RunOnceActivity.typescript.service.memoryLimit.init": "true",
|
||||
- "com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true",
|
||||
- "git-widget-placeholder": "feature/dotnet",
|
||||
- "junie.onboarding.icon.badge.shown": "true",
|
||||
- "node.js.detected.package.eslint": "true",
|
||||
- "node.js.detected.package.tslint": "true",
|
||||
- "node.js.selected.package.eslint": "(autodetect)",
|
||||
- "node.js.selected.package.tslint": "(autodetect)",
|
||||
- "nodejs_package_manager_path": "npm",
|
||||
- "settings.editor.selected.configurable": "vcs.Git",
|
||||
- "to.speed.mode.migration.done": "true",
|
||||
- "ts.external.directory.path": "/home/natlinux/RiderProjects/DotNetAngular/src/ClientApp/node_modules/typescript/lib",
|
||||
- "vue.rearranger.settings.migration": "true"
|
||||
+ <component name="PropertiesComponent"><![CDATA[{
|
||||
+ "keyToString": {
|
||||
+ ".NET Launch Settings Profile.API: Angular_dev.executor": "Run",
|
||||
+ "RunOnceActivity.MCP Project settings loaded": "true",
|
||||
+ "RunOnceActivity.ShowReadmeOnStart": "true",
|
||||
+ "RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
|
||||
+ "RunOnceActivity.git.unshallow": "true",
|
||||
+ "RunOnceActivity.typescript.service.memoryLimit.init": "true",
|
||||
+ "com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true",
|
||||
+ "git-widget-placeholder": "develop",
|
||||
+ "junie.onboarding.icon.badge.shown": "true",
|
||||
+ "node.js.detected.package.eslint": "true",
|
||||
+ "node.js.detected.package.tslint": "true",
|
||||
+ "node.js.selected.package.eslint": "(autodetect)",
|
||||
+ "node.js.selected.package.tslint": "(autodetect)",
|
||||
+ "nodejs_package_manager_path": "npm",
|
||||
+ "settings.editor.selected.configurable": "vcs.Git",
|
||||
+ "to.speed.mode.migration.done": "true",
|
||||
+ "ts.external.directory.path": "/home/natlinux/RiderProjects/DotNetAngular/src/ClientApp/node_modules/typescript/lib",
|
||||
+ "vue.rearranger.settings.migration": "true"
|
||||
}
|
||||
-}</component>
|
||||
+}]]></component>
|
||||
<component name="RecapUselessUpdatesCounter">
|
||||
<option name="suspendCountdown" value="0" />
|
||||
</component>
|
||||
Whitespace-only changes.
+4
@@ -0,0 +1,4 @@
|
||||
<changelist name="Uncommitted_changes_before_Update_at_09_03_26,_12_36_[Changes]" date="1773056200358" recycled="false" toDelete="true">
|
||||
<option name="PATH" value="$PROJECT_DIR$/.idea/.idea.DotNetAngular/.idea/shelf/Uncommitted_changes_before_Update_at_09_03_26,_12_36_[Changes]/shelved.patch" />
|
||||
<option name="DESCRIPTION" value="Uncommitted changes before Update at 09.03.26, 12:36 [Changes]" />
|
||||
</changelist>
|
||||
+23
-23
@@ -13,8 +13,7 @@
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="1ac72a4a-52ad-4e70-9b15-c330b1ed3e7a" name="Changes" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/.idea.DotNetAngular/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.idea.DotNetAngular/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/API/Extension/ServiceCollectionExtensions.cs" beforeDir="false" afterPath="$PROJECT_DIR$/src/API/Extension/ServiceCollectionExtensions.cs" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/ClientApp/angular.json" beforeDir="false" afterPath="$PROJECT_DIR$/src/ClientApp/angular.json" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
@@ -37,6 +36,7 @@
|
||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
||||
</component>
|
||||
<component name="HighlightingSettingsPerFile">
|
||||
<setting file="file://$PROJECT_DIR$/dotnet-tools.json" root0="FORCE_HIGHLIGHTING" />
|
||||
<setting file="file://$PROJECT_DIR$/src/ClientApp/package-lock.json" root0="SKIP_HIGHLIGHTING" />
|
||||
<setting file="file://$PROJECT_DIR$/src/ClientApp/package.json" root0="FORCE_HIGHLIGHTING" />
|
||||
</component>
|
||||
@@ -53,28 +53,28 @@
|
||||
<option name="hideEmptyMiddlePackages" value="true" />
|
||||
<option name="showLibraryContents" value="true" />
|
||||
</component>
|
||||
<component name="PropertiesComponent">{
|
||||
"keyToString": {
|
||||
".NET Launch Settings Profile.API: Angular_dev.executor": "Run",
|
||||
"RunOnceActivity.MCP Project settings loaded": "true",
|
||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
|
||||
"RunOnceActivity.git.unshallow": "true",
|
||||
"RunOnceActivity.typescript.service.memoryLimit.init": "true",
|
||||
"com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true",
|
||||
"git-widget-placeholder": "develop",
|
||||
"junie.onboarding.icon.badge.shown": "true",
|
||||
"node.js.detected.package.eslint": "true",
|
||||
"node.js.detected.package.tslint": "true",
|
||||
"node.js.selected.package.eslint": "(autodetect)",
|
||||
"node.js.selected.package.tslint": "(autodetect)",
|
||||
"nodejs_package_manager_path": "npm",
|
||||
"settings.editor.selected.configurable": "preferences.pluginManager",
|
||||
"to.speed.mode.migration.done": "true",
|
||||
"ts.external.directory.path": "/home/natlinux/RiderProjects/DotNetAngular/src/ClientApp/node_modules/typescript/lib",
|
||||
"vue.rearranger.settings.migration": "true"
|
||||
<component name="PropertiesComponent"><![CDATA[{
|
||||
"keyToString": {
|
||||
".NET Launch Settings Profile.API: Angular_dev.executor": "Run",
|
||||
"RunOnceActivity.MCP Project settings loaded": "true",
|
||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
|
||||
"RunOnceActivity.git.unshallow": "true",
|
||||
"RunOnceActivity.typescript.service.memoryLimit.init": "true",
|
||||
"com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true",
|
||||
"git-widget-placeholder": "feature/angular",
|
||||
"junie.onboarding.icon.badge.shown": "true",
|
||||
"node.js.detected.package.eslint": "true",
|
||||
"node.js.detected.package.tslint": "true",
|
||||
"node.js.selected.package.eslint": "(autodetect)",
|
||||
"node.js.selected.package.tslint": "(autodetect)",
|
||||
"nodejs_package_manager_path": "npm",
|
||||
"settings.editor.selected.configurable": "preferences.pluginManager",
|
||||
"to.speed.mode.migration.done": "true",
|
||||
"ts.external.directory.path": "/home/natlinux/RiderProjects/DotNetAngular/src/ClientApp/node_modules/typescript/lib",
|
||||
"vue.rearranger.settings.migration": "true"
|
||||
}
|
||||
}</component>
|
||||
}]]></component>
|
||||
<component name="RecapUselessUpdatesCounter">
|
||||
<option name="suspendCountdown" value="0" />
|
||||
</component>
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"version": 1,
|
||||
"isRoot": true,
|
||||
"tools": {
|
||||
"dotnet-ef": {
|
||||
"version": "10.0.4",
|
||||
"commands": [
|
||||
"dotnet-ef"
|
||||
],
|
||||
"rollForward": false
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -64,8 +64,8 @@
|
||||
"sourceMap": true,
|
||||
"fileReplacements": [
|
||||
{
|
||||
"replace": "src/environments/environment.development.ts",
|
||||
"with": "src/environments/environment.prod.ts"
|
||||
"replace": "src/environments/environment.ts",
|
||||
"with": "src/environments/environment.development.ts"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
import { Routes } from '@angular/router';
|
||||
import {RegisterComponent} from "./presentation/authentication/register/register.component";
|
||||
import {LoginComponent} from "./presentation/authentication/login/login.component";
|
||||
import {StartpageComponent} from "./presentation/components/startpage/startpage.component";
|
||||
|
||||
export const routes: Routes = [
|
||||
{path: '', redirectTo: 'login', pathMatch: 'full'},
|
||||
{path: 'register', component: RegisterComponent},
|
||||
{path: 'login', component: LoginComponent}
|
||||
{path: 'login', component: LoginComponent},
|
||||
{path: 'startpage', component: StartpageComponent}
|
||||
];
|
||||
@@ -66,7 +66,7 @@ export class LoginComponent {
|
||||
this.userStore.setEmailForStore(tokenPayload.email);
|
||||
this.userStore.setRoleForStore(tokenPayload.role);
|
||||
this.loadingService.hide()
|
||||
this.router.navigate(['rss-feed-overview']).then(success => {
|
||||
this.router.navigate(['startpage']).then(success => {
|
||||
if (success) {
|
||||
this.loginForm.reset();
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<p>startpage works!</p>
|
||||
Whitespace-only changes.
@@ -0,0 +1,23 @@
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { StartpageComponent } from './startpage.component';
|
||||
|
||||
describe('StartpageComponent', () => {
|
||||
let component: StartpageComponent;
|
||||
let fixture: ComponentFixture<StartpageComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
imports: [StartpageComponent]
|
||||
})
|
||||
.compileComponents();
|
||||
|
||||
fixture = TestBed.createComponent(StartpageComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,11 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-startpage',
|
||||
imports: [],
|
||||
templateUrl: './startpage.component.html',
|
||||
styleUrl: './startpage.component.scss',
|
||||
})
|
||||
export class StartpageComponent {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,185 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Infrastructure.Context;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Infrastructure.Migrations
|
||||
{
|
||||
[DbContext(typeof(ApplicationDbContext))]
|
||||
[Migration("20260311163032_NewMigration")]
|
||||
partial class NewMigration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "10.0.3")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 63);
|
||||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("Domain.Entities.Role", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("integer");
|
||||
|
||||
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasMaxLength(50)
|
||||
.HasColumnType("character varying(50)");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Roles", "auth");
|
||||
|
||||
b.HasData(
|
||||
new
|
||||
{
|
||||
Id = 1,
|
||||
Name = "SuperAdmin"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 2,
|
||||
Name = "Admin"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 3,
|
||||
Name = "User"
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Domain.Entities.User", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("integer");
|
||||
|
||||
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<string>("Email")
|
||||
.IsRequired()
|
||||
.HasMaxLength(100)
|
||||
.HasColumnType("varchar(100)")
|
||||
.HasAnnotation("RegularExpression", "^\\w+([-+.']\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$");
|
||||
|
||||
b.Property<DateTime>("LastLogin")
|
||||
.HasColumnType("timestamp with time zone");
|
||||
|
||||
b.Property<string>("Password")
|
||||
.IsRequired()
|
||||
.HasMaxLength(250)
|
||||
.HasColumnType("varchar(250)");
|
||||
|
||||
b.Property<string>("RefreshToken")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<DateTime?>("RefreshTokenExpiryTime")
|
||||
.HasColumnType("timestamp with time zone");
|
||||
|
||||
b.Property<string>("ResetPasswordToken")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<DateTime>("ResetPasswordTokenExpiryTime")
|
||||
.HasColumnType("timestamp with time zone");
|
||||
|
||||
b.Property<string>("Username")
|
||||
.IsRequired()
|
||||
.HasMaxLength(50)
|
||||
.HasColumnType("varchar(50)");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Users", "auth");
|
||||
|
||||
b.HasData(
|
||||
new
|
||||
{
|
||||
Id = 1,
|
||||
Email = "superadmin@wenske-services-development.de",
|
||||
LastLogin = new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
|
||||
Password = "AQAAAAIAAYagAAAAEADJEu1s5qUJyP4gDUrBGyqSNtKU2IKBpZm0JqfyvOkJnqVeOHZBUrEhNr7IdQRDBQ==",
|
||||
ResetPasswordTokenExpiryTime = new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
|
||||
Username = "Superadmin"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 2,
|
||||
Email = "admin@wenske-services-development.de",
|
||||
LastLogin = new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
|
||||
Password = "AQAAAAIAAYagAAAAEIOUiJUfMrM1Lpt4Ae3FLQOB/Bk6WHtndRAWUp132afVunMvRqkT6Hhh+27kkNW8YQ==",
|
||||
ResetPasswordTokenExpiryTime = new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
|
||||
Username = "Admin"
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Domain.Entities.UserRole", b =>
|
||||
{
|
||||
b.Property<int>("UserId")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<int>("RoleId")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.HasKey("UserId", "RoleId");
|
||||
|
||||
b.HasIndex("RoleId");
|
||||
|
||||
b.ToTable("UserRoles", "auth");
|
||||
|
||||
b.HasData(
|
||||
new
|
||||
{
|
||||
UserId = 1,
|
||||
RoleId = 1
|
||||
},
|
||||
new
|
||||
{
|
||||
UserId = 2,
|
||||
RoleId = 2
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Domain.Entities.UserRole", b =>
|
||||
{
|
||||
b.HasOne("Domain.Entities.Role", "Role")
|
||||
.WithMany("UserRoles")
|
||||
.HasForeignKey("RoleId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("Domain.Entities.User", "User")
|
||||
.WithMany("UserRoles")
|
||||
.HasForeignKey("UserId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Role");
|
||||
|
||||
b.Navigation("User");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Domain.Entities.Role", b =>
|
||||
{
|
||||
b.Navigation("UserRoles");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Domain.Entities.User", b =>
|
||||
{
|
||||
b.Navigation("UserRoles");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class NewMigration : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
schema: "auth",
|
||||
table: "Users",
|
||||
keyColumn: "Id",
|
||||
keyValue: 1,
|
||||
columns: new[] { "Email", "Password" },
|
||||
values: new object[] { "superadmin@wenske-services-development.de", "AQAAAAIAAYagAAAAEADJEu1s5qUJyP4gDUrBGyqSNtKU2IKBpZm0JqfyvOkJnqVeOHZBUrEhNr7IdQRDBQ==" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
schema: "auth",
|
||||
table: "Users",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2,
|
||||
columns: new[] { "Email", "Password" },
|
||||
values: new object[] { "admin@wenske-services-development.de", "AQAAAAIAAYagAAAAEIOUiJUfMrM1Lpt4Ae3FLQOB/Bk6WHtndRAWUp132afVunMvRqkT6Hhh+27kkNW8YQ==" });
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
schema: "auth",
|
||||
table: "Users",
|
||||
keyColumn: "Id",
|
||||
keyValue: 1,
|
||||
columns: new[] { "Email", "Password" },
|
||||
values: new object[] { "admin@rss.wenske-services-development.de", "AQAAAAIAAYagAAAAELBxAsYVTssn5taCQ7CMo+Mzn0i87Jt8ZXJTe7cgG5hfN3wDJzIkQaotyFhM/mQGaQ==" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
schema: "auth",
|
||||
table: "Users",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2,
|
||||
columns: new[] { "Email", "Password" },
|
||||
values: new object[] { "info@rss.wenske-services-development.de", "AQAAAAIAAYagAAAAEP0NWiTTz20doMf/KL0WkBR+5roc5KTouMrfiHk2MMXOQn+E+C5Q4dqWD7PnNoxUmQ==" });
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user