Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Correctly mention previous copyright (#16820) | Erik Johnston | 2024-01-23 | 1 | -0/+2 |
| | | | | | During the migration the automated script to update the copyright headers accidentally got rid of some of the existing copyright lines. Reinstate them. | ||||
* | Update license headers | Patrick Cloke | 2023-11-21 | 1 | -11/+16 |
| | |||||
* | Bump black from 22.12.0 to 23.1.0 (#15103) | dependabot[bot] | 2023-02-22 | 1 | -1/+0 |
| | |||||
* | Remove code generating comments in configuration file (#12941) | Shay | 2022-06-14 | 1 | -50/+0 |
| | |||||
* | Add missing type hints to config classes. (#12402) | Patrick Cloke | 2022-04-11 | 1 | -5/+7 |
| | |||||
* | Refuse to start if DB has an unsafe locale (#12262) | Shay | 2022-03-23 | 1 | -0/+6 |
| | |||||
* | Additional type hints for config module. (#11465) | Patrick Cloke | 2021-12-01 | 1 | -6/+7 |
| | | | | This adds some misc. type hints to helper methods used in the `synapse.config` module. | ||||
* | Allow setting transaction limit for db connections (#10440) | Toni Spets | 2021-08-02 | 1 | -0/+4 |
| | | | | | | | Setting the value will help PostgreSQL free up memory by recycling the connections in the connection pool. Signed-off-by: Toni Spets <toni.spets@iki.fi> | ||||
* | Update links to documentation in sample config (#10287) | Dirk Klimpel | 2021-07-07 | 1 | -1/+2 |
| | | | Signed-off-by: Dirk Klimpel dirk@klimpel.org | ||||
* | Add port parameter to the sample config for psycopg2 args (#9911) | Andrew Morgan | 2021-05-04 | 1 | -0/+1 |
| | | | Adds the `port` option with the default value to the sample config file. | ||||
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -1/+0 |
| | | | | | | | 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>` | ||||
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -2/+1 |
| | | | | | | | - Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version | ||||
* | Rename database classes to make some sense (#8033) | Erik Johnston | 2020-08-05 | 1 | -1/+4 |
| | |||||
* | Change sample config's postgres user to synapse_user (#7889) | Andrew Morgan | 2020-07-20 | 1 | -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 Brown | 2020-05-11 | 1 | -6/+0 |
| | | | | variables (#6391) | ||||
* | Fix typo 'datbases' in ConfigError | Andrew Morgan | 2020-04-28 | 1 | -1/+1 |
| | |||||
* | Don't default to an invalid sqlite config if no database configuration is ↵ | Nektarios Katakis | 2020-03-26 | 1 | -22/+47 |
| | | | | provided (#6573) | ||||
* | Improve database configuration docs (#6988) | Richard van der Hoff | 2020-03-20 | 1 | -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 Johnston | 2020-01-06 | 1 | -13/+42 |
| | |||||
* | Split state groups into a separate data store (#6296) | Erik Johnston | 2019-12-20 | 1 | -5/+5 |
| | |||||
* | Add database config class (#6513) | Erik Johnston | 2019-12-18 | 1 | -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 Brown | 2019-10-10 | 1 | -0/+2 |
| | |||||
* | Config templating (#5900) | Jorik Schellekens | 2019-08-28 | 1 | -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 method | Erik Johnston | 2019-07-15 | 1 | -1/+2 |
| | |||||
* | Don't load the generated config as the default. | Richard van der Hoff | 2019-06-24 | 1 | -1/+1 |
| | | | | It's too confusing. | ||||
* | Pass config_dir_path and data_dir_path into Config.read_config. (#5522) | Richard van der Hoff | 2019-06-24 | 1 | -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 Brown | 2019-06-20 | 1 | -17/+14 |
| | |||||
* | Comment out most options in the generated config. (#4863) | Richard van der Hoff | 2019-03-19 | 1 | -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 Hoff | 2019-03-04 | 1 | -1/+2 |
| | |||||
* | Add a script to generate a clean config file (#4315) | Richard van der Hoff | 2018-12-22 | 1 | -2/+3 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Implement configurable stats reporting | Daniel Wagner-Hall | 2015-09-22 | 1 | -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 Haines | 2015-05-01 | 1 | -1/+2 |
| | | | | default keys | ||||
* | Manually generate the default config yaml, remove most of the commandline ↵ | Mark Haines | 2015-04-30 | 1 | -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 module | Erik Johnston | 2015-04-27 | 1 | -2/+21 |
| | |||||
* | Update --database-path metavar to SQLITE_DATABASE_PATH | Erik Johnston | 2015-04-17 | 1 | -1/+1 |
| | |||||
* | Make database selection configurable | Erik Johnston | 2015-03-20 | 1 | -0/+9 |
| | |||||
* | Add a cache for get_event | Mark Haines | 2015-02-11 | 1 | -0/+5 |
| | |||||
* | Allow ':memory:' as the database path for sqlite3 | Mark Haines | 2015-01-19 | 1 | -1/+4 |
| | |||||
* | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Fix pep8 warnings | Mark Haines | 2014-10-30 | 1 | -1/+1 |
| | |||||
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵ | Matthew Hodgson | 2014-09-03 | 1 | -1/+1 |
| | | | | hasn't been incorporated in time for launch. | ||||
* | Fix homeserver config parsing | Mark Haines | 2014-09-01 | 1 | -2/+3 |
| | |||||
* | Add config tree to synapse. Add support for reading config from a file | Mark Haines | 2014-08-31 | 1 | -0/+36 |