Commit graph

576 commits

Author SHA1 Message Date
schlagmichdoch
70874ee192 rollback unintended changes to LICENSE as suggested by https://github.com/schlagmichdoch/PairDrop/issues/23 2023-02-11 17:34:46 +01:00
schlagmichdoch
b743b2a584
Update README.md 2023-02-11 11:53:57 +01:00
schlagmichdoch
16f5711c98 fix beforeunload warning if peer on transfer 2023-02-11 11:49:32 +01:00
schlagmichdoch
115c0785e5 replace text-decoration: underline with border-bottom to prevent gap in underline bellow "p" 2023-02-11 11:44:11 +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
206b42614d remove index.html pointer from docker nginx confs and host-your-own.md as it is unnecessary for the implemented node only solution 2023-02-10 13:10:12 +01:00
schlagmichdoch
36080f6935 allow hr color and sending text-input styling 2023-02-10 03:26:45 +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
b2d6a62048
Update issue templates 2023-02-08 11:22:49 +01:00
schlagmichdoch
33117ff8f8 fix text-decoration-thickness not working as part of shortcut on iOS 2023-02-08 06:11: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
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
0d47bf176a Move ip prefix removal outside ipIsPrivate method. Remove 'net' dependency. 2023-02-04 18:06:07 +01:00
schlagmichdoch
8eab6b5ae0 fix centering of DIVs on README.md 2023-02-04 18:04:50 +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
Ahmed Sherif
c0711879f7 cherry-pick commit by @AhmeddSherif to enhance the README.md 2023-02-04 16:15:47 +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
1278009706 Add some faqs and edit readme 2023-01-25 10:43:00 +01:00
schlagmichdoch
70ff3f383d Merge branch 'master' of https://github.com/schlagmichdoch/PairDrop 2023-01-25 10:02:07 +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
691beb0e56
Add feature to README 2023-01-23 21:23:13 +01:00
schlagmichdoch
a69cbbe1d6 Merge branch 'master' of https://github.com/schlagmichdoch/PairDrop 2023-01-23 20:40: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
4adf082900
Merge pull request #12 from schlagmichdoch/dependabot/npm_and_yarn/ua-parser-js-1.0.33
Bump ua-parser-js from 1.0.32 to 1.0.33
2023-01-23 05:37:35 +01:00
schlagmichdoch
19d7e6fecd prevent channel from opening if connection is closed 2023-01-23 05:28:08 +01:00
dependabot[bot]
13f79968b6
Bump ua-parser-js from 1.0.32 to 1.0.33
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 1.0.32 to 1.0.33.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/1.0.32...1.0.33)

---
updated-dependencies:
- dependency-name: ua-parser-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 04:22:51 +00: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