Commit Graph

226 Commits (cd4f7e72ac42966f09573895a1862979c6928918)

Author SHA1 Message Date
Sheng cd4f7e72ac Use form_id variable 2018-09-14 18:20:47 +08:00
Sheng 1a7c395c75 Updated requirements.txt 2018-09-13 18:44:13 +08:00
Sheng 0f11f2acba Updated version 2018-09-13 16:33:25 +08:00
Sheng 5d1d5e9250 Support browser edge 2018-09-13 16:29:44 +08:00
Sheng 2b57122925 Updated minor version 2018-09-12 21:03:22 +08:00
Sheng b3c33ff6bd Use form attribute novalidate for debug mode 2018-09-12 13:47:33 +08:00
Sheng b372fcbbb2 Pass None for empty password 2018-09-12 13:07:05 +08:00
Sheng 21d3f9bd7f Updated version 2018-09-09 15:41:28 +08:00
Sheng 704d2b68e6 Check private key size for the final value 2018-09-09 15:33:59 +08:00
Sheng 8eb636d73b Normalize data before validating it 2018-09-09 15:21:13 +08:00
Sheng bbb7d79b2a Updated README and version 2018-09-01 11:20:31 +08:00
Sheng 5f3641701e Increase buffer size for channel 2018-09-01 11:00:01 +08:00
Sheng 41740690ac Updated README 2018-08-30 07:18:34 +08:00
Sheng a7a3f46609 Update README 2018-08-29 23:12:21 +08:00
Sheng 4d77a6a076 Updated main.js 2018-08-29 20:30:42 +08:00
Sheng f4351318ec Updated tests 2018-08-29 18:10:57 +08:00
Sheng 6401e82ef9 Check pk size before reading 2018-08-29 11:31:20 +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 49226fbf23 Swallow 500 errors 2018-08-28 21:15:57 +08:00
Sheng ad12876b0c Strip encoding 2018-08-28 20:25:07 +08:00
Sheng 58feb5e76b Enable xsrf for testing 2018-08-28 20:08:03 +08:00
Sheng 688ca78bb2 Use command "locale charmap" to detect encoding 2018-08-28 07:55:41 +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 105c1f62ee Close handler with reason why worker closed 2018-08-26 20:13:11 +08:00
Sheng 9b38d111f4 Use class attribute formater 2018-08-26 19:31:45 +08:00
Sheng b69bdefcc9 Changed log message 2018-08-26 19:08:02 +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 9fd8d1368c Added get_password method 2018-08-25 18:19:25 +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 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 a5d3cbfee8 Updated minor version 2018-08-22 17:39:02 +08:00
Sheng 2e34702988 Changed validation error messages 2018-08-22 17:37:23 +08:00
Sheng d43a011533 Added connect function to wssh 2018-08-22 15:50:25 +08:00
Sheng 538d0d5a39 Updated minor version 2018-08-22 13:27:41 +08:00
Sheng 3c139e05f8 Added KEY_MAX_SIZE to validate the private key 2018-08-22 13:03:14 +08:00