71 Commits

Author SHA1 Message Date
Dan Seripap
0f4fff2d6f Escaping characters before embed 2016-02-25 16:43:53 -05:00
Dan Seripap
d0d47c098a Fixing colors, allowing only unique usernames per chat session 2016-02-25 12:44:36 -05:00
Dan Seripap
3ba25cd14a Removed unused code, cleaned up styles 2016-02-25 09:28:19 -05:00
Dan Seripap
57cef2f44f Better sanitation of chat messages, support for multiline messages, updated username change method 2016-02-24 22:21:46 -05:00
Dan Seripap
e1d095da84 Merge branch 'develop' into feature/fileTransfer
* develop:
  Add Travis yml file
  Add zombie.js tests
2016-02-24 10:25:01 -05:00
Dan Seripap
edfab8a0c3 Closes #12 - /me command 2016-02-24 09:17:21 -05:00
Dan Seripap
4cee744b07 Support for encrypted file transfer
Accept file, blob decoding

Remove double init of window handler

Added confirmation/acceptance message

Add lazy IDs to transferred files for file owner

Added chat class- initial support for slash commands

Abstraction of chat to its own class

Removed underscore from vendors, switching to import. Increased username color values

Not localizing username, organizing slash commands

Keeping context

Support for symbols/emojis. Fixes #9

Added back npm scripts, added method to check if log messages contain usernames

Checks and balances

Better parsing of commands and organization of valid commands

Fixed #10 - Added running version on modal and about section, Updated disclaimer/wording, displaying public IP if available through server

File transfer pre-confirmation

Encrypting stringified object versus string
2016-02-23 15:59:01 -05:00
Alan Friedman
078d10d177 Fix broken things 2016-02-21 11:29:06 -05:00
Alan Friedman
e9b3498eaa Merge develop into cleanup 2016-02-21 11:09:00 -05:00
Alan Friedman
cfa5da5695 Add JSCS and JSHint to tests and fix errors 2016-02-21 10:58:42 -05:00
Dan Seripap
59ee6ca56f Actual configurable port 2016-02-20 09:09:05 -05:00
Dan Seripap
c1b902a5bf Sending file test, currently working for images only 2016-02-19 13:35:44 -05:00
Dan Seripap
e75f48ef88 Sending and reciving base64 strings 2016-02-19 13:12:30 -05:00
Dan Seripap
0762bbd15c Passing socket to window handler 2016-02-19 12:52:07 -05:00
Dan Seripap
c6670b56d6 Working implementation of darkwire interface 2016-02-19 12:39:47 -05:00
Dan Seripap
ebeab321e1 Creating some stability 2016-02-19 11:57:01 -05:00
Dan Seripap
e59bb2a1cf Creating interface for darkwire, started work on filetransfer 2016-02-19 11:39:04 -05:00
Dan Seripap
6ec8d9c5a0 More cleanup: Removed sessions, as they are not needed 2016-02-19 08:55:56 -05:00
Dan Seripap
e492945fcb Abstracted some window events 2016-02-17 22:13:25 -05:00
Dan Seripap
e27b4e1d5c Dynamic URLs 2016-02-17 21:57:00 -05:00
Dan Seripap
f008a7db93 Fix audio class, moving crypto functions 2016-02-17 21:55:28 -05:00
Dan Seripap
316db0cfc5 Start of reorganization: Audio class 2016-02-17 21:23:20 -05:00
Alan Friedman
0fc55576fe Revert "Use asymmetric signing keys instead of HMAC"
This reverts commit 323c7a903db4fa00c7a93d199862a3f0118b608f.
2016-01-27 07:53:04 -05:00
Alan Friedman
323c7a903d Use asymmetric signing keys instead of HMAC
Participants now generate RSASSA-PKCS1-v1_5 public/private key pairs
and sign messages with their private key. Recipients verify signatures
with the sender’s public key.
2016-01-26 15:05:17 -05:00
Alan Friedman
d90b1fa814 Fix typo 2016-01-25 15:52:52 -05:00
Alan Friedman
0dad45ed91 Use HMAC symmetric key to sign/verify and add webkit shim
For webkit support, I removed the public/private signing keys and
replaced them with a symmetric HMAC signing key. It achieves the same
thing and besides adding webkit support, is also a bit cleaner.

Webkit handles key export is a non-standard way, so with this shim we
have to export and import public keys in “spki” format. Webkit also
requires slightly different options to be passed in for some operations.
2016-01-25 15:50:33 -05:00
Alan Friedman
663fee0797 Use input instead of textarea for room URL 2016-01-25 15:44:50 -05:00
Alan Friedman
557a22a01e Fix for crypto webkit prefix 2016-01-23 21:24:50 -05:00
Alan Friedman
164c33f893 Simplify invite message 2016-01-23 20:52:20 -05:00
Alan Friedman
d46b8f24b5 Use asymmetric encryption to replace passphrase exchange
All parties now create public/private key pairs for
encryption/decryption and signing/verification. Public keys are passed
around and stored in server memory while the room is alive. Session
keys, which are used to encrypt cleartext messages, are newly generated
for each message and are encrypted using each participant’s public key.
Messages are signed using the sender’s private signing key.
2016-01-23 20:49:29 -05:00
Alan Friedman
64b12776b8 Fix for Safari support using webkit prefix 2016-01-20 17:17:31 -05:00
Alan Friedman
2a8e4842c3 Undo a change 2016-01-20 17:08:41 -05:00
Alan Friedman
a35083494d Remove clipboardJS and cryptoJS 2016-01-20 16:49:52 -05:00
Alan Friedman
39e4d3d56c Use crypto web API and prevent usage in unsupported browsers 2016-01-20 16:48:47 -05:00
Dan Seripap
6e1986b375 Added OS link, changing key wording to passphrase 2016-01-19 16:49:08 -05:00
Dan Seripap
d4a5193769 Use uuid lib for crypto and fallback support to replace math.random for #1 2016-01-19 16:42:19 -05:00
Alan Friedman
fd84a4ef8d Don't show user as joined until they enter a key 2016-01-16 11:08:32 -05:00
Alan Friedman
83df79de29 Add switch toggle for sound notifications 2016-01-16 11:07:43 -05:00
Alan Friedman
a06570aebf Fixes for autosizing textareas 2016-01-15 22:29:58 -05:00
Alan Friedman
b42f459cee Use textarea for copyable text and autosize it 2016-01-15 22:05:53 -05:00
Alan Friedman
2b5cc84a32 Don't focus input on window focus 2016-01-15 20:17:21 -05:00
Alan Friedman
2578d50807 Add FastClick 2016-01-15 17:14:21 -05:00
Alan Friedman
70be01cea3 Fix input focus bugs on mobile 2016-01-15 17:14:11 -05:00
Alan Friedman
a5aa18b9ba Change to darkwire.io and dark theme 2016-01-15 17:00:18 -05:00
Alan Friedman
14a646c4e1 Close mobile nav on click link 2016-01-13 14:12:09 -05:00
Alan Friedman
5add27f995 Autofocus on key input 2016-01-13 14:11:57 -05:00
Alan Friedman
d79c5ada53 Better password generator 2016-01-13 13:50:48 -05:00
Dan Seripap
ade0610a1b Added beep 2016-01-13 11:00:25 -05:00
Dan Seripap
217d967e08 Added browserify, es2015 to publicjs 2016-01-13 09:28:10 -05:00
Alan Friedman
d4010ff2c5 Set send icon inactive after sending message 2016-01-12 23:03:56 -05:00