Commit Graph

147 Commits

Author SHA1 Message Date
david_bai cbbfae2733 fix:Fix the download count display issue 2025-08-17 13:24:41 +08:00
david_bai 20607be9aa fix:The recipient needs to clean the connection when leaving the room 2025-08-17 12:14:26 +08:00
david_bai 75f9ff39ae fix:Now there is a progress bar for file transfer 2025-08-17 10:10:40 +08:00
david_bai 083206bed3 refactor:Refactored the useRoomManager,useWebRTCConnection hook 2025-08-17 07:57:29 +08:00
david_bai e15783aeff refactor:Refactored the useFileTransferHandler hook
Using zustand for state management, created frontend/stores/fileTransferStore.ts
2025-08-16 23:47:48 +08:00
david_bai 8f79a1ad16 fix:leave room button added to multiple languages. 2025-08-15 23:57:48 +08:00
david_bai 7ee9360b17 feat:Receiver adds a secure save button
Receiver adds a secure save button, used to save cache files during connection interruptions, making it convenient to resume transfers next time.
Button tooltip information added in multiple languages.
2025-08-15 23:49:24 +08:00
david_bai bf9aa9f7ed fix:Fix the bug where the sender's room status is incorrect 2025-08-15 22:59:54 +08:00
david_bai f98e836e71 fix:fix the issue of asynchronous exit room status in the receiver 2025-08-14 23:13:09 +08:00
david_bai 307232bd15 fix:Attempt to fix the issue of asynchronous exit room status in the receiver 2025-08-14 23:02:33 +08:00
david_bai abe3220d0f feat:The sender side has also added the exit room function 2025-08-13 23:41:35 +08:00
david_bai 7038e79726 fix:Change the behavior of reloading the webpage when the receiver exits the room to a more elegant approach 2025-08-13 22:53:49 +08:00
david_bai 12cda8c030 fea:Add an elegant exit room feature for the recipient 2025-08-10 23:16:59 +08:00
david_bai 3e6c9b46e8 chore(deploy):Add gm2 dependency
Add gm2 dependency and rename env_install.log to env_install.sh for easy one-click installation on the host machine
2025-08-10 22:53:20 +08:00
david_bai 1c4cb08c24 chore(doc):Update the firewall configuration instructions in the deployment document 2025-08-10 22:50:01 +08:00
david_bai e83a95b354 chore(lang):Change 'Start Sending' displayed on the send button to 'Sync'
Meanwhile, the previous click status Sended is changed to Synced, making it easier for people to understand the characteristic that a connection can sustain transmission
2025-08-03 16:03:52 +08:00
david_bai cd8638684b fix:Update some incorrect links 2025-08-02 23:28:53 +08:00
david_bai 245c4efcd0 fix(blog url bug): fix blog url bug
Fixed the bug of redundant language suffix in blog URLs, added lang to the blog homepage link to prevent language switching issues.
2025-08-02 23:27:02 +08:00
david_bai 3dfee10cee blog(new):add a blog that supports resume upload
add a blog that introduces resume upload and continuous transfer features
2025-08-02 18:36:33 +08:00
david_bai a6d298b7a2 fix(cross-origin bug): Fix the cross-origin issue bug when accessing through privydrop.app
Add bare domain redirect, use sed for precise matching in nginx configuration replacement script
2025-07-31 22:54:16 +08:00
david_bai 6c91889887 feat:Simplify the startup in the deployment process
Streamline the process by combining the front-end and back-end startup into one
2025-07-24 23:59:00 +08:00
david_bai 60c20fcfa6 feat(add features page):Added features page
Added features page.
Synchronously update SEO meta and corresponding international translations.
2025-07-24 23:32:16 +08:00
david_bai 1853063565 The GitHub link for mobile and desktop uses a uniform style, delete the GitHubRibbon component 2025-07-24 22:41:23 +08:00
david_bai 74eceb3ab4 Added links to Chinese and English versions in readme 2025-07-24 22:37:54 +08:00
david_bai c89f442eee fix:Reduce the scope of nginx configuration replacement to avoid incorrect replacement of subdomains 2025-07-24 22:36:42 +08:00
david_bai bac5e84d90 fix:Fix the incorrect path in the nginx configuration file.
Fix the incorrect path in the nginx configuration file.
Update the deployment documentation.
2025-07-23 23:48:28 +08:00
david_bai 7950aec063 fix:Change the turns port used in WebRTC to 443
nginx(website on server) listens on port 4443 and then forwards to the frontend and backend.
nginx main configuration adds a stream block to uniformly listen on port 443, then forwards based on domain to coturn(5349) and website(4443).
The TURN port used in WebRTC is changed to 443.
The deployment document adds a script action to delete extra configurations generated by certbot.
2025-07-23 23:13:59 +08:00
david_bai 7e055643c5 Added description of breakpoint resume feature 2025-07-22 00:59:28 +08:00
david_bai 34d1897093 Fix the issue where the sender and receiver (without requesting existing files) have inconsistent states in resumeable file transfer with broken connections 2025-07-21 23:06:32 +08:00
david_bai 27cb5c3be8 Fix transfer status in resume state 2025-07-21 00:02:51 +08:00
david_bai 9ce63992b7 Fix the problem of resuming downloads when the webpage is closed or the network is disconnected. Further testing is needed. 2025-07-19 00:24:44 +08:00
david_bai 522f567fb4 feat(transfer): implement resumable file uploads
This commit introduces support for resumable file transfers when using the 'Save to Directory' feature.

Key changes:
- The WebRTC protocol is updated to include an 'offset' in the 'fileRequest' message.
- 'FileReceiver' now checks for partially downloaded files in the selected directory. If a partial file is found, it requests to resume the transfer from the offset of the existing file size. It uses '{ keepExistingData: true }' to append to the file.
- 'FileSender' now handles requests with an 'offset' and uses 'file.slice(offset)' to send only the remaining data.
- Progress calculation is adjusted to reflect the resumed download state.

This provides a more robust user experience for large file transfers, allowing recovery from interruptions like network loss or accidental tab closure.
2025-07-16 22:50:55 +08:00
david_bai 8ea2016218 fix(receiver): Prevent duplicate downloads on directory save
When saving files to a user-selected directory, the browser would trigger an additional, redundant download.

This was caused by a race condition where the UI checked the file's save method (saveType) before the flag was updated upon completion. The decision to save to disk was made too late in the process.

This commit resolves the issue by setting the saveType at the beginning of the file request. This ensures the UI has the correct information when the transfer finishes, preventing the extra download.
2025-07-15 23:13:59 +08:00
david_bai 5b9f925bf9 add opensource feature to meta 2025-07-06 18:34:10 +08:00
david_bai b7a5479d36 compress pic;add a new bolg 2025-07-06 18:33:16 +08:00
david_bai 98e1e6ace6 Remove the previous historical Google Analytics code 2025-07-05 08:25:50 +08:00
david_bai 3560e0a3d7 use new brand name 2025-07-05 08:24:06 +08:00
david_bai 086b2e5a2b change icon to right location 2025-07-03 21:01:23 +08:00
david_bai 26cb20f8f1 distinguish file choose tips and drag tips 2025-07-03 20:27:33 +08:00
david_bai 571b1cddcf update doc 2025-07-03 20:22:46 +08:00
david_bai 6e90a78a4b Responsive drag and drop of files using FullScreenDropZone Component 2025-07-02 23:53:22 +08:00
david_bai c9227baaf1 update docs:add env_example in Tutorial;sync edit docs/DEPLOYMENT.md depend on docs/DEPLOYMENT.zh-CN.md. 2025-07-01 23:40:18 +08:00
david_bai 11b338432a update DEPLOYMENT procedure 2025-07-01 23:10:07 +08:00
david_bai d2e93073f8 replace .env.development[production].local with .env.development[production];add env example 2025-06-30 20:45:06 +08:00
david_bai ba0a73fb1b fix router bug in nginx 2025-06-30 00:43:19 +08:00
david_bai e9d4df5bf1 using placeholder certs for Certbot 2025-06-29 23:46:17 +08:00
david_bai c04be29af3 use certbot-nginx to renew ssl 2025-06-29 23:35:01 +08:00
david_bai b2010360b2 use compressed inActionThumbnail.webp 2025-06-29 22:37:15 +08:00
david_bai 0480f325f5 add a skeleton screen placeholder to prevents layout displacement, make lazy loading works 2025-06-29 22:05:14 +08:00
david_bai c66d991203 update name in backend/package-lock.json 2025-06-29 16:00:24 +08:00