schlagmichdoch
c0a4224a59
merge master into branch
2023-03-03 18:01:24 +01:00
schlagmichdoch
bb0493d071
Make user notifications and document titles more concise.
2023-03-03 17:03:10 +01:00
schlagmichdoch
bfb5aa8546
fix overwrite method _onMessage of class RTCPeer
2023-03-03 16:36:55 +01:00
schlagmichdoch
39ca5b2d21
ws-fallback: remove all WSPeers when server connection disconnects + fix onPeerLeft
2023-03-03 13:10:14 +01:00
schlagmichdoch
d6ef5887dd
move logging of rtc message from class Peer class to overwritten method in class RTCPeer
2023-03-03 12:38:34 +01:00
schlagmichdoch
f9f1abef7a
Replace all urls in received messages with links. Center the message if it does not include any whitespace.
2023-03-03 12:28:50 +01:00
schlagmichdoch
d244f5fa47
fix circles position on ios safari are shifted by url bar
2023-03-03 12:03:20 +01:00
schlagmichdoch
3a2d8c75f7
- restructure and unify dialogs to use less space on mobile and be clearer
...
- give user option both options "share" and "download" on mobile
- add fallback if zipper fails that downloads files individually
- fix dequeuing of message queue not possible if sending peer has left
2023-03-03 12:01:43 +01:00
schlagmichdoch
545cdc2459
Fix browser reloading when first message is sent by preventing event default on submit
2023-03-02 16:30:47 +01:00
schlagmichdoch
7220e85422
document/tab title: Show number of received messages and move '- PairDrop' to the end
2023-03-02 15:31:06 +01:00
schlagmichdoch
de76da52fe
merge master into branch
2023-03-01 21:55:50 +01:00
schlagmichdoch
a3b348d9b6
refactor all missing html ids to kebap-case
2023-03-01 21:38:13 +01:00
schlagmichdoch
4566528179
- restructure UI to use flexbox everywhere
...
- structure peers on desktop responsively
- make peer box scrollable when peers are overflowing + shadow
- add highlight badge to differentiate local peers into paired and not paired
- change websocket fallback warning and move to the bottom
2023-03-01 21:38:13 +01:00
schlagmichdoch
7b08973cef
remove safari audio blop "hack" as it should not completely stop music that is playing in the background
2023-03-01 21:38:12 +01:00
schlagmichdoch
66359da2ca
get rtcConfig dynamically from the server
2023-02-24 18:08:48 +01:00
schlagmichdoch
0eb13d9d1b
increase QR-Code size as requested in #43 and fix overflow issues on iOS
2023-02-24 16:08:36 +01:00
schlagmichdoch
40c0735c90
touched UX to make receive dialogs more intuitive. closes #40
2023-02-22 03:01:06 +01:00
schlagmichdoch
8f0e465b8e
pairdrop-cli: change domain via flag, move bash file to separate folder and add console logs to ui.js
2023-02-21 23:44:41 +01:00
schlagmichdoch
0f9bbf9bbb
enable sending from cli by adding bash script
2023-02-20 17:42:02 +01:00
schlagmichdoch
c5d0eaa034
[security] Add security number to PeerUI to make verification of peer-to-peer encryption possible.
2023-02-16 02:19:14 +01:00
schlagmichdoch
16f5711c98
fix beforeunload warning if peer on transfer
2023-02-11 11:49:32 +01:00
schlagmichdoch
b933ef151a
if devices are paired a second time, the old roomSecret is deleted upon saving the new one.
2023-02-11 00:52:37 +01:00
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
b8c78bccfa
try to stabilize connection and prevent remove reconnecting fallback on error
2023-02-10 18:56:13 +01:00
schlagmichdoch
b0e798b3cd
allow multiple message transfers by multiple peers simultaneously by putting them in a queue
2023-02-10 03:26:08 +01:00
schlagmichdoch
671dfa1c87
fix: process stops if image preview or thumbnail creation fails
2023-02-08 14:18:59 +01:00
schlagmichdoch
a0ba46caf4
cope with CAPITALIZED file suffix
2023-02-08 14:18:59 +01:00
schlagmichdoch
d111bbf067
allow multiple file transfer requests by multiple peers simultaneously by putting them in a queue
2023-02-08 14:18:08 +01:00
schlagmichdoch
81d36774b5
prevent word break between "on this network" and "and by paired devices" and fix circle center offset
2023-02-08 05:14:34 +01:00
schlagmichdoch
89d5ae3a02
indicate peer color meaning via underlines
2023-02-08 04:18:53 +01:00
schlagmichdoch
9f182eced3
remove unused method _onRoomSecretDelete
2023-02-08 04:18:47 +01:00
schlagmichdoch
1c3a8bfe1d
remove unnecessary double signaling onPeerJoined and prevent second RTCPeer instance for same peerId
2023-02-08 04:18:39 +01:00
schlagmichdoch
c674e2c8d2
remove WSPeer completely as the implementation has never been finished and routing all traffic through the server is not desirable for public PairDrop. ([see this issue for reasons]( https://github.com/schlagmichdoch/PairDrop/issues/18#issuecomment-1416788548 )
2023-02-04 17:04:05 +01:00
schlagmichdoch
8488ce1402
fix socket is null if PWA is offline
2023-02-04 16:22:57 +01:00
schlagmichdoch
c0c51c38b3
only activate paste-mode the first time a file is opened with PairDrop by looking for the url parameter on start and removing it afterwords.
2023-02-02 15:19:28 +01:00
schlagmichdoch
ca37331830
remove warning for removed crypto.subtle dependency
2023-01-31 21:57:00 +01:00
schlagmichdoch
a2d6832d12
prevent user from accidentally closing the window if files are transferred.
2023-01-27 01:29:35 +01:00
schlagmichdoch
d35c27aa91
revert zipping and unzipping files on transfer to minimize needed browser memory. Use fileQueue instead.
2023-01-27 01:28:10 +01:00
schlagmichdoch
ea9613f2cf
add btn shortcut as title tooltip
2023-01-25 10:01:45 +01:00
schlagmichdoch
4756a52278
fix filesize calculation for small files
2023-01-25 09:59:38 +01:00
schlagmichdoch
437aa5976e
fix base64text: special characters decoded incorrectly
2023-01-25 09:43:32 +01:00
schlagmichdoch
1f7a43292b
fix PWA offline capability
2023-01-23 20:40:08 +01:00
schlagmichdoch
689d2bd44c
correct conversion of file sizes, differentiate between files and images on file receive dialog and update progress indicator while zip processing + small fixes
2023-01-23 20:09:35 +01:00
schlagmichdoch
ec6bee05fd
fix error Cannot set remote answer in state stable
2023-01-23 19:53:14 +01:00
schlagmichdoch
19d7e6fecd
prevent channel from opening if connection is closed
2023-01-23 05:28:08 +01:00
schlagmichdoch
d4dcfbc1b7
After successfully creating peer to peer connection, transferring files/messages now work completely independent of the PairDrop server. Transfers are not aborted and dialogs are not closed when the client has only lost connection to the PairDrop server or when 'peer-left' but only when the corresponding peer is disconnected.
2023-01-23 04:51:22 +01:00
schlagmichdoch
d424a0294a
fix persistent peerId -> displayName if PWA
2023-01-23 00:03:26 +01:00
schlagmichdoch
c9f57c6fa0
Notify user if paired devices are not persistent.
2023-01-22 17:43:03 +01:00