summary refs log tree commit diff
path: root/synapse/config/database.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-1/+4
|
* Change sample config's postgres user to synapse_user (#7889)Andrew Morgan2020-07-201-1/+1
| | | | | | | The [postgres setup docs](https://github.com/matrix-org/synapse/blob/develop/docs/postgres.md#set-up-database) recommend setting up your database with user `synapse_user`. However, uncommenting the postgres defaults in the sample config leave you with user `synapse`. This PR switches the sample config to recommend `synapse_user`. Took a me a second to figure this out, so assume this will beneficial to others.
* Allow configuration of Synapse's cache without using synctl or environment ↵Amber Brown2020-05-111-6/+0
| | | | variables (#6391)
* Fix typo 'datbases' in ConfigErrorAndrew Morgan2020-04-281-1/+1
|
* Don't default to an invalid sqlite config if no database configuration is ↵Nektarios Katakis2020-03-261-22/+47
| | | | provided (#6573)
* Improve database configuration docs (#6988)Richard van der Hoff2020-03-201-34/+59
| | | | | Attempts to clarify the sample config for databases, and add some stuff about tcp keepalives to `postgres.md`.
* Add experimental 'databases' config (#6580)Erik Johnston2020-01-061-13/+42
|
* Split state groups into a separate data store (#6296)Erik Johnston2019-12-201-5/+5
|
* Add database config class (#6513)Erik Johnston2019-12-181-16/+62
| | | | | This encapsulates config for a given database and is the way to get new connections.
* Refactor HomeserverConfig so it can be typechecked (#6137)Amber Brown2019-10-101-0/+2
|
* Config templating (#5900)Jorik Schellekens2019-08-281-8/+19
| | | | | | | | | | | | Template config files * Imagine a system composed entirely of x, y, z etc and the basic operations.. Wait George, why XOR? Why not just neq? George: Eh, I didn't think of that.. Co-Authored-By: Erik Johnston <erik@matrix.org>
* Change add_arguments to be a static methodErik Johnston2019-07-151-1/+2
|
* Don't load the generated config as the default.Richard van der Hoff2019-06-241-1/+1
| | | | It's too confusing.
* Pass config_dir_path and data_dir_path into Config.read_config. (#5522)Richard van der Hoff2019-06-241-1/+1
| | | | | | * 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
* Run Black. (#5482)Amber Brown2019-06-201-17/+14
|
* 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