Commit Graph

48 Commits (d6d5f74f2a726eec954ad6db91fd5adb6bc1daac)

Author SHA1 Message Date
Sheng 32f303474e Updated test_app.py 2018-11-15 20:23:42 +08:00
Sheng 5d6f92e529 Move some config variables to handler.py 2018-10-18 15:07:45 +08:00
Sheng c2c81aaeae Use method initialize to deny forbidden acesss 2018-10-17 19:22:51 +08:00
Sheng 7e5a170383 Added head method IndexHandler 2018-10-16 16:15:39 +08:00
Sheng a68eff592f Added attribute custom_headers to MixinHandler 2018-10-16 15:14:34 +08:00
Sheng af60cd1cd5 Tested app with 403 and 404 requests 2018-10-16 14:51:15 +08:00
Sheng e94c846379 Added default handler NotFoundHandler 2018-10-16 13:56:44 +08:00
Sheng 499f3b6dcd Lowercase all option names 2018-10-15 22:06:02 +08:00
Sheng 12f4c0d0d2 Pass server settings for test 2018-10-15 21:36:54 +08:00
Sheng 656e2ff028 Tested default port 2018-10-10 23:18:38 +08:00
Sheng 0c9db2abaf Set default port 22 on server side 2018-10-10 22:30:37 +08:00
Sheng 33703f0ca3 Updated lookup_hostname 2018-10-08 22:37:03 +08:00
Sheng a576a41ea4 Lookup hostname before connection under reject policy 2018-10-08 20:25:21 +08:00
Sheng b3c33ff6bd Use form attribute novalidate for debug mode 2018-09-12 13:47:33 +08:00
Sheng 5f3641701e Increase buffer size for channel 2018-09-01 11:00:01 +08:00
Sheng f4351318ec Updated tests 2018-08-29 18:10:57 +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 58feb5e76b Enable xsrf for testing 2018-08-28 20:08:03 +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 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 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 4710d8c0e6 Added connect_with_options function 2018-08-24 11:11:43 +08:00
Sheng 2e34702988 Changed validation error messages 2018-08-22 17:37:23 +08:00
Sheng 3c139e05f8 Added KEY_MAX_SIZE to validate the private key 2018-08-22 13:03:14 +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 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 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 babd9bd24f Updated tests 2018-06-01 09:32:14 +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 a893507946 Made WsockHandler more robust 2018-05-26 15:51:53 +08:00
Sheng c439f2b6ee Instantly update pseudo-terminal size by client terminal size 2018-05-23 20:25:28 +08:00
Sheng 82929ea484 Changed string to bytes 2018-05-22 19:39:14 +08:00
Sheng 330145484d Updated test_app.py and sshserver.py 2018-04-27 14:34:06 +08:00
Sheng de0a903de8 Updated test_app.py and sshserver.py 2018-04-27 09:49:48 +08:00
Sheng e88ecb2879 Modified test_app.py sshserver.py 2018-04-27 09:31:52 +08:00
Sheng ffb776ca6c Use absolute path for importing modules 2018-04-26 22:38:16 +08:00
Sheng 81d838c053 Updated test_app.py 2018-04-26 22:21:04 +08:00
Sheng c90f1e5a57 Added test_app.py 2018-04-26 21:51:01 +08:00