Commit Graph

263 Commits (187b2bd8b5338ab26ff3583410578fb75fb50b70)

Author SHA1 Message Date
Sheng 74cdb2d31f Change title when wssh connected 2018-08-24 12:44:32 +08:00
Sheng b14b8a9f79 Added state to wssh 2018-08-24 12:04:33 +08:00
Sheng 4710d8c0e6 Added connect_with_options function 2018-08-24 11:11:43 +08:00
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 77778fc45d Updated version 2018-08-20 23:10:21 +08:00
Sheng 37299468a9 Added is_valid_hostname to utils 2018-08-20 21:20:55 +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 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 5f52977785 Updated minor version 2018-05-30 21:51:00 +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
Sheng 08f144c4d7 Updated minor version 2018-05-23 20:38:53 +08:00
Sheng c439f2b6ee Instantly update pseudo-terminal size by client terminal size 2018-05-23 20:25:28 +08:00
Sheng 191bb109e0 Fixed a bug that client closes websocket on handling non utf-8 encoded bytes 2018-05-22 19:28:04 +08:00
Sheng 28360c31e2 Updated verison 2018-05-06 20:54:23 +08:00
Sheng 72df3b9ee9 Added print_version 2018-05-06 18:32:31 +08:00
Sheng 934d6dfcb6 Updated version 2018-04-27 18:00:39 +08:00
Sheng 20be29f989 Use warning instead of warn 2018-04-27 08:50:21 +08:00
Sheng 0fd2820bb5 Updated version 2018-04-27 01:43:52 +08:00
Sheng fa0eb7b32f Updated _version.py 2018-04-27 01:21:20 +08:00
Sheng eb55ae2cce Added setup.py setup.cfg 2018-04-27 00:04:48 +08:00
Sheng ffb776ca6c Use absolute path for importing modules 2018-04-26 22:38:16 +08:00
Sheng f78588bcc1 Change self to cls in class methods 2018-04-26 22:29:51 +08:00
Sheng c90f1e5a57 Added test_app.py 2018-04-26 21:51:01 +08:00
Sheng d6e4339540 Updated test_handler.py 2018-04-25 21:05:01 +08:00
Sheng d1177bc2c5 Updated handler.py and test_hanlder.py 2018-04-25 19:01:54 +08:00
Sheng 7b715bea17 Fixed AutoAddPolicy 2018-04-23 18:14:42 +08:00
Sheng 452a62814e Added two blank lines 2018-04-22 22:25:40 +08:00
Sheng b666e5795f Moved preview 2018-04-22 22:25:20 +08:00
Sheng 09d5804a09 Prepare to write unit tests 2018-04-22 20:11:36 +08:00