Commit Graph

263 Commits

Author SHA1 Message Date
Matt 86a315f24c Fix mobile password input issues and prevent iOS auto-zoom
Build And Push Image / docker (push) Successful in 3m21s Details
- Add togglePasswordVisibility function with mobile-specific handling
- Set font-size to 16px on password inputs to prevent iOS zoom
- Add autocomplete="new-password" attribute to password fields
- Increase tap target size for password visibility toggle on mobile
- Configure viewport meta tag to disable zoom on iOS devices
- Disable transitions on mobile for better performance
2025-08-09 20:08:51 +02:00
Matt 006d4cf1ff Improve mobile keyboard handling and viewport detection
Build And Push Image / docker (push) Successful in 3m3s Details
- Disable transitions and make menu persistent on mobile devices
- Add keyboard open/close detection to prevent unwanted viewport updates
- Differentiate between keyboard events and actual viewport changes
- Improve resize debouncing with longer delays for mobile
- Handle orientation changes separately from keyboard events
2025-08-09 19:49:12 +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 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 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 30b7e23319 fixes
Build And Push Image / docker (push) Successful in 2m57s Details
2025-08-09 19:01:44 +02:00
Matt 09773f9571 Looking at the changes, this commit primarily focuses on fixing a critical mobile Safari issue with the country dropdown selector. Here's my suggested commit message:
Build And Push Image / docker (push) Successful in 3m0s Details
```
Fix mobile Safari country dropdown with touch-optimized dialog interface

- Replace broken v-select with mobile-friendly dialog for Safari
- Add device detection to switch between desktop and mobile interfaces
- Implement full-screen country selection with search functionality
- Add touch-optimized UI with larger targets and smooth scrolling
- Update documentation with fix details and implementation notes
```

The main change is addressing a completely broken country selection dropdown on mobile Safari by implementing a mobile-specific dialog interface while maintaining the original desktop experience.
2025-08-09 18:53:26 +02:00
Matt d55f253222 Fix mobile Safari compatibility and correct Keycloak account URL
Build And Push Image / docker (push) Successful in 2m54s Details
- Add mobile Safari utilities and viewport optimizations
- Fix Keycloak setup password URL structure (remove hash fragment causing 404s)
- Implement performance mode and hardware acceleration fixes
- Add responsive CSS optimizations for mobile Safari
- Configure keycloakIssuer in Nuxt config for proper URL generation
2025-08-09 18:44:33 +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 358e9c0ad1 Add Keycloak integration support
Build And Push Image / docker (push) Successful in 2m59s Details
- Update domain configuration to portal subdomain with HTTPS
- Add keycloak_id field to member creation and update operations
- Add API endpoint for linking Keycloak accounts to existing members
2025-08-09 18:22:34 +02:00
Matt 794b6a09f0 Fix email verification domain and membership fee amount
Build And Push Image / docker (push) Successful in 3m7s Details
- Update domain config to use portal.monacousa.org for verification links
- Correct membership fee from €50 to €150/year in welcome emails
- Add password setup link to verification success page
- Include registration date in welcome email template
2025-08-09 18:10:33 +02:00
Matt a4e8231a3b fixes
Build And Push Image / docker (push) Successful in 2m54s Details
2025-08-09 17:48:03 +02:00
Matt c13ef30f69 fixes
Build And Push Image / docker (push) Successful in 3m1s Details
2025-08-09 17:43:15 +02:00
Matt df1ff15975 Enhance member deletion and implement template-based email system
Build And Push Image / docker (push) Successful in 2m50s Details
- Add Keycloak user deletion to member removal process
- Implement Handlebars email templates for verification, password reset, and dues reminders
- Improve JWT secret configuration with multiple fallbacks
- Add getMemberById function and enhance error handling
- Update Dockerfile to include email templates in production build
2025-08-09 17:36:35 +02:00
Matt bff89bd89d Add JWT configuration and improve email error handling
Build And Push Image / docker (push) Successful in 2m51s Details
- Add jwtSecret to runtime config with fallback to sessionSecret
- Enhance email error tracking in portal account creation API
- Fix jsonwebtoken imports and improve type safety
- Include detailed email error information in API responses
2025-08-09 16:55:59 +02:00
Matt 97653b7307 Preserve masked credentials in admin config updates
Build And Push Image / docker (push) Successful in 2m54s Details
Handle masked sensitive fields (passwords/secrets) in reCAPTCHA and SMTP
configuration endpoints. When the frontend sends masked values (bullets),
preserve existing credentials instead of overwriting them. This prevents
accidental credential loss when updating other configuration fields.

- Check for masked placeholder values ('••••••••••••••••')
- Preserve existing secretKey/password when masked
- Add logging to track credential update actions
2025-08-09 16:41:33 +02:00
Matt c4a0230f42 Fix portal account creation and improve email handling
Build And Push Image / docker (push) Successful in 2m56s Details
- Add explicit POST method to portal account creation API call
- Improve error handling with specific messages for different failure cases
- Remove SMTP verification step that was causing issues with some servers
- Make email sending non-critical to portal account creation success
- Add better response data handling for keycloak_id
- Add integration review documentation
2025-08-09 16:13:52 +02:00
Matt 8d872f9a04 Refactor admin dashboard and fix mobile phone input dropdown
Build And Push Image / docker (push) Successful in 2m54s Details
- Simplify admin dashboard by consolidating configuration sections
- Fix mobile dropdown display issues in PhoneInputWrapper component
- Add proper flex layout and minimum height for mobile country list
- Update email configuration and testing functionality
- Remove redundant configuration cards in favor of unified portal settings
2025-08-09 16:05:00 +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 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 7b72d7a565 fixed auth
Build And Push Image / docker (push) Successful in 2m54s Details
2025-08-08 22:10:08 +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 72492fb754 fixes
Build And Push Image / docker (push) Successful in 3m5s Details
2025-08-08 20:07:47 +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
Matt b308b8272c updates to database schema
Build And Push Image / docker (push) Successful in 2m50s Details
2025-08-08 18:32:46 +02:00
Matt 28fa779dae fixes and cleanup
Build And Push Image / docker (push) Successful in 3m1s Details
2025-08-08 13:50:01 +02:00
Matt 0545f7e9c4 phone fixes
Build And Push Image / docker (push) Successful in 3m9s Details
2025-08-08 13:23:18 +02:00
Matt 59bb4ca714 fixed phone display
Build And Push Image / docker (push) Successful in 2m53s Details
2025-08-08 13:02:48 +02:00
Matt 497e0134d8 mobile optimizations
Build And Push Image / docker (push) Successful in 3m13s Details
2025-08-08 12:59:27 +02:00
Matt d2057cc878 fixed phone flags
Build And Push Image / docker (push) Successful in 2m59s Details
2025-08-08 12:54:05 +02:00
Matt 65bda25c8f successfully replaced your oversized, clunky phone input with a professional vue-tel-input library
Build And Push Image / docker (push) Successful in 2m46s Details
2025-08-08 00:35:57 +02:00
Matt 0193269749 Created a beautiful, modern phone input
Build And Push Image / docker (push) Successful in 2m41s Details
2025-08-08 00:25:44 +02:00
Matt e6371d02b9 phone updates
Build And Push Image / docker (push) Successful in 2m46s Details
2025-08-08 00:19:16 +02:00
Matt 9f9cb7db53 comprehensive diagnostic and fix system for the "undefined" member display issue
Build And Push Image / docker (push) Successful in 2m49s Details
2025-08-07 23:57:18 +02:00
Matt 3f81d0dd86 fixed the member creation functionality that was failing with validation errors. Here's what I accomplished
Build And Push Image / docker (push) Successful in 2m52s Details
2025-08-07 23:44:28 +02:00
Matt dcce2050ee resolved all member management issues, including the critical member creation bug.
Build And Push Image / docker (push) Failing after 2m36s Details
2025-08-07 23:13:31 +02:00
Matt 863ad9abe7 fixed both the member edit display issue and the flag positioning problems in the nationality input
Build And Push Image / docker (push) Successful in 2m53s Details
2025-08-07 23:05:46 +02:00
Matt f6bc81cb01 implemented comprehensive member card enhancements with complete multiple nationality support and dues management features.
Build And Push Image / docker (push) Successful in 2m54s Details
2025-08-07 22:53:45 +02:00
Matt 9202509c9c updated member list with improved filtering system and enhanced editing capabilities.
Build And Push Image / docker (push) Successful in 2m53s Details
2025-08-07 22:34:51 +02:00
Matt 024eca02ac telephone updates
Build And Push Image / docker (push) Successful in 2m52s Details
2025-08-07 22:13:05 +02:00
Matt 13fa95a9a2 fixes
Build And Push Image / docker (push) Successful in 3m9s Details
2025-08-07 22:01:02 +02:00
Matt d36209818a Migrate member fields to snake_case naming convention
Build And Push Image / docker (push) Successful in 3m11s Details
Convert field names from space-separated format to snake_case across
member API endpoints and validation logic. Add migration guide for
reference.
2025-08-07 21:50:02 +02:00