anonymousland-synapse/synapse
Kento Okamoto 72935b7c50
Add warnings to ip_range_blacklist usage with proxies (#10129)
Per issue #9812 using `url_preview_ip_range_blacklist` with a proxy via `HTTPS_PROXY` or `HTTP_PROXY` environment variables has some inconsistent bahavior than mentioned. This PR changes the following:

- Changes the Sample Config file to include a note mentioning that `url_preview_ip_range_blacklist` and `ip_range_blacklist` is ignored when using a proxy
- Changes some logic in synapse/config/repository.py to send a warning when both `*ip_range_blacklist` configs and a proxy environment variable are set and but no longer throws an error.

Signed-off-by: Kento Okamoto <kentokamoto@protonmail.com>
2021-08-03 18:13:34 +00:00
..
_scripts Remove shebang line from module files (#10415) 2021-07-29 21:34:14 +01:00
api Make historical events discoverable from backfill for servers without any scrollback history (MSC2716) (#10245) 2021-07-28 10:46:37 -05:00
app Remove shebang line from module files (#10415) 2021-07-29 21:34:14 +01:00
appservice Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
config Add warnings to ip_range_blacklist usage with proxies (#10129) 2021-08-03 18:13:34 +00:00
crypto Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
events Make historical events discoverable from backfill for servers without any scrollback history (MSC2716) (#10245) 2021-07-28 10:46:37 -05:00
federation Prune inbound federation queues if they get too long (#10390) 2021-08-02 13:37:25 +00:00
groups Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
handlers Make sync response cache time configurable. (#10513) 2021-08-03 14:45:04 +01:00
http Fix up type hints for Twisted 21.7 (#10490) 2021-07-28 12:04:11 +00:00
logging Add a PeriodicallyFlushingMemoryHandler to prevent logging silence (#10407) 2021-07-27 14:32:05 +01:00
metrics [pyupgrade] synapse/ (#10348) 2021-07-19 15:28:05 +01:00
module_api Fix a handful of type annotations. (#10446) 2021-07-22 12:00:16 +01:00
push Remove shebang line from module files (#10415) 2021-07-29 21:34:14 +01:00
replication Fix up type hints for Twisted 21.7 (#10490) 2021-07-28 12:04:11 +00:00
res/templates Port "Allow users to click account renewal links multiple times without hitting an 'Invalid Token' page #74" from synapse-dinsic (#9832) 2021-04-19 19:16:34 +01:00
rest Make historical events discoverable from backfill for servers without any scrollback history (MSC2716) (#10245) 2021-07-28 10:46:37 -05:00
server_notices Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
spam_checker_api Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
state Add type hints to state handler. (#10482) 2021-07-26 12:49:53 -04:00
static Add initial support for a "pick your IdP" page (#9017) 2021-01-05 11:25:28 +00:00
storage Prune inbound federation queues if they get too long (#10390) 2021-08-02 13:37:25 +00:00
streams Add a return type to parse_string. (#10438) 2021-07-21 09:47:56 -04:00
util Remove shebang line from module files (#10415) 2021-07-29 21:34:14 +01:00
__init__.py 1.40.0rc1 2021-08-03 11:32:10 +01:00
event_auth.py Fix explicit assignment of PL 0 from being misinterpreted in rare circumstances (#10499) 2021-07-30 12:34:21 +01:00
notifier.py Generics for ObservableDeferred (#10491) 2021-07-28 19:55:50 +00:00
python_dependencies.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
server.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
types.py [pyupgrade] synapse/ (#10348) 2021-07-19 15:28:05 +01:00
visibility.py [pyupgrade] synapse/ (#10348) 2021-07-19 15:28:05 +01:00