david_bai
c791c0820e
chore: update backend package-lock.json
...
Update backend/package-lock.json to ensure dependency consistency.
This file should be committed to the repository as per npm best practices
for reproducible builds across all environments.
2026-03-28 08:02:10 +08:00
david_bai
de6199bbf2
chore: remove bare-metal ops assets under backend/docker
2026-02-28 12:37:57 +08:00
david_bai
0dfe627e25
docs: remove PM2/bare-metal references
2026-02-28 12:37:11 +08:00
david_bai
3d222fd316
chore(doc):improve UX message clarity and add cache optimization
...
- Update duplicate room ID messages across all languages for better clarity
- Enhance cached ID tips with double-click save mode functionality
- Add image optimization cache configuration to Nginx
- Document production environment variable sync requirements
- Add NEXT_IMAGE_UNOPTIMIZED to production config
2025-10-29 23:12:09 +08:00
david_bai
9d9b8036c4
feat(backend): make create_room idempotent for >=8-char room IDs to support cached-ID reconnects
...
- Return success=true when room exists and roomId length >= 8 (no TTL refresh)
- Keep short IDs (<8) strict: duplicates still fail
- No Redis schema changes; TTL refresh remains on successful socket join
- Fix duplicate warning when sender rejoins with cached long ID
2025-10-25 00:08:11 +08:00
david_bai
663082efe1
chore(doc): Replace Chinese comments with English comments
2025-10-08 15:59:50 +08:00
david_bai
2ee6961634
build(docker): Private mode deployment test successful
...
Test steps:
bash docker/scripts/generate-config.sh --mode private [--local-ip 192.168.0.113]
bash ./deploy.sh --mode private
Front-end directly inlines NEXT_PUBLIC_API_URL, directly connecting to the backend.
CORS (production) supports comma-separated multiple origins, with localhost and local network IPs included by default.
2025-09-29 18:27:12 +08:00
david_bai
cfcd60145a
build: refresh docker deployment workflow
2025-09-26 14:02:55 +08:00
david_bai
158433bb0b
chore:Initial addition of Docker related content
2025-09-11 06:46:04 +08:00
david_bai
cec7e32352
chore(doc):Add nginx installation steps to Dockerfile.
2025-08-24 13:26:41 +08:00
david_bai
69d7b980cc
chore(doc):Remove the duplicate installation steps from the deployment documentation.
2025-08-24 09:29:21 +08:00
david_bai
a0486da313
chore(doc):Update document
...
Update the document to include the latest changes: file continuation, introduction of Zustand to the front-end architecture.
2025-08-24 08:46:17 +08:00
david_bai
94c9ba7ad3
fix:Fix the issue of nginx address occupation during the process of obtaining ssl certificates using certbot
2025-08-21 22:57:54 +08:00
david_bai
6d82050081
fix:Fix the hard-coded issue with the turn domain name
2025-08-19 23:45:21 +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
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
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
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
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
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
6de6001cf2
replace SecureShare/ with securityshare.xyz/privydrop.app
2025-06-27 23:36:55 +08:00
david_bai
fcd94c0618
fix path bug
2025-06-26 23:25:54 +08:00
david_bai
06e8185a06
fix naming bug
2025-06-26 21:18:10 +08:00
david_bai
f09452ac2a
reformat all ts code via prettier
2025-06-22 21:34:54 +08:00
david_bai
4455ba598f
translate comment
2025-06-21 17:08:11 +08:00
david_bai
18fad98cbd
translate chinese comment into english
2025-06-21 16:56:26 +08:00
david_bai
a0034d46ff
增加英文文档
2025-06-20 23:31:48 +08:00
david_bai
d13f402d17
creat_room -> create_room
2025-06-18 23:23:12 +08:00
david_bai
842e8afd5b
增加http3 nignx安装说明
2025-06-18 23:21:24 +08:00
david_bai
da88174846
整理文档
2025-06-18 22:53:38 +08:00
david_bai
055da7888a
turn服务器搭建设置改为可选
2025-06-17 20:36:59 +08:00
david_bai
6347be9925
微调
2025-05-23 20:55:42 +08:00
david_bai
510b60f870
增加一个导出访问次数的工具脚本
2025-05-23 20:47:45 +08:00
david_bai
61eeae4537
后端测试ok
2025-05-21 22:47:44 +08:00
david_bai
55d15171d2
更新文档
2025-05-20 23:03:31 +08:00
david_bai
4c5d065833
经过初步修改
2025-05-20 22:42:12 +08:00
david_bai
2c095b60b8
经过初步修改
2025-05-20 22:22:53 +08:00
david_bai
bb806cba7b
增加readme和部署说明,内容还需要校验和调整
2025-05-18 22:50:42 +08:00
david_bai
79ef2a255c
更新证书自动续期脚本
2025-05-17 23:15:50 +08:00