Commit Graph

225 Commits

Author SHA1 Message Date
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
david_bai 4a20999769 update DEV_ORIGINS in CORS Configure 2025-06-29 15:59:32 +08:00
david_bai b1d389ad84 change backend PORT to BACKEND_PORT and front-3000 to 3002 2025-06-28 08:28:26 +08:00
david_bai bcd37993e6 Optimize initial loading speed (LazyLoad). 2025-06-28 07:45:42 +08:00
david_bai 06c9c633c3 delete duplicated ico 2025-06-28 07:42:34 +08:00
david_bai d72b483d77 add logo 2025-06-28 07:41:29 +08:00
david_bai 6de6001cf2 replace SecureShare/ with securityshare.xyz/privydrop.app 2025-06-27 23:36:55 +08:00
david_bai dd8703a845 using new logo 2025-06-26 23:26:25 +08:00
david_bai fcd94c0618 fix path bug 2025-06-26 23:25:54 +08:00
david_bai 1da2ac58cb add roadmap 2025-06-26 22:58:39 +08:00
david_bai 1646885454 adjust order of content 2025-06-26 21:18:48 +08:00
david_bai 06e8185a06 fix naming bug 2025-06-26 21:18:10 +08:00
david_bai 76c4e299aa add CONTRIBUTING.md CODE_OF_CONDUCT.md 2025-06-26 21:17:26 +08:00
david_bai b91d39a0ed add images 2025-06-23 23:36:18 +08:00
david_bai dfb1b48df8 fix type error 2025-06-23 23:29:20 +08:00
david_bai f09452ac2a reformat all ts code via prettier 2025-06-22 21:34:54 +08:00
david_bai 8baf16ee8c translate finished 2025-06-22 10:13:47 +08:00
david_bai e62a8f9573 translate frontend/hooks & frontend/lib 2025-06-22 10:05:00 +08:00
david_bai 12923084ab translate & reformat 2025-06-22 08:25:27 +08:00
david_bai 6bbc42f6ac translate comment of frontend/components/web 2025-06-22 08:25:03 +08:00
david_bai 9eec4f14c2 translate comment of frontend/components/Editor 2025-06-22 08:09:13 +08:00
david_bai c47895b938 translate comment of frontend/components 2025-06-21 23:35:27 +08:00
david_bai bb06ef95a7 translate comment 2025-06-21 20:15:18 +08:00