summary refs log tree commit diff
path: root/synapse/config/__main__.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* isort 5 compatibility (#7786)Will Hunt2020-07-051-0/+1
| | | The CI appears to use the latest version of isort, which is a problem when isort gets a major version bump. Rather than try to pin the version, I've done the necessary to make isort5 happy with synapse.
* Fix synapse.config.__main__ on python 3 (#4356)Amber Brown2019-01-081-1/+1
|
* Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase ↵Amber Brown2018-10-201-1/+1
| | | | on py3) (#4068)
* Replaced all occurences of e.message with str(e)Schnuffle2018-09-271-1/+1
| | | | Signed-off-by: Schnuffle <schnuffle@github.com>
* Use syntax that works on both py2.7 and py3Mark Haines2016-03-071-1/+1
|
* Error if macaroon key is missing from configDaniel Wagner-Hall2016-02-051-1/+6
| | | | | | | | | | | | | Currently we store all access tokens in the DB, and fall back to that check if we can't validate the macaroon, so our fallback works here, but for guests, their macaroons don't get persisted, so we don't get to find them in the database. Each restart, we generate a new ephemeral key, so guests lose access after each server restart. I tried to fix up the config stuff to be less insane, but gave up, so instead I bolt on yet another piece of custom one-off insanity. Also, add some basic tests for config generation and loading.
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Fix typo when using sys.stderr.writeErik Johnston2015-08-251-1/+1
|
* Add utility to parse config and print out a keyErik Johnston2015-08-251-0/+30
Usage: ``` $ python -m synapse.config read server_name -c homeserver.yaml localhost ```