Codebase list matrix-synapse / afa0c50
Merge remote-tracking branch 'matrix/debian' into debian/master Andrej Shadura 5 years ago
17 changed file(s) with 228 addition(s) and 95 deletion(s). Raw diff Collapse all Expand all
44 tox.ini
55 .git/*
66 .tox/*
7 debian/matrix-synapse/
8 debian/matrix-synapse-*/
1717 homeserver*.log
1818 homeserver*.log.*
1919 homeserver*.pid
20 homeserver*.yaml
20 /homeserver*.yaml
2121
2222 *.signing.key
2323 *.tls.crt
2525 *.tls.key
2626
2727 .coverage
28 .coverage.*
29 !.coverage.rc
2830 htmlcov
2931
3032 demo/*/*.db
5658
5759 .vscode/
5860 .ropeproject/
61
62 *.deb
63
64 /debs
0 Synapse 0.34.0rc2 (2018-12-11)
1 ==============================
0 Synapse 0.34.0 (2018-12-20)
1 ===========================
2
3 Synapse 0.34.0 is the first release to fully support Python 3. Synapse will now
4 run on Python versions 3.5 or 3.6 (as well as 2.7). Support for Python 3.7
5 remains experimental.
6
7 We recommend upgrading to Python 3, but make sure to read the [upgrade
8 notes](UPGRADE.rst#upgrading-to-v0340) when doing so.
29
310 Features
411 --------
512
13 - Add 'sandbox' to CSP for media reprository ([\#4284](https://github.com/matrix-org/synapse/issues/4284))
14 - Make the new landing page prettier. ([\#4294](https://github.com/matrix-org/synapse/issues/4294))
15 - Fix deleting E2E room keys when using old SQLite versions. ([\#4295](https://github.com/matrix-org/synapse/issues/4295))
616 - Add a welcome page for the client API port. Credit to @krombel! ([\#4289](https://github.com/matrix-org/synapse/issues/4289))
717 - Remove Matrix console from the default distribution ([\#4290](https://github.com/matrix-org/synapse/issues/4290))
8
9
10 Internal Changes
11 ----------------
12
13 - Disable pager when running git-show in CI ([\#4291](https://github.com/matrix-org/synapse/issues/4291))
14
15
16 Synapse 0.34.0rc1 (2018-12-04)
17 ==============================
18
19 Synapse 0.34 is the first release to fully support Python 3. We recommend
20 upgrading to Python 3, but make sure to read the
21 [upgrade notes](UPGRADE.rst#upgrading-to-v0340) when doing so.
22
23 Features
24 --------
25
2618 - Add option to track MAU stats (but not limit people) ([\#3830](https://github.com/matrix-org/synapse/issues/3830))
2719 - Add an option to enable recording IPs for appservice users ([\#3831](https://github.com/matrix-org/synapse/issues/3831))
28 - Rename login type m.login.cas to m.login.sso ([\#4220](https://github.com/matrix-org/synapse/issues/4220))
20 - Rename login type `m.login.cas` to `m.login.sso` ([\#4220](https://github.com/matrix-org/synapse/issues/4220))
2921 - Add an option to disable search for homeservers that may not be interested in it. ([\#4230](https://github.com/matrix-org/synapse/issues/4230))
3022
3123
4840 Internal Changes
4941 ----------------
5042
51 - A coveragerc file, as well as the py36-coverage tox target, have been added. ([\#4180](https://github.com/matrix-org/synapse/issues/4180))
43 - Debian packages utilising a virtualenv with bundled dependencies can now be built. ([\#4212](https://github.com/matrix-org/synapse/issues/4212))
44 - Disable pager when running git-show in CI ([\#4291](https://github.com/matrix-org/synapse/issues/4291))
45 - A coveragerc file has been added. ([\#4180](https://github.com/matrix-org/synapse/issues/4180))
5246 - Add a GitHub pull request template and add multiple issue templates ([\#4182](https://github.com/matrix-org/synapse/issues/4182))
53 - Update README to reflect the fact that #1491 is fixed ([\#4188](https://github.com/matrix-org/synapse/issues/4188))
47 - Update README to reflect the fact that [\#1491](https://github.com/matrix-org/synapse/issues/1491) is fixed ([\#4188](https://github.com/matrix-org/synapse/issues/4188))
5448 - Run the AS senders as background processes to fix warnings ([\#4189](https://github.com/matrix-org/synapse/issues/4189))
5549 - Add some diagnostics to the tests to detect logcontext problems ([\#4190](https://github.com/matrix-org/synapse/issues/4190))
5650 - Add missing `jpeg` package prerequisite for OpenBSD in README. ([\#4193](https://github.com/matrix-org/synapse/issues/4193))
5751 - Add a note saying you need to manually reclaim disk space after using the Purge History API ([\#4200](https://github.com/matrix-org/synapse/issues/4200))
5852 - More logcontext checking in unittests ([\#4205](https://github.com/matrix-org/synapse/issues/4205))
59 - Ignore __pycache__ directories in the database schema folder ([\#4214](https://github.com/matrix-org/synapse/issues/4214))
53 - Ignore `__pycache__` directories in the database schema folder ([\#4214](https://github.com/matrix-org/synapse/issues/4214))
6054 - Add note to UPGRADE.rst about removing riot.im from list of trusted identity servers ([\#4224](https://github.com/matrix-org/synapse/issues/4224))
6155 - Added automated coverage reporting to CI. ([\#4225](https://github.com/matrix-org/synapse/issues/4225))
6256 - Garbage-collect after each unit test to fix logcontext leaks ([\#4227](https://github.com/matrix-org/synapse/issues/4227))
3535 prune docker
3636 prune .circleci
3737 prune .coveragerc
38 prune debian
3839
3940 exclude jenkins*
4041 recursive-exclude jenkins *.sh
5050 Upgrading to v0.34.0
5151 ====================
5252
53 1. This release is the first to fully support Python 3. We recommend switching
54 to Python 3, as it has been shown to give performance improvements.
53 1. This release is the first to fully support Python 3. Synapse will now run on
54 Python versions 3.5, or 3.6 (as well as 2.7). We recommend switching to
55 Python 3, as it has been shown to give performance improvements.
5556
5657 For users who have installed Synapse into a virtualenv, we recommend doing
5758 this by creating a new virtualenv. For example::
6768 synctl start
6869
6970 Users who have installed from distribution packages should see the relevant
70 package documentation.
71 package documentation. See below for notes on Debian packages.
7172
7273 * When upgrading to Python 3, you **must** make sure that your log files are
7374 configured as UTF-8, by adding ``encoding: utf8`` to the
105106 filters: [context]
106107
107108 There is no need to revert this change if downgrading to Python 2.
109
110 We are also making available Debian packages which will run Synapse on
111 Python 3. You can switch to these packages with ``apt-get install
112 matrix-synapse-py3``, however, please read `debian/NEWS
113 <https://github.com/matrix-org/synapse/blob/release-v0.34.0/debian/NEWS>`_
114 before doing so. The existing ``matrix-synapse`` packages will continue to
115 use Python 2 for the time being.
108116
109117 2. This release removes the ``riot.im`` from the default list of trusted
110118 identity servers.
0 matrix-synapse (0.34.0-1) UNRELEASED; urgency=medium
1
2 * New upstream release.
3
4 -- Andrej Shadura <andrewsh@debian.org> Fri, 21 Dec 2018 13:22:01 +0100
5
06 matrix-synapse (0.34.0~rc2-1) unstable; urgency=medium
17
28 * New upstream version 0.34.0~rc2.
+0
-37
debian/patches/0005-Honour-config.web_client.patch less more
0 From: Erik Johnston <erikj@matrix.org>
1 Date: Fri, 10 Jun 2016 13:24:51 +0100
2 Subject: Honour config.web_client
3
4 ---
5 synapse/app/homeserver.py | 2 +-
6 1 file changed, 1 insertion(+), 1 deletion(-)
7
8 --- a/synapse/app/homeserver.py
9 +++ b/synapse/app/homeserver.py
10 @@ -95,7 +95,7 @@
11 for res in listener_config["resources"]:
12 for name in res["names"]:
13 resources.update(self._configure_named_resource(
14 - name, res.get("compress", False),
15 + config, name, res.get("compress", False),
16 ))
17
18 additional_resources = listener_config.get("additional_resources", {})
19 @@ -145,7 +145,7 @@
20 )
21 logger.info("Synapse now listening on port %d", port)
22
23 - def _configure_named_resource(self, name, compress=False):
24 + def _configure_named_resource(self, config, name, compress=False):
25 """Build a resource map for a named resource
26
27 Args:
28 @@ -209,7 +209,7 @@
29 if name in ["keys", "federation"]:
30 resources[SERVER_KEY_V2_PREFIX] = KeyApiV2Resource(self)
31
32 - if name == "webclient":
33 + if name == "webclient" and config.web_client:
34 webclient_path = self.get_config().web_client_location
35
36 if webclient_path is None:
00 0002-change_instructions.patch
1 0005-Honour-config.web_client.patch
21 0006-Avoid-pip-install.patch
0 # A dockerfile which builds a docker image for building a debian package for
1 # synapse. The distro to build for is passed as a docker build var.
2 #
3 # The default entrypoint expects the synapse source to be mounted as a
4 # (read-only) volume at /synapse/source, and an output directory at /debs.
5 #
6 # A pair of environment variables (TARGET_USERID and TARGET_GROUPID) can be
7 # passed to the docker container; if these are set, the build script will chown
8 # the build products accordingly, to avoid ending up with things owned by root
9 # in the host filesystem.
10
11 # Get the distro we want to pull from as a dynamic build variable
12 ARG distro=""
13 FROM ${distro}
14
15 # Install the build dependencies
16 RUN apt-get update -qq -o Acquire::Languages=none \
17 && env DEBIAN_FRONTEND=noninteractive apt-get install \
18 -yqq --no-install-recommends -o Dpkg::Options::=--force-unsafe-io \
19 build-essential \
20 debhelper \
21 devscripts \
22 dh-systemd \
23 dh-virtualenv \
24 equivs \
25 lsb-release \
26 python3-dev \
27 python3-pip \
28 python3-setuptools \
29 python3-venv \
30 sqlite3 \
31 wget
32
33 WORKDIR /synapse/source
34 ENTRYPOINT ["bash","/synapse/source/docker/build_debian.sh"]
0 #!/bin/bash
1
2 # The script to build the Debian package, as ran inside the Docker image.
3
4 set -ex
5
6 DIST=`lsb_release -c -s`
7
8 # We need to build a newer dh_virtualenv on older OSes like Xenial.
9 if [ "$DIST" = 'xenial' ]; then
10 mkdir -p /tmp/dhvenv
11 cd /tmp/dhvenv
12 wget https://github.com/spotify/dh-virtualenv/archive/1.1.tar.gz
13 tar xvf 1.1.tar.gz
14 cd dh-virtualenv-1.1/
15 env DEBIAN_FRONTEND=noninteractive mk-build-deps -ri -t "apt-get -yqq --no-install-recommends -o Dpkg::Options::=--force-unsafe-io"
16 dpkg-buildpackage -us -uc -b
17 cd /tmp/dhvenv
18 apt-get install -yqq ./dh-virtualenv_1.1-1_all.deb
19 fi
20
21
22 # we get a read-only copy of the source: make a writeable copy
23 cp -aT /synapse/source /synapse/build
24 cd /synapse/build
25
26 # add an entry to the changelog for this distribution
27 dch -M -l "+$DIST" "build for $DIST"
28 dch -M -r "" --force-distribution --distribution "$DIST"
29
30 dpkg-buildpackage -us -uc
31
32 ls -l ..
33
34 # copy the build results out, setting perms if necessary
35 shopt -s nullglob
36 for i in ../*.deb ../*.dsc ../*.tar.xz ../*.changes ../*.buildinfo; do
37 [ -z "$TARGET_USERID" ] || chown "$TARGET_USERID" "$i"
38 [ -z "$TARGET_GROUPID" ] || chgrp "$TARGET_GROUPID" "$i"
39 mv "$i" /debs
40 done
0 #!/bin/bash
1
2 # Build the Debian packages using Docker images.
3 #
4 # This script builds the Docker images and then executes them sequentially, each
5 # one building a Debian package for the targeted operating system. It is
6 # designed to be a "single command" to produce all the images.
7 #
8 # By default, builds for all known distributions, but a list of distributions
9 # can be passed on the commandline for debugging.
10
11 set -ex
12
13 cd `dirname $0`
14
15 if [ $# -lt 1 ]; then
16 DISTS=(debian:stretch debian:sid ubuntu:xenial ubuntu:bionic ubuntu:cosmic)
17 else
18 DISTS=("$@")
19 fi
20
21 # Make the dir where the debs will live.
22 #
23 # Note that we deliberately put this outside the source tree, otherwise we tend
24 # to get source packages which are full of debs. (We could hack around that
25 # with more magic in the build_debian.sh script, but that doesn't solve the
26 # problem for natively-run dpkg-buildpakage).
27
28 mkdir -p ../../debs
29
30 # Build each OS image;
31 for i in "${DISTS[@]}"; do
32 TAG=$(echo ${i} | cut -d ":" -f 2)
33 docker build --tag dh-venv-builder:${TAG} --build-arg distro=${i} -f Dockerfile-dhvirtualenv .
34 docker run -it --rm --volume=$(pwd)/../\:/synapse/source:ro --volume=$(pwd)/../../debs:/debs \
35 -e TARGET_USERID=$(id -u) \
36 -e TARGET_GROUPID=$(id -g) \
37 dh-venv-builder:${TAG}
38 done
2626 except ImportError:
2727 pass
2828
29 __version__ = "0.34.0rc2"
29 __version__ = "0.34.0"
7777 },
7878 "postgres": {
7979 "psycopg2>=2.6": ["psycopg2"]
80 }
80 },
8181 }
8282
8383
4747 set_cors_headers(request)
4848 request.setHeader(
4949 b"Content-Security-Policy",
50 b"default-src 'none';"
50 b"sandbox;"
51 b" default-src 'none';"
5152 b" script-src 'none';"
5253 b" plugin-types application/pdf;"
5354 b" style-src 'unsafe-inline';"
0 <html>
1 <head>
2 <title>Synapse is running</title>
3 <style>
4 body {
5 width: 30em;
6 margin: 0 auto;
7 font-family: Tahoma, Verdana, Arial, sans-serif;
8 }
9 h1 {
10 text-align: center;
11 }
12 </style>
13 </head>
14 <body>
15 <h1>Synapse is running</h1>
16 <p>Congratulations!</p>
17 <p>Your Synapse server is listening on this port and is ready for messages.</p>
18 <p>To use this server you'll need a client - e.g. one of
19 <a href="https://matrix.org/docs/projects/try-matrix-now.html#clients">this list of Matrix clients</a>.</p>
20 <p>You can find (federated) rooms that might be of interest to you on
21 <a href="https://view.matrix.org/">view.matrix.org</a>.</p>
22 <p>Or you just start creating your own rooms with your friends.</p>
23 <p>Welcome to the Matrix universe :)</p>
24 </body>
0 <!DOCTYPE html>
1 <html lang="en">
2 <head>
3 <title>Synapse is running</title>
4 <style>
5 body {
6 font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
7 max-width: 40em;
8 margin: auto;
9 text-align: center;
10 }
11 h1, p {
12 margin: 1.5em;
13 }
14 hr {
15 border: none;
16 background-color: #ccc;
17 color: #ccc;
18 height: 1px;
19 width: 7em;
20 margin-top: 4em;
21 }
22 .logo {
23 display: block;
24 width: 12em;
25 margin: 4em auto;
26 }
27 </style>
28 </head>
29 <body>
30 <div class="logo">
31 <svg role="img" aria-label="[Matrix logo]" viewBox="0 0 200 85" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
32 <g id="parent" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
33 <g id="child" transform="translate(-122.000000, -6.000000)" fill="#000000" fill-rule="nonzero">
34 <g id="matrix-logo" transform="translate(122.000000, 6.000000)">
35 <polygon id="left-bracket" points="2.24708861 1.93811009 2.24708861 82.7268844 8.10278481 82.7268844 8.10278481 84.6652459 0 84.6652459 0 0 8.10278481 0 8.10278481 1.93811009"></polygon>
36 <path d="M24.8073418,27.5493174 L24.8073418,31.6376991 L24.924557,31.6376991 C26.0227848,30.0814294 27.3455696,28.8730642 28.8951899,28.0163743 C30.4437975,27.1611927 32.2189873,26.7318422 34.218481,26.7318422 C36.1394937,26.7318422 37.8946835,27.102622 39.4825316,27.8416679 C41.0708861,28.5819706 42.276962,29.8856073 43.1005063,31.7548404 C44.0017722,30.431345 45.2270886,29.2629486 46.7767089,28.2506569 C48.3253165,27.2388679 50.158481,26.7318422 52.2764557,26.7318422 C53.8843038,26.7318422 55.3736709,26.9269101 56.7473418,27.3162917 C58.1189873,27.7056734 59.295443,28.3285835 60.2759494,29.185022 C61.255443,30.0422147 62.02,31.1615927 62.5701266,32.5426532 C63.1187342,33.9262275 63.3936709,35.5898349 63.3936709,37.5372459 L63.3936709,57.7443688 L55.0410127,57.7441174 L55.0410127,40.6319376 C55.0410127,39.6201486 55.0020253,38.6661761 54.9232911,37.7700202 C54.8440506,36.8751211 54.6293671,36.0968606 54.2764557,35.4339817 C53.9232911,34.772611 53.403038,34.2464807 52.7177215,33.8568477 C52.0313924,33.4689743 51.0997468,33.2731523 49.9235443,33.2731523 C48.7473418,33.2731523 47.7962025,33.4983853 47.0706329,33.944578 C46.344557,34.393033 45.7764557,34.9774826 45.3650633,35.6969211 C44.9534177,36.4181193 44.6787342,37.2353431 44.5417722,38.150855 C44.4037975,39.0653615 44.3356962,39.9904257 44.3356962,40.9247908 L44.3356962,57.7443688 L35.9835443,57.7443688 L35.9835443,40.8079009 C35.9835443,39.9124991 35.963038,39.0263982 35.9253165,38.150855 C35.8853165,37.2743064 35.7192405,36.4666349 35.424557,35.7263321 C35.1303797,34.9872862 34.64,34.393033 33.9539241,33.944578 C33.2675949,33.4983853 32.2579747,33.2731523 30.9248101,33.2731523 C30.5321519,33.2731523 30.0126582,33.3608826 29.3663291,33.5365945 C28.7192405,33.7118037 28.0913924,34.0433688 27.4840506,34.5292789 C26.875443,35.0164459 26.3564557,35.7172826 25.9250633,36.6315376 C25.4934177,37.5470495 25.2779747,38.7436 25.2779747,40.2229486 L25.2779747,57.7441174 L16.9260759,57.7443688 L16.9260759,27.5493174 L24.8073418,27.5493174 Z" id="m"></path>
37 <path d="M68.7455696,31.9886202 C69.6075949,30.7033339 70.7060759,29.672189 72.0397468,28.8926716 C73.3724051,28.1141596 74.8716456,27.5596239 76.5387342,27.2283101 C78.2050633,26.8977505 79.8817722,26.7315908 81.5678481,26.7315908 C83.0974684,26.7315908 84.6458228,26.8391798 86.2144304,27.0525982 C87.7827848,27.2675248 89.2144304,27.6865688 90.5086076,28.3087248 C91.8025316,28.9313835 92.8610127,29.7983798 93.6848101,30.9074514 C94.5083544,32.0170257 94.92,33.4870734 94.92,35.3173431 L94.92,51.026844 C94.92,52.3913138 94.998481,53.6941963 95.1556962,54.9400165 C95.3113924,56.1865908 95.5863291,57.120956 95.9787342,57.7436147 L87.5091139,57.7436147 C87.3518987,57.276055 87.2240506,56.7996972 87.1265823,56.3125303 C87.0278481,55.8266202 86.9592405,55.3301523 86.9207595,54.8236294 C85.5873418,56.1865908 84.0182278,57.1405633 82.2156962,57.6857982 C80.4113924,58.2295248 78.5683544,58.503022 76.6860759,58.503022 C75.2346835,58.503022 73.8817722,58.3275615 72.6270886,57.9776459 C71.3718987,57.6269761 70.2744304,57.082244 69.3334177,56.3411872 C68.3921519,55.602644 67.656962,54.6680275 67.1275949,53.5390972 C66.5982278,52.410167 66.3331646,51.065556 66.3331646,49.5087835 C66.3331646,47.7961578 66.6367089,46.384178 67.2455696,45.2756092 C67.8529114,44.1652807 68.6367089,43.2799339 69.5987342,42.6173064 C70.5589873,41.9556844 71.6567089,41.4592165 72.8924051,41.1284055 C74.1273418,40.7978459 75.3721519,40.5356606 76.6270886,40.3398385 C77.8820253,40.1457761 79.116962,39.9896716 80.3329114,39.873033 C81.5483544,39.7558917 82.6270886,39.5804312 83.5681013,39.3469028 C84.5093671,39.1133743 85.2536709,38.7732624 85.8032911,38.3250587 C86.3513924,37.8773578 86.6063291,37.2252881 86.5678481,36.3680954 C86.5678481,35.4731963 86.4210127,34.7620532 86.1268354,34.2366771 C85.8329114,33.7113009 85.4405063,33.3018092 84.9506329,33.0099615 C84.4602532,32.7181138 83.8916456,32.5232972 83.2450633,32.4255119 C82.5977215,32.3294862 81.9010127,32.2797138 81.156962,32.2797138 C79.5098734,32.2797138 78.2159494,32.6303835 77.2746835,33.3312202 C76.3339241,34.0320569 75.7837975,35.2007046 75.6275949,36.8354037 L67.275443,36.8354037 C67.3924051,34.8892495 67.8817722,33.2726495 68.7455696,31.9886202 Z M85.2440506,43.6984752 C84.7149367,43.873433 84.1460759,44.0189798 83.5387342,44.1361211 C82.9306329,44.253011 82.2936709,44.350545 81.6270886,44.4279688 C80.96,44.5066495 80.2934177,44.6034294 79.6273418,44.7203193 C78.9994937,44.8362037 78.3820253,44.9933138 77.7749367,45.1871248 C77.1663291,45.3829468 76.636962,45.6451321 76.1865823,45.9759431 C75.7349367,46.3070055 75.3724051,46.7263009 75.0979747,47.2313156 C74.8232911,47.7375872 74.6863291,48.380356 74.6863291,49.1588679 C74.6863291,49.8979138 74.8232911,50.5218294 75.0979747,51.026844 C75.3724051,51.5338697 75.7455696,51.9328037 76.2159494,52.2246514 C76.6863291,52.5164991 77.2349367,52.7213706 77.8632911,52.8375064 C78.4898734,52.9546477 79.136962,53.012967 79.8037975,53.012967 C81.4506329,53.012967 82.724557,52.740978 83.6273418,52.1952404 C84.5288608,51.6507596 85.1949367,50.9981872 85.6270886,50.2382771 C86.0579747,49.4793725 86.323038,48.7119211 86.4212658,47.9321523 C86.518481,47.1536404 86.5681013,46.5304789 86.5681013,46.063422 L86.5681013,42.9677248 C86.2146835,43.2799339 85.7736709,43.5230147 85.2440506,43.6984752 Z" id="a"></path>
38 <path d="M116.917975,27.5493174 L116.917975,33.0976917 L110.801266,33.0976917 L110.801266,48.0492936 C110.801266,49.4502128 111.036203,50.3850807 111.507089,50.8518862 C111.976962,51.3191945 112.918734,51.5527229 114.33038,51.5527229 C114.801013,51.5527229 115.251392,51.5336183 115.683038,51.4944037 C116.114177,51.4561945 116.526076,51.3968697 116.917975,51.3194459 L116.917975,57.7438661 C116.212152,57.860756 115.427595,57.9381798 114.565316,57.9778972 C113.702785,58.0153523 112.859747,58.0357138 112.036203,58.0357138 C110.742278,58.0357138 109.516456,57.9477321 108.36,57.7722716 C107.202785,57.5975651 106.183544,57.2577046 105.301519,56.7509303 C104.418987,56.2454128 103.722785,55.5242147 103.213418,54.5898495 C102.703038,53.6562385 102.448608,52.4292716 102.448608,50.9099541 L102.448608,33.0976917 L97.3903797,33.0976917 L97.3903797,27.5493174 L102.448608,27.5493174 L102.448608,18.4967596 L110.801013,18.4967596 L110.801013,27.5493174 L116.917975,27.5493174 Z" id="t"></path>
39 <path d="M128.857975,27.5493174 L128.857975,33.1565138 L128.975696,33.1565138 C129.367089,32.2213945 129.896203,31.3559064 130.563544,30.557033 C131.23038,29.7596679 131.99443,29.0776844 132.857215,28.5130936 C133.719241,27.9495083 134.641266,27.5113596 135.622532,27.1988991 C136.601772,26.8879468 137.622025,26.7315908 138.681013,26.7315908 C139.229873,26.7315908 139.836962,26.8296275 140.504304,27.0239413 L140.504304,34.7336477 C140.111646,34.6552183 139.641013,34.586844 139.092658,34.5290275 C138.543291,34.4704569 138.014177,34.4410459 137.504304,34.4410459 C135.974937,34.4410459 134.681013,34.6949358 133.622785,35.2004532 C132.564051,35.7067248 131.711392,36.397255 131.064051,37.2735523 C130.417215,38.1501009 129.955443,39.1714422 129.681266,40.3398385 C129.407089,41.5074807 129.269873,42.7736624 129.269873,44.1361211 L129.269873,57.7438661 L120.917722,57.7438661 L120.917722,27.5493174 L128.857975,27.5493174 Z" id="r"></path>
40 <path d="M144.033165,22.8767376 L144.033165,16.0435798 L152.386076,16.0435798 L152.386076,22.8767376 L144.033165,22.8767376 Z M152.386076,27.5493174 L152.386076,57.7438661 L144.033165,57.7438661 L144.033165,27.5493174 L152.386076,27.5493174 Z" id="i"></path>
41 <polygon id="x" points="156.738228 27.5493174 166.266582 27.5493174 171.619494 35.4337303 176.913418 27.5493174 186.147848 27.5493174 176.148861 41.6831927 187.383544 57.7441174 177.85443 57.7441174 171.501772 48.2245028 165.148861 57.7441174 155.797468 57.7441174 166.737468 41.8589046"></polygon>
42 <polygon id="right-bracket" points="197.580759 82.7268844 197.580759 1.93811009 191.725063 1.93811009 191.725063 0 199.828354 0 199.828354 84.6652459 191.725063 84.6652459 191.725063 82.7268844"></polygon>
43 </g>
44 </g>
45 </g>
46 </svg>
47 </div>
48 <h1>It works! Synapse is running</h1>
49 <p>Your Synapse server is listening on this port and is ready for messages.</p>
50 <p>To use this server you'll need <a href="https://matrix.org/docs/projects/try-matrix-now.html#clients" target="_blank">a Matrix client</a>.
51 </p>
52 <p>Welcome to the Matrix universe :)</p>
53 <hr>
54 <p>
55 <small>
56 <a href="https://matrix.org" target="_blank">
57 matrix.org
58 </a>
59 </small>
60 </p>
61 </body>
2562 </html>
181181
182182 keyvalues = {
183183 "user_id": user_id,
184 "version": version,
184 "version": int(version),
185185 }
186186 if room_id:
187187 keyvalues['room_id'] = room_id
118118
119119
120120 [testenv:packaging]
121 skip_install=True
121122 deps =
122123 check-manifest
123124 commands =