* example websockets server
* example of ws client
* type class TConnection for generic TCP/WebSockets implementation
* support WebSockets transport
* rename TConnection methods
* revert runClient to not need transport arg
* pass the list of ports and transports via SMP server config
* remove TypeApplications
* s/Transport/TProxy/, s/TConnection/Transport/
* fix server with multiple transports, make SMP client use WS transport with port 80 (TODO fallback to WS)
* move SMP server from agent commands NEW/JOIN to agent config
* fix SMPServer parser
* update agent protocol - server management
* enable agent test
* agent test with 2 servers
* create reply queue on the configured server
* choose random server
* swap bind
* key encoding primitives (WIP)
* use X509/PKCS8 to read/write server key files
* make PrivateKey type class
* clean up
* remove separate public key file
* specific import
* remove current user name
* rename /accept to /connect, remove /chat, add /reset, allow 1-letter abbreviations
* update help
* /delete contact, separate response for confirmation
* update invatation instruction
* unset active contact only if it is the same as current
* use System.Terminal for "editor" mode (WIP, does not work in POSIX)
* fix getKey - only return one event on control keys
* fix printing with System.Terminal
* different markdown escape for color, added black color
* fix color escapes
* make black invisible
* markdown fixes
* remove Key type, fix editor bug, refactor
* refactor: use getKey in getTermLine
* default mode is "editor", remove windows warning
* markdown: code snippet
* use ! for color markdown
* edit previous input
* clean up
* use getWindowSize from System.Terminal
* move server keys to config
* add server keys from files
* create server keys if key files do not exist
* validate loaded server key pair
* refactor fromString functions
* key files in /etc/opt/simplex
* add terminal package
* basic terminal mode with utf8 support in windows
* fix terminal input in basic mode on mac
* test code
* send StyledString to ChatTerminal
* clean up
* support StyledString with System.Terminal
* minor style change
* clean up
* minor style change
* transport encryption (WIP - using fixed key, parsing/serialization works, SMP tests fail)
* transport encryption
* transport encryption: separate keys to receive and to send, counter-based IVs
* docs: update transport encryption and handshake
* transport encryption handshake (TODO: validate key hash, welcome block, move keys to system environment)
* change KeyHash type to newtype of Digest SHA256
* transport encryption: validate public key hash
* send and receive welcome block with SMP version
* refactor: parsing SMPServer
* remove unused function
* verify that client version is compatible with server version (major version is not smaller)
* update (fix) SMP server tests
* windows-compatible getChar without buffering, option to use terminal without editing
* option to choose terminal mode, conditional compilation for Windows
* conditional extension
* add basic terminal mode (no contact insertion)
* option help
* separate terminal IO to separate thread via queues
* terminal input arithmetics (WIP)
* editable multiline terminal input
* print messages above input area
* support Up/Down arrows
* terminal chat: move by word, move to the beginning/end of input
* insert active contact when typing starts
* refactor inserting active contact
* highlight "to contact"
* add username to prompt
* change beginning/end of line keys to shoft-arrow
* remove unused code
* add ctrl arrow key bindings
* add comment for debugging keys in terminal
Co-authored-by: Efim Poberezkin <efim.poberezkin@gmail.com>