Commits
Marek Vsechovsky committed 40216849e93
Direct session 19, Step 1: Identity + org management + auth pages + nav cleanup + IssueCreatedViaAI + filter "+" button: - Add Microsoft Identity to the project (INT primary keys) - Install Identity + Google Auth NuGet packages - Create ApplicationUser model extending IdentityUser<int> - Create ApplicationRole model extending IdentityRole<int> - Update AismanContext to extend IdentityDbContext with INT keys - Register Identity and Google OAuth services in Program.cs - SQL migration script 008: Identity tables with INT PKs + FK constraints - Add Org C# model class - Add OrgUser C# model class - Add OrgInvitation C# model class - Update AismanContext: Org, OrgUser, OrgInvitation DbSets + EF configuration - Login Razor Page (/Account/Login) - Register Razor Page (/Account/Register) - Account settings page (/Account/Settings) - Password change page/form (/Account/ChangePassword) - Avatar upload functionality - Email change flow with confirmation token - Google OAuth login integration - Organization management page (/Organizations) - Invite user by email to organization - Accept invitation page (/Organizations/AcceptInvite) - AccountController API: avatar serve + account update endpoints - Hook up user avatar and menu in _Layout.cshtml with real Identity data - Add user avatar and menu to dashboard page (Dashboard/Index.cshtml) - Remove Dashboard menu item, Help & Docs, FAQ; add Organization settings in both layouts - Rename IssueImplementedAccordingToAI → IssueCreatedViaAI, change type to BIT - Set IssueCreatedViaAI = 1 for AI-imported issues, 0 for manual - Add hidden "+" button to issue filter textbox as input group - Show "+" button when filter empty; open new standalone issue dialog on click - SQL migration script 009: Rename IssueImplementedAccordingToAI to IssueCreatedViaAI Direct session 19, Step 2: Auth styling + confirmation + settings redesign + org logo + migration: - Fix auth page SCSS: form-group-inline, checkbox, tagline, dark Google button - Protect Dashboard with [Authorize] attribute - Enable RequireConfirmedAccount in Identity configuration - Register flow: send email confirmation instead of auto sign-in - Create ConfirmEmail page (/Account/ConfirmEmail) - Create CheckEmail page (/Account/CheckEmail) - Login: handle unconfirmed email gracefully - Account Settings: redesign tabs + align buttons right - Account Settings: avatar tab improvements - Change email tab: dual confirmation + progress indicator - Org model: add OrgLogoData (byte[]) field - Org logo upload API endpoint - Organizations/Index.cshtml: display org logo + upload form - SQL migration script 011: org logo columns + email change pending state