Commit Graph

263 Commits (187b2bd8b5338ab26ff3583410578fb75fb50b70)

Author SHA1 Message Date
Sheng 9dec4af4b9 Updated validate_form_data to produce all the validation errors 2019-08-19 18:33:35 +08:00
Sheng a8c6663344 Appended a space to an equal sign 2019-08-18 16:11:38 +08:00
Sheng f54eba8cfe Populate the form with url data directly 2019-08-18 16:01:53 +08:00
Sheng 0a44b1fdf3 Bump version to 1.4.3 2019-08-10 16:07:24 +08:00
Sheng 750378e8f0 Removed status message without trying connection 2019-08-10 16:06:09 +08:00
Sheng cf13ec8456 Bump version to 1.4.2 2019-08-10 15:00:10 +08:00
Sheng 57c9a264ea Password via url requires to be encoded in base64 2019-08-10 14:41:15 +08:00
Sheng b3c2094cd2 Only store values of the fields 2019-08-10 08:37:39 +08:00
Rajesh K Ilango 4a48468729 Change to fill form values from URL parameters.
This is useful when there is login failure and the form is either empty
or with values from previous attempt.
2019-07-26 19:06:52 -07:00
Sheng 8577c1c845 Moved command execution code 2019-07-12 23:20:34 +08:00
Sheng caee6a67fb Delay the command execution 2019-07-12 22:39:03 +08:00
Sheng f991d25357 Added support passing a command via url 2019-07-12 20:05:40 +08:00
Sheng 0775c0c3ae Refactored handler.py 2019-07-08 15:37:32 +08:00
Sheng 27c587745c Updated version 2019-07-07 15:26:52 +08:00
Sheng d197133c95 Support 2fa 2019-07-07 14:52:43 +08:00
Sheng c0eba0ebb3 Added a new field passphrase 2019-07-06 10:12:28 +08:00
Sheng 5719f24295 Removed try block since this bug already fixed by tornado 2019-07-04 22:29:59 +08:00
Sheng 5bbf0408ce Updated clear_worker 2019-07-04 21:53:39 +08:00
Sheng 976b00ca85 Added function clear_worker 2019-07-04 21:53:39 +08:00
Sheng 86abf6912d Check worker status before closing worker 2019-07-04 21:53:39 +08:00
Sheng ec545ec463 Refactored PrivateKey 2019-07-04 21:53:39 +08:00
Sheng e956c44c1e Updated version 2019-07-04 21:53:39 +08:00
Sheng fb6617cc1f Made PrivateKey more robust for parsing keys 2019-06-29 09:49:10 +08:00
Sheng 931f8bf261 Updated version 2019-06-27 18:52:07 +08:00
Sheng a274a88e7e Generate clear error message for invalid unencrypted key 2019-06-27 13:40:58 +08:00
Sheng 2b8b978ca2 Added PrivateKey class 2019-06-27 12:52:19 +08:00
Sheng 5daca37f5c Edge doesn't support document fonts 2019-06-22 13:35:30 +08:00
Sheng 8fce3db5d2 Updated main.js 2019-06-22 12:49:21 +08:00
Sheng b2ba79d27f Support custom font family 2019-06-21 18:22:16 +08:00
Sheng 65cf27d58d Updated version 2019-05-19 20:30:18 +08:00
Sheng 786b42da7e Re-raise InvalidValueError for PasswordRequiredException 2019-05-19 20:27:44 +08:00
Sheng 34af59a1c9 Support passing an encoding by url 2019-05-19 20:06:07 +08:00
Sheng d8256d8f3f Move down a line 2019-05-18 21:40:57 +08:00
Sheng ffd2345427 Added function initialize_map 2019-05-18 21:32:32 +08:00
Sheng dac9176480 Refactored main.js 2019-05-18 20:53:25 +08:00
Sheng 3a09484621 Added function decode_uri 2019-05-18 16:36:21 +08:00
Sheng 7e0937a082 Enhance parse_url_data 2019-05-18 15:05:11 +08:00
Sheng 67a2488fe6 Added a comment 2019-05-18 13:45:59 +08:00
Sheng 1a2067e38a Support passing user defined title by url 2019-05-18 13:41:20 +08:00
Sheng 23adce57d8 Support passing arguments by url 2019-05-18 13:20:02 +08:00
Sheng 3d98e5d947 Support changing terminal background color 2019-05-17 21:55:05 +08:00
Sheng b58be46918 Moved out function resize_terminal 2019-05-17 21:27:25 +08:00
Sheng 99ed01ca84 Updated minor version 2019-05-09 22:09:49 +08:00
Sheng 1cd86c0aa7 Updated xterm.js to v3.12.2 2019-05-09 22:00:16 +08:00
Sheng d69d8cfa7a Fixed a bug caused by url containing hashes 2019-04-27 00:01:56 +08:00
Sheng 7ddce5a105 Updated version 2019-04-18 19:59:17 +08:00
Marco Duiker 8e3ae038f8
Update main.js
in this way we can use query string parameters on index.html without websocket errors
2019-04-18 12:02:05 +02:00
Sheng af0cbfbf6c Updated minor verison 2019-03-12 23:53:03 +08:00
Sheng b630116f33 Use try block to bypass the error 2019-03-12 23:47:06 +08:00
Sheng 544461a617 Updated minor version 2019-03-12 21:56:38 +08:00
Sheng f9b640c745 Made it compatible with tornado 6 2019-03-12 21:52:17 +08:00
Sheng 3f1e53eaad Use cpu_count from tornado.process 2019-02-21 23:41:45 +08:00
Sheng e7bacb7d39 Updated minor version 2019-02-21 18:18:18 +08:00
Sheng d0533848f6 Pass max_workers to ThreadPoolExecutor 2019-02-21 18:11:18 +08:00
Sheng d22b0cdfd8 Use ThreadPoolExecutor instead of Thread 2019-02-21 17:45:38 +08:00
Sheng b25fbd7b57 Changed exception error message 2019-02-21 16:12:48 +08:00
Sheng 4b27da5f38 Refactored handler.py 2019-02-21 16:03:23 +08:00
Sheng a82565bf2d Updated version to 1.0 2019-02-14 13:29:02 +08:00
Sheng 5a52b20feb Updated static files 2019-02-14 13:25:51 +08:00
Sheng d74c097471 Updated main.js 2019-02-14 13:00:43 +08:00
Sheng a1c9378048 Support CORS 2019-01-23 21:48:03 +08:00
Sheng a6663c408e Updated version 2019-01-19 19:47:14 +08:00
Sheng 713ae1e8f1 Support cross origin connect 2019-01-19 19:19:45 +08:00
Sheng b4ca604518 Changed "|" to "or" 2019-01-19 16:57:03 +08:00
Sheng c35f801235 Support custom origin configuration 2019-01-19 16:46:25 +08:00
Sheng 8a8d741230 Refactored method is_forbidden 2019-01-16 22:58:49 +08:00
Sheng 682ddbf65f Removed function for detecting whether the http(s) server is open to public 2019-01-15 23:02:14 +08:00
Sheng 2e0f06e650 Fixed is_same_primary_domain 2019-01-11 15:02:30 +08:00
Sheng 28f45bd9a6 Changed formatting 2019-01-10 22:54:11 +08:00
Sheng 5c8bd84b95 Added an option for configuring cross-origin websocket level 2019-01-10 22:09:32 +08:00
Sheng b51e823973 Updated version 2018-12-29 16:25:16 +08:00
Sheng 2653a3e35a Added function for limiting connections for every client(ip) 2018-12-29 16:16:06 +08:00
Sheng 47fb789a7e Updated version 2018-11-16 11:47:09 +08:00
Sheng d6d5f74f2a Added check_request method to MixinHandler 2018-11-15 21:40:59 +08:00
Sheng 32f303474e Updated test_app.py 2018-11-15 20:23:42 +08:00
tuxhamb f9af3ee1c9
Remove password from fields 2018-11-11 16:30:39 +00:00
Sheng 4525f50b11 Added test_main.py to tests 2018-10-23 22:56:18 +08:00
Sheng 430c785feb Updated minor version 2018-10-21 18:30:46 +08:00
Sheng 8e4039a24a Support redirecting http to https 2018-10-21 14:07:44 +08:00
Sheng 40cf1095ff Use open_to_public to store the status of the http(s) server 2018-10-20 17:54:12 +08:00
Sheng e31e9be433 Updated get_trusted_downstream 2018-10-20 15:30:11 +08:00
Sheng 1f835f5a70 Refactored handler.py 2018-10-19 18:18:55 +08:00
Sheng fbb3e466b2 Updated minor version 2018-10-18 20:38:27 +08:00
Sheng 68468585ee Added a command line option xheaders 2018-10-18 20:25:30 +08:00
Sheng a8a444d7ed Always reset fbidhttp to False if not open to public 2018-10-18 18:17:42 +08:00
Sheng d3da7ec5cb Fixed boundary port number typo 2018-10-18 15:20:27 +08:00
Sheng 5d6f92e529 Move some config variables to handler.py 2018-10-18 15:07:45 +08:00
Sheng 383f61d4cc Updated version 2018-10-17 23:03:30 +08:00
Sheng c06bf5311a Added an option for blocking public non-https requests 2018-10-17 22:39:53 +08:00
Sheng 746982b001 Use method format instead of % 2018-10-17 19:34:09 +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 021a3a627f Use is_private instead of is_global 2018-10-15 20:34:17 +08:00
Sheng 77b6fbfd85 Block requests not come from trusted_downstream and public non-https requests 2018-10-15 20:14:53 +08:00
Sheng db3ee2b784 Added proxies option for trusted downstream 2018-10-15 17:49:02 +08:00
Sheng a51918d2ac Added to_ip_address to utils 2018-10-15 17:20:30 +08:00