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