From edbc9ce43db210614ac34e8ccea48960f97a2c46 Mon Sep 17 00:00:00 2001 From: Hexagon Date: Tue, 5 Jan 2016 00:08:15 +0100 Subject: [PATCH] Documentation. Changed key.maxLen from Infinity to 1024 bytes --- README.md | 47 +++++++++++++++----------- package.json | 2 +- public/js/cryptalk_modules/settings.js | 2 +- 3 files changed, 29 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index d1708ec..b6b03a2 100644 --- a/README.md +++ b/README.md @@ -81,27 +81,34 @@ Usage Available commands: Client: - /key StrongPassphrase Sets encryption key - /nick NickName Sets an optional nick - /mute Audio on - /unmute Audio off - /clear Clear on-screen buffer - /help This - /title Set your local page title - -Room: - /join RoomId Join a room - /leave Leave the room - /count Count participants - + /key StrongPassphrase Sets encryption key + /nick NickName Sets an optional nick + /mute Audio on + /unmute Audio off + /clear Clear on-screen buffer + /help This + /title Set your local page title + /torch AfterSeconds Console messages are torched + after this amount of seconds + (default 600). + +Room: + /join RoomId Join a room + /leave Leave the room + /count Count participants + Host: - /hosts List available hosts - /connect HostIndex Connect to selected host - /disconnect Disconnect from host - + /hosts List available hosts + /connect HostIndex Connect to selected host + /disconnect Disconnect from host + You can select any of the five last commands/messages with up/down key. - -Due to security reasons, /key command is not saved, and command -history is automatically cleared after one minute of inactivity. + +Due to security reasons, /key command is not saved, and command +history is automatically cleared after one minute of inactivity. + +It is highly recommended to use incognito mode while chatting, +to prevent browsers from keeping history or cache. + ``` diff --git a/package.json b/package.json index 36fb69b..d8c1029 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name" : "cryptalk", - "version" : "1.1.1", + "version" : "1.1.2", "description" : "Encrypted HTML5/Node.JS instant chat", "main" : "server.js", "subdomain": "cryptalk", diff --git a/public/js/cryptalk_modules/settings.js b/public/js/cryptalk_modules/settings.js index 0b0a031..045cbda 100644 --- a/public/js/cryptalk_modules/settings.js +++ b/public/js/cryptalk_modules/settings.js @@ -27,7 +27,7 @@ define({ }, key: { - maxLen: Infinity, + maxLen: 1024, minLen: 8, },