Commit Graph

55 Commits (65cf27d58d7d7cb79fbc77e8080646e602f9ccd1)

Author SHA1 Message Date
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 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
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 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 713ae1e8f1 Support cross origin connect 2019-01-19 19:19:45 +08:00
tuxhamb f9af3ee1c9
Remove password from fields 2018-11-11 16:30:39 +00:00
Sheng d3da7ec5cb Fixed boundary port number typo 2018-10-18 15:20:27 +08:00
Sheng 9aebb6e4e3 Updated write_error 2018-10-13 08:52:32 +08:00
Sheng dd7f99970b Fix title by using default port 2018-10-10 23:56:19 +08:00
Sheng 0c9db2abaf Set default port 22 on server side 2018-10-10 22:30:37 +08:00
Sheng fdcf1718c1 Set default port to 22 2018-09-29 20:19:45 +08:00
Sheng 0f542ed24f Use private variable data instead of proto.data 2018-09-29 13:24:41 +08:00
Sheng 1a11c378b2 Support Safari 11.x 2018-09-15 09:31:03 +08:00
Sheng cd4f7e72ac Use form_id variable 2018-09-14 18:20:47 +08:00
Sheng 5d1d5e9250 Support browser edge 2018-09-13 16:29:44 +08:00
Sheng b3c33ff6bd Use form attribute novalidate for debug mode 2018-09-12 13:47:33 +08:00
Sheng 8eb636d73b Normalize data before validating it 2018-09-09 15:21:13 +08:00
Sheng 4d77a6a076 Updated main.js 2018-08-29 20:30:42 +08:00
Sheng 6401e82ef9 Check pk size before reading 2018-08-29 11:31:20 +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 d43a011533 Added connect function to wssh 2018-08-22 15:50:25 +08:00
Sheng 07dc33df1a Use callbak complete instead of success 2018-08-22 10:15:08 +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 0fb6caa9ff Modified set_encoding 2018-08-20 20:07:13 +08:00
Sheng 20449d03ad Added set_encoding and reset_encoding 2018-08-18 19:00:06 +08:00
Sheng 469d86ac77 Auto detect system default encoding 2018-05-30 21:29:44 +08:00