56 Commits

Author SHA1 Message Date
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
af4d2e9e59
modified: next.config.js 2025-04-14 12:02:21 +02:00
fbf1c95b1b
fixed oauth and uploading and file details 2025-04-14 11:59:54 +02:00
799c7d7cec
modified: next.config.js 2025-04-14 09:43:40 +02:00
2796d13734
Revert "trpc changes"
This reverts commit 83c1618a4435978a1f73e2266f8d488c35a61065.
2025-04-14 09:41:03 +02:00
70eccbe29b
Revert "fix"
This reverts commit f8c26d09db7d7333418931013116715a81943c3f.
2025-04-14 09:40:57 +02:00
4b77152bb0
Revert "modified: src/env.js"
This reverts commit 571a64d1d5b6c3982466bc660e3a6368513b6536.
2025-04-14 09:40:53 +02:00
49483f9109
Revert "modified: src/app/page.tsx"
This reverts commit 6522a256b9700628d735a5676fe949465c666359.
2025-04-14 09:40:39 +02:00
6522a256b9
modified: src/app/page.tsx
new file:   src/components/Auth.tsx
modified:   src/trpc/server.ts
2025-04-14 09:34:06 +02:00
571a64d1d5
modified: src/env.js 2025-04-14 09:20:16 +02:00
f8c26d09db
fix 2025-04-14 09:12:30 +02:00
83c1618a44
trpc changes 2025-04-14 09:11:19 +02:00
b35b3ac118
modified: .gitignore 2025-04-14 08:45:45 +02:00