Commit 477b62e
Dev (#174)
* Fix/resolve merge conflicts (#162)
* Dev (#142)
* Refactor file handling components and add FilePreview utility
- Introduced FilePreview component for displaying file previews based on file type.
- Updated FileCard and FileUploader to utilize FilePreview for better file representation.
- Enhanced FileInfoDialog to include file previews.
- Improved file type detection logic in fileUtils.
- Streamlined imports and component structure across affected files.
* Test 1
* Add PDF preview message and integrate translation in FilePreview component
* Test 2
* Test 3
* Test 4
* Trad part 2 (#122)
* rate limiting for build
* autres trad
* Revert "Fix Playwright" (#121)
* Revert "Fix Playwright"
* Test 1
* Test 2
* Test 3
* Test 4
* Test 5
* Test 6
* Trad part 2 (#123)
* rate limiting for build
* autres trad
* oublie autres trad
* Temporary Files Upload (#119)
* Upload page reworked + Visuals for Temp File Gen
* Temp Files
* Refacto
* Fix Front
* Persistence in localstorage
* Expiration in Front
* Working cleanup
* Fixes + Translation
* Bigger expiration Icon
* Set to 24 hours
* FilePreview on the Icons
* Underscore (#125)
* rate limiting for build
* underscore
* Password Recovery (#124)
* Password Recovery
* Translation Fix
* Refacto decodeJWT + utils
* Refacto 2
* Refacto utils part 2
* Schema Validation + Error handling
* Added missing definition in resolver
* graphql types updated
* Changed Toast config (#126)
* File list (#128)
* Refactor: Update UserResolver and AuthContext for improved async handling and optional fields
- Adjusted UserInfo fields to be nullable in UserResolver.
- Enhanced async handling in AuthContext and related components.
- Improved error handling in Form component.
- Cleaned up imports and formatting across multiple files.
* Refactor UI components and utility functions
- Updated import statements to use consistent single quotes.
- Refactored Select, Separator, Sheet, ShimmerButton, Switch, Tabs, and Tooltip components for improved readability and consistency.
- Removed the old utility functions file and created a new global utility functions file.
- Added new types for file handling and temporary links.
- Enhanced drag-and-drop functionality with utility functions.
- Cleaned up Layout and UploadPage components for better structure and readability.
* Enhance FileCard and FileSection components with compact mode toggle; update Radix UI dependencies and improve file type handling
---------
Co-authored-by: Etimo <gitimo@gmail.com>
* TempLinks Limit (#130)
* TempLink limit + Fixed Translations
* Added acceptedFileTypes to TempLinkGenerator
* Updated Common i18n
* Resend Verify Code Button (#129)
* Resend Code Button
* underscore
* Rework How it Works & About Pages (#131)
* Reword How it Works
* Rework About Page
* Removed Like and Comment (#132)
* Feat file expire cron (#134)
* feat: add scheduled cleanup for expired resources and update dependencies
- Implemented a daily cron job to clean up expired resources from the database and file system.
- Added `node-cron` for scheduling tasks and `express-rate-limit` for rate limiting.
- Updated `package.json` to include new dependencies and removed duplicates.
- Refactored `ResourceResolver` to handle resource expiration and access control more effectively.
- Enhanced error handling and logging for resource cleanup operations.
- Updated frontend dependencies to their latest versions for improved stability and security.
* feat: Enhance subscription and file upload features
- Updated SubscriptionResolver to improve error messages for user and subscription not found.
- Modified UserResolver to include subscription status in JWT token.
- Updated frontend localization files to clarify file size limits for subscribed and non-subscribed users.
- Enhanced FileUploader component to enforce file size limits based on subscription status.
- Improved TempLinkGenerator to validate file size for non-subscribed users.
- Integrated express-rate-limit middleware in storage API to manage upload and request limits.
- Refactored multer configuration to include file type and size validation based on user subscription.
- Added cleanup logic for expired temporary files in the storage API.
- Implemented rate limiting for various routes in the storage API to prevent abuse.
* FilePreview v2 (#133)
* Updated FilePreviw + FileList
* FileSection pagination and Fixes
* Added Search Bar
* Clear input added
---------
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
* Refactor generateUniqueFilename to use originalName directly and simplify custom name handling
* Captcha for Sign Page (#138)
* Captcha for Sign Page
* Temporilarily Modified e2e test
* Inverted logic for keys
* Sort By File Type & Author (#136)
* Added Audio preview
* Filter by type and author
* Fixed author filter
* Removed useless logs
* Antivirus Scan (#137)
* Initialization
* Working State
* Improved UI/UX and translations
* Mini fix
* Removed useless files
* MD5 Hash stored & Exposed on Front (#139)
* md5file installed
* MD5 Hash is stored and exposed in the UI
* Fix lint
* Email Code Expiration + fix resend email (#140)
* Added the group selection in Front
* Grouped Deletion
* Drag to select
* Grouped Sharing
* ScrollBox + Improved drag to select + typo
* Group Report
* Group Export to ZIP + Removed Group Download
* Fix Lint
* Cleaning
---------
Co-authored-by: niieeer <clement0201@icloud.com>
Co-authored-by: Etimo <gitimo@gmail.com>
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
Co-authored-by: Etimo <86971633+Etimo285@users.noreply.github.com>
* Fix/frontend build (#143)
* fix: correct frontend Dockerfile for production build
* fix: remove TypeScript check from frontend build to fix production build
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script (#144)
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Fix/frontend dockerfile (#145)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Fix/frontend dockerfile (#146)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
* feat: add production environment variables for frontend build
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Disable Recaptcha (#147)
* Disable Recaptcha
* error Lint
* error Lint
* Chore/final prod config (#148)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
* feat: add production environment variables for frontend build
* chore: final production config with storage-api build fix
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* test (#149)
* fix: resolve merge conflicts in Dockerfile and reCAPTCHA files
---------
Co-authored-by: Daniel Lemos <118815455+Jeynox@users.noreply.github.com>
Co-authored-by: niieeer <clement0201@icloud.com>
Co-authored-by: Etimo <gitimo@gmail.com>
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
Co-authored-by: Etimo <86971633+Etimo285@users.noreply.github.com>
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Fix/resolve merge conflicts (#164)
* Dev (#142)
* Refactor file handling components and add FilePreview utility
- Introduced FilePreview component for displaying file previews based on file type.
- Updated FileCard and FileUploader to utilize FilePreview for better file representation.
- Enhanced FileInfoDialog to include file previews.
- Improved file type detection logic in fileUtils.
- Streamlined imports and component structure across affected files.
* Test 1
* Add PDF preview message and integrate translation in FilePreview component
* Test 2
* Test 3
* Test 4
* Trad part 2 (#122)
* rate limiting for build
* autres trad
* Revert "Fix Playwright" (#121)
* Revert "Fix Playwright"
* Test 1
* Test 2
* Test 3
* Test 4
* Test 5
* Test 6
* Trad part 2 (#123)
* rate limiting for build
* autres trad
* oublie autres trad
* Temporary Files Upload (#119)
* Upload page reworked + Visuals for Temp File Gen
* Temp Files
* Refacto
* Fix Front
* Persistence in localstorage
* Expiration in Front
* Working cleanup
* Fixes + Translation
* Bigger expiration Icon
* Set to 24 hours
* FilePreview on the Icons
* Underscore (#125)
* rate limiting for build
* underscore
* Password Recovery (#124)
* Password Recovery
* Translation Fix
* Refacto decodeJWT + utils
* Refacto 2
* Refacto utils part 2
* Schema Validation + Error handling
* Added missing definition in resolver
* graphql types updated
* Changed Toast config (#126)
* File list (#128)
* Refactor: Update UserResolver and AuthContext for improved async handling and optional fields
- Adjusted UserInfo fields to be nullable in UserResolver.
- Enhanced async handling in AuthContext and related components.
- Improved error handling in Form component.
- Cleaned up imports and formatting across multiple files.
* Refactor UI components and utility functions
- Updated import statements to use consistent single quotes.
- Refactored Select, Separator, Sheet, ShimmerButton, Switch, Tabs, and Tooltip components for improved readability and consistency.
- Removed the old utility functions file and created a new global utility functions file.
- Added new types for file handling and temporary links.
- Enhanced drag-and-drop functionality with utility functions.
- Cleaned up Layout and UploadPage components for better structure and readability.
* Enhance FileCard and FileSection components with compact mode toggle; update Radix UI dependencies and improve file type handling
---------
Co-authored-by: Etimo <gitimo@gmail.com>
* TempLinks Limit (#130)
* TempLink limit + Fixed Translations
* Added acceptedFileTypes to TempLinkGenerator
* Updated Common i18n
* Resend Verify Code Button (#129)
* Resend Code Button
* underscore
* Rework How it Works & About Pages (#131)
* Reword How it Works
* Rework About Page
* Removed Like and Comment (#132)
* Feat file expire cron (#134)
* feat: add scheduled cleanup for expired resources and update dependencies
- Implemented a daily cron job to clean up expired resources from the database and file system.
- Added `node-cron` for scheduling tasks and `express-rate-limit` for rate limiting.
- Updated `package.json` to include new dependencies and removed duplicates.
- Refactored `ResourceResolver` to handle resource expiration and access control more effectively.
- Enhanced error handling and logging for resource cleanup operations.
- Updated frontend dependencies to their latest versions for improved stability and security.
* feat: Enhance subscription and file upload features
- Updated SubscriptionResolver to improve error messages for user and subscription not found.
- Modified UserResolver to include subscription status in JWT token.
- Updated frontend localization files to clarify file size limits for subscribed and non-subscribed users.
- Enhanced FileUploader component to enforce file size limits based on subscription status.
- Improved TempLinkGenerator to validate file size for non-subscribed users.
- Integrated express-rate-limit middleware in storage API to manage upload and request limits.
- Refactored multer configuration to include file type and size validation based on user subscription.
- Added cleanup logic for expired temporary files in the storage API.
- Implemented rate limiting for various routes in the storage API to prevent abuse.
* FilePreview v2 (#133)
* Updated FilePreviw + FileList
* FileSection pagination and Fixes
* Added Search Bar
* Clear input added
---------
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
* Refactor generateUniqueFilename to use originalName directly and simplify custom name handling
* Captcha for Sign Page (#138)
* Captcha for Sign Page
* Temporilarily Modified e2e test
* Inverted logic for keys
* Sort By File Type & Author (#136)
* Added Audio preview
* Filter by type and author
* Fixed author filter
* Removed useless logs
* Antivirus Scan (#137)
* Initialization
* Working State
* Improved UI/UX and translations
* Mini fix
* Removed useless files
* MD5 Hash stored & Exposed on Front (#139)
* md5file installed
* MD5 Hash is stored and exposed in the UI
* Fix lint
* Email Code Expiration + fix resend email (#140)
* Added the group selection in Front
* Grouped Deletion
* Drag to select
* Grouped Sharing
* ScrollBox + Improved drag to select + typo
* Group Report
* Group Export to ZIP + Removed Group Download
* Fix Lint
* Cleaning
---------
Co-authored-by: niieeer <clement0201@icloud.com>
Co-authored-by: Etimo <gitimo@gmail.com>
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
Co-authored-by: Etimo <86971633+Etimo285@users.noreply.github.com>
* Fix/frontend build (#143)
* fix: correct frontend Dockerfile for production build
* fix: remove TypeScript check from frontend build to fix production build
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script (#144)
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Fix/frontend dockerfile (#145)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Fix/frontend dockerfile (#146)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
* feat: add production environment variables for frontend build
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Disable Recaptcha (#147)
* Disable Recaptcha
* error Lint
* error Lint
* Chore/final prod config (#148)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
* feat: add production environment variables for frontend build
* chore: final production config with storage-api build fix
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* test (#149)
* fix: resolve merge conflicts in Dockerfile and reCAPTCHA files
---------
Co-authored-by: Daniel Lemos <118815455+Jeynox@users.noreply.github.com>
Co-authored-by: niieeer <clement0201@icloud.com>
Co-authored-by: Etimo <gitimo@gmail.com>
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
Co-authored-by: Etimo <86971633+Etimo285@users.noreply.github.com>
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Fix/resolve merge conflicts (#166)
* Dev (#142)
* Refactor file handling components and add FilePreview utility
- Introduced FilePreview component for displaying file previews based on file type.
- Updated FileCard and FileUploader to utilize FilePreview for better file representation.
- Enhanced FileInfoDialog to include file previews.
- Improved file type detection logic in fileUtils.
- Streamlined imports and component structure across affected files.
* Test 1
* Add PDF preview message and integrate translation in FilePreview component
* Test 2
* Test 3
* Test 4
* Trad part 2 (#122)
* rate limiting for build
* autres trad
* Revert "Fix Playwright" (#121)
* Revert "Fix Playwright"
* Test 1
* Test 2
* Test 3
* Test 4
* Test 5
* Test 6
* Trad part 2 (#123)
* rate limiting for build
* autres trad
* oublie autres trad
* Temporary Files Upload (#119)
* Upload page reworked + Visuals for Temp File Gen
* Temp Files
* Refacto
* Fix Front
* Persistence in localstorage
* Expiration in Front
* Working cleanup
* Fixes + Translation
* Bigger expiration Icon
* Set to 24 hours
* FilePreview on the Icons
* Underscore (#125)
* rate limiting for build
* underscore
* Password Recovery (#124)
* Password Recovery
* Translation Fix
* Refacto decodeJWT + utils
* Refacto 2
* Refacto utils part 2
* Schema Validation + Error handling
* Added missing definition in resolver
* graphql types updated
* Changed Toast config (#126)
* File list (#128)
* Refactor: Update UserResolver and AuthContext for improved async handling and optional fields
- Adjusted UserInfo fields to be nullable in UserResolver.
- Enhanced async handling in AuthContext and related components.
- Improved error handling in Form component.
- Cleaned up imports and formatting across multiple files.
* Refactor UI components and utility functions
- Updated import statements to use consistent single quotes.
- Refactored Select, Separator, Sheet, ShimmerButton, Switch, Tabs, and Tooltip components for improved readability and consistency.
- Removed the old utility functions file and created a new global utility functions file.
- Added new types for file handling and temporary links.
- Enhanced drag-and-drop functionality with utility functions.
- Cleaned up Layout and UploadPage components for better structure and readability.
* Enhance FileCard and FileSection components with compact mode toggle; update Radix UI dependencies and improve file type handling
---------
Co-authored-by: Etimo <gitimo@gmail.com>
* TempLinks Limit (#130)
* TempLink limit + Fixed Translations
* Added acceptedFileTypes to TempLinkGenerator
* Updated Common i18n
* Resend Verify Code Button (#129)
* Resend Code Button
* underscore
* Rework How it Works & About Pages (#131)
* Reword How it Works
* Rework About Page
* Removed Like and Comment (#132)
* Feat file expire cron (#134)
* feat: add scheduled cleanup for expired resources and update dependencies
- Implemented a daily cron job to clean up expired resources from the database and file system.
- Added `node-cron` for scheduling tasks and `express-rate-limit` for rate limiting.
- Updated `package.json` to include new dependencies and removed duplicates.
- Refactored `ResourceResolver` to handle resource expiration and access control more effectively.
- Enhanced error handling and logging for resource cleanup operations.
- Updated frontend dependencies to their latest versions for improved stability and security.
* feat: Enhance subscription and file upload features
- Updated SubscriptionResolver to improve error messages for user and subscription not found.
- Modified UserResolver to include subscription status in JWT token.
- Updated frontend localization files to clarify file size limits for subscribed and non-subscribed users.
- Enhanced FileUploader component to enforce file size limits based on subscription status.
- Improved TempLinkGenerator to validate file size for non-subscribed users.
- Integrated express-rate-limit middleware in storage API to manage upload and request limits.
- Refactored multer configuration to include file type and size validation based on user subscription.
- Added cleanup logic for expired temporary files in the storage API.
- Implemented rate limiting for various routes in the storage API to prevent abuse.
* FilePreview v2 (#133)
* Updated FilePreviw + FileList
* FileSection pagination and Fixes
* Added Search Bar
* Clear input added
---------
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
* Refactor generateUniqueFilename to use originalName directly and simplify custom name handling
* Captcha for Sign Page (#138)
* Captcha for Sign Page
* Temporilarily Modified e2e test
* Inverted logic for keys
* Sort By File Type & Author (#136)
* Added Audio preview
* Filter by type and author
* Fixed author filter
* Removed useless logs
* Antivirus Scan (#137)
* Initialization
* Working State
* Improved UI/UX and translations
* Mini fix
* Removed useless files
* MD5 Hash stored & Exposed on Front (#139)
* md5file installed
* MD5 Hash is stored and exposed in the UI
* Fix lint
* Email Code Expiration + fix resend email (#140)
* Added the group selection in Front
* Grouped Deletion
* Drag to select
* Grouped Sharing
* ScrollBox + Improved drag to select + typo
* Group Report
* Group Export to ZIP + Removed Group Download
* Fix Lint
* Cleaning
---------
Co-authored-by: niieeer <clement0201@icloud.com>
Co-authored-by: Etimo <gitimo@gmail.com>
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
Co-authored-by: Etimo <86971633+Etimo285@users.noreply.github.com>
* Fix/frontend build (#143)
* fix: correct frontend Dockerfile for production build
* fix: remove TypeScript check from frontend build to fix production build
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script (#144)
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Fix/frontend dockerfile (#145)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Fix/frontend dockerfile (#146)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
* feat: add production environment variables for frontend build
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Disable Recaptcha (#147)
* Disable Recaptcha
* error Lint
* error Lint
* Chore/final prod config (#148)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
* feat: add production environment variables for frontend build
* chore: final production config with storage-api build fix
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* test (#149)
* fix: resolve merge conflicts in Dockerfile and reCAPTCHA files
* fix: improve prod-frontend workflow to handle merged PRs correctly
* fix: ensure lint workflow uses correct branch code
* fix: ensure lint uses correct code without merge conflicts
* fix: remove dotenv import and update Dockerfile with Node 22 and better error handling
---------
Co-authored-by: Daniel Lemos <118815455+Jeynox@users.noreply.github.com>
Co-authored-by: niieeer <clement0201@icloud.com>
Co-authored-by: Etimo <gitimo@gmail.com>
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
Co-authored-by: Etimo <86971633+Etimo285@users.noreply.github.com>
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Conflits (#169)
* Dev (#142)
* Refactor file handling components and add FilePreview utility
- Introduced FilePreview component for displaying file previews based on file type.
- Updated FileCard and FileUploader to utilize FilePreview for better file representation.
- Enhanced FileInfoDialog to include file previews.
- Improved file type detection logic in fileUtils.
- Streamlined imports and component structure across affected files.
* Test 1
* Add PDF preview message and integrate translation in FilePreview component
* Test 2
* Test 3
* Test 4
* Trad part 2 (#122)
* rate limiting for build
* autres trad
* Revert "Fix Playwright" (#121)
* Revert "Fix Playwright"
* Test 1
* Test 2
* Test 3
* Test 4
* Test 5
* Test 6
* Trad part 2 (#123)
* rate limiting for build
* autres trad
* oublie autres trad
* Temporary Files Upload (#119)
* Upload page reworked + Visuals for Temp File Gen
* Temp Files
* Refacto
* Fix Front
* Persistence in localstorage
* Expiration in Front
* Working cleanup
* Fixes + Translation
* Bigger expiration Icon
* Set to 24 hours
* FilePreview on the Icons
* Underscore (#125)
* rate limiting for build
* underscore
* Password Recovery (#124)
* Password Recovery
* Translation Fix
* Refacto decodeJWT + utils
* Refacto 2
* Refacto utils part 2
* Schema Validation + Error handling
* Added missing definition in resolver
* graphql types updated
* Changed Toast config (#126)
* File list (#128)
* Refactor: Update UserResolver and AuthContext for improved async handling and optional fields
- Adjusted UserInfo fields to be nullable in UserResolver.
- Enhanced async handling in AuthContext and related components.
- Improved error handling in Form component.
- Cleaned up imports and formatting across multiple files.
* Refactor UI components and utility functions
- Updated import statements to use consistent single quotes.
- Refactored Select, Separator, Sheet, ShimmerButton, Switch, Tabs, and Tooltip components for improved readability and consistency.
- Removed the old utility functions file and created a new global utility functions file.
- Added new types for file handling and temporary links.
- Enhanced drag-and-drop functionality with utility functions.
- Cleaned up Layout and UploadPage components for better structure and readability.
* Enhance FileCard and FileSection components with compact mode toggle; update Radix UI dependencies and improve file type handling
---------
Co-authored-by: Etimo <gitimo@gmail.com>
* TempLinks Limit (#130)
* TempLink limit + Fixed Translations
* Added acceptedFileTypes to TempLinkGenerator
* Updated Common i18n
* Resend Verify Code Button (#129)
* Resend Code Button
* underscore
* Rework How it Works & About Pages (#131)
* Reword How it Works
* Rework About Page
* Removed Like and Comment (#132)
* Feat file expire cron (#134)
* feat: add scheduled cleanup for expired resources and update dependencies
- Implemented a daily cron job to clean up expired resources from the database and file system.
- Added `node-cron` for scheduling tasks and `express-rate-limit` for rate limiting.
- Updated `package.json` to include new dependencies and removed duplicates.
- Refactored `ResourceResolver` to handle resource expiration and access control more effectively.
- Enhanced error handling and logging for resource cleanup operations.
- Updated frontend dependencies to their latest versions for improved stability and security.
* feat: Enhance subscription and file upload features
- Updated SubscriptionResolver to improve error messages for user and subscription not found.
- Modified UserResolver to include subscription status in JWT token.
- Updated frontend localization files to clarify file size limits for subscribed and non-subscribed users.
- Enhanced FileUploader component to enforce file size limits based on subscription status.
- Improved TempLinkGenerator to validate file size for non-subscribed users.
- Integrated express-rate-limit middleware in storage API to manage upload and request limits.
- Refactored multer configuration to include file type and size validation based on user subscription.
- Added cleanup logic for expired temporary files in the storage API.
- Implemented rate limiting for various routes in the storage API to prevent abuse.
* FilePreview v2 (#133)
* Updated FilePreviw + FileList
* FileSection pagination and Fixes
* Added Search Bar
* Clear input added
---------
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
* Refactor generateUniqueFilename to use originalName directly and simplify custom name handling
* Captcha for Sign Page (#138)
* Captcha for Sign Page
* Temporilarily Modified e2e test
* Inverted logic for keys
* Sort By File Type & Author (#136)
* Added Audio preview
* Filter by type and author
* Fixed author filter
* Removed useless logs
* Antivirus Scan (#137)
* Initialization
* Working State
* Improved UI/UX and translations
* Mini fix
* Removed useless files
* MD5 Hash stored & Exposed on Front (#139)
* md5file installed
* MD5 Hash is stored and exposed in the UI
* Fix lint
* Email Code Expiration + fix resend email (#140)
* Added the group selection in Front
* Grouped Deletion
* Drag to select
* Grouped Sharing
* ScrollBox + Improved drag to select + typo
* Group Report
* Group Export to ZIP + Removed Group Download
* Fix Lint
* Cleaning
---------
Co-authored-by: niieeer <clement0201@icloud.com>
Co-authored-by: Etimo <gitimo@gmail.com>
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
Co-authored-by: Etimo <86971633+Etimo285@users.noreply.github.com>
* Fix/frontend build (#143)
* fix: correct frontend Dockerfile for production build
* fix: remove TypeScript check from frontend build to fix production build
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script (#144)
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Fix/frontend dockerfile (#145)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Fix/frontend dockerfile (#146)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
* feat: add production environment variables for frontend build
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Disable Recaptcha (#147)
* Disable Recaptcha
* error Lint
* error Lint
* Chore/final prod config (#148)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
* feat: add production environment variables for frontend build
* chore: final production config with storage-api build fix
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* test (#149)
* Fix/resolve merge conflicts (#162) (#163)
* Dev (#142)
* Refactor file handling components and add FilePreview utility
- Introduced FilePreview component for displaying file previews based on file type.
- Updated FileCard and FileUploader to utilize FilePreview for better file representation.
- Enhanced FileInfoDialog to include file previews.
- Improved file type detection logic in fileUtils.
- Streamlined imports and component structure across affected files.
* Test 1
* Add PDF preview message and integrate translation in FilePreview component
* Test 2
* Test 3
* Test 4
* Trad part 2 (#122)
* rate limiting for build
* autres trad
* Revert "Fix Playwright" (#121)
* Revert "Fix Playwright"
* Test 1
* Test 2
* Test 3
* Test 4
* Test 5
* Test 6
* Trad part 2 (#123)
* rate limiting for build
* autres trad
* oublie autres trad
* Temporary Files Upload (#119)
* Upload page reworked + Visuals for Temp File Gen
* Temp Files
* Refacto
* Fix Front
* Persistence in localstorage
* Expiration in Front
* Working cleanup
* Fixes + Translation
* Bigger expiration Icon
* Set to 24 hours
* FilePreview on the Icons
* Underscore (#125)
* rate limiting for build
* underscore
* Password Recovery (#124)
* Password Recovery
* Translation Fix
* Refacto decodeJWT + utils
* Refacto 2
* Refacto utils part 2
* Schema Validation + Error handling
* Added missing definition in resolver
* graphql types updated
* Changed Toast config (#126)
* File list (#128)
* Refactor: Update UserResolver and AuthContext for improved async handling and optional fields
- Adjusted UserInfo fields to be nullable in UserResolver.
- Enhanced async handling in AuthContext and related components.
- Improved error handling in Form component.
- Cleaned up imports and formatting across multiple files.
* Refactor UI components and utility functions
- Updated import statements to use consistent single quotes.
- Refactored Select, Separator, Sheet, ShimmerButton, Switch, Tabs, and Tooltip components for improved readability and consistency.
- Removed the old utility functions file and created a new global utility functions file.
- Added new types for file handling and temporary links.
- Enhanced drag-and-drop functionality with utility functions.
- Cleaned up Layout and UploadPage components for better structure and readability.
* Enhance FileCard and FileSection components with compact mode toggle; update Radix UI dependencies and improve file type handling
---------
* TempLinks Limit (#130)
* TempLink limit + Fixed Translations
* Added acceptedFileTypes to TempLinkGenerator
* Updated Common i18n
* Resend Verify Code Button (#129)
* Resend Code Button
* underscore
* Rework How it Works & About Pages (#131)
* Reword How it Works
* Rework About Page
* Removed Like and Comment (#132)
* Feat file expire cron (#134)
* feat: add scheduled cleanup for expired resources and update dependencies
- Implemented a daily cron job to clean up expired resources from the database and file system.
- Added `node-cron` for scheduling tasks and `express-rate-limit` for rate limiting.
- Updated `package.json` to include new dependencies and removed duplicates.
- Refactored `ResourceResolver` to handle resource expiration and access control more effectively.
- Enhanced error handling and logging for resource cleanup operations.
- Updated frontend dependencies to their latest versions for improved stability and security.
* feat: Enhance subscription and file upload features
- Updated SubscriptionResolver to improve error messages for user and subscription not found.
- Modified UserResolver to include subscription status in JWT token.
- Updated frontend localization files to clarify file size limits for subscribed and non-subscribed users.
- Enhanced FileUploader component to enforce file size limits based on subscription status.
- Improved TempLinkGenerator to validate file size for non-subscribed users.
- Integrated express-rate-limit middleware in storage API to manage upload and request limits.
- Refactored multer configuration to include file type and size validation based on user subscription.
- Added cleanup logic for expired temporary files in the storage API.
- Implemented rate limiting for various routes in the storage API to prevent abuse.
* FilePreview v2 (#133)
* Updated FilePreviw + FileList
* FileSection pagination and Fixes
* Added Search Bar
* Clear input added
---------
* Refactor generateUniqueFilename to use originalName directly and simplify custom name handling
* Captcha for Sign Page (#138)
* Captcha for Sign Page
* Temporilarily Modified e2e test
* Inverted logic for keys
* Sort By File Type & Author (#136)
* Added Audio preview
* Filter by type and author
* Fixed author filter
* Removed useless logs
* Antivirus Scan (#137)
* Initialization
* Working State
* Improved UI/UX and translations
* Mini fix
* Removed useless files
* MD5 Hash stored & Exposed on Front (#139)
* md5file installed
* MD5 Hash is stored and exposed in the UI
* Fix lint
* Email Code Expiration + fix resend email (#140)
* Added the group selection in Front
* Grouped Deletion
* Drag to select
* Grouped Sharing
* ScrollBox + Improved drag to select + typo
* Group Report
* Group Export to ZIP + Removed Group Download
* Fix Lint
* Cleaning
---------
* Fix/frontend build (#143)
* fix: correct frontend Dockerfile for production build
* fix: remove TypeScript check from frontend build to fix production build
---------
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script (#144)
* Fix/frontend dockerfile (#145)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
---------
* Fix/frontend dockerfile (#146)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
* feat: add production environment variables for frontend build
---------
* Disable Recaptcha (#147)
* Disable Recaptcha
* error Lint
* error Lint
* Chore/final prod config (#148)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
* feat: add production environment variables for frontend build
* chore: final production config with storage-api build fix
---------
* test (#149)
* fix: resolve merge conflicts in Dockerfile and reCAPTCHA files
---------
Co-authored-by: Daniel Lemos <118815455+Jeynox@users.noreply.github.com>
Co-authored-by: niieeer <clement0201@icloud.com>
Co-authored-by: Etimo <gitimo@gmail.com>
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
Co-authored-by: Etimo <86971633+Etimo285@users.noreply.github.com>
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Dev (#165)
* Fix/resolve merge conflicts (#162)
* Dev (#142)
* Refactor file handling components and add FilePreview utility
- Introduced FilePreview component for displaying file previews based on file type.
- Updated FileCard and FileUploader to utilize FilePreview for better file representation.
- Enhanced FileInfoDialog to include file previews.
- Improved file type detection logic in fileUtils.
- Streamlined imports and component structure across affected files.
* Test 1
* Add PDF preview message and integrate translation in FilePreview component
* Test 2
* Test 3
* Test 4
* Trad part 2 (#122)
* rate limiting for build
* autres trad
* Revert "Fix Playwright" (#121)
* Revert "Fix Playwright"
* Test 1
* Test 2
* Test 3
* Test 4
* Test 5
* Test 6
* Trad part 2 (#123)
* rate limiting for build
* autres trad
* oublie autres trad
* Temporary Files Upload (#119)
* Upload page reworked + Visuals for Temp File Gen
* Temp Files
* Refacto
* Fix Front
* Persistence in localstorage
* Expiration in Front
* Working cleanup
* Fixes + Translation
* Bigger expiration Icon
* Set to 24 hours
* FilePreview on the Icons
* Underscore (#125)
* rate limiting for build
* underscore
* Password Recovery (#124)
* Password Recovery
* Translation Fix
* Refacto decodeJWT + utils
* Refacto 2
* Refacto utils part 2
* Schema Validation + Error handling
* Added missing definition in resolver
* graphql types updated
* Changed Toast config (#126)
* File list (#128)
* Refactor: Update UserResolver and AuthContext for improved async handling and optional fields
- Adjusted UserInfo fields to be nullable in UserResolver.
- Enhanced async handling in AuthContext and related components.
- Improved error handling in Form component.
- Cleaned up imports and formatting across multiple files.
* Refactor UI components and utility functions
- Updated import statements to use consistent single quotes.
- Refactored Select, Separator, Sheet, ShimmerButton, Switch, Tabs, and Tooltip components for improved readability and consistency.
- Removed the old utility functions file and created a new global utility functions file.
- Added new types for file handling and temporary links.
- Enhanced drag-and-drop functionality with utility functions.
- Cleaned up Layout and UploadPage components for better structure and readability.
* Enhance FileCard and FileSection components with compact mode toggle; update Radix UI dependencies and improve file type handling
---------
Co-authored-by: Etimo <gitimo@gmail.com>
* TempLinks Limit (#130)
* TempLink limit + Fixed Translations
* Added acceptedFileTypes to TempLinkGenerator
* Updated Common i18n
* Resend Verify Code Button (#129)
* Resend Code Button
* underscore
* Rework How it Works & About Pages (#131)
* Reword How it Works
* Rework About Page
* Removed Like and Comment (#132)
* Feat file expire cron (#134)
* feat: add scheduled cleanup for expired resources and update dependencies
- Implemented a daily cron job to clean up expired resources from the database and file system.
- Added `node-cron` for scheduling tasks and `express-rate-limit` for rate limiting.
- Updated `package.json` to include new dependencies and removed duplicates.
- Refactored `ResourceResolver` to handle resource expiration and access control more effectively.
- Enhanced error handling and logging for resource cleanup operations.
- Updated frontend dependencies to their latest versions for improved stability and security.
* feat: Enhance subscription and file upload features
- Updated SubscriptionResolver to improve error messages for user and subscription not found.
- Modified UserResolver to include subscription status in JWT token.
- Updated frontend localization files to clarify file size limits for subscribed and non-subscribed users.
- Enhanced FileUploader component to enforce file size limits based on subscription status.
- Improved TempLinkGenerator to validate file size for non-subscribed users.
- Integrated express-rate-limit middleware in storage API to manage upload and request limits.
- Refactored multer configuration to include file type and size validation based on user subscription.
- Added cleanup logic for expired temporary files in the storage API.
- Implemented rate limiting for various routes in the storage API to prevent abuse.
* FilePreview v2 (#133)
* Updated FilePreviw + FileList
* FileSection pagination and Fixes
* Added Search Bar
* Clear input added
---------
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
* Refactor generateUniqueFilename to use originalName directly and simplify custom name handling
* Captcha for Sign Page (#138)
* Captcha for Sign Page
* Temporilarily Modified e2e test
* Inverted logic for keys
* Sort By File Type & Author (#136)
* Added Audio preview
* Filter by type and author
* Fixed author filter
* Removed useless logs
* Antivirus Scan (#137)
* Initialization
* Working State
* Improved UI/UX and translations
* Mini fix
* Removed useless files
* MD5 Hash stored & Exposed on Front (#139)
* md5file installed
* MD5 Hash is stored and exposed in the UI
* Fix lint
* Email Code Expiration + fix resend email (#140)
* Added the group selection in Front
* Grouped Deletion
* Drag to select
* Grouped Sharing
* ScrollBox + Improved drag to select + typo
* Group Report
* Group Export to ZIP + Removed Group Download
* Fix Lint
* Cleaning
---------
Co-authored-by: niieeer <clement0201@icloud.com>
Co-authored-by: Etimo <gitimo@gmail.com>
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
Co-authored-by: Etimo <86971633+Etimo285@users.noreply.github.com>
* Fix/frontend build (#143)
* fix: correct frontend Dockerfile for production build
* fix: remove TypeScript check from frontend build to fix production build
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script (#144)
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Fix/frontend dockerfile (#145)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Fix/frontend dockerfile (#146)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
* feat: add production environment variables for frontend build
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Disable Recaptcha (#147)
* Disable Recaptcha
* error Lint
* error Lint
* Chore/final prod config (#148)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
* feat: add production environment variables for frontend build
* chore: final production config with storage-api build fix
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* test (#149)
* fix: resolve merge conflicts in Dockerfile and reCAPTCHA files
---------
Co-authored-by: Daniel Lemos <118815455+Jeynox@users.noreply.github.com>
Co-authored-by: niieeer <clement0201@icloud.com>
Co-authored-by: Etimo <gitimo@gmail.com>
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
Co-authored-by: Etimo <86971633+Etimo285@users.noreply.github.com>
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Fix/resolve merge conflicts (#164)
* Dev (#142)
* Refactor file handling components and add FilePreview utility
- Introduced FilePreview component for displaying file previews based on file type.
- Updated FileCard and FileUploader to utilize FilePreview for better file representation.
- Enhanced FileInfoDialog to include file previews.
- Improved file type detection logic in fileUtils.
- Streamlined imports and component structure across affected files.
* Test 1
* Add PDF preview message and integrate translation in FilePreview component
* Test 2
* Test 3
* Test 4
* Trad part 2 (#122)
* rate limiting for build
* autres trad
* Revert "Fix Playwright" (#121)
* Revert "Fix Playwright"
* Test 1
* Test 2
* Test 3
* Test 4
* Test 5
* Test 6
* Trad part 2 (#123)
* rate limiting for build
* autres trad
* oublie autres trad
* Temporary Files Upload (#119)
* Upload page reworked + Visuals for Temp File Gen
* Temp Files
* Refacto
* Fix Front
* Persistence in localstorage
* Expiration in Front
* Working cleanup
* Fixes + Translation
* Bigger expiration Icon
* Set to 24 hours
* FilePreview on the Icons
* Underscore (#125)
* rate limiting for build
* underscore
* Password Recovery (#124)
* Password Recovery
* Translation Fix
* Refacto decodeJWT + utils
* Refacto 2
* Refacto utils part 2
* Schema Validation + Error handling
* Added missing definition in resolver
* graphql types updated
* Changed Toast config (#126)
* File list (#128)
* Refactor: Update UserResolver and AuthContext for improved async handling and optional fields
- Adjusted UserInfo fields to be nullable in UserResolver.
- Enhanced async handling in AuthContext and related components.
- Improved error handling in Form component.
- Cleaned up imports and formatting across multiple files.
* Refactor UI components and utility functions
- Updated import statements to use consistent single quotes.
- Refactored Select, Separator, Sheet, ShimmerButton, Switch, Tabs, and Tooltip components for improved readability and consistency.
- Removed the old utility functions file and created a new global utility functions file.
- Added new types for file handling and temporary links.
- Enhanced drag-and-drop functionality with utility functions.
- Cleaned up Layout and UploadPage components for better structure and readability.
* Enhance FileCard and FileSection components with compact mode toggle; update Radix UI dependencies and improve file type handling
---------
Co-authored-by: Etimo <gitimo@gmail.com>
* TempLinks Limit (#130)
* TempLink limit + Fixed Translations
* Added acceptedFileTypes to TempLinkGenerator
* Updated Common i18n
* Resend Verify Code Button (#129)
* Resend Code Button
* underscore
* Rework How it Works & About Pages (#131)
* Reword How it Works
* Rework About Page
* Removed Like and Comment (#132)
* Feat file expire cron (#134)
* feat: add scheduled cleanup for expired resources and update dependencies
- Implemented a daily cron job to clean up expired resources from the database and file system.
- Added `node-cron` for scheduling tasks and `express-rate-limit` for rate limiting.
- Updated `package.json` to include new dependencies and removed duplicates.
- Refactored `ResourceResolver` to handle resource expiration and access control more effectively.
- Enhanced error handling and logging for resource cleanup operations.
- Updated frontend dependencies to their latest versions for improved stability and security.
* feat: Enhance subscription and file upload features
- Updated SubscriptionResolver to improve error messages for user and subscription not found.
- Modified UserResolver to include subscription status in JWT token.
- Updated frontend localization files to clarify file size limits for subscribed and non-subscribed users.
- Enhanced FileUploader component to enforce file size limits based on subscription status.
- Improved TempLinkGenerator to validate file size for non-subscribed users.
- Integrated express-rate-limit middleware in storage API to manage upload and request limits.
- Refactored multer configuration to include file type and size validation based on user subscription.
- Added cleanup logic for expired temporary files in the storage API.
- Implemented rate limiting for various routes in the storage API to prevent abuse.
* FilePreview v2 (#133)
* Updated FilePreviw + FileList
* FileSection pagination and Fixes
* Added Search Bar
* Clear input added
---------
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
* Refactor generateUniqueFilename to use originalName directly and simplify custom name handling
* Captcha for Sign Page (#138)
* Captcha for Sign Page
* Temporilarily Modified e2e test
* Inverted logic for keys
* Sort By File Type & Author (#136)
* Added Audio preview
* Filter by type and author
* Fixed author filter
* Removed useless logs
* Antivirus Scan (#137)
* Initialization
* Working State
* Improved UI/UX and translations
* Mini fix
* Removed useless files
* MD5 Hash stored & Exposed on Front (#139)
* md5file installed
* MD5 Hash is stored and exposed in the UI
* Fix lint
* Email Code Expiration + fix resend email (#140)
* Added the group selection in Front
* Grouped Deletion
* Drag to select
* Grouped Sharing
* ScrollBox + Improved drag to select + typo
* Group Report
* Group Export to ZIP + Removed Group Download
* Fix Lint
* Cleaning
---------
Co-authored-by: niieeer <clement0201@icloud.com>
Co-authored-by: Etimo <gitimo@gmail.com>
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
Co-authored-by: Etimo <86971633+Etimo285@users.noreply.github.com>
* Fix/frontend build (#143)
* fix: correct frontend Dockerfile for production build
* fix: remove TypeScript check from frontend build to fix production build
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script (#144)
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Fix/frontend dockerfile (#145)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Fix/frontend dockerfile (#146)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
* feat: add production environment variables for frontend build
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Disable Recaptcha (#147)
* Disable Recaptcha
* error Lint
* error Lint
* Chore/final prod config (#148)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
* feat: add production environment variables for frontend build
* chore: final production config with storage-api build fix
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* test (#149)
* fix: resolve merge conflicts in Dockerfile and reCAPTCHA files
---------
Co-authored-by: Daniel Lemos <118815455+Jeynox@users.noreply.github.com>
Co-authored-by: niieeer <clement0201@icloud.com>
Co-authored-by: Etimo <gitimo@gmail.com>
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
Co-authored-by: Etimo <86971633+Etimo285@users.noreply.github.com>
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
---------
Co-authored-by: Daniel Lemos <118815455+Jeynox@users.noreply.github.com>
Co-authored-by: niieeer <clement0201@icloud.com>
Co-authored-by: Etimo <gitimo@gmail.com>
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
Co-authored-by: Etimo <86971633+Etimo285@users.noreply.github.com>
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Clean up Dockerfile by removing unused ARGs and ENV (#167)
Removed environment variable setup for production build.
* fix: finalize merge conflict resolution in ReCaptcha and Sign components
---------
Co-authored-by: Daniel Lemos <118815455+Jeynox@users.noreply.github.com>
Co-authored-by: niieeer <clement0201@icloud.com>
Co-authored-by: Etimo <gitimo@gmail.com>
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
Co-authored-by: Etimo <86971633+Etimo285@users.noreply.github.com>
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* fix: finalize merge conflict resolution in ReCaptcha and Sign components (#171)
* Yes (#173)
* Dev (#172)
* Fix/resolve merge conflicts (#162)
* Dev (#142)
* Refactor file handling components and add FilePreview utility
- Introduced FilePreview component for displaying file previews based on file type.
- Updated FileCard and FileUploader to utilize FilePreview for better file representation.
- Enhanced FileInfoDialog to include file previews.
- Improved file type detection logic in fileUtils.
- Streamlined imports and component structure across affected files.
* Test 1
* Add PDF preview message and integrate translation in FilePreview component
* Test 2
* Test 3
* Test 4
* Trad part 2 (#122)
* rate limiting for build
* autres trad
* Revert "Fix Playwright" (#121)
* Revert "Fix Playwright"
* Test 1
* Test 2
* Test 3
* Test 4
* Test 5
* Test 6
* Trad part 2 (#123)
* rate limiting for build
* autres trad
* oublie autres trad
* Temporary Files Upload (#119)
* Upload page reworked + Visuals for Temp File Gen
* Temp Files
* Refacto
* Fix Front
* Persistence in localstorage
* Expiration in Front
* Working cleanup
* Fixes + Translation
* Bigger expiration Icon
* Set to 24 hours
* FilePreview on the Icons
* Underscore (#125)
* rate limiting for build
* underscore
* Password Recovery (#124)
* Password Recovery
* Translation Fix
* Refacto decodeJWT + utils
* Refacto 2
* Refacto utils part 2
* Schema Validation + Error handling
* Added missing definition in resolver
* graphql types updated
* Changed Toast config (#126)
* File list (#128)
* Refactor: Update UserResolver and AuthContext for improved async handling and optional fields
- Adjusted UserInfo fields to be nullable in UserResolver.
- Enhanced async handling in AuthContext and related components.
- Improved error handling in Form component.
- Cleaned up imports and formatting across multiple files.
* Refactor UI components and utility functions
- Updated import statements to use consistent single quotes.
- Refactored Select, Separator, Sheet, ShimmerButton, Switch, Tabs, and Tooltip components for improved readability and consistency.
- Removed the old utility functions file and created a new global utility functions file.
- Added new types for file handling and temporary links.
- Enhanced drag-and-drop functionality with utility functions.
- Cleaned up Layout and UploadPage components for better structure and readability.
* Enhance FileCard and FileSection components with compact mode toggle; update Radix UI dependencies and improve file type handling
---------
Co-authored-by: Etimo <gitimo@gmail.com>
* TempLinks Limit (#130)
* TempLink limit + Fixed Translations
* Added acceptedFileTypes to TempLinkGenerator
* Updated Common i18n
* Resend Verify Code Button (#129)
* Resend Code Button
* underscore
* Rework How it Works & About Pages (#131)
* Reword How it Works
* Rework About Page
* Removed Like and Comment (#132)
* Feat file expire cron (#134)
* feat: add scheduled cleanup for expired resources and update dependencies
- Implemented a daily cron job to clean up expired resources from the database and file system.
- Added `node-cron` for scheduling tasks and `express-rate-limit` for rate limiting.
- Updated `package.json` to include new dependencies and removed duplicates.
- Refactored `ResourceResolver` to handle resource expiration and access control more effectively.
- Enhanced error handling and logging for resource cleanup operations.
- Updated frontend dependencies to their latest versions for improved stability and security.
* feat: Enhance subscription and file upload features
- Updated SubscriptionResolver to improve error messages for user and subscription not found.
- Modified UserResolver to include subscription status in JWT token.
- Updated frontend localization files to clarify file size limits for subscribed and non-subscribed users.
- Enhanced FileUploader component to enforce file size limits based on subscription status.
- Improved TempLinkGenerator to validate file size for non-subscribed users.
- Integrated express-rate-limit middleware in storage API to manage upload and request limits.
- Refactored multer configuration to include file type and size validation based on user subscription.
- Added cleanup logic for expired temporary files in the storage API.
- Implemented rate limiting for various routes in the storage API to prevent abuse.
* FilePreview v2 (#133)
* Updated FilePreviw + FileList
* FileSection pagination and Fixes
* Added Search Bar
* Clear input added
---------
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
* Refactor generateUniqueFilename to use originalName directly and simplify custom name handling
* Captcha for Sign Page (#138)
* Captcha for Sign Page
* Temporilarily Modified e2e test
* Inverted logic for keys
* Sort By File Type & Author (#136)
* Added Audio preview
* Filter by type and author
* Fixed author filter
* Removed useless logs
* Antivirus Scan (#137)
* Initialization
* Working State
* Improved UI/UX and translations
* Mini fix
* Removed useless files
* MD5 Hash stored & Exposed on Front (#139)
* md5file installed
* MD5 Hash is stored and exposed in the UI
* Fix lint
* Email Code Expiration + fix resend email (#140)
* Added the group selection in Front
* Grouped Deletion
* Drag to select
* Grouped Sharing
* ScrollBox + Improved drag to select + typo
* Group Report
* Group Export to ZIP + Removed Group Download
* Fix Lint
* Cleaning
---------
Co-authored-by: niieeer <clement0201@icloud.com>
Co-authored-by: Etimo <gitimo@gmail.com>
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
Co-authored-by: Etimo <86971633+Etimo285@users.noreply.github.com>
* Fix/frontend build (#143)
* fix: correct frontend Dockerfile for production build
* fix: remove TypeScript check from frontend build to fix production build
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script (#144)
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Fix/frontend dockerfile (#145)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Fix/frontend dockerfile (#146)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
* feat: add production environment variables for frontend build
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Disable Recaptcha (#147)
* Disable Recaptcha
* error Lint
* error Lint
* Chore/final prod config (#148)
* chore: update production config with HTTPS ports, healthcheck fixes, and deployment script
* fix: make .env file optional in frontend Dockerfile
* feat: add production environment variables for frontend build
* chore: final production config with storage-api build fix
---------
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* test (#149)
* fix: resolve merge conflicts in Dockerfile and reCAPTCHA files
---------
Co-authored-by: Daniel Lemos <118815455+Jeynox@users.noreply.github.com>
Co-authored-by: niieeer <clement0201@icloud.com>
Co-authored-by: Etimo <gitimo@gmail.com>
Co-authored-by: Clément Beaudouin <85437955+niieeer@users.noreply.github.com>
Co-authored-by: Etimo <86971633+Etimo285@users.noreply.github.com>
Co-authored-by: Ubuntu <ubuntu@vps-cdddcab1.vps.ovh.net>
* Fix/resolve merge conflicts (#164)
* Dev (#142)
* Refactor file handling components and add FilePreview utility
- Introduced FilePreview component for displaying file previews based on file type.
- Updated FileCard and FileUploader to utilize FilePreview for better file representation.
- Enhanced FileInfoDialog to include file previews.
- Improved file type detection logic in fileUtils.
- Streamlined imports and component structure across affected files.
* Test 1
* Add PDF preview message and integrate translation in FilePreview component
* Test 2
* Test 3
* Test 4
* Trad part 2 (#122)
* rate limiting for build
* autres trad
* Revert "Fix Playwright" (#121)
* Revert "Fix Playwright"
* Test 1
* Test 2
* Test 3
* Test 4
* Test 5
* Test 6
* Trad part 2 (#123)
* rate limiting for build
* autres trad
* oublie autres trad
* Temporary Files Upload (#119)
* Upload page reworked + Visuals for Temp File Gen
* Temp Files
* Refacto
* Fix Front
* Persistence in localstorage
* Expiration in Front
* Working cleanup
* Fixes + Translation
* Bigger expiration Icon
* Set to 24 hours
* FilePreview on the Icons
* Underscore (#125)
* rate limiting for build
* underscore
* Password Recovery (#124)
* Password Recovery
* Translation Fix
* Refacto decodeJWT + utils
* Refacto 2
* Refacto utils part 2
* Schema Validation + Error handling
* Added missing definition in resolver
* graphql types updated
* Changed Toast config (#126)
* File list (#128)
* Refactor: Update UserResolver and AuthContext for improved async handling and optional fields
- Adjusted UserInfo fields to be nullable in UserResolver.
- Enhanced async handling in AuthContext and related components.
- Improved error handling in Form component.
- Cleaned up imports and formatting across multiple files.
* Refactor UI components and utility functions
- Updated import statements to use consistent single quotes.
- Refactored Select, Separator, Sheet, ShimmerButton, Switch, Tabs, and Tooltip components for improved readability and consistency.
- Removed the old utility functions file and created a new global utility functions file.
- Added new types for file handling and temporary links.
- Enhanced drag-and-drop functionality with utility functions.
- Cleaned up Layout and UploadPage components for better structure and readability.
* Enhance FileCard and FileSection components with compact mode toggle; update Radix UI dependencies and improve file type handling
---------
Co-authored-by: Etimo <gitimo@gmail.com>
* TempLinks Limit (#130)
* TempLink limit + Fixed Translations
* Added acceptedFileTypes to TempLinkGenerator
* Updated Common i18n
* Resend Verify Code Button (#129)
* Resend Code Button
* underscore
* Rework How it Works & About Pages (#131)
* Reword How it Works
* Rework About Page
* Removed Like and Comment (#132)
* Feat file expire cron (#134)
* feat: add scheduled cleanup for expired resources and update dependencies
- Implemented a daily cron job to clean up expired resources from the database and file system.
- Added `node-cron` for scheduling tasks and `express-rate-limit` for rate limiting.
- Updated `package.json` to include new dependencies and removed duplicates.
- Refactored `ResourceResolver` to handle resource expiration and access control more effectively.
- Enhanced error handling and logging for resource cleanup operations.
- Updated frontend dependencies to their latest versions for improved stability and security.
* feat: Enhance subscription and file upload features
- Updated SubscriptionResolver to improve error messages for user and subscription not found.
- Modified UserResolver to include subscription status in JWT token.
- Updated frontend localization files to clarify file size limits for subscribed and non-subscribed users.
- Enhanced FileUploader component to enforce file size limits based on subscription status.
- Improved TempLinkGenerator to validate file size for non-subscribed users.
- Integrated express-rate-limit middleware in storage API to manage upload and request limits.
- Refactored multer configuration to include file type and size validation based on user subscription.
- Added cleanup logic for expired temporary files in the storage API.
- Implemented rate limiting for various routes in the storage API to prevent abuse.
* FilePreview v2 (#133)
* Updated FilePreviw + FileList
* FileSection pagination and Fixes
* Added Search Bar
* Clear input added
---------
Co-authored-by: Clément Beaudouin <8543795…1 parent 677697a commit 477b62e
3 files changed
Lines changed: 12 additions & 3 deletions
File tree
- .github/workflows
- frontend/src/components/ReCaptcha
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
39 | 48 | | |
40 | 49 | | |
41 | 50 | | |
| |||
0 commit comments