Documentation. Changed key.maxLen from Infinity to 1024 bytes

This commit is contained in:
Hexagon 2016-01-05 00:08:15 +01:00
parent a13dd84d21
commit edbc9ce43d
3 changed files with 29 additions and 22 deletions

View File

@ -82,26 +82,33 @@ Available commands:
Client: Client:
/key StrongPassphrase Sets encryption key /key StrongPassphrase Sets encryption key
/nick NickName Sets an optional nick /nick NickName Sets an optional nick
/mute Audio on /mute Audio on
/unmute Audio off /unmute Audio off
/clear Clear on-screen buffer /clear Clear on-screen buffer
/help This /help This
/title Set your local page title /title Set your local page title
/torch AfterSeconds Console messages are torched
after this amount of seconds
(default 600).
Room: Room:
/join RoomId Join a room /join RoomId Join a room
/leave Leave the room /leave Leave the room
/count Count participants /count Count participants
Host: Host:
/hosts List available hosts /hosts List available hosts
/connect HostIndex Connect to selected host /connect HostIndex Connect to selected host
/disconnect Disconnect from host /disconnect Disconnect from host
You can select any of the five last commands/messages with up/down key. 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 Due to security reasons, /key command is not saved, and command
history is automatically cleared after one minute of inactivity. 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.
``` ```

View File

@ -1,6 +1,6 @@
{ {
"name" : "cryptalk", "name" : "cryptalk",
"version" : "1.1.1", "version" : "1.1.2",
"description" : "Encrypted HTML5/Node.JS instant chat", "description" : "Encrypted HTML5/Node.JS instant chat",
"main" : "server.js", "main" : "server.js",
"subdomain": "cryptalk", "subdomain": "cryptalk",

View File

@ -27,7 +27,7 @@ define({
}, },
key: { key: {
maxLen: Infinity, maxLen: 1024,
minLen: 8, minLen: 8,
}, },