synapse-product/synapse/config
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
..
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
__main__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
_base.py Remove support for ACME v1 (#10194) 2021-06-17 18:56:48 +01:00
_base.pyi Add support for evicting cache entries based on last access time. (#10205) 2021-07-05 16:32:12 +01:00
_util.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
account_validity.py Add a module type for account validity (#9884) 2021-07-16 18:11:53 +02:00
api.py Send the m.room.create stripped event with invites (support MSC1772). (#9966) 2021-05-11 10:58:58 -04:00
appservice.py [pyupgrade] synapse/ (#10348) 2021-07-19 15:28:05 +01:00
auth.py Always require users to re-authenticate for dangerous operations. (#10184) 2021-06-16 11:07:28 -04:00
cache.py Make sync response cache time configurable. (#10513) 2021-08-03 14:45:04 +01:00
captcha.py Clean-up the template loading code. (#9200) 2021-01-27 10:59:50 -05:00
cas.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
consent.py Update links to documentation in sample config (#10287) 2021-07-07 12:35:45 +01:00
database.py Allow setting transaction limit for db connections (#10440) 2021-08-02 13:24:43 +00:00
emailconfig.py Update the notification email subject when invited to a space. (#10426) 2021-07-21 17:29:54 +00:00
experimental.py Support for MSC2285 (hidden read receipts) (#10413) 2021-07-28 10:05:11 +02:00
federation.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
groups.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
homeserver.py Standardise the module interface (#10062) 2021-06-18 12:15:52 +01:00
jwt.py Update links to documentation in sample config (#10287) 2021-07-07 12:35:45 +01:00
key.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
logger.py Revert use of PeriodicallyFlushingMemoryHandler by default (#10515) 2021-08-03 11:30:39 +01:00
metrics.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
modules.py Update links to documentation in sample config (#10287) 2021-07-07 12:35:45 +01:00
oidc.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
password_auth_providers.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
push.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
ratelimiting.py Bugbear: Add Mutable Parameter fixes (#9682) 2021-04-08 22:38:54 +01:00
redis.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
registration.py MSC2918 Refresh tokens implementation (#9450) 2021-06-24 14:33:20 +01:00
repository.py Add warnings to ip_range_blacklist usage with proxies (#10129) 2021-08-03 18:13:34 +00:00
room_directory.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
room.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
saml2.py Add missing type hints to synapse.util (#9982) 2021-05-24 15:32:01 -04:00
server_notices.py Rename handler and config modules which end in handler/config. (#9816) 2021-04-20 14:55:20 -04:00
server.py Add warnings to ip_range_blacklist usage with proxies (#10129) 2021-08-03 18:13:34 +00:00
spam_checker.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
sso.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
stats.py Remove functionality associated with unused historical stats tables (#9721) 2021-07-08 16:57:13 +01:00
third_party_event_rules.py Port the ThirdPartyEventRules module interface to the new generic interface (#10386) 2021-07-20 12:39:46 +02:00
tls.py [pyupgrade] synapse/ (#10348) 2021-07-19 15:28:05 +01:00
tracer.py Update links to documentation in sample config (#10287) 2021-07-07 12:35:45 +01:00
user_directory.py Update links to documentation in sample config (#10287) 2021-07-07 12:35:45 +01:00
voip.py Add config linting script that checks for bool casing (#6203) 2019-10-23 13:22:54 +01:00
workers.py Split presence out of master (#9820) 2021-04-23 12:21:55 +01:00