Commit Graph
10 Commits
Author SHA1 Message Date
nessar 3dca10b56f feat: update Dockerfiles to use explicit image paths and enhance localStorage handling in ThemeService 2026-08-17 14:18:15 +02:00
nessar 82f339e209 Refactor application structure to use WorkspaceService for state management
- Removed direct state management from components and centralized it in WorkspaceService.
- Updated ApartmentsPage, TenantsPage, LeasesPage, and DashboardPage to utilize WorkspaceService for data handling.
- Introduced SessionService to manage user session state and authentication.
- Simplified component templates to reflect new service-based architecture.
- Removed unused ConfigService and its tests.
- Added lease.html template for lease document generation.
- Created app.routes.spec.ts for route mapping tests.
2026-08-17 14:18:15 +02:00
nessar 8603b98714 feat: manage tenants and leases (#4) 2026-08-17 14:18:14 +02:00
nessar 1a70bcd126 feat(frontend): add mobile-first Material redesign (#17) 2026-08-17 14:18:14 +02:00
nessar bbe8916e82 feat: rework OIDC to BFF (Backend-For-Frontend) cookie-session pattern
- backend: switch from OAuth2 Resource Server to OAuth2 Client (spring-boot-starter-oauth2-client)
- backend: configure Spring Security oauth2Login() with session cookie (JSESSIONID HttpOnly)
- backend: add UserController exposing /api/user to report authenticated user info
- backend: configure GET /logout with RP-initiated end-session support
- backend: update HelloController to use @AuthenticationPrincipal OAuth2User
- backend: update all tests to use .with(oidcLogin()) mock
- backend: explicitly configure OIDC provider endpoints to bypass discovery at test time
- frontend: remove angular-oauth2-oidc and @ngx-env/builder dependencies
- frontend: revert angular.json builders to standard @angular/build:*
- frontend: replace client-side OIDC flow with /api/user check + window.location redirects
- frontend: update app.config.ts and config.service.ts to remove OIDC configuration
- frontend: rewrite all unit tests to mock /api/user endpoint instead of OAuthService
- compose: move OIDC_CLIENT_ID and OIDC_CLIENT_SECRET to backend environment variables
- compose/dockerfile: remove frontend build-time OIDC ARG/ENV secrets
2026-08-17 14:18:14 +02:00
nessar e69cc1a49f Remove config.json, install @ngx-env/builder to load OIDC configuration from env variables/files 2026-08-17 14:18:14 +02:00
nessar 62a0bd5db3 Implement Landlord and Apartment CRUD features with secure endpoints, coverage tests, and responsive UI 2026-08-17 14:18:14 +02:00
nessar 336ac1dfc3 chore: update container images, increase Angular budget thresholds, and reformat configuration files 2026-08-17 14:18:14 +02:00
nessar fd2019e3cd Configure ESLint with deprecation checking and fix all lint violations 2026-08-17 14:18:14 +02:00
nessar bdc2e1bc57 Scaffold backend/frontend services, OIDC auth, and compose.yml 2026-08-17 14:18:14 +02:00