Commit Graph

5 Commits

Author SHA1 Message Date
Arne Moerman fa704ab996 Add user profile fields and completion prompt
Build and Push Docker Image / build-and-push (push) Successful in 23s
Added `FirstName`, `LastName`, and `Address` fields to `ApplicationUser` for extended user profiles. Updated `Index.razor` to include these fields in the profile form with validation. Introduced `ProfileCompletionService` to check profile completeness and added a prompt in `TopBar.razor` for incomplete profiles.

Created migration `20260518213355_AddUserProfileFields` to update the database schema. Updated `RegistryService` to use new fields for user display names. Registered `ProfileCompletionService` and `DbContextFactory` in `Program.cs`. Styled the profile completion banner in `TopBar.razor.css`.
2026-05-18 23:56:28 +02:00
Arne Moerman 7dd7b0342f Enable authentication, authorization, and HTTPS
Build and Push Docker Image / build-and-push (push) Successful in 22s
Added middleware for authentication and authorization to secure
the application pipeline. Enforced HTTPS redirection for improved
security. Adjusted middleware order to ensure proper handling of
static files and antiforgery tokens.
2026-05-18 17:24:17 +02:00
Arne Moerman 55415ba968 Add PublicUrl support for reverse proxy handling
Build and Push Docker Image / build-and-push (push) Successful in 20s
Introduced a `PUBLIC_URL` environment variable to configure the
public URL for OAuth callbacks and reverse proxy scenarios. Updated
`Program.cs` to rewrite request scheme and host based on `PublicUrl`.
Replaced `Microsoft.AspNetCore.Components.Authorization` with
`Microsoft.AspNetCore.Components.Authentication`. Added `PublicUrl`
to `appsettings.json` with a default empty value.
2026-05-17 22:14:18 +02:00
Arne Moerman 6b593828d7 Enhance external login and proxy compatibility
Build and Push Docker Image / build-and-push (push) Successful in 22s
- Updated `ExternalLoginPicker.razor` to add Google and Microsoft login buttons with SVG icons and improved styling.
- Added new styles in `ExternalLoginPicker.razor.css` for layout and accessibility.
- Configured `ForwardedHeadersOptions` and enabled `UseForwardedHeaders` middleware in `Program.cs` for reverse proxy support.
- Added `AddCascadingAuthenticationState` for better authentication state management.
- Included `microsoft-identity-association.json` for Microsoft app association.
- Added `google-signin.svg` and `microsoft-signin.svg` assets for login buttons.
2026-05-17 14:49:52 +02:00
Arne Moerman c1b11603e8 Initial Blazor birth registry app, theming, and services
Build and Push Docker Image / build-and-push (push) Successful in 1m14s
Implemented a Blazor Web App (.NET 8) for a public-by-link birth registry platform, following project guidelines. Added domain entities, EF Core context, and Blazor components for authentication, registry management, and public views. Introduced core services for registries, theming, user context, platform owner bootstrapping, and SMTP email. Included static assets (Bootstrap, favicon), launch settings, Dockerfile, CI workflow, and deployment configs. Added bootstrap.min.css.map for improved CSS debugging.
2026-05-14 11:49:47 +02:00