summary refs log tree commit diff
path: root/synapse/config/database.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Comment out most options in the generated config. (#4863)Richard van der Hoff2019-03-191-1/+2
| | | | | | | | | | | | | | | | | | | | 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.
* Include a default configuration file in the 'docs' directory. (#4791)Richard van der Hoff2019-03-041-1/+2
|
* Add a script to generate a clean config file (#4315)Richard van der Hoff2018-12-221-2/+3
|
* 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.
* Allow generate-config to run against an existing config file to generate ↵Mark Haines2015-05-011-1/+2
| | | | default keys
* Manually generate the default config yaml, remove most of the commandline ↵Mark Haines2015-04-301-34/+39
| | | | 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
* Move database configuration into config moduleErik Johnston2015-04-271-2/+21
|
* Update --database-path metavar to SQLITE_DATABASE_PATHErik Johnston2015-04-171-1/+1
|
* Make database selection configurableErik Johnston2015-03-201-0/+9
|
* Add a cache for get_eventMark Haines2015-02-111-0/+5
|
* Allow ':memory:' as the database path for sqlite3Mark Haines2015-01-191-1/+4
|
* Update copyright noticesMark Haines2015-01-061-1/+1
|
* Fix pep8 warningsMark Haines2014-10-301-1/+1
|
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-031-1/+1
| | | | hasn't been incorporated in time for launch.
* Fix homeserver config parsingMark Haines2014-09-011-2/+3
|
* Add config tree to synapse. Add support for reading config from a fileMark Haines2014-08-311-0/+36