Commit Graph

19 Commits

Author SHA1 Message Date
Matt 5f10e9fb54 Fix email system error handling and remove hardcoded credentials
- Handle missing email sessions gracefully without throwing errors
- Clear partial session data when no valid session exists
- Return empty results instead of 401 errors for missing credentials
- Remove hardcoded Documenso API key and require env variables
- Reduce email fetch limit from 50 to 20 for performance
- Add documentation for email system fixes
2025-06-09 22:50:06 +02:00
Matt f7cc2973e1 Add Documenso integration for EOI document generation
- Add Documenso API configuration to environment variables
- Create endpoint to generate EOI documents with e-signature capability
- Update email composer to insert generated EOI document links
- Add UI indicators for EOI generation status in interest details
- Emit events to refresh interest data after EOI generation
2025-06-09 22:40:37 +02:00
Matt 618c888b85 Add email communication system with encrypted credentials
- Add email components for composing, viewing threads, and credential setup
- Implement server API endpoints for sending emails and fetching threads
- Add encryption utilities for secure credential storage
- Configure email settings in environment variables
- Integrate email functionality into interest details modal
2025-06-09 21:45:06 +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
Matt 4d3935e863 Fix file downloads for Safari with proper filename handling
Implement browser-specific download methods to ensure files download with correct filenames across all browsers. Safari now uses window.location.href while other browsers use blob URLs. Add Content-Disposition header to proxy endpoint for proper filename preservation.
2025-06-04 19:13:09 +02:00
Matt b7544d82f3 Add proxy downloads and bulk file operations
- Implement proxy download endpoint for better mobile Safari compatibility
- Add bulk selection with checkboxes in file browser
- Add bulk actions bar for downloading/deleting selected files
- Replace direct S3 downloads with server-proxied downloads
- Fix download issues on mobile devices by using proper link handling
2025-06-04 18:37:41 +02:00
Matt bac1bb2b5e Add file rename functionality and improve preview handling
- Implement file/folder rename feature with dialog and API endpoint
- Add rename button to file browser with keyboard shortcuts
- Switch PDF preview from object to embed tag for better compatibility
- Fix CORS issues by fetching preview files as blobs with object URLs
- Add proper cleanup for object URLs to prevent memory leaks
- Add renameObject utility function for MinIO operations
2025-06-04 18:14:00 +02:00
Matt 1baa1e3c4d Add logging and improve headers in file proxy preview
- Add console logging for debugging proxy preview requests
- Include filename in Content-Disposition header
- Add Content-Length header for proper response size
- Add X-Content-Type-Options header for PDF security
- Improve buffer handling clarity with explicit ArrayBuffer conversion
2025-06-04 17:32:02 +02:00
Matt 9e9c667d1f Add proxy endpoint to fix CORS issues for file previews
- Create new `/api/files/proxy-preview` endpoint that fetches and serves files directly
- Update FilePreviewModal to use proxy endpoint for images and PDFs
- Set appropriate headers for inline display and caching
- Remove trailing slash from folder display names in file list
2025-06-04 17:19:52 +02:00
Matt 7d5b39b29d Add preview URL logging and clean up MinIO verbose logs
- Add logging for generated preview URLs with truncated URL for security
- Remove verbose logging from MinIO listObjectsV2 operations
- Add proper handling for folder prefixes returned by MinIO
- Keep only essential error/debug information in file listing
2025-06-04 17:15:03 +02:00
Matt 254cfa63a4 Fix folder display and add validation to file listing operations
- Handle folder names properly in getDisplayName by preserving trailing slash
- Add validation to skip invalid objects during listing
- Add default values for missing object properties (size, lastModified, etag)
- Add debug logging for listObjectsV2 operations to help troubleshoot issues
- Add null checks in deleteFolder to prevent errors with invalid objects
2025-06-04 17:09:28 +02:00
Matt 39ddebe259 Remove debug logs and improve file listing logic
Cleaned up console.log statements from MinIO client initialization and file listing operations. Refactored folder detection logic to better handle root level files and nested folder structures in non-recursive mode.
2025-06-04 16:56:42 +02:00
Matt 6c3f678554 Fix MinIO connection by disabling SSL and add debugging
- Change MinIO configuration to use non-SSL connection (useSSL: false)
- Add test-connection endpoint to verify MinIO connectivity
- Add comprehensive logging to track connection issues
- Enhance error messages in list files API for better debugging
2025-06-04 16:41:59 +02:00
Matt 61cefa530e Add MinIO file browser with upload, preview, and management features
- Implement file browser UI with upload/download capabilities
- Add API endpoints for file operations (list, upload, delete, preview)
- Create FileUploader and FilePreviewModal components
- Configure MinIO integration with environment variables
- Add documentation for MinIO file browser setup
2025-06-04 16:32:50 +02:00
Ron bc0fa6fbe0 feat: add interest button 2025-06-03 22:04:22 +03:00
Ron b3651e7f43 feat: update 2025-06-03 18:57:08 +03:00
Ron b4313dd815 feat: changes 2025-05-29 08:32:13 +03:00