40 Commits

Author SHA1 Message Date
b905c37c8a refactor: Simplify message deletion logic and improve response handling in DiscordRateLimiter
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
Vercel Production Deployment / Deploy-Production (push) Successful in 1m31s
2025-10-16 13:48:57 +02:00
ca4a696093 refactor: Ensure proper handling of empty responses in Discord API request 2025-10-16 13:46:58 +02:00
df677a345a refactor: Correctly iterate over file parts array in delete operation 2025-10-16 13:44:57 +02:00
56726adaad refactor: Correctly assign file parts array in response object 2025-10-16 13:40:41 +02:00
841923c7ff refactor: Enhance error handling for file metadata fetching and parsing 2025-10-16 13:38:20 +02:00
bc67634411 refactor: Simplify Discord API response handling and define response interface 2025-10-16 13:37:39 +02:00
49a6131b23 refactor: Improve error handling for Discord API response parsing 2025-10-16 13:33:35 +02:00
968a843120 refactor: Add type annotations for response objects in API request handling
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
Vercel Production Deployment / Deploy-Production (push) Successful in 1m32s
2025-10-16 13:21:01 +02:00
bbf3725acf refactor: Implement DiscordRateLimiter for API requests to manage rate limits 2025-10-16 13:18:25 +02:00
22ed99da86 refactor: Adjust chunk size to 4 MB and increase parallel uploads to 5
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
Vercel Production Deployment / Deploy-Production (push) Successful in 1m33s
2025-10-16 13:12:05 +02:00
0dfdbc1a7e refactor: Change Vercel CLI installation method from pnpm to npm for consistency
All checks were successful
Vercel Production Deployment / Deploy-Production (push) Successful in 1m35s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
Vercel Preview Deployment / Deploy-Preview (push) Successful in 1m34s
2025-10-16 13:05:48 +02:00
a584cd0c66 refactor: Update Vercel CLI installation to use pnpm for consistency across workflows
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
Vercel Production Deployment / Deploy-Production (push) Failing after 9s
2025-10-16 13:05:06 +02:00
3122f04fa4 refactor: Add pnpm installation step to Vercel deployment workflows
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
Vercel Production Deployment / Deploy-Production (push) Has been cancelled
2025-10-16 13:00:26 +02:00
872d590ff0 refactor: Simplify body tag formatting in RootLayout component 2025-10-16 12:59:02 +02:00
ac52eaf984 refactor: Add @vercel/analytics dependency and integrate Analytics component in layout 2025-10-16 12:57:54 +02:00
a310fe9564 refactor: Update type annotations and error handling for improved type safety in route and download components
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
Vercel Production Deployment / Deploy-Production (push) Failing after 24s
2025-10-16 11:28:11 +02:00
fde0dd7216 refactor: Improve type safety in download and file routes by updating type annotations 2025-10-16 11:25:08 +02:00
cf72ed90e7 refactor: Enhance type safety for database queries in delete and download routes 2025-10-16 11:20:08 +02:00
966450a2de refactor: Specify type for active array in upload process 2025-10-16 11:18:05 +02:00
f533d86896 refactor: Update type annotations for database query results in cleanup route 2025-10-16 11:17:30 +02:00
97b10716b3 refactor: Update type annotation for query result in complete-upload route 2025-10-16 11:15:51 +02:00
ae452de3d0 refactor: Update type annotations for database queries and improve button state handling in download page 2025-10-16 11:15:14 +02:00
bc723445fa feat: Add Gitea workflows for demo, Vercel preview, and production deployments 2025-10-16 11:13:22 +02:00
d2d50ae860 feat: Add Dockerfile for building and running LockLoad Next.js application 2025-10-16 10:53:29 +02:00
3a9b29c158 refactor: Update application title and description to reflect new branding as LockLoad 2025-10-16 10:35:15 +02:00
e890881221 refactor: Update message deletion logic to handle rate limits and improve error handling 2025-10-16 10:08:47 +02:00
9902a5ed36 refactor: Clean up and enhance upload component with improved UI and progress handling 2025-10-16 10:00:52 +02:00
53df5bc572 feat: Enhance download page with progress tracking and file deletion functionality 2025-10-16 09:58:56 +02:00
4dcb8cd858 refactor: Update download logic to use parallel fetching for improved performance 2025-10-16 09:50:50 +02:00
63fe91a4df feat: Implement fetchWithRetry helper and enhance download concurrency handling 2025-10-16 09:42:00 +02:00
0e4f4f5fd3 fix: Update parameter destructuring in GET functions for consistency 2025-10-16 09:39:13 +02:00
9edc3ca1ec fix: Simplify parameter destructuring in GET functions for consistency 2025-10-16 09:38:36 +02:00
12fa9812bc fix: Update parameter destructuring in GET functions for consistency 2025-10-16 09:36:43 +02:00
3dd56334cf fix: Update Discord API integration to use Bot token and channel ID for message handling 2025-10-16 09:30:51 +02:00
387934b19e feat: Enhance file upload progress tracking with detailed metrics 2025-10-16 09:24:22 +02:00
74ad53d3bc fix: Add type annotation for part in delete message promises 2025-10-16 09:19:13 +02:00
cd0e485f80 fix: Simplify parameter destructuring in GET function 2025-10-16 09:17:57 +02:00
f51a571536 fix: Update parameter destructuring in GET function for clarity 2025-10-16 09:17:04 +02:00
2f07f75088 feat: Implement file upload and management system
- Created database schema for files and file parts.
- Added API endpoint to create a new file and generate an upload token.
- Implemented API endpoint to complete file uploads and generate a download token.
- Developed cron job for cleaning up expired files and deleting associated Discord messages.
- Added API endpoint for soft deletion of files and their parts.
- Implemented API endpoint to fetch file metadata and parts for download.
- Created API endpoint to upload file parts to Discord.
- Developed a client-side download page to handle file decryption and assembly.
- Established database connection pooling for efficient database operations.
2025-10-16 09:16:06 +02:00
762f42a20e feat: initialize Next.js app with Tailwind CSS and custom global styles
- Added global CSS file with Tailwind CSS imports and custom styles for light and dark themes.
- Created layout component to set up the root HTML structure and include Google Fonts.
- Developed home page with responsive layout, including links to Vercel and Next.js documentation.
- Configured TypeScript with strict settings and module resolution for Next.js.
2025-10-16 09:09:27 +02:00