Commit Graph

6 Commits

Author SHA1 Message Date
Matt 01b770dc6c FIX: Authentication for Keycloak - Phase 1
Updated core interest management endpoints:
-  server/api/create-interest.ts
-  server/api/update-interest.ts
-  server/api/delete-interest.ts
-  Created server/utils/auth.ts with dual auth support

 Next: Update ALL remaining API endpoints systematically
2025-06-15 16:13:22 +02:00
Matt 5c30411c2b updates 2025-06-10 12:54:22 +02:00
Matt 1866dfd010 Add debug logging and update API authentication
- Add comprehensive logging to all interest API endpoints and NocoDB utilities
- Update create-interest and delete-interest endpoints to accept additional x-tag value
- Add missing imports for deleteInterest and updateInterest functions
- Log request details, processing steps, and errors for better debugging
2025-06-09 23:19:52 +02:00
Matt 60d69ceb11 Refactor delete-interest API to return service result directly
Remove custom response wrapping and return deleteInterest result directly
instead of manually creating success response object.
2025-06-05 16:04:12 +02:00
Matt 94c5e3f140 Add authentication and validation to delete-interest API, refactor modal list item
- Add x-tag header authentication check to delete-interest endpoint
- Add ID validation and improved error handling with proper typing
- Refactor InterestDetailsModal v-select item template structure
2025-06-05 14:56:05 +02:00
Matt 2ea72ef24e Add interest deletion and sales pipeline status tracking
- Add delete button with confirmation dialog to InterestDetailsModal
- Implement delete-interest API endpoint
- Add sales pipeline status section with visual indicators
- Update UI states to handle deletion loading states
- Add color-coded sales process level selection
2025-06-04 19:51:51 +02:00