Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit b789c7e

Browse files
committed
Merge branch 'develop' into rav/saml_config_cleanup
2 parents 84a2743 + 7100b5c commit b789c7e

File tree

363 files changed

+10634
-5354
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

363 files changed

+10634
-5354
lines changed

.buildkite/docker-compose.py35.pg95.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ services:
66
image: postgres:9.5
77
environment:
88
POSTGRES_PASSWORD: postgres
9+
command: -c fsync=off
910

1011
testenv:
1112
image: python:3.5
@@ -16,6 +17,6 @@ services:
1617
SYNAPSE_POSTGRES_HOST: postgres
1718
SYNAPSE_POSTGRES_USER: postgres
1819
SYNAPSE_POSTGRES_PASSWORD: postgres
19-
working_dir: /app
20+
working_dir: /src
2021
volumes:
21-
- ..:/app
22+
- ..:/src

.buildkite/docker-compose.py37.pg11.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ services:
66
image: postgres:11
77
environment:
88
POSTGRES_PASSWORD: postgres
9+
command: -c fsync=off
910

1011
testenv:
1112
image: python:3.7
@@ -16,6 +17,6 @@ services:
1617
SYNAPSE_POSTGRES_HOST: postgres
1718
SYNAPSE_POSTGRES_USER: postgres
1819
SYNAPSE_POSTGRES_PASSWORD: postgres
19-
working_dir: /app
20+
working_dir: /src
2021
volumes:
21-
- ..:/app
22+
- ..:/src

.buildkite/docker-compose.py37.pg95.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ services:
66
image: postgres:9.5
77
environment:
88
POSTGRES_PASSWORD: postgres
9+
command: -c fsync=off
910

1011
testenv:
1112
image: python:3.7
@@ -16,6 +17,6 @@ services:
1617
SYNAPSE_POSTGRES_HOST: postgres
1718
SYNAPSE_POSTGRES_USER: postgres
1819
SYNAPSE_POSTGRES_PASSWORD: postgres
19-
working_dir: /app
20+
working_dir: /src
2021
volumes:
21-
- ..:/app
22+
- ..:/src

.buildkite/format_tap.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2019 The Matrix.org Foundation C.I.C.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
116
import sys
217
from tap.parser import Parser
318
from tap.line import Result, Unknown, Diagnostic

.buildkite/merge_base_branch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ git config --global user.name "A robot"
2727

2828
# Fetch and merge. If it doesn't work, it will raise due to set -e.
2929
git fetch -u origin $GITBASE
30-
git merge --no-edit origin/$GITBASE
30+
git merge --no-edit --no-commit origin/$GITBASE
3131

3232
# Show what we are after.
3333
git --no-pager show -s

.buildkite/pipeline.yml

Lines changed: 0 additions & 240 deletions
This file was deleted.

.coveragerc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[run]
22
branch = True
33
parallel = True
4-
include = synapse/*
4+
include=$TOP/synapse/*
5+
data_file = $TOP/.coverage
56

67
[report]
78
precision = 2

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ _trial_temp*/
2020
/*.signing.key
2121
/env/
2222
/homeserver*.yaml
23+
/logs
2324
/media_store/
2425
/uploads
2526

@@ -29,13 +30,13 @@ _trial_temp*/
2930
/.vscode/
3031

3132
# build products
32-
/.coverage*
3333
!/.coveragerc
34+
/.coverage*
35+
/.mypy_cache/
3436
/.tox
3537
/build/
3638
/coverage.*
3739
/dist/
3840
/docs/build/
3941
/htmlcov
4042
/pip-wheel-metadata/
41-

CONTRIBUTING.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Code style
5656

5757
All Matrix projects have a well-defined code-style - and sometimes we've even
5858
got as far as documenting it... For instance, synapse's code style doc lives
59-
at https://github.com/matrix-org/synapse/tree/master/docs/code_style.rst.
59+
at https://github.com/matrix-org/synapse/tree/master/docs/code_style.md.
6060

6161
Please ensure your changes match the cosmetic style of the existing project,
6262
and **never** mix cosmetic and functional changes in the same commit, as it

INSTALL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ that your email address is probably `[email protected]` rather than
3636
System requirements:
3737

3838
- POSIX-compliant system (tested on Linux & OS X)
39-
- Python 3.5, 3.6, 3.7, or 2.7
39+
- Python 3.5, 3.6, or 3.7
4040
- At least 1GB of free RAM if you want to join large public rooms like #matrix:matrix.org
4141

4242
Synapse is written in Python but some of the libraries it uses are written in
@@ -373,7 +373,7 @@ is suitable for local testing, but for any practical use, you will either need
373373
to enable a reverse proxy, or configure Synapse to expose an HTTPS port.
374374

375375
For information on using a reverse proxy, see
376-
[docs/reverse_proxy.rst](docs/reverse_proxy.rst).
376+
[docs/reverse_proxy.md](docs/reverse_proxy.md).
377377

378378
To configure Synapse to expose an HTTPS port, you will need to edit
379379
`homeserver.yaml`, as follows:
@@ -421,7 +421,7 @@ If Synapse is not configured with an SMTP server, password reset via email will
421421

422422
The easiest way to create a new user is to do so from a client like [Riot](https://riot.im).
423423

424-
Alternatively you can do so from the command line if you have installed via pip.
424+
Alternatively you can do so from the command line if you have installed via pip.
425425

426426
This can be done as follows:
427427

@@ -446,7 +446,7 @@ on your server even if `enable_registration` is `false`.
446446
## Setting up a TURN server
447447

448448
For reliable VoIP calls to be routed via this homeserver, you MUST configure
449-
a TURN server. See [docs/turn-howto.rst](docs/turn-howto.rst) for details.
449+
a TURN server. See [docs/turn-howto.md](docs/turn-howto.md) for details.
450450

451451
## URL previews
452452

0 commit comments

Comments
 (0)