Jonathan de Jong
4b965c862d
Remove redundant "coding: utf-8" lines ( #9786 )
Part of #9744
Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now.
`Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
há 3 anos
Patrick Cloke
34a5696f93
Fix typos and spelling errors. ( #8639 )
há 3 anos
Patrick Cloke
77d2c05410
Add the option to validate the `iss` and `aud` claims for JWT logins. ( #7827 )
há 3 anos
Patrick Cloke
2a266f4511
Add documentation for JWT login type and improve sample config. ( #7776 )
há 3 anos
Amber Brown
f743108a94
Refactor HomeserverConfig so it can be typechecked ( #6137 )
há 4 anos
Richard van der Hoff
16b52642e2
Don't load the generated config as the default.
It's too confusing.
há 4 anos
Richard van der Hoff
c3c6b00d95
Pass config_dir_path and data_dir_path into Config.read_config. ( #5522 )
* Pull config_dir_path and data_dir_path calculation out of read_config_files
* Pass config_dir_path and data_dir_path into read_config
há 4 anos
Amber Brown
32e7c9e7f2
Run Black. ( #5482 )
há 4 anos
Richard van der Hoff
5f9bdf90fe
Attempt to make default config more consistent
The general idea here is that config examples should just have a hash and no
extraneous whitespace, both to make it easier for people who don't understand
yaml, and to make the examples stand out from the comments.
há 5 anos
Richard van der Hoff
b8ad756bd0
Fix jwt import check
This handy code attempted to check that we could import jwt, but utterly failed
to check it was the right jwt.
Fixes https://github.com/matrix-org/synapse/issues/3793
há 5 anos
Amber Brown
49af402019
run isort
há 5 anos
Erik Johnston
52ecbc2843
Make pyjwt dependency optional
há 8 anos
Niklas Riekenbrauck
565c2edb0a
Fix issues with JWT login
há 8 anos
Niklas Riekenbrauck
3f9948a069
Add JWT support
há 8 anos
Matthew Hodgson
6c28ac260c
copyrights
há 8 anos
Daniel Wagner-Hall
7213588083
Implement configurable stats reporting
SYN-287
This requires that HS owners either opt in or out of stats reporting.
When --generate-config is passed, --report-stats must be specified
If an already-generated config is used, and doesn't have the
report_stats key, it is requested to be set.
há 8 anos
Mark Haines
d624e2a638
Manually generate the default config yaml, remove most of the commandline arguments for synapse anticipating that people will use the yaml instead. Simpify implementing config options by not requiring the classes to hit the super class
há 9 anos
David Baker
255f989c7b
turns uris config options should append since it's a list
há 9 anos
Mark Haines
adb04b1e57
Update copyright notices
há 9 anos
Mark Haines
7d709542ca
Fix pep8 warnings
há 9 anos
David Baker
ec5fb77a66
Just use a yaml list for turn servers
há 9 anos
David Baker
a31bf77776
Make turn server endpoint return an empty object if no turn servers to
match the normal response. Don't break if the turn_uris option isn't
present.
há 9 anos
David Baker
5383ba5587
rename endpoint to better reflect what it is and allow specifying multiple uris
há 9 anos
David Baker
14ed6799d7
Add support for TURN servers as per the TURN REST API ( http://tools.ietf.org/html/draft-uberti-behave-turn-rest-00 )
há 9 anos