Commit Graph

26 Commits

Author SHA1 Message Date
Matt 34fdf820fe fixes
Build And Push Image / docker (push) Successful in 4m21s Details
2025-08-13 18:58:43 +02:00
Matt 9b183b48cc fixes
Build And Push Image / docker (push) Successful in 3m27s Details
2025-08-13 17:24:31 +02:00
Matt e097fb746f fixes
Build And Push Image / docker (push) Successful in 3m45s Details
2025-08-13 17:16:22 +02:00
Matt a555584b2c Fix user dashboard data display issue
Build And Push Image / docker (push) Successful in 3m15s Details
- Enhanced session endpoint to fetch complete member data from database
- Added getMemberByKeycloakId function to nocodb utils for member lookup by Keycloak ID
- Session endpoint now returns both user authentication data and complete member profile
- User dashboard will now display proper member information instead of 'Not provided'
- Handles cases where member record might not exist gracefully
2025-08-11 16:54:14 +02:00
Matt 6e68e42f28 Fix broken verification button URLs in emails
Build And Push Image / docker (push) Successful in 3m11s Details
- Fix malformed verification links caused by config.public.domain
- Use absolute HTTPS URLs for verification links in both registration and verification emails
- Ensures verification buttons work correctly in all email clients
- Fixes the 'app://renderer/' URL prefix issue seen in email clients
2025-08-11 16:44:35 +02:00
Matt 62be77ec34 Add circuit breaker pattern to email verification system
Build And Push Image / docker (push) Successful in 2m53s Details
Implement rate limiting and attempt tracking to prevent verification abuse and infinite reload loops. Add temporary blocking with clear user feedback, enhanced error states, and retry logic. Includes new verification state utilities and improved UI components for better user experience during blocked states.
2025-08-10 15:48:11 +02:00
Matt 623ad9c3fd Refactor email verification to use JSON responses instead of redirects
Build And Push Image / docker (push) Successful in 2m54s Details
- Replace server-side redirects with JSON API responses for better error handling
- Add support for partial success when Keycloak update fails but token is valid
- Improve error messages with specific status codes (410 for expired, 409 for already used)
- Extract email from API response instead of URL query parameters
- Enable client-side navigation with proper error state management
2025-08-09 19:40:04 +02:00
Matt d14008efd4 Add password setup flow with server-side validation
Build And Push Image / docker (push) Successful in 3m2s Details
- Replace external password setup link with internal navigation
- Add comprehensive password validation utility with strength requirements
- Create dedicated password setup page and API endpoint
- Streamline user flow from email verification to password creation
2025-08-09 19:11:54 +02:00
Matt dcb7840825 Make email service initialization asynchronous
Build And Push Image / docker (push) Successful in 3m10s Details
Convert getEmailService() to async function and update all callers to use await.
Replace synchronous require() with dynamic import() for admin-config module.
Add SMTP config loading to admin configuration dialog.
2025-08-09 15:50:54 +02:00
Matt 4ec05e29dc Add email verification system for user registration
Build And Push Image / docker (push) Successful in 3m1s Details
- Add SMTP configuration UI in admin panel with test functionality
- Implement email verification workflow with tokens and templates
- Add verification success/expired pages for user feedback
- Include nodemailer, handlebars, and JWT dependencies
- Create API endpoints for email config, testing, and verification
2025-08-08 22:51:14 +02:00
Matt c84442433f Refactor password reset to use dedicated Keycloak admin client
Build And Push Image / docker (push) Successful in 2m55s Details
- Add Keycloak admin credentials configuration to environment variables
- Extract Keycloak admin operations into reusable utility module
- Refactor forgot-password endpoint to use new admin client utility
- Add documentation for Keycloak custom login implementation
- Add password reset fix summary documentation

This improves code organization by separating admin operations from
business logic and provides proper admin credentials for Keycloak
API operations instead of using regular client credentials.
2025-08-07 17:50:09 +02:00
Matt 146b3c9400 feat: enhance mobile compatibility and debugging across authentication and system metrics
Build And Push Image / docker (push) Successful in 3m18s Details
2025-08-07 16:08:39 +02:00
Matt d0c9c02bf9 Add PWA support with install banner and app icons
Build And Push Image / docker (push) Successful in 2m56s Details
- Configure @vite-pwa/nuxt module with manifest and service worker
- Add PWA install banner component to login page
- Include app icons (192x192, 512x512) and favicon assets
- Update admin dashboard layout and remove backup section
- Add PWA-related API endpoints and utility scripts
2025-08-07 15:46:17 +02:00
Matt 91cbffe189 Clean up authentication troubleshooting artifacts
Build And Push Image / docker (push) Successful in 3m1s Details
- Remove debug files: debug-login.js, LOGIN_FIX_SUMMARY.md, CUSTOM_LOGIN_IMPLEMENTATION.md
- Remove sequential-thinking directory (temporary MCP setup)
- Clean up verbose console logging in auth middleware
- Reduce debug output in direct login API while keeping essential logs
- Streamline session management logging
- Update .gitignore to prevent future debug file commits
- Maintain essential error logging and security logs

All authentication functionality remains intact and working.
2025-08-07 15:14:02 +02:00
Matt af4fae6378 feat: implement server-side session management with session ID storage and cleanup
Build And Push Image / docker (push) Successful in 2m51s Details
2025-08-07 14:16:54 +02:00
Matt fe5aed075f fix: update SameSite cookie attribute to 'none' for cross-site requests
Build And Push Image / docker (push) Successful in 2m45s Details
2025-08-07 14:10:33 +02:00
Matt eef81d7409 fix: enforce secure cookie setting for session management
Build And Push Image / docker (push) Successful in 2m47s Details
2025-08-07 14:05:14 +02:00
Matt 98ef466022 feat: improve login process with enhanced session handling and error management
Build And Push Image / docker (push) Successful in 2m55s Details
2025-08-07 13:51:13 +02:00
Matt 1b2ce79919 feat: enhance login process with session data retrieval and role extraction
Build And Push Image / docker (push) Successful in 3m5s Details
2025-08-07 13:37:54 +02:00
Matt cbaedeb0a8 fix: resolve login redirect failures by removing cookie domain and implementing session data encryption
Build And Push Image / docker (push) Successful in 3m9s Details
2025-08-07 13:01:39 +02:00
Matt 2c545dcaaa Fix login authentication flow and improve proxy configuration
Build And Push Image / docker (push) Successful in 2m50s Details
- Refactor login page to use auth composable for better state management
- Update nginx proxy settings with proper timeouts and buffering
- Improve PWA service worker caching strategy for API calls
- Add debug files and documentation for login troubleshooting
2025-08-07 12:55:15 +02:00
Matt 57428f437c feat: enhance session cookie handling with domain configuration and expiration settings
Build And Push Image / docker (push) Successful in 2m52s Details
2025-08-07 12:45:14 +02:00
Matt cd29123e23 Refactor authentication system with tier-based access control
Build And Push Image / docker (push) Successful in 2m59s Details
- Replace group-based auth with user/board/admin tier system
- Add direct login functionality alongside OAuth
- Implement role-based middleware for route protection
- Create dashboard pages and admin API endpoints
- Add error handling page and improved user management
- Maintain backward compatibility with legacy role methods
2025-08-07 12:28:41 +02:00
Matt 2c2c0f5c33 feat: implement custom login system with direct authentication
Build And Push Image / docker (push) Successful in 2m51s Details
- Add custom login page with username/password form and SSO fallback
- Implement direct login API endpoint with security features
- Add forgot password functionality and email notifications
- Create guest middleware for authentication routing
- Update Keycloak configuration and add cookie domain settings
- Add security utilities for rate limiting and validation
- Include comprehensive documentation for custom login implementation
2025-08-07 03:43:25 +02:00
Matt 858b252a7e Add debug logging and cookie domain configuration to auth flow
Build And Push Image / docker (push) Successful in 3m26s Details
- Add comprehensive logging to login and callback endpoints for debugging
- Configure cookie domain from environment variable for cross-subdomain support
- Update cookie security settings based on NODE_ENV
- Add Keycloak configuration validation with detailed error logging
2025-08-07 03:17:25 +02:00
Matt 024d0da617 Initialize Nuxt.js project with Docker deployment setup
- Add core Nuxt.js application structure with TypeScript
- Include Docker configuration and deployment guide
- Set up project scaffolding with pages, composables, and middleware
- Add environment configuration and Git ignore rules
2025-08-06 14:31:16 +02:00