Commit Graph

125 Commits (11bd7fea47748b0a79b66ecb112dbbaaeb6f2020)

Author SHA1 Message Date
Sheng 499f3b6dcd Lowercase all option names
6 years ago
Sheng 12f4c0d0d2 Pass server settings for test
6 years ago
Sheng 77b6fbfd85 Block requests not come from trusted_downstream and public non-https requests
6 years ago
Sheng db3ee2b784 Added proxies option for trusted downstream
6 years ago
Sheng bb9d193cae Fixed assertion in rasied exception context
6 years ago
Sheng 827a0d8a9d Support https server
6 years ago
Sheng 66ebe2ceb2 Use general method to validate ipaddress
6 years ago
Sheng 656e2ff028 Tested default port
6 years ago
Sheng 0c9db2abaf Set default port 22 on server side
6 years ago
Sheng f6d2776a20 Let tornado parse xheaders
6 years ago
Sheng 88405eddac Added to_int to utils
6 years ago
Sheng 33703f0ca3 Updated lookup_hostname
6 years ago
Sheng a576a41ea4 Lookup hostname before connection under reject policy
6 years ago
Sheng 90e7ea0327 Fixed test_print_version
6 years ago
Sheng 2adcf93362 Updated tests/utils.py
6 years ago
Sheng 1a7c395c75 Updated requirements.txt
6 years ago
Sheng b3c33ff6bd Use form attribute novalidate for debug mode
6 years ago
Sheng b372fcbbb2 Pass None for empty password
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 ad12876b0c Strip encoding
6 years ago
Sheng 58feb5e76b Enable xsrf for testing
6 years ago
Sheng 688ca78bb2 Use command "locale charmap" to detect encoding
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 1e4ece58c8 Added functions for validating ip and port
6 years ago
Sheng babd9bd24f Updated tests
7 years ago
Sheng cbeca1c377 Updated sshserver.py
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 72df3b9ee9 Added print_version
7 years ago
Sheng c70117e590 Updated sshserver.py
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 6094d4bb43 Change listen address to 127.0.0.1
7 years ago
Sheng c90f1e5a57 Added test_app.py
7 years ago
Sheng 331eaa2ba7 Remove unused modules
7 years ago
Sheng d6e4339540 Updated test_handler.py
7 years ago
Sheng d1177bc2c5 Updated handler.py and test_hanlder.py
7 years ago
Sheng 50ab045c1f Use HTTPServerRequest instead
7 years ago
Sheng 42ac3daf87 Updated test_handler.py
7 years ago
Sheng acc3b47ec6 Added test_handler.py
7 years ago
Sheng 5dd08a72a5 Updated test_settings.py
7 years ago
Sheng 99d4b5fbea Updated test_policy.py
7 years ago
Sheng 3165cf2399 Updated test_settings.py
7 years ago
Sheng 5245560b81 Updated test_setttings.py
7 years ago
Sheng 189a30af96 Added test_settings.py
7 years ago
Sheng e5990f4384 Updated tests
7 years ago
Sheng 8e31cf5259 Changed host_keys_filename
7 years ago
Sheng 251fd90e5f Added more unittests to test_policy.py
7 years ago
Sheng c1d7c9cd7f Added test_get_policy_dictionary
7 years ago
Sheng 09d5804a09 Prepare to write unit tests
7 years ago