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:
/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
/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
/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.
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",
"version" : "1.1.1",
"version" : "1.1.2",
"description" : "Encrypted HTML5/Node.JS instant chat",
"main" : "server.js",
"subdomain": "cryptalk",

View File

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