anonymousland-synapse/synapse
Andrew Morgan 5b268997bd
Allow providing credentials to HTTPS_PROXY (#9657)
Addresses https://github.com/matrix-org/synapse-dinsic/issues/70

This PR causes `ProxyAgent` to attempt to extract credentials from an `HTTPS_PROXY` env var. If credentials are found, a `Proxy-Authorization` header ([details](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authorization)) is sent to the proxy server to authenticate against it. The headers are *not* passed to the remote server.

Also added some type hints.
2021-03-22 17:20:47 +00:00
..
_scripts Strip trailing / from server_url in register_new_matrix_user (#8823) 2020-11-26 10:57:26 +00:00
api Merge branch 'develop' into babolivier/msc3026 2021-03-19 16:12:40 +01:00
app Fix lint 2021-03-19 16:11:08 +01:00
appservice Add ResponseCache tests. (#9458) 2021-03-08 14:00:07 -05:00
config Merge branch 'develop' into babolivier/msc3026 2021-03-19 16:12:40 +01:00
crypto Enable flake8-bugbear, but disable most checks. (#9499) 2021-03-16 14:19:27 -04:00
events Ensure we use a copy of the event content dict before modifying it in serialize_event (#9585) 2021-03-17 16:51:55 +00:00
federation Make federation catchup send last event from any server. (#9640) 2021-03-18 15:52:26 +00:00
groups Add type hints to groups code. (#9393) 2021-02-17 08:41:47 -05:00
handlers Incorporate review 2021-03-19 18:19:50 +01:00
http Allow providing credentials to HTTPS_PROXY (#9657) 2021-03-22 17:20:47 +00:00
logging Fix additional type hints from Twisted 21.2.0. (#9591) 2021-03-12 11:37:57 -05:00
metrics Fix additional type hints from Twisted upgrade. (#9518) 2021-03-03 15:47:38 -05:00
module_api Record the SSO Auth Provider in the login token (#9510) 2021-03-04 14:44:22 +00:00
push Fixed code misc. quality issues (#9649) 2021-03-22 11:18:13 -04:00
replication Fix up types for the typing handler. (#9638) 2021-03-17 11:30:21 -04:00
res/templates Support not providing an IdP icon when choosing a username. (#9440) 2021-02-19 07:48:46 -05:00
rest Incorporate review 2021-03-19 18:19:50 +01:00
server_notices Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
spam_checker_api Combine SpamCheckerApi with the more generic ModuleApi. (#8464) 2020-10-07 12:03:26 +01:00
state Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
static Add initial support for a "pick your IdP" page (#9017) 2021-01-05 11:25:28 +00:00
storage Consistently check whether a password may be set for a user. (#9636) 2021-03-18 12:54:08 -04:00
streams Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
util Fixed code misc. quality issues (#9649) 2021-03-22 11:18:13 -04:00
__init__.py 1.30.0 2021-03-22 13:15:55 +00:00
event_auth.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
notifier.py Update black, and run auto formatting over the codebase (#9381) 2021-02-16 22:32:34 +00:00
python_dependencies.py Add a comment about systemd-python. (#9464) 2021-02-23 13:42:36 +00:00
secrets.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
server.py Initial spaces summary API (#9643) 2021-03-18 18:24:16 +00:00
types.py Convert Requester to attrs (#9586) 2021-03-10 18:15:56 +00:00
visibility.py Merge pull request #9150 from Yoric/develop-context 2021-02-08 15:53:44 +01:00