Commit Graph

63 Commits

Author SHA1 Message Date
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
schlagmichdoch 88e31407cb fix persistent peerId if PWA 2023-01-22 17:36:15 +01:00
schlagmichdoch bf79f72741 use console.log instead of console.error if indexeddb is not available as this behaviour is expected 2023-01-22 17:34:33 +01:00
schlagmichdoch 35aac22fae fix drop files when no peer is connected yet 2023-01-22 17:33:19 +01:00
schlagmichdoch 87aa958c60 add functionality to drop files to the background to select recipient 2023-01-22 16:14:27 +01:00
schlagmichdoch 7b860d5473 add base64text functionality for sending multi line text from iOS share menu 2023-01-22 16:12:00 +01:00
schlagmichdoch 0a3ab18e80 clarify UI on File Transfer Request 2023-01-21 18:21:58 +01:00
schlagmichdoch fb306b6c94 fix video + audio preview 2023-01-21 18:20:42 +01:00
schlagmichdoch 8c0d7bae49 include all favicons in favicon change 2023-01-20 15:56:20 +01:00
schlagmichdoch a0f46475dd fix restart animation when last peer left 2023-01-20 01:58:49 +01:00
schlagmichdoch f97bd6df9e
Implement tab title and favicon change if a file transfer has been requested or a file or a message has been received (#7)
Co-authored-by: schlagmichdoch <schlagmichdoch@users.noreply.github.com>
2023-01-20 01:36:15 +01:00
schlagmichdoch 469d3f6ec8 prevent base64ZipDialog from closing when ws disconnects 2023-01-19 15:07:58 +01:00
schlagmichdoch 6bc1bcf743 put files into innodb instead of to cache 2023-01-19 14:54:32 +01:00
schlagmichdoch 766b5d3dd7 add user notification if clipboard.readText() is undefined 2023-01-19 14:48:43 +01:00
schlagmichdoch 62c02aaed3 change position of button to close paste mode 2023-01-19 06:43:24 +01:00
schlagmichdoch d9c3d5172a FIX add mime types to files if missing -> needed for correct sharing via share-menu on ios 2023-01-19 06:01:23 +01:00
schlagmichdoch c53221ba01 Add Base64ZipDialog to PairDrop via share-menu on iOS 2023-01-19 04:40:28 +01:00
schlagmichdoch 7e7463de90 delete cached files after query; consistency updates 2023-01-18 22:42:47 +01:00
schlagmichdoch be6813d714 implemented WebShareTarget in manifest and serviceworker for testing 2023-01-18 21:01:29 +01:00
schlagmichdoch 7936f123c2 implement File Handler API 2023-01-18 15:46:09 +01:00
schlagmichdoch 6748cc0cb4 fix bugs 2023-01-18 15:44:20 +01:00
schlagmichdoch 29735ff617 add alert if corruption of files can not be checked and add optional nginx config for http to https redirect; always show preview of first file if image; 2023-01-18 15:37:36 +01:00
schlagmichdoch bdb9cb42d9 rewrite pasteMode activation/deactivation in PeerUI and PeersUI and add clear up PasteUI 2023-01-18 15:28:57 +01:00
schlagmichdoch 168d10a898 implemented NoSleep.js as suggested in this issue: https://github.com/RobinLinus/snapdrop/issues/412 2023-01-17 14:19:51 +01:00
schlagmichdoch 474eb9290f small fixes and style changes 2023-01-17 14:00:01 +01:00
schlagmichdoch c7ee067ef2 remove title and text from navigator.share() to prevent iOS from generating additional image from text 2023-01-17 11:44:52 +01:00
schlagmichdoch 24fdff8a8a adding a second stun server provided by the openrelayproject to the RTCPeer.config 2023-01-17 11:27:07 +01:00
schlagmichdoch 785db26882 refactor "Pairdrop" to "PairDrop" 2023-01-17 10:51:19 +01:00
schlagmichdoch 665aa857d7 revert div to input conversion to be able to insert linebreaks to messages 2023-01-17 10:47:44 +01:00
schlagmichdoch 5525caa766 implement file receive request with image-thumbnail-preview, share-menu on click additional to download and multiple file support by zipping file(s) to prepare for sending; add status "waiting.." and "preparing..." to UX; lock pointer-input when peer-node busy; tidy-up paste-mode deactivation 2023-01-17 10:45:29 +01:00
schlagmichdoch 2671aa128f disable pair dialog chars when hidden to prevent autofocus 2023-01-17 10:11:17 +01:00
schlagmichdoch 5c5fb2db0d send message: prevent insertion of formatted text; send text on CTRL+Enter / CMD+Enter 2023-01-14 01:57:33 +01:00
schlagmichdoch efb3857bd2 tidy up clearPeers method 2023-01-11 00:40:53 +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 bef7459019 do not hide ReceiveDialogs on disconnect 2023-01-10 16:10:46 +01:00
schlagmichdoch 8d2bbc795d Video and Audio preview 2023-01-10 16:03:52 +01:00
schlagmichdoch 7deeba161b disconnect on navigator.connection.change 2023-01-10 14:52:39 +01:00
schlagmichdoch 516e1ddf59 fix background animation speeding up uncontrollably 2023-01-10 14:52:03 +01:00
schlagmichdoch 3c07a4199b implement device pairing via 6-digit code and qr-code 2023-01-10 05:07:57 +01:00
schlagmichdoch e559aecde7 merge implement_paste_mode into branch 2023-01-07 03:34:01 +01:00
schlagmichdoch 206860c838 use openrelay server instead 2023-01-07 02:38:45 +01:00
schlagmichdoch cce8db7f84 stop background animation on disconnect 2023-01-07 01:54:36 +01:00
schlagmichdoch fe2422264a add notification on connect 2023-01-07 01:47:47 +01:00
schlagmichdoch 62b9e4e9e4 fix peer._channel is undefined 2023-01-06 19:51:35 +01:00
schlagmichdoch ee3d400de1 Merge branch 'fix_typo_repeat_partition' into add_device_pairing_render_node 2023-01-06 16:34:04 +01:00
schlagmichdoch 6c4b7b893a fix reconnection _onChannelClosed() 2023-01-06 16:19:45 +01:00
schlagmichdoch 6268ac7132 only reopen connection if it exists 2023-01-06 15:46:51 +01:00
schlagmichdoch 98a6f63799 remove notification for new displayName as peerId and display name is persistent again 2023-01-06 15:09:01 +01:00