Commit Graph

1096 Commits

Author SHA1 Message Date
schlagmichdoch 0f9bbf9bbb enable sending from cli by adding bash script 2023-02-20 17:42:02 +01:00
Xstar97TheNoob 0d8db3e309
add downcase to variable. 2023-02-20 09:36:24 -05:00
Xstar97TheNoob c7647daff7
feat(ghcr.io) build container on tagged releases to ghcr.io 2023-02-20 09:25:57 -05:00
dependabot[bot] 46460dbe02
Bump ws from 8.12.0 to 8.12.1
Bumps [ws](https://github.com/websockets/ws) from 8.12.0 to 8.12.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.12.0...8.12.1)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 05:18:44 +00:00
schlagmichdoch 20162b0c60 PairDrop is now available on Docker Hub thanks to LinuxServer.io
Added documentation on how to use it and changed service-worker version
2023-02-20 00:20:02 +01:00
schlagmichdoch 7af96e6051
Use `docker build --pull` instead of `docker image pull` 2023-02-17 17:29:16 +01:00
schlagmichdoch 2b11057082
Ensure `docker build` always uses latest node image 2023-02-17 17:25:35 +01:00
schlagmichdoch 15abc20e83
Include `docker image pull` command to prevent https://github.com/schlagmichdoch/PairDrop/issues/33 2023-02-17 17:09:37 +01:00
schlagmichdoch e470c0a1a0 enforce the engine requirements to ensure Node.js is >v15.0.0 when running npm install to prevent issues like https://github.com/schlagmichdoch/PairDrop/issues/33 2023-02-17 15:37:46 +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 e9b23bfdb0 [self-hosted] fix: if client does not support webrtc but peer does, show peer with a red border as well 2023-02-15 21:08:02 +01:00
schlagmichdoch 49e7281092 ensure correct client ip is used for rate limiting as described on the GitHub repo of 'express-rate-limit' 2023-02-14 21:51:42 +01:00
schlagmichdoch 58a32d43b3 implementing options to make PairDrop reachable on localhost only to prevent bypassing the proxy server on production 2023-02-14 02:43:15 +01:00
schlagmichdoch bac272c0f3 edit Dockerfile to enable setting npm flags with docker run 2023-02-14 01:16:25 +01:00
schlagmichdoch c8ec8b4ede fix about close icon 2023-02-13 17:43:05 +01:00
schlagmichdoch d6f49d4356
Update issue templates 2023-02-13 13:38:08 +01:00
schlagmichdoch 61d51e1d10 removed files needed only for development from master and adapt docker-compose.yml for production 2023-02-12 03:22:05 +01:00
schlagmichdoch 64d69a0ed9 restructure host-your-own.md documentation and prepare moving files needed only for local development into separate branch 2023-02-12 03:21:05 +01:00
schlagmichdoch 7facac9345 fix Dockerfile 2023-02-12 02:49:56 +01:00
schlagmichdoch 6b7e1bba54
setup GitHub action for automatic build of Docker container
as requested in https://github.com/schlagmichdoch/PairDrop/issues/22
2023-02-12 02:37:53 +01:00
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