Commit Graph

19 Commits

Author SHA1 Message Date
Matt 503d68cd2d Replace date-fns with native date formatting and remove unused code
Build And Push Image / docker (push) Successful in 1m34s Details
Remove date-fns dependency in favor of native Intl.DateTimeFormat APIs, clean up obsolete admin endpoints, utility files, and archived documentation. Consolidate docs structure and remove unused plugins.
2025-08-14 15:08:40 +02:00
Matt 8b05fdd3d7 Add mobile Safari reload loop prevention for auth pages
Build And Push Image / docker (push) Successful in 3m2s Details
- Implement comprehensive reload loop prevention utility
- Add initialization checks to setup-password, verify, and signup pages
- Include timeout protection and error handling for config loading
- Add fallback defaults to prevent page failures on mobile devices
- Document mobile reload loop prevention system
2025-08-10 16:21:54 +02:00
Matt 86977ca92a Fix mobile Safari reload loop by persisting config cache in window object
Build And Push Image / docker (push) Successful in 2m56s Details
- Store config cache in window.__configCache instead of module-level variable to maintain persistence across Vue reactivity cycles
- Fix cardClasses ref to store computed value instead of function
- Add client plugin for config cache initialization
- Add documentation for mobile Safari reload loop fix
2025-08-10 16:09:15 +02:00
Matt 0d6a82f03c fixes
Build And Push Image / docker (push) Successful in 3m5s Details
2025-08-10 15:24:52 +02:00
Matt 30136117ce Fix Safari iOS reload loop with static device detection and caching
Build And Push Image / docker (push) Successful in 3m7s Details
- Replace reactive device detection with static utilities to prevent
  infinite reload loops on mobile Safari
- Add static-device-detection.ts for one-time device info computation
- Add config-cache.ts for improved configuration loading performance
- Apply mobile Safari viewport and CSS optimizations across auth pages
- Remove reactive dependencies that caused rendering issues on iOS
2025-08-10 15:18:34 +02:00
Matt 2eaf9cda95 Refactor mobile detection to use built-in Nuxt device module
Build And Push Image / docker (push) Failing after 2m27s Details
Replace custom useMobileDetection composable with Nuxt's useDevice(),
removing reactive mobile detection in favor of static detection to
prevent reload loops and simplify viewport handling
2025-08-10 14:38:02 +02:00
Matt 2b2cd5891f Refactor mobile detection to use unified composable
Build And Push Image / docker (push) Successful in 2m52s Details
- Add useMobileDetection composable to centralize device detection logic
- Replace direct utility imports with composable usage across components
- Update MultipleNationalityInput, PhoneInputWrapper, and auth pages
- Simplify mobile-specific styling and behavior handling
- Improve code maintainability by consolidating detection logic
2025-08-09 19:27:15 +02:00
Matt 44cdc988ee Add Mobile Safari optimizations and fixes to signup page
Build And Push Image / docker (push) Successful in 3m10s Details
- Implement device detection and performance optimization flags
- Add dynamic CSS classes based on device capabilities
- Create mobile safari utility functions and client plugin
- Optimize backdrop filters and hardware acceleration for iOS
- Fix viewport height issues with mobile Safari fallbacks
- Update membership fee config and add IBAN payment details
- Prevent horizontal scrolling and improve mobile UX
2025-08-09 18:36:10 +02:00
Matt 97a0b5eea6 fixes
Build And Push Image / docker (push) Successful in 2m54s Details
2025-08-08 23:47:21 +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 7d9f895ca6 fully functional, production-ready member registration system that works flawlessly across all platforms and provides a professional user experience
Build And Push Image / docker (push) Successful in 3m8s Details
2025-08-08 22:04:53 +02:00
Matt 15dd090d44 fixes
Build And Push Image / docker (push) Successful in 3m7s Details
2025-08-08 21:52:21 +02:00
Matt aed8dc68fc fixes recaptcha
Build And Push Image / docker (push) Successful in 3m12s Details
2025-08-08 21:10:00 +02:00
Matt 3951ce1d4e fixes
Build And Push Image / docker (push) Successful in 3m33s Details
2025-08-08 20:59:06 +02:00
Matt cb73b239a8 fixes
Build And Push Image / docker (push) Successful in 3m7s Details
2025-08-08 20:49:50 +02:00
Matt 3894295569 fixes
Build And Push Image / docker (push) Successful in 2m55s Details
2025-08-08 20:41:39 +02:00
Matt 42d1d012c1 fixes
Build And Push Image / docker (push) Successful in 3m4s Details
2025-08-08 20:27:54 +02:00
Matt 4365cc53ff fixes
Build And Push Image / docker (push) Successful in 2m55s Details
2025-08-08 19:55:32 +02:00
Matt 5535b7905d #### __1. Role-Based Security Architecture__
Build And Push Image / docker (push) Successful in 2m58s Details
- Replaces group-based tiers with proper Keycloak realm roles
- `monaco-user`, `monaco-board`, `monaco-admin` roles
- Backward compatibility with existing group system

#### __2. Advanced User Management__

- Comprehensive user profile synchronization
- Membership data stored in Keycloak user attributes
- Bidirectional sync between NocoDB and Keycloak

#### __3. Session Security & Monitoring__

- Real-time session tracking and management
- Administrative session control capabilities
- Enhanced security analytics foundation

#### __4. Email Workflow System__

- Multiple email types: DUES_REMINDER, MEMBERSHIP_RENEWAL, WELCOME, VERIFICATION
- Customizable email parameters and lifespans
- Advanced email template support

#### __5. Seamless Migration Path__

- All existing functionality continues to work
- New users automatically get realm roles
- Gradual migration from groups to roles
- Zero breaking changes

### 🔧 __What You Can Do Now__

#### __For New Users:__

- Public registrations automatically assign `monaco-user` role
- Portal account creation syncs member data to Keycloak attributes
- Enhanced email verification and welcome workflows

#### __For Administrators:__

- Session management and monitoring capabilities
- Advanced user profile management with member data sync
- Comprehensive role assignment and management
- Enhanced email communication workflows

#### __For Developers:__

- Use `hasRole('monaco-admin')` for role-based checks
- Access `getAllRoles()` for debugging and analytics
- Enhanced `useAuth()` composable with backward compatibility
- Comprehensive TypeScript support throughout

### 🛡️ __Security & Reliability__

- __Backward Compatibility__: Existing users continue to work seamlessly
- __Enhanced Security__: Proper realm role-based authorization
- __Error Handling__: Comprehensive error handling and fallbacks
- __Type Safety__: Full TypeScript support throughout the system
2025-08-08 19:40:13 +02:00