summary refs log tree commit diff
path: root/synapse/config/voip.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Comment out most options in the generated config. (#4863)Richard van der Hoff2019-03-191-3/+5
| | | | | | | | | | | | | | | | | | | | Make it so that most options in the config are optional, and commented out in the generated config. The reasons this is a good thing are as follows: * If we decide that we should change the default for an option, we can do so, and only those admins that have deliberately chosen to override that option will be stuck on the old setting. * It moves us towards a point where we can get rid of the super-surprising feature of synapse where the default settings for the config come from the generated yaml. * It makes setting up a test config for unit testing an order of magnitude easier (see forthcoming PR). * It makes the generated config more consistent, and hopefully easier for users to understand.
* Attempt to make default config more consistentRichard van der Hoff2019-02-191-1/+6
| | | | | | 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.
* Comment dummy TURN parameters in default configDavid Baker2018-07-111-2/+2
| | | | | | | This default config is parsed and used a base before the actual config is overlaid, so with these values not commented out, the code to detect when no turn params were set and refuse to generate credentials was never firing because the dummy default was always set.
* typoMatthew Hodgson2017-03-151-1/+1
|
* set default for turn_allow_guests correctlyMatthew Hodgson2017-03-151-1/+1
|
* add setting (on by default) to support TURN for guestsMatthew Hodgson2017-03-151-0/+8
|
* Added default config for turn username and passwordMarvin Steadfast2017-01-191-0/+5
|
* Added username and password for turn serverMarvin Steadfast2017-01-191-1/+3
| | | | | It makes it possible to use a turn server that needs a username and password instead of a token.
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Implement configurable stats reportingDaniel Wagner-Hall2015-09-221-1/+1
| | | | | | | | | | 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.
* Manually generate the default config yaml, remove most of the commandline ↵Mark Haines2015-04-301-25/+18
| | | | 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
* turns uris config options should append since it's a listDavid Baker2015-02-241-1/+1
|
* Update copyright noticesMark Haines2015-01-061-1/+1
|
* Fix pep8 warningsMark Haines2014-10-301-1/+4
|
* Just use a yaml list for turn serversDavid Baker2014-09-251-1/+1
|
* Make turn server endpoint return an empty object if no turn servers toDavid Baker2014-09-251-1/+1
| | | | | match the normal response. Don't break if the turn_uris option isn't present.
* rename endpoint to better reflect what it is and allow specifying multiple urisDavid Baker2014-09-241-3/+3
|
* Add support for TURN servers as per the TURN REST API ↵David Baker2014-09-231-0/+41
(http://tools.ietf.org/html/draft-uberti-behave-turn-rest-00)