Commit Graph

23 Commits

Author SHA1 Message Date
schlagmichdoch 414cc9aa57 if user actively disconnects from PairDrop server, disconnect all peer to peer connections immediately and do not wait for channels to close 2023-02-10 23:47:39 +01:00
schlagmichdoch 1eba7359d1 rolled back some changes to stabilize WebRTC connections 2023-02-10 23:41:04 +01:00
schlagmichdoch 616f6a6799 implement complete WSPeer as fallback if WebRTC is deactivated. Only ever use on self-hosted instances as clients need to trust the server! 2023-02-10 20:22:36 +01:00
schlagmichdoch 0d47bf176a Move ip prefix removal outside ipIsPrivate method. Remove 'net' dependency. 2023-02-04 18:06:07 +01:00
schlagmichdoch 67273bc418 Prevent rogue users from requesting multiple roomKeys 2023-01-22 17:43:54 +01:00
schlagmichdoch 785db26882 refactor "Pairdrop" to "PairDrop" 2023-01-17 10:51:19 +01:00
schlagmichdoch e1226aa044 stabilize wss connection by increasing timeout back to 60s 2023-01-17 10:09:44 +01:00
schlagmichdoch 9d33739f03 stabilize wss connection by increasing timeout to 5s 2023-01-17 02:24:11 +01:00
schlagmichdoch 57851902f9 make rate-limiting and auto-restart optional via flag and modify readme 2023-01-11 14:21:54 +01:00
schlagmichdoch fed9d17dc8 replace "snapdrop" with "pairdrop" and change links accordingly + add changes to faq and readme 2023-01-10 17:22:36 +01:00
schlagmichdoch e611ed13d0 fix _leaveAllSecretRooms(peer) and addRoomSecret(roomSecret) + leave rooms on disconnect 2023-01-10 13:55:32 +01:00
schlagmichdoch 3c07a4199b implement device pairing via 6-digit code and qr-code 2023-01-10 05:07:57 +01:00
schlagmichdoch 621c525d11 readd persistent peerId via sessionStorage 2022-12-31 18:52:18 +01:00
schlagmichdoch 59671a751b remove reconnect function 2022-12-31 18:52:16 +01:00
schlagmichdoch 4c40c3d011 Completely ephemeral Peer ID
cherry picked from commit 56ab2357a66797e56db1dfb489eda32150f8d3a5 on willstott101/snapdrop
2022-12-30 17:49:14 +01:00
schlagmichdoch b242a5fd01 fix automatic restart on error 2022-12-30 17:31:52 +01:00
schlagmichdoch b691af71c0 add dependency-free node restart function as suggested by @KaKi87 https://github.com/RobinLinus/snapdrop/issues/515#issuecomment-1365403786 2022-12-30 17:13:09 +01:00
Bellisario aa38ae2a28 Add rate limits 2022-12-23 05:37:56 +01:00
schlagmichdoch 7283ab2c49 cherry-pick commit from Bellisario 2022-12-23 05:33:36 +01:00
schlagmichdoch 947e088aeb move files for node only implementation 2022-12-23 05:32:34 +01:00
RobinLinus 663db5cbb3 Version 2 initial commit 2018-09-21 16:05:03 +02:00
Robin Linus f2a48823d1 Cleanup 2015-12-30 16:54:18 +01:00
Robin Linus bda1a15750 first working version 2015-12-26 13:33:16 +01:00