Commit graph

85 commits

Author SHA1 Message Date
schlagmichdoch
9900aaf167 use document selector to check whether any dialog is opened 2023-01-07 03:04:48 +01:00
schlagmichdoch
10276b472d implement paste mode and ui for files and text for multiple peers 2022-11-09 17:43:27 +01:00
MahmoudAboelazm
09da05e700 Fix transferring issue 2022-10-23 06:17:39 +02:00
MahmoudAboelazm
7bb4c1916a fix error: Failed to execute 'readAsArrayBuffer' on 'FileReader': The object is already busy reading Blobs 2022-10-21 02:54:14 +02:00
Haocen
9543c47900
Use Events class for handling visibilitychange 2022-09-13 08:34:44 -04:00
Haocen
29bd778757
Implement off method for Events class 2022-09-13 08:33:03 -04:00
Haocen
529be8c55e
QoL: Native notification improvements
Only send native notification when document is not visible, clear notifications when document become visible.
2022-09-13 01:35:05 -04:00
Angela Zu
d081bb9d01
fix bug: sender endlessly sends empty data 2021-08-14 22:42:16 +08:00
RobinLinus
fa1ff95965 Fix #334, Fix 331 2021-08-12 16:00:28 +02:00
RobinLinus
b849dd7742
Update network.js 2021-07-14 11:55:59 +02:00
RobinLinus
0aa27250a4
Merge pull request #312 from dewanhimanshu/feature-image-preview
file preview feature added
2021-06-04 19:11:50 +02:00
dewanhimanshu
a593ef1a6e file preview feature added 2021-06-02 22:26:08 +05:30
deftdawg
5e304514b6
Update Snapdrop client to be proxy friendly.
Adds location.pathname to the socket location, this is needed to make snapdrop proxiable which allows it to be used as Home Assistant Addon.
2021-04-07 05:07:00 -04:00
Bellisario
545a5e00cd
Updated ui.js 2021-01-19 13:12:48 +01:00
RobinLinus
0115c6a4de Run animation until peer joins (Fix #213) 2021-01-16 21:58:59 +01:00
Yash Joshi
6e4e791ebc
fix: typo in function name 2021-01-11 11:10:51 +05:30
RobinLinus
0724487132 Fix “RTCDataChannel.reliable is obsolete” (Fix #242) 2021-01-11 02:24:27 +01:00
RobinLinus
6a5ad0f1fb Multiline messages support (Fix #223) 2020-12-28 20:21:50 +01:00
RobinLinus
516b4a0705
Merge pull request #212 from MontelAle/add-expanding-textarea
Resolves #202
2020-12-28 02:35:59 +01:00
Sergio Duran
48e0bcbc6b Assign a default SDP Semantics
I am not really sure if this is the right way or what, but I am
unable to send nor receive files on a Windows 10 computer, but my
other devices (not Windows 10) can use snapdrop just fine.

Using the unified plan SDP Semantics I got snapdrop to work, the
other option is 'plan b', but I don't know much about this.

The following issues might be related to this: #177 #164 #168 #171 #186 #188 #190

This stackoverflow post made me test this:
https://stackoverflow.com/questions/55378987/failed-to-execute-setremotedescription-on-rtcpeerconnection-failed-to-set-r
2020-12-24 16:04:10 -06:00
montelale
c14c121ba5 Fixes chatting functions for new approach (contenteditable div) 2020-12-22 21:23:10 +01:00
RobinLinus
68f11f99cf Cleanup code style 2020-12-21 03:10:43 +01:00
RobinLinus
14ead247ed Fix bug in offset 2020-12-20 22:13:22 +01:00
RobinLinus
c6fb8899ef Background animation: offset for large screens / cleanup 2020-12-20 22:08:16 +01:00
RobinLinus
3a3d722d59
Merge pull request #178 from fasih/master
Dark Mode Supported
2020-12-20 21:55:31 +01:00
RobinLinus
26352be478 "Download all" when receiving multiple files 2020-12-20 21:30:28 +01:00
RobinLinus
a1eb71a768 Use native clipboard.writeText, Cleanup polyfill 2020-12-20 04:41:16 +01:00
RobinLinus
7469086cda Combine browser name and unique name 2020-12-19 21:05:48 +01:00
Fasih Ahmad Fakhri
026361fd8f
Merge branch 'master' into master 2020-12-16 11:29:23 +05:30
RobinLinus
f3e3f83f3f Fix sharing link from Android phone 2020-12-16 06:15:25 +01:00
RobinLinus
352e0c4ce5 Add title to PeerUI 2020-12-16 05:48:54 +01:00
RobinLinus
85dedf03ce Cleanup 2020-12-16 04:18:42 +01:00
Fasih Ahmad Fakhri
6147e5200b Dark Mode Supported 2020-10-25 14:38:07 +05:30
Will Stott
97121c438a Don't setProgress during file selection when file drop doesn't do that. 2020-08-12 15:19:33 +02:00
Paul Szymanski
308aabac32 Remove offline TURN server 2020-07-14 22:55:52 +02:00
Paul Szymanski
229df6f3d6 Fix race condition 2020-07-12 19:23:07 +02:00
Paul Szymanski
695d00bd97 Change unique name layout 2020-07-12 14:52:26 +02:00
Mrigank Krishan
e7c484f428 show displayName on UI 2020-07-12 14:52:26 +02:00
Mrigank Krishan
0c7abfbf1d generate unique peer names
use unique-names-generator to generate peer names instead of relying on
UA. This prevents confusion when there are multiple clients on the network
with same UA.
2020-07-12 14:52:26 +02:00
RobinLinus
955cc566db
Fix background animation in new Chrome 2020-05-19 22:14:10 +02:00
RobinLinus
7120a74f97
Update ui.js 2020-03-09 22:49:59 +01:00
RobinLinus
097c3c3f50
Update ui.js 2020-03-09 22:47:35 +01:00
RobinLinus
3be3be6926
Update ui.js 2020-03-09 22:40:57 +01:00
CJ
5efd9a3bba
Paste image content from the clipboard
This allows someone to take a screen capture and send it to a peer without having to save it as a file.  This only works if only one peer is connected as I wasn't sure what the UI flow should be if there are multiple peers.  If nothing else, maybe this can be used to implement the full flow for multiple peers. =]
2020-03-03 09:15:32 -05:00
pa7ryk
f418dc26b8 Integrates docker. 2019-06-13 16:47:25 +02:00
RobinLinus
c8ec00b345 Cleanup 2019-03-14 21:37:44 +01:00
RobinLinus
b8b23cd807 Fix splash screen background color and install title 2019-03-14 20:48:43 +01:00
RobinLinus
ef77ffb534 Customize install prompt behavior 2019-03-14 20:05:25 +01:00
RobinLinus
aefe142eef Fix URL when ShareTarget exists 2019-03-13 02:14:03 +01:00
RobinLinus
13243093ae Add basic ShareTarget handler 2019-03-13 01:48:53 +01:00