Commit Graph

211 Commits (f4351318ecb64ae1fb003fd570d98e890ccb5485)

Author SHA1 Message Date
Sheng f4351318ec Updated tests 2018-08-29 18:10:57 +08:00
Sheng 6401e82ef9 Check pk size before reading 2018-08-29 11:31:20 +08:00
Sheng fa717491cd Updated test_server_error 2018-08-29 09:40:07 +08:00
Sheng 6cfd981e80 Tested server error 2018-08-29 09:19:35 +08:00
Sheng 49226fbf23 Swallow 500 errors 2018-08-28 21:15:57 +08:00
Sheng ad12876b0c Strip encoding 2018-08-28 20:25:07 +08:00
Sheng 58feb5e76b Enable xsrf for testing 2018-08-28 20:08:03 +08:00
Sheng 688ca78bb2 Use command "locale charmap" to detect encoding 2018-08-28 07:55:41 +08:00
Sheng 80bdddc280 Added setting swallow_http_errors 2018-08-28 07:43:43 +08:00
Sheng e1fbc417fd Added test for bad authentication type 2018-08-26 21:53:28 +08:00
Sheng 105c1f62ee Close handler with reason why worker closed 2018-08-26 20:13:11 +08:00
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 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