Commit graph

99 commits

Author SHA1 Message Date
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
b8411eb99b fix x-noscript style 2023-02-08 04:18:50 +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
442dbe704d Merge branch 'dev' 2023-01-31 22:40:20 +01:00
schlagmichdoch
93c3158e5c make absolute blob paths relative. Fixes https://github.com/schlagmichdoch/PairDrop/issues/16 2023-01-31 22:04:39 +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
5a985e853c add screenshots to PWA manifest.json 2023-01-25 09:22:27 +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
9c6637b3f5 fix #fileStem max-height 2023-01-23 05:00:21 +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
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
864765b53c
shorten unpair btn text
prevent overflow on mobile
2023-01-20 16:26:47 +01:00
schlagmichdoch
81c82a4399
Merge pull request #5 from Bellisario/pair-hover-title
add: missing pair hover title
2023-01-20 16:15:19 +01:00
schlagmichdoch
c2b39c1f3f change title attribute to 'Clear All Paired Devices' 2023-01-20 16:13:53 +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
Giorgio Bellisario
2405407bbe
add: missing pair hover title 2023-01-19 21:30:30 +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
000cdb2f70 Merge branch 'implement_paste_base64_zip' 2023-01-19 04:42:02 +01:00
schlagmichdoch
c53221ba01 Add Base64ZipDialog to PairDrop via share-menu on iOS 2023-01-19 04:40:28 +01:00
schlagmichdoch
8ba9a185fa FIX if html with weird styling is inserted to send message textarea, it becomes unresponsive -> remove all styling of children of textarea. 2023-01-19 02:08:13 +01:00
schlagmichdoch
a60d60009a fix manifest.json 2023-01-19 01:27: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