Upphovsman | SHA1 | Meddelande | Datum |
---|---|---|---|
Jonathan de Jong |
4b965c862d
|
Remove redundant "coding: utf-8" lines (#9786)
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>` |
3 år sedan |
Will Hunt |
62b1ce8539
|
isort 5 compatibility (#7786)
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. |
3 år sedan |
Amber Brown |
1dcb086f33
|
Fix synapse.config.__main__ on python 3 (#4356) | 5 år sedan |
Amber Brown |
e1728dfcbe
|
Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase on py3) (#4068) | 5 år sedan |
Schnuffle | dc5db01ff2 |
Replaced all occurences of e.message with str(e)
Signed-off-by: Schnuffle <schnuffle@github.com> |
5 år sedan |
Mark Haines | 239badea9b | Use syntax that works on both py2.7 and py3 | 8 år sedan |
Daniel Wagner-Hall | 6a9f1209df |
Error if macaroon key is missing from config
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. |
8 år sedan |
Matthew Hodgson | 6c28ac260c | copyrights | 8 år sedan |
Erik Johnston | 1d1c303b9b | Fix typo when using sys.stderr.write | 8 år sedan |
Erik Johnston | f63208a1c0 |
Add utility to parse config and print out a key
Usage: ``` $ python -m synapse.config read server_name -c homeserver.yaml localhost ``` |
8 år sedan |
Erik Johnston | 4807616e16 | Wire up the dictionarycache to the metrics | 8 år sedan |
Erik Johnston | 2df8dd9b37 | Move all the caches into their own package, synapse.util.caches | 8 år sedan |
Mark Haines | acb68a39e0 | Code style fixes. | 9 år sedan |
David Baker | ede491b4e0 |
Oops: second part of commit dc938606
|
9 år sedan |
Mark Haines | 97c68c508d | Move rest APIs back under the rest directory | 9 år sedan |
Mark Haines | 1d2016b4a8 | Move client v1 api rest servlets into a "client/v1" directory | 9 år sedan |
Matthew Hodgson | 8a7c1d6a00 | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch. | 9 år sedan |
Matthew Hodgson | 3e35a9f96e | add in copyrights to everything, not just the synapse subdir, and add a copyrighter.pl whilst we're at it | 9 år sedan |
matrix.org | 4f475c7697 | Reference Matrix Home Server | 9 år sedan |