Commit Graph

47 Commits (430c785feb715797d99986f1806467cb237ccf68)

Author SHA1 Message Date
Sheng 5d6f92e529 Move some config variables to handler.py
6 years ago
Sheng c2c81aaeae Use method initialize to deny forbidden acesss
6 years ago
Sheng 7e5a170383 Added head method IndexHandler
6 years ago
Sheng a68eff592f Added attribute custom_headers to MixinHandler
6 years ago
Sheng af60cd1cd5 Tested app with 403 and 404 requests
6 years ago
Sheng e94c846379 Added default handler NotFoundHandler
6 years ago
Sheng 499f3b6dcd Lowercase all option names
6 years ago
Sheng 12f4c0d0d2 Pass server settings for test
6 years ago
Sheng 656e2ff028 Tested default port
6 years ago
Sheng 0c9db2abaf Set default port 22 on server side
6 years ago
Sheng 33703f0ca3 Updated lookup_hostname
6 years ago
Sheng a576a41ea4 Lookup hostname before connection under reject policy
6 years ago
Sheng b3c33ff6bd Use form attribute novalidate for debug mode
6 years ago
Sheng 5f3641701e Increase buffer size for channel
6 years ago
Sheng f4351318ec Updated tests
6 years ago
Sheng fa717491cd Updated test_server_error
6 years ago
Sheng 6cfd981e80 Tested server error
6 years ago
Sheng 58feb5e76b Enable xsrf for testing
6 years ago
Sheng 80bdddc280 Added setting swallow_http_errors
6 years ago
Sheng e1fbc417fd Added test for bad authentication type
6 years ago
Sheng 1a3880ecee Raise InvalidException for empty required value
6 years ago
Sheng 5519a17016 Return 400 http error for invalid post requests
6 years ago
Sheng df26d0e677 Catch ValueError instead of Exception for post method
6 years ago
Sheng 48acf09f21 Move method get_value to MixinHandler
6 years ago
Sheng f3d9d297bb Updated tests
6 years ago
Sheng 757702127a Move all tests data into a separate directory
6 years ago
Sheng 4710d8c0e6 Added connect_with_options function
6 years ago
Sheng 2e34702988 Changed validation error messages
6 years ago
Sheng 3c139e05f8 Added KEY_MAX_SIZE to validate the private key
6 years ago
Sheng 37299468a9 Added is_valid_hostname to utils
6 years ago
Sheng f610020758 Changed quotes
6 years ago
Sheng bd803328fc Changed error message
6 years ago
Sheng e85ae1692e Added to_bytes function to utils
6 years ago
Sheng f4197f0e4c Use base_dir as the project root directory
6 years ago
Sheng d6de1340c4 Added max_body_size for limiting the size of post form
6 years ago
Sheng babd9bd24f Updated tests
7 years ago
Sheng 469d86ac77 Auto detect system default encoding
7 years ago
Sheng cb5424a166 Added dummy check_channel_window_change_request for testing
7 years ago
Sheng a893507946 Made WsockHandler more robust
7 years ago
Sheng c439f2b6ee Instantly update pseudo-terminal size by client terminal size
7 years ago
Sheng 82929ea484 Changed string to bytes
7 years ago
Sheng 330145484d Updated test_app.py and sshserver.py
7 years ago
Sheng de0a903de8 Updated test_app.py and sshserver.py
7 years ago
Sheng e88ecb2879 Modified test_app.py sshserver.py
7 years ago
Sheng ffb776ca6c Use absolute path for importing modules
7 years ago
Sheng 81d838c053 Updated test_app.py
7 years ago
Sheng c90f1e5a57 Added test_app.py
7 years ago