synapse-product/synapse/config
Nicolai Søborg e2dabec996
Docs: Quote wildcard federation_certificate_verification_whitelist (#11381)
Otherwise I get this beautiful stacktrace:

```
python3 -m synapse.app.homeserver --config-path /etc/matrix/homeserver.yaml
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/root/synapse/synapse/app/homeserver.py", line 455, in <module>
    main()
  File "/root/synapse/synapse/app/homeserver.py", line 445, in main
    hs = setup(sys.argv[1:])
  File "/root/synapse/synapse/app/homeserver.py", line 345, in setup
    config = HomeServerConfig.load_or_generate_config(
  File "/root/synapse/synapse/config/_base.py", line 671, in load_or_generate_config
    config_dict = read_config_files(config_files)
  File "/root/synapse/synapse/config/_base.py", line 717, in read_config_files
    yaml_config = yaml.safe_load(file_stream)
  File "/root/synapse/env/lib/python3.8/site-packages/yaml/__init__.py", line 125, in safe_load
    return load(stream, SafeLoader)
  File "/root/synapse/env/lib/python3.8/site-packages/yaml/__init__.py", line 81, in load
    return loader.get_single_data()
  File "/root/synapse/env/lib/python3.8/site-packages/yaml/constructor.py", line 49, in get_single_data
    node = self.get_single_node()
  File "/root/synapse/env/lib/python3.8/site-packages/yaml/composer.py", line 36, in get_single_node
    document = self.compose_document()
  File "/root/synapse/env/lib/python3.8/site-packages/yaml/composer.py", line 55, in compose_document
    node = self.compose_node(None, None)
  File "/root/synapse/env/lib/python3.8/site-packages/yaml/composer.py", line 84, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/root/synapse/env/lib/python3.8/site-packages/yaml/composer.py", line 133, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "/root/synapse/env/lib/python3.8/site-packages/yaml/composer.py", line 82, in compose_node
    node = self.compose_sequence_node(anchor)
  File "/root/synapse/env/lib/python3.8/site-packages/yaml/composer.py", line 110, in compose_sequence_node
    while not self.check_event(SequenceEndEvent):
  File "/root/synapse/env/lib/python3.8/site-packages/yaml/parser.py", line 98, in check_event
    self.current_event = self.state()
  File "/root/synapse/env/lib/python3.8/site-packages/yaml/parser.py", line 379, in parse_block_sequence_first_entry
    return self.parse_block_sequence_entry()
  File "/root/synapse/env/lib/python3.8/site-packages/yaml/parser.py", line 384, in parse_block_sequence_entry
    if not self.check_token(BlockEntryToken, BlockEndToken):
  File "/root/synapse/env/lib/python3.8/site-packages/yaml/scanner.py", line 116, in check_token
    self.fetch_more_tokens()
  File "/root/synapse/env/lib/python3.8/site-packages/yaml/scanner.py", line 227, in fetch_more_tokens
    return self.fetch_alias()
  File "/root/synapse/env/lib/python3.8/site-packages/yaml/scanner.py", line 610, in fetch_alias
    self.tokens.append(self.scan_anchor(AliasToken))
  File "/root/synapse/env/lib/python3.8/site-packages/yaml/scanner.py", line 922, in scan_anchor
    raise ScannerError("while scanning an %s" % name, start_mark,
yaml.scanner.ScannerError: while scanning an alias
  in "/etc/matrix/homeserver.yaml", line 614, column 5
expected alphabetic or numeric character, but found '.'
  in "/etc/matrix/homeserver.yaml", line 614, column 6
```

Signed-off-by: Nicolai Søborg <git@xn--sb-lka.org>
2021-11-18 12:24:40 +00:00
..
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
__main__.py Fix synapse.config module "read" command (#11145) 2021-10-22 12:00:52 +02:00
_base.py Require direct references to configuration variables. (#10985) 2021-10-06 10:47:41 -04:00
_base.pyi Move experimental & retention config out of the server module. (#11070) 2021-10-15 14:30:48 +00:00
_util.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
account_validity.py Default value for public_baseurl (#11210) 2021-11-08 14:13:10 +00: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 Fix copy-paste error in the password section of the sample-config. (#10804) 2021-09-13 08:58:34 -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 Default value for public_baseurl (#11210) 2021-11-08 14:13:10 +00:00
consent.py Use direct references for some configuration variables (part 3) (#10885) 2021-09-23 07:13:34 -04:00
database.py Allow setting transaction limit for db connections (#10440) 2021-08-02 13:24:43 +00:00
emailconfig.py Default value for public_baseurl (#11210) 2021-11-08 14:13:10 +00:00
experimental.py Add a thread relation type per MSC3440. (#11088) 2021-10-21 14:39:16 -04: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 Move experimental & retention config out of the server module. (#11070) 2021-10-15 14:30:48 +00:00
jwt.py Update links to documentation in sample config (#10287) 2021-07-07 12:35:45 +01:00
key.py Require direct references to configuration variables. (#10985) 2021-10-06 10:47:41 -04:00
logger.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +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
oembed.py Request JSON for oEmbed requests (and ignore XML only providers). (#10759) 2021-09-08 07:17:52 -04:00
oidc.py Default value for public_baseurl (#11210) 2021-11-08 14:13:10 +00:00
password_auth_providers.py Port the Password Auth Providers module interface to the new generic interface (#10548) 2021-10-13 11:21:52 +00:00
push.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
ratelimiting.py Add types to synapse.util. (#10601) 2021-09-10 17:03:18 +01:00
redis.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
registration.py Default value for public_baseurl (#11210) 2021-11-08 14:13:10 +00:00
repository.py Require direct references to configuration variables. (#10985) 2021-10-06 10:47:41 -04:00
retention.py Move experimental & retention config out of the server module. (#11070) 2021-10-15 14:30:48 +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 Default value for public_baseurl (#11210) 2021-11-08 14:13:10 +00:00
server_notices.py Require direct references to configuration variables. (#10985) 2021-10-06 10:47:41 -04:00
server.py Default value for public_baseurl (#11210) 2021-11-08 14:13:10 +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 Default value for public_baseurl (#11210) 2021-11-08 14:13:10 +00: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 Docs: Quote wildcard federation_certificate_verification_whitelist (#11381) 2021-11-18 12:24:40 +00:00
tracer.py Update links to documentation in sample config (#10287) 2021-07-07 12:35:45 +01:00
user_directory.py Always add local users to the user directory (#10796) 2021-09-21 12:02:34 +00:00
voip.py Add config linting script that checks for bool casing (#6203) 2019-10-23 13:22:54 +01:00
workers.py Enable passing typing stream writers as a list. (#11237) 2021-11-03 14:25:47 +00:00