Skip to content
Darío edited this page Oct 19, 2018 · 3 revisions

Modifications to ssh-chat that weren't merged:

  • Adding global timestamp as an option
  • Added new rank: Administators (or masters). This rank can add or delete operators, but cannot add or remove another administrators. Administrators rank is designed by public key on server startup.
  • Added "vim mode". With this mode you can use commands as ':' instead of '/'. As you can see in the code, the Prefix parameter of Command structure was changed by a neutral parameter for future introductions of prefixes.
  • New Help function. This function add help for admin rank.
  • Added the following commands:
    • setnick: Administrators can change the nick of another user.
    • private: Users can stablish privates conversations. This conversations are permanent until they execute endprivate command.
    • endprivate: Finish private conversation.
    • welcome: Prints motd. Only admins can execute this.
    • whois: In whois only admins can see ip.
    • delop: Allow admins to delete an operator (or moderator as is mentioned in some parts of the code).
  • Changed historyLen and roomBuffer vars.
  • In cmd tool have been added fsnotify to update public key files (admin and moderator public key files). This is to prevent to restart the server everytime we want to add an administrator.
  • Added new prompt mode. In this mode you can see in which room you are talking. As default is 'general'. If you start private conversation the room will be the name of the another user. This part has been introduced for future implementations.
  • As I said before now exists private conversations (unlike msg command).