snapdrop

A Progressive Web App for local file sharing
git clone http://git.hanabi.in/repos/snapdrop.git
Log | Files | Refs | README | LICENSE

commit 2b3698ece067ce09c36aa6ad653336b72b5e66af
parent 1626875ba8e0160879b8a171f5bafcef7ee4c168
Author: Robin Linus <robin_woll@capira.de>
Date:   Tue,  5 Jan 2016 04:00:27 +0100

Cleanup

Diffstat:
Mapp/elements/buddy-finder/buddy-avatar.html | 4++++
Mapp/elements/buddy-finder/personal-avatar.html | 2+-
Mapp/elements/file-sharing/file-receiver.html | 2+-
Mapp/elements/p2p-network/p2p-network.html | 2+-
Mapp/elements/text-sharing/text-input-dialog.html | 2+-
Mapp/index.html | 2+-
Mbower.json | 3++-
7 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/app/elements/buddy-finder/buddy-avatar.html b/app/elements/buddy-finder/buddy-avatar.html @@ -50,6 +50,10 @@ -moz-user-select: none; -ms-user-select: none; user-select: none; + width: 120px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } @media all and (min-height: 440px) { diff --git a/app/elements/buddy-finder/personal-avatar.html b/app/elements/buddy-finder/personal-avatar.html @@ -48,7 +48,7 @@ </style> <iron-icon icon="chat:wifi-tethering"></iron-icon> <div class="paper-font-body1"> - The easiest way to transfer data. + Easily transfer data across devices. </div> <div class="paper-font-body1 discover"> Allow me to be discovered by: Everyone in this network. diff --git a/app/elements/file-sharing/file-receiver.html b/app/elements/file-sharing/file-receiver.html @@ -28,7 +28,7 @@ <h2>Download File</h2> <p><b class="filename">{{file.name}}</b></p> <div class="buttons"> - <paper-button dialog-dismiss on-tap="_decline">Discard</paper-button> + <paper-button dialog-dismiss on-tap="_decline">Ignore</paper-button> <paper-button dialog-confirm on-tap="_accept" autofocus>Download</paper-button> </div> </paper-dialog> diff --git a/app/elements/p2p-network/p2p-network.html b/app/elements/p2p-network/p2p-network.html @@ -109,7 +109,7 @@ console.log(err); if (err.message.indexOf('Connection is not open') > -1) { console.error('Handle this error!!', err); - this.connectToPeer(requestedPeer, callback); + //this.connectToPeer(requestedPeer, callback); } }.bind(this)); diff --git a/app/elements/text-sharing/text-input-dialog.html b/app/elements/text-sharing/text-input-dialog.html @@ -67,7 +67,7 @@ </div> </div> <div class="buttons"> - <paper-button dialog-dismiss>Discard</paper-button> + <paper-button dialog-dismiss>Close</paper-button> <paper-button on-tap="_copy" autofocus hidden$="{{!clipboardSupported}}">Copy</paper-button> <a href="tel:{{tel}}" hidden$="{{!tel}}"> <paper-button autofocus dialog-dismiss>Call</paper-button> diff --git a/app/index.html b/app/index.html @@ -3,7 +3,7 @@ <head> <meta charset="utf-8"> - <meta name="description" content="Snapdrop is the easiest way to send files accross devices"> + <meta name="description" content="Snapdrop is an easy way to transfer files. Instantly share images, video, PDF, and links across devices. Peer2Peer, Private, Secure and Open Source. No Setup, No Signup."> <meta name="viewport" content="width=device-width initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <meta name="generator" content="Snapdrop"> <title>Snapdrop</title> diff --git a/bower.json b/bower.json @@ -9,7 +9,8 @@ "platinum-elements": "PolymerElements/platinum-elements#^1.1.0", "polymer": "Polymer/polymer#^1.2.0", "paper-menu": "PolymerElements/paper-menu#4fecb43601", - "peerjs": "~0.3.14" + "peerjs": "~0.3.14", + "clipboard": "~1.5.5" }, "devDependencies": { "web-component-tester": "*"