7 Commits

Author SHA1 Message Date
60925ee6ac
feat: add markdown rendering support and enhance file preview component 2025-05-14 06:02:22 +02:00
792b0eb275
feat: integrate MinIO for file storage and management
- Added MinIO as a dependency in package.json.
- Updated FilePreview component to simplify file type checks.
- Refactored file removal API to delete files from MinIO instead of the filesystem.
- Modified file serving API to fetch files from MinIO.
- Changed file upload API to upload files directly to MinIO and store metadata in the database.
- Enhanced environment configuration to include MinIO settings.
- Updated file type utility to handle file extensions more robustly.
- Created a new utility for MinIO client configuration and bucket management.
2025-05-09 07:10:23 +02:00
8798764b89
feat: support markdown file previews in FilePreview component 2025-05-04 19:11:20 +02:00
f2d2268039
refactor: remove local getFileType function and use imported utility 2025-05-04 19:10:22 +02:00
ad24c76a70
feat: enhance file handling and preview features
- Added new dependencies for file type handling and markdown support in package.json.
- Updated FileGrid component to use file extension for FilePreview.
- Refactored FilePreview component to determine file type based on extension, supporting various media types including images, audio, video, text, archives, and code files.
- Created a utility function getFileType to centralize MIME type determination based on file extensions.
- Updated API route to utilize the new getFileType function for serving files with correct MIME types.
- Added Tailwind CSS configuration with typography plugin for improved styling.
2025-05-04 19:07:59 +02:00
5ec3e011e1
feat: refactor file handling and enhance client notifications across components 2025-05-04 06:56:44 +02:00
e1097ba1be
feat: add description field to File model and update related components for file details and actions 2025-04-16 18:50:31 +02:00