500 Commits

Author SHA1 Message Date
Sheng
9b38d111f4 Use class attribute formater 2018-08-26 19:31:45 +08:00
Sheng
b69bdefcc9 Changed log message 2018-08-26 19:08:02 +08:00
Sheng
1a3880ecee Raise InvalidException for empty required value 2018-08-26 15:40:08 +08:00
Sheng
5519a17016 Return 400 http error for invalid post requests 2018-08-26 15:13:02 +08:00
Sheng
df26d0e677 Catch ValueError instead of Exception for post method 2018-08-25 19:51:05 +08:00
Sheng
9fd8d1368c Added get_password method 2018-08-25 18:19:25 +08:00
Sheng
48acf09f21 Move method get_value to MixinHandler 2018-08-25 17:35:31 +08:00
Sheng
f3d9d297bb Updated tests 2018-08-25 06:53:21 +08:00
Sheng
757702127a Move all tests data into a separate directory 2018-08-24 15:11:21 +08:00
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 v0.3.5 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 v0.3.3 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 v0.3.2 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 v0.3.1 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 v0.3.0 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 v0.2.6 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