Commit Graph

463 Commits

Author SHA1 Message Date
Abhinav Singh d4ee4fa15c
Async proxy pool, Event manager, Custom access log, Expose loop to plugins (#645)
* Async proxy pool

* Async proxy pool

* Late upstream initialization and exception guards

* Close upstream proxy connection on client connection close

* Refactor into EventManager

* Fix tests accounting in the event manager

* Ensure each process initializes logger

* pragma no cover

* Teardown connection when proxy pool upstream proxy closes

* Add ability to customize access log format and add additional context to it

* Maintain total size for response bytes in access logs

* Fix tests broken due to new plugin methods missing mock

* Update pubsub_eventing to use EventManager to avoid entire bootstrapping step
2021-11-01 01:19:19 +05:30
pyup.io bot 567d616274
Update coverage from 6.1 to 6.1.1 (#646) 2021-10-31 21:00:26 +05:30
imgbot[bot] fbbb917e99
[ImgBot] Optimize images (#644)
*Total -- 1,253.27kb -> 774.20kb (38.23%)

/Dashboard.png -- 1,072.21kb -> 617.66kb (42.39%)
/ProxyPy.png -- 56.83kb -> 38.15kb (32.86%)
/shortlink.gif -- 124.23kb -> 118.39kb (4.7%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-10-31 09:38:57 +05:30
Abhinav Singh 627645fa7c
Fix path to dashboard.png (#643) 2021-10-31 09:05:35 +05:30
pyup.io bot 2f614e18c1
Update coverage from 6.0.2 to 6.1 (#640)
Co-authored-by: Abhinav Singh <mailsforabhinav@gmail.com>
2021-10-31 09:03:11 +05:30
Sviatoslav Sydorenko cb243895f1
Fix the `typing_extensions` runtime dependency version (#641)
* Only use `typing_extensions` below Python 3.8

* Rely on unconstrained `typing-extensions` version
2021-10-31 08:31:34 +05:30
pyup.io bot 03ed5d4d40
Update autopep8 from 1.5.7 to 1.6.0 (#632)
Co-authored-by: Abhinav Singh <mailsforabhinav@gmail.com>
2021-10-30 05:01:19 +05:30
Abhinav Singh 7448c44cc6
v3.4.0 (#638)
* Build docker from 3.10-alpine

* Bump version to 3.4.0

* Add instructions for how to run dashboard

* Order of menu

* Override dashboard png path until submitted

* Add some doc string for top-level Proxy class.  Also some TODOs and warnings regarding PID file overwrite

* Allow HttpProxyBasePlugin implementations to register custom descriptors for read/write events

* Remove hardcoded adblock regex into json config. Update upstream filter to block facebook, not google

* ProxyPoolPlugin and ReverseProxyPlugin must now be updated to use get/read/write descriptor APIs

* Add get/read/write descriptor API for HttpWebServerBasePlugin too

* Surface actual listening port via flags.port
2021-10-30 04:32:05 +05:30
Abhinav Singh 3d8bf056fc
Add support for 3.10 (#637)
* Add support for 3.10

* Upgrade to v2 actions
2021-10-29 23:15:23 +05:30
pyup.io bot daa30d452d
Update flake8 from 3.9.2 to 4.0.1 (#627)
Co-authored-by: Abhinav Singh <mailsforabhinav@gmail.com>
2021-10-29 16:58:39 +00:00
pyup.io bot 1e33d37058
Update rope from 0.20.1 to 0.21.0 (#631) 2021-10-20 08:13:37 +05:30
pyup.io bot 64cb6d771d
Update types-paramiko from 2.7.2 to 2.7.3 (#630) 2021-10-16 00:16:36 +05:30
pyup.io bot 574bb85faa
Update types-paramiko from 2.7.1 to 2.7.2 (#629) 2021-10-13 20:57:00 +05:30
pyup.io bot a1217e0797
Update coverage from 6.0.1 to 6.0.2 (#628) 2021-10-12 15:28:36 +05:30
pyup.io bot 4a5d888f36
Update paramiko from 2.7.2 to 2.8.0 (#624) 2021-10-10 11:15:27 +05:30
pyup.io bot 464897abe7
Update coverage from 6.0 to 6.0.1 (#623) 2021-10-07 09:46:59 +05:30
pyup.io bot bac1ebab22
Update types-paramiko from 2.7.0 to 2.7.1 (#620) 2021-10-05 11:13:13 +05:30
pyup.io bot a73d56907b
Update pytest-cov from 2.12.1 to 3.0.0 (#619) 2021-10-04 12:56:53 +05:30
pyup.io bot 90a4b0caa5
Update coverage from 5.5 to 6.0 (#618) 2021-10-04 01:52:42 +05:30
pyup.io bot 4b4acae35f
Update py-spy from 0.3.9 to 0.3.10 (#616) 2021-09-28 04:24:46 +05:30
Abhinav Singh df33b40a57
add paramiko types for mypy compliance (#613) 2021-09-22 23:37:00 +00:00
pyup.io bot bca5dd5ecc
Update tox from 3.24.3 to 3.24.4 (#607)
Co-authored-by: Abhinav Singh <mailsforabhinav@gmail.com>
2021-09-23 04:31:36 +05:30
pyup.io bot b5ad9f294b
Update pylint from 2.10.2 to 2.11.1 (#609)
Co-authored-by: Abhinav Singh <mailsforabhinav@gmail.com>
2021-09-23 04:31:15 +05:30
pyup.io bot 21d95d31f1
Update rope from 0.19.0 to 0.20.1 (#611) 2021-09-23 04:28:41 +05:30
pyup.io bot ece583f8d9
Update py-spy from 0.3.7 to 0.3.9 (#604) 2021-09-15 22:18:52 +05:30
dependabot[bot] b7b10de2a8
Bump path-parse from 1.0.6 to 1.0.7 in /dashboard (#586)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Abhinav Singh <mailsforabhinav@gmail.com>
2021-09-03 18:55:51 +05:30
pyup.io bot ea85d44f1e
Update pylint from 2.9.5 to 2.10.2 (#591)
Co-authored-by: Abhinav Singh <mailsforabhinav@gmail.com>
2021-09-03 18:55:07 +05:30
pyup.io bot cc0fb0431f
Update tox from 3.24.0 to 3.24.3 (#592)
Co-authored-by: Abhinav Singh <mailsforabhinav@gmail.com>
2021-09-03 18:54:39 +05:30
pyup.io bot 288225381f
Update pytest from 6.2.4 to 6.2.5 (#598)
Co-authored-by: Abhinav Singh <mailsforabhinav@gmail.com>
2021-09-03 18:54:14 +05:30
pyup.io bot c8223db9b3
Update typing-extensions from 3.10.0.0 to 3.10.0.2 (#599) 2021-09-03 18:53:49 +05:30
pyup.io bot 8975c8e653
Update codecov from 2.1.11 to 2.1.12 (#582)
Co-authored-by: Abhinav Singh <mailsforabhinav@gmail.com>
2021-08-13 19:20:11 +05:30
pyup.io bot 8e3684e9e7
Update wheel from 0.36.2 to 0.37.0 (#585) 2021-08-13 19:19:46 +05:30
pyup.io bot 2041809f88
Update pylint from 2.9.3 to 2.9.5 (#577)
Co-authored-by: Abhinav Singh <mailsforabhinav@gmail.com>
2021-07-28 01:55:58 +05:30
pyup.io bot d719215442
Update twine from 3.4.1 to 3.4.2 (#576) 2021-07-28 01:55:38 +05:30
pyup.io bot d684d33a59
Update tox from 3.23.1 to 3.24.0 (#575) 2021-07-18 06:15:23 +05:30
pyup.io bot 8512f8b1e2
Update pylint from 2.8.3 to 2.9.3 (#573) 2021-07-03 12:56:01 +05:30
dependabot[bot] 8c7f81da3c
Bump glob-parent from 5.1.1 to 5.1.2 in /dashboard (#564)
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-12 11:57:29 +05:30
pyup.io bot 8c1d20b183
Update pytest-cov from 2.12.0 to 2.12.1 (#561) 2021-06-03 01:04:18 +05:30
pyup.io bot d977fc71e8
Update pylint from 2.8.2 to 2.8.3 (#558) 2021-06-01 22:17:17 +05:30
dependabot[bot] 525794b096
Bump ws from 7.4.0 to 7.4.6 in /dashboard (#556)
Bumps [ws](https://github.com/websockets/ws) from 7.4.0 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.0...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-30 00:05:44 +05:30
pyup.io bot 754d5a35d2
Update py-spy from 0.3.6 to 0.3.7 (#555) 2021-05-17 00:35:41 +05:30
pyup.io bot 88af8e2bab
Update pytest-cov from 2.11.1 to 2.12.0 (#552) 2021-05-14 20:28:02 +05:30
dependabot[bot] 88feecb1fb
Bump lodash from 4.17.19 to 4.17.21 in /dashboard (#550)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Abhinav Singh <mailsforabhinav@gmail.com>
2021-05-12 19:27:23 +05:30
dependabot[bot] 43ff38122a
Bump hosted-git-info from 2.8.5 to 2.8.9 in /dashboard (#548)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.5 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.5...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Abhinav Singh <mailsforabhinav@gmail.com>
2021-05-12 01:37:39 +05:30
pyup.io bot c0088b2710
Update flake8 from 3.9.1 to 3.9.2 (#549) 2021-05-09 16:44:03 +05:30
pyup.io bot 1a20c5fa8e
Update py-spy from 0.3.5 to 0.3.6 (#547) 2021-05-08 19:59:03 +05:30
pyup.io bot 92b44e18ca
Update tox from 3.23.0 to 3.23.1 (#546) 2021-05-06 19:22:51 +05:30
pyup.io bot 1b9ca716d2
Update pytest from 6.2.3 to 6.2.4 (#545) 2021-05-04 22:57:39 +05:30
pyup.io bot 5a82c661f0
Update typing-extensions from 3.7.4.3 to 3.10.0.0 (#544) 2021-05-02 11:42:38 +05:30
pyup.io bot 95c1b6f7d5
Update autopep8 from 1.5.6 to 1.5.7 (#543) 2021-04-30 16:11:43 +05:30