Commit Graph

315 Commits

Author SHA1 Message Date
waldek 1942a2bcc7 some cleanup 2023-03-06 10:01:15 +11:00
waldek ca56b974b8 simplity the connection close for reverse proxy 2023-03-06 09:50:39 +11:00
waldek c420cd90d7 adds md2gemini as dependency 2023-03-06 09:45:10 +11:00
waldek 9cd39d83cf fixes missing urllib import 2023-03-06 09:43:21 +11:00
waldek 44cd4244b9 fixes the hardcoded protocol class in the server 2023-03-06 09:40:02 +11:00
waldek 00349fabfe basic markdown and reverse proxy implementation 2023-03-06 09:17:59 +11:00
Michael Lazar 2c122cabb5 Merge conflict 2022-07-08 16:50:34 -04:00
Michael Lazar ae0c8300c5
Strict trailing slash (#65)
* Update pre-commit versions

* Fix for strict_trailing_slash

* Upping version
2022-07-08 16:49:36 -04:00
Michael Lazar 37add0c605
Strict trailing slash (#64)
* Update pre-commit versions

* Fix for strict_trailing_slash
2022-07-06 17:29:42 -04:00
Michael Lazar 93e0a3ddc7 Fixing build 2022-02-19 14:51:59 -05:00
Michael Lazar dd399cb4be Fixing build 2022-02-19 14:33:25 -05:00
Michael Lazar 17591359db Merge branch 'master' of github.com:michael-lazar/jetforce 2021-11-26 15:23:47 -05:00
Michael Lazar b1fc5d74e4 Add hostname test 2021-11-26 15:22:10 -05:00
Michael Lazar 2cacd98e1d
Update README.md 2021-06-20 15:43:48 -04:00
Michael Lazar 2a8f945e87 Cutting release 2021-05-12 11:01:45 -04:00
Michael Lazar cc4d842040 Adding tests 2021-05-12 10:59:06 -04:00
Michael Lazar cc4901241f
Make the application ``Request`` class overridable. (#61) 2021-05-11 20:39:49 -04:00
Michael Lazar e6fa299d1e
Fix not including trailing slashes in $PATH_INFO for CGI scripts. (#60)
* Fix not including trailing slashes in $PATH_INFO for CGI scripts.

* Fix type hint
2021-05-11 20:17:18 -04:00
Michael Lazar 7fd453e43c
Send the full CA certificate chain if its included in the TLS certificate. (#59) 2021-05-04 19:54:07 -04:00
Michael Lazar 3d255a7e0b Remove python 3.10 alpha build because it was failing 2021-03-29 13:46:43 -04:00
Michael Lazar 774fe54236 Pin twisted version to fix the build 2021-03-29 13:43:16 -04:00
Michael Lazar 14d157f0d7 Upping version 2021-03-21 22:37:25 -04:00
Michael Lazar 6d4fe62cc6
Update README.md 2021-02-19 00:00:33 -05:00
Michael Lazar 194f84a042
Update README.md 2021-02-18 23:57:36 -05:00
Michael Lazar 2765eabd9b
Update README.md 2021-02-18 23:47:36 -05:00
Michael Lazar 0946df453a Fix type error 2021-02-11 21:35:47 -05:00
dbxnr dea16e6596
Remove trailing bracket from directory name (#53) 2021-02-11 21:32:32 -05:00
Michael Lazar 6bda66b75f
Update README.md 2021-01-07 23:59:34 -05:00
Michael Lazar f9726f9fa9
Update README.md 2021-01-07 23:58:53 -05:00
Michael Lazar 6bf0dd83fe
Update README.md 2021-01-07 23:53:47 -05:00
Michael Lazar cd57adec3e
Adding tests (#52)
* Adding tests

* fix python matrix strings
2021-01-07 23:41:56 -05:00
Michael Lazar 17c9444b80 Fix python3.7 syntax error 2021-01-06 00:23:06 -05:00
Michael Lazar d75740cc3c Upping version 2021-01-05 23:59:48 -05:00
Michael Lazar bfa68c62de
Networking & CGI optimizations (#50)
More efficient TCP packets, miscellaneous fixes to CGI handling.
2021-01-05 23:56:41 -05:00
Michael Lazar 135dbda878
Type hints (#49)
* Better type hint coverage

* linting fixes

* Keep the old ResponseType name for backwards compatibility

* Remove unnecessary assert statement

Co-authored-by: Michael Lazar <mlazar@doctorondemand.com>
2020-12-29 00:03:07 -05:00
Michael Lazar 637025c8c3 Fix TLS_CLIENT_AUTHORISED sometimes returning False instead of 0 2020-12-24 13:54:39 -05:00
Michael Lazar 557bd96650 Add py.typed file for PEP 561 2020-12-23 22:43:48 -05:00
Michael Lazar 8ad184519b Add support for idn 2020-12-10 11:32:34 -05:00
Michael Lazar d516c8ba48 Upping version 2020-12-06 00:29:16 -05:00
Michael Lazar 8d384b424d Update TLS_CLIENT_HASH format 2020-11-30 00:09:46 -05:00
Michael Lazar 4ba3cc6c23 Allow "gemini://example.com" to resolve without a trailing slash 2020-11-29 22:30:47 -05:00
Michael Lazar 887343de3c Merge branch 'master' of github.com:michael-lazar/jetforce 2020-11-29 17:50:50 -05:00
Michael Lazar 5e0415888a Requests containing URLs without a scheme are no longer accepted. 2020-11-29 17:50:39 -05:00
Michael Lazar d2d1f63f7b
Merge pull request #43 from dbandstra/fix-gateway_interface
fix value of GATEWAY_INTERFACE as per rfc3875
2020-11-07 18:42:03 -05:00
dbandstra c61c070081 fix value of GATEWAY_INTERFACE as per rfc3875 2020-11-07 15:27:38 -08:00
Michael Lazar 1c0508d127 Bumping version 2020-07-30 21:24:07 -04:00
Michael Lazar 7701acd995
Merge pull request #40 from michael-lazar/rate_limiting
Rate limiting proof of concept
2020-07-27 00:09:49 -04:00
Michael Lazar dd6fcb4456 Clean up wording 2020-07-27 00:09:00 -04:00
Michael Lazar 1e5be2b45a Restructure rate limiting 2020-07-27 00:02:51 -04:00
Michael Lazar d4412956ad Rate limiting proof of concept 2020-07-25 23:07:22 -04:00