Commit Graph

303 Commits (a1c9378048088cde18839a7419bb2a37f58d31f2)

Author SHA1 Message Date
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 9f6d900b23 Updated .travis.yml 2019-01-15 23:27:48 +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 918ec0ef91 pin pytest-cov==2.6.0 2019-01-10 22:38:29 +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 c126856daa Updated README 2018-12-15 21:40:16 +08:00
Sheng 47fb789a7e Updated version 2018-11-16 11:47:09 +08:00
Sheng 699b37d7a1 Updated test_app.py 2018-11-16 11:42:25 +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
Sheng 646621279b Updated test_policy.py 2018-11-15 19:49:45 +08:00
Shengdun Hua 0cb0706c69
Merge pull request #38 from SailHPC/plaintext-password-fix
Remove password from fields
2018-11-12 16:41:29 +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 2755a9871c Fixed typo 2018-10-23 14:10:10 +08:00
Sheng 0c6f740e39 Updated README 2018-10-22 21:51:51 +08:00
Sheng 430c785feb Updated minor version 2018-10-21 18:30:46 +08:00
Sheng d0542e72c6 Fixed test_get_redirect_url 2018-10-21 14:45:58 +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 f52b2f5156 Updated README 2018-10-19 18:55:20 +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 12f4c0d0d2 Pass server settings for test 2018-10-15 21:36:54 +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