Commit Graph

388 Commits (3a27cedf9d47c8ede3cbc984be081ebaa6f795c3)

Author SHA1 Message Date
Sheng ee7fd101c6 Use read_file_as_text to valiate the private key 2018-08-23 22:47:37 +08:00
Sheng 6cfcaddadf Defined a function read_file_as_text 2018-08-23 21:22:14 +08:00
Sheng 4d11a2ce2d Catch RangeError instead of TypeError 2018-08-23 20:41:06 +08:00
Sheng e329a6b55b Remove spaces 2018-08-23 19:24:00 +08:00
Sheng 3dd7b98c02 Defined a method onerror on reader 2018-08-23 18:15:10 +08:00
Sheng 4c3120e5ad Reuse decoder 2018-08-23 17:57:35 +08:00
Sheng 24a619ae6b Check wssh is connected before connecting 2018-08-22 18:55:09 +08:00
Sheng a5d3cbfee8 Updated minor version 2018-08-22 17:39:02 +08:00
Sheng 2e34702988 Changed validation error messages 2018-08-22 17:37:23 +08:00
Sheng d43a011533 Added connect function to wssh 2018-08-22 15:50:25 +08:00
Sheng 538d0d5a39 Updated minor version 2018-08-22 13:27:41 +08:00
Sheng 3c139e05f8 Added KEY_MAX_SIZE to validate the private key 2018-08-22 13:03:14 +08:00
Sheng 07dc33df1a Use callbak complete instead of success 2018-08-22 10:15:08 +08:00
Sheng eb792d4da6 Updated version 2018-08-21 22:00:11 +08:00
Sheng 90397715dc Optimized is_valid_hostname 2018-08-21 21:55:57 +08:00
Sheng 9a49c9e5a3 Use localStorage 2018-08-21 21:46:16 +08:00
Sheng f09ba9ec1a Added js code for validating hostname and port 2018-08-21 18:46:33 +08:00
Sheng 38cb22ac9c Added more functions to wssh 2018-08-21 17:59:17 +08:00
Sheng 4ae2a33654 Added resize_terminal function to wssh 2018-08-21 10:52:14 +08:00
Sheng e0cc20914b Updated README 2018-08-20 23:33:17 +08:00
Sheng 77778fc45d Updated version 2018-08-20 23:10:21 +08:00
Sheng d27e912680 Updated README 2018-08-20 23:09:09 +08:00
Sheng 37299468a9 Added is_valid_hostname to utils 2018-08-20 21:20:55 +08:00
Sheng f610020758 Changed quotes 2018-08-20 20:42:54 +08:00
Sheng 0fb6caa9ff Modified set_encoding 2018-08-20 20:07:13 +08:00
Sheng bd803328fc Changed error message 2018-08-20 18:55:00 +08:00
Sheng e85ae1692e Added to_bytes function to utils 2018-08-20 18:36:04 +08:00
Sheng cb86682551 Bump version number to 0.30 2018-08-18 20:54:23 +08:00
Sheng cce5ead04d Remove unused module 2018-08-18 20:50:50 +08:00
Sheng 1fee3146c2 Clean code 2018-08-18 20:21:12 +08:00
Sheng 614d6e8a5b Changed error message 2018-08-18 19:41:36 +08:00
Sheng 20449d03ad Added set_encoding and reset_encoding 2018-08-18 19:00:06 +08:00
Sheng f4197f0e4c Use base_dir as the project root directory 2018-08-18 17:39:50 +08:00
Sheng d6de1340c4 Added max_body_size for limiting the size of post form 2018-08-18 16:33:21 +08:00
Sheng d38453fd0b Updated version 2018-08-10 13:45:01 +08:00
Sheng 169286586f Updated .travis.yml 2018-08-10 10:46:43 +08:00
Sheng 7fe74ae88c Updated .travis.yml 2018-08-10 10:41:05 +08:00
Sheng 75f74ade5b Added an option for enabling websocket ping functionality 2018-08-10 10:24:28 +08:00
Sheng 1e4ece58c8 Added functions for validating ip and port 2018-08-10 09:23:25 +08:00
Sheng babd9bd24f Updated tests 2018-06-01 09:32:14 +08:00
Sheng cbeca1c377 Updated sshserver.py 2018-05-30 22:02:17 +08:00
Sheng 5f52977785 Updated minor version 2018-05-30 21:51:00 +08:00
Sheng 5415ec9220 Updated README 2018-05-30 21:46:27 +08:00
Sheng 667445e11b Removed a blank line 2018-05-30 21:37:45 +08:00
Sheng 469d86ac77 Auto detect system default encoding 2018-05-30 21:29:44 +08:00
Sheng cb5424a166 Added dummy check_channel_window_change_request for testing 2018-05-30 17:35:51 +08:00
Sheng 96d9ae5b4d Use JSONDecodeError 2018-05-26 16:23:55 +08:00
Sheng a893507946 Made WsockHandler more robust 2018-05-26 15:51:53 +08:00
Sheng 2c36c38653 jslint compliant 2018-05-26 13:49:55 +08:00
Sheng cce9371649 Use parseFloat for parsing font size 2018-05-26 12:28:17 +08:00