Commit 5b5c77e
v2.3.0 (#470)
* Update mypy from 0.780 to 0.781 (#379)
* Add FilterByClientIpPlugin example (#381)
* Update mypy from 0.781 to 0.782 (#382)
* Update twine from 3.1.1 to 3.2.0 (#384)
* Update tox from 3.15.2 to 3.16.0 (#385)
* Update tox from 3.16.0 to 3.16.1 (#386)
* Document FilterByClientIpPlugin & ModifyChunkResponsePlugin (#387)
* Refactor plugin base classes for plugin specific flags (#388)
* Update to latest code signing recommendations
* Move HttpProtocolHandlerPlugin into separate file
* Dont add subject attributes if not provided by upstream. Also handle subprocess.TimeoutExpired raised during certificate generation. Instead of retries, we simply close the connection on timeout
* Remove plugin specific flag initialization methods for now
* Update coverage from 5.1 to 5.2 (#390)
* Core acceptor pool doc, cleanup and standalone example (#393)
* Better document acceptor module and add a TCP Echo Server example
* autopep8 formating
* Rename ThreadlessWork --> Work class
* Make initialize, is_inactive and shutdown as optional interface methods.
Also introduce Readables & Writables custom types.
* Move websocket code into its own module
* Add websocket client example
* Cleanup websocket client
* Decouple SSL wrap logic into connection classes (#394)
* Move wrap functionality within respective connection classes. Also decouple websocket client handshake method
* Add a TCP echo client example that works with TCP echo server example
* Add SSL echo server & client example (#395)
* Move wrap_socket for SSL server within utils.
Also complete proxy.common.pki gen_csr and sign_csr actions. Used by Makefile sign-https-certificates.
* Add SSL echo server and client example
* Add examples documentation
* Add core pubsub eventing example and add menubar item skeleton (#396)
* Initialize menu bar items with click handler and open a popover for preferences
* Add Core PubSub eventing example
* Remove hardcoded request ids
* Move codecov.yml to top level directory (#400)
* Add cross ref for how to generate SSL certs. (#401)
* Add plugin "FilterByURLRegexPlugin" (#397)
* Initial draft of filter_by_url_regex.py
* Add FilterByURLRegexPlugin
* Fix dictionary key & add logging
* Add proper logging
* Add better logging
* Add logging
* move code to handle_client_request
* development logging
* development
* development
* development
* dev
* dev
* dev
* dev
* dev
* dev
* dev
* dev
* dev
* dev
* dev
* Fix blocked log
* Add to FILTER_LIST, some tidy up
* Update FILTER_LIST
* dev
* remove scheme from url
* Add to FILTER_LIST
* Add to FILTER_LIST
* Update FILTER_LIST
* commenting
* Update FILTER_LIST
* After autopep8
* Fix Anomalous backslash in string (pep8)
* Address code quality checks - flake8 F401 & W605
* Address flake8 errors
* Attempt to fix flake8 errors
* Fix linting issues
* Address flake8 W292
* Attempt to create tests
* Add FilterByURLRegexPlugin
* Rename test
* Work on tests
* Work on tests
* Work on tests
Co-authored-by: Abhinav Singh <[email protected]>
* Update tox from 3.16.1 to 3.17.0 (#402)
* Update codecov from 2.1.7 to 2.1.8 (#404)
* Update tox from 3.17.0 to 3.17.1 (#403)
Co-authored-by: Abhinav Singh <[email protected]>
* Bump lodash from 4.17.15 to 4.17.19 in /dashboard (#405)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.15...4.17.19)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update tox from 3.17.1 to 3.18.0 (#406)
* Update coverage from 5.2 to 5.2.1 (#407)
* Update tox from 3.18.0 to 3.18.1 (#408)
* Fix docker build by using correct pip flags (#417)
* Update tox from 3.18.1 to 3.19.0 (#416)
Co-authored-by: Abhinav Singh <[email protected]>
* Update autopep8 from 1.5.3 to 1.5.4 (#412)
Co-authored-by: Abhinav Singh <[email protected]>
* Update pytest from 5.4.3 to 6.0.1 (#410)
Co-authored-by: Abhinav Singh <[email protected]>
* npm upgrade (#418)
* Remove test for 'HttpWebServerRouteHandler'
This does not exist (as fas as I can see) and it bother the linter (Mypy),
when I tell it `klass` is a `type` instance.
* Pass a list plugin class objects or bytes to proxy when used in embeded mode.
No automated tests for the feature yet.
* Tests for Flags.load_plugins method.
* Ensure plugins are loaded only once.
Also changed module name for plugins passed by type.
* Update wheel from 0.34.2 to 0.35.0 (#421)
* Allow to use types when embeding Proxy (#420)
* Remove test for 'HttpWebServerRouteHandler'
This does not exist (as fas as I can see) and it bother the linter (Mypy),
when I tell it `klass` is a `type` instance.
* Pass a list plugin class objects or bytes to proxy when used in embeded mode.
No automated tests for the feature yet.
* Tests for Flags.load_plugins method.
* Ensure plugins are loaded only once.
Also changed module name for plugins passed by type.
Co-authored-by: Abhinav Singh <[email protected]>
* Documentation for plugin loading in embedded mode (#422)
* Update pytest-cov from 2.10.0 to 2.10.1 (#423)
* Update wheel from 0.35.0 to 0.35.1 (#424)
* Update typing-extensions from 3.7.4.2 to 3.7.4.3 (#428)
* Update codecov from 2.1.8 to 2.1.9 (#427)
Co-authored-by: Abhinav Singh <[email protected]>
* Update pylint from 2.5.3 to 2.6.0 (#426)
Co-authored-by: Abhinav Singh <[email protected]>
* Update paramiko from 2.7.1 to 2.7.2 (#429)
* Update pytest from 6.0.1 to 6.1.0 (#436)
* Update coverage from 5.2.1 to 5.3 (#433)
Co-authored-by: Abhinav Singh <[email protected]>
* Update tox from 3.19.0 to 3.20.0 (#430)
Co-authored-by: Abhinav Singh <[email protected]>
* Update flake8 from 3.8.3 to 3.8.4 (#439)
* Allow plugins to add custom command line flags (#438)
* Allow plugins to add custom command line flags. Addresses #301
* Reduce dependency over Flags class. This will be deprecated so that adhoc flags can be added without any additional manual configuration
* Fix: Argument 1 to "mock_default_args" of "TestMain" has incompatible type "Namespace"; expected "Mock"
* Reduce Flags class to just the initializer.
* Store list of action dest in FlagParser
* Update pytest from 6.1.0 to 6.1.1 (#440)
* More examples (#444)
* Refactor into BaseServerHandler and BaseEchoServerHandler classes
* Add connect tunnel example
* Update rope from 0.17.0 to 0.18.0 (#445)
* Update tox from 3.20.0 to 3.20.1 (#446)
* Update codecov from 2.1.9 to 2.1.10 (#447)
* Update mypy (#449)
* Fix path to devtools websocket endpoint, broken after refactoring (#450)
* Relax proxy auth requirement to allow mixed case for the auth type e.g. "basic", "Basic", "BaSiC" are all allowed (#451)
* Go flagless to allow custom user defined flags. (#452)
* Go flagless to allow custom user defined flags. Fixes #301
* Add --cache-dir flag for cache plugin (when used with on-disk store)
* Enable discovery of flags from external plugins, example those that reside outside of proxy.py package and loaded on demand. This also allows external flags to surface in --help section
* Define --filtered-client-ips flag for FilterByClientIpPlugin
* Separate basic auth plugin outside of core server (#453)
* Separate basic auth plugin outside of core
* Put basic auth plugin at top
* Create codeql-analysis.yml (#454)
* Create SECURITY.md (#455)
* Refactor (#456)
* Update pytest from 6.1.1 to 6.1.2 (#457)
* npm update (#460)
* Refactor base server interfaces into core modules (#461)
* Ensure pending buffers are flushed before shutting down in base_server.py
Handle unsupported scheme cases within connect_tunnel.py
* Move base implementations within core module
* Update ssl_echo_server
* Update wheel from 0.35.1 to 0.36.0 (#462)
* Update wheel from 0.36.0 to 0.36.1 (#463)
* Update pytest from 6.1.2 to 6.2.0 (#465)
* Update wheel from 0.36.1 to 0.36.2 (#466)
* Update pytest from 6.2.0 to 6.2.1 (#467)
* Update codecov from 2.1.10 to 2.1.11 (#469)
* Add version check for README.md (#471)
Co-authored-by: pyup.io bot <[email protected]>
Co-authored-by: Mike <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pascal COMBES <[email protected]>1 parent 7ccdc2a commit 5b5c77e
File tree
88 files changed
+3768
-1661
lines changed- .github/workflows
- dashboard
- src
- examples
- proxy
- common
- core
- acceptor
- base
- connection
- event
- dashboard
- http
- inspector
- proxy
- server
- websocket
- plugin
- cache
- store
- tests
- common
- core
- http
- plugin
- testing
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
88 files changed
+3768
-1661
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| |||
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
43 | 60 | | |
44 | 61 | | |
45 | 62 | | |
| |||
73 | 90 | | |
74 | 91 | | |
75 | 92 | | |
76 | | - | |
77 | | - | |
| 93 | + | |
| 94 | + | |
78 | 95 | | |
79 | 96 | | |
80 | 97 | | |
| |||
93 | 110 | | |
94 | 111 | | |
95 | 112 | | |
96 | | - | |
| 113 | + | |
97 | 114 | | |
98 | 115 | | |
99 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| 75 | + | |
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
| |||
669 | 672 | | |
670 | 673 | | |
671 | 674 | | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
672 | 726 | | |
673 | 727 | | |
674 | 728 | | |
| |||
774 | 828 | | |
775 | 829 | | |
776 | 830 | | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
777 | 847 | | |
778 | 848 | | |
779 | 849 | | |
| |||
1103 | 1173 | | |
1104 | 1174 | | |
1105 | 1175 | | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
1106 | 1206 | | |
1107 | 1207 | | |
1108 | 1208 | | |
| |||
1603 | 1703 | | |
1604 | 1704 | | |
1605 | 1705 | | |
1606 | | - | |
| 1706 | + | |
1607 | 1707 | | |
1608 | 1708 | | |
1609 | 1709 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
File renamed without changes.
0 commit comments