68 Commits

Author SHA1 Message Date
ZareMate
7aeae9020d
Fuck git (#17) 2025-05-20 13:14:01 +02:00
85fa1942e9
Fuck git 2025-05-20 13:10:37 +02:00
ZareMate
c9274a0caa
Added missing packages (#16) 2025-05-20 12:17:22 +02:00
58853f38c4
Added missing packages 2025-05-20 10:15:21 +00:00
ZareMate
1884189fb2
Prisma postgress fix (#15) 2025-05-20 12:13:56 +02:00
118cadefdf
Prisma postgress fix 2025-05-20 12:10:52 +02:00
b14acab08f
feat: add loading skeleton components for improved user experience during data fetching 2025-05-19 08:41:09 +02:00
60925ee6ac
feat: add markdown rendering support and enhance file preview component 2025-05-14 06:02:22 +02:00
036f23b777
feat: implement owner check functionality and update file action components 2025-05-12 19:21:57 +02:00
b368473216
feat: enhance file actions with toast notifications and update public/private toggle logic 2025-05-12 10:11:32 +02:00
551cf2e2cb
Revert "revert 99397e774c41980ef13b3155e13330ad4eaa7753"
This reverts commit b63e3ae77fa6e171e18eae62d65e0b66f23f0fb8.
2025-05-12 09:18:45 +02:00
bb89a84ba8
docs: update README with additional instructions for running the application 2025-05-12 08:25:08 +02:00
90329f6b22
docs: update README to reflect file hosting features and API documentation 2025-05-12 08:15:51 +02:00
d4661dc8e3
fix: update searchParams type to Promise and resolve before accessing id 2025-05-12 08:07:36 +02:00
24d90a9412
fix: remove unused import and clean up file size formatting logic 2025-05-12 07:51:14 +02:00
6115851147
feat: implement metadata generation for file details and improve error handling 2025-05-12 07:41:51 +02:00
011695cf46
feat: add meta tags for improved SEO on file not found page 2025-05-12 07:25:23 +02:00
9f04130726
fix: clean up imports and formatting in FilePreviewContainer 2025-05-12 07:20:03 +02:00
82d1e74af1
feat: refactor file download to use MinIO for file retrieval 2025-05-12 07:12:43 +02:00
453264d9cd
fix: include fileId in Content-Disposition header for file downloads 2025-05-11 03:20:14 +02:00
b63e3ae77f revert 99397e774c41980ef13b3155e13330ad4eaa7753
revert WIP: implement public file visibility feature and enhance search functionality
2025-05-09 08:55:45 +00:00
99397e774c
WIP: implement public file visibility feature and enhance search functionality 2025-05-09 10:51:48 +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
af978c98b8
fix: resolve promise for searchParams and correct typo in FileDescriptionContainer prop 2025-05-04 17:28:27 +02:00
75d1187255
changed icons from text svg to file 2025-05-04 17:17:58 +02:00
1d302eb217
feat: add FileDescriptionContainer for managing file descriptions and integrate with FileActions 2025-05-04 17:00:56 +02:00
344334592e
Merge branch 'dev' 2025-05-04 16:10:09 +02:00
5ec3e011e1
feat: refactor file handling and enhance client notifications across components 2025-05-04 06:56:44 +02:00
8bc35d979d
feat: wrap FilePreviewContainerContent in Suspense for improved loading state handling 2025-04-16 19:05:49 +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
3048c00648
feat: add audio support in SharePage component 2025-04-16 02:28:30 +02:00
caedd0ae88
refactor: update file retrieval logic and enhance media handling in SharePage component 2025-04-16 02:20:32 +02:00
568a6556af
don't change page title 2025-04-15 09:29:47 +02:00
2eed080238
other fix to embeds 2025-04-15 09:26:54 +02:00
e91446be99
modified: src/app/share/[id].tsx 2025-04-15 09:02:21 +02:00
c890d2d26b
fix 2025-04-15 08:59:30 +02:00
52c1961ddf
test of the new embed system 2025-04-15 08:56:41 +02:00
b126281e22
removed embed support becouse it broke site 2025-04-15 08:38:21 +02:00
f4368300af
changed the way of embeds 2025-04-15 08:33:03 +02:00
7133c544e1
changed all things to use id instead of file name 2025-04-15 08:03:59 +02:00
b4eb2b4657
fixed download link for share page 2025-04-14 16:02:14 +02:00
95392aa593 Delete docker-compose.yml 2025-04-14 13:47:51 +00:00
b5dc5eea1f
modified: .gitignore
modified:   Dockerfile
modified:   docker-compose.yml
modified:   src/app/share/page.tsx
2025-04-14 15:46:17 +02:00
089f80cb00
modified: docker-compose.yml
modified:   prisma/schema.prisma
2025-04-14 13:22:49 +02:00
3272542290
renamed: next.config.mjs -> next.config.js 2025-04-14 13:07:53 +02:00
6c4ea59e12
fixed next.config.mjs 2025-04-14 13:05:40 +02:00
41132eee61
added env variables 2025-04-14 12:23:16 +02:00