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

Commit 89c0cd4

Browse files
committed
Merge branch 'release-v0.9.0' of github.com:matrix-org/synapse
2 parents 231498a + 6101ce4 commit 89c0cd4

File tree

200 files changed

+9543
-3086
lines changed

Some content is hidden

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

200 files changed

+9543
-3086
lines changed

AUTHORS.rst

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
Erik Johnston <erik at matrix.org>
2+
* HS core
3+
* Federation API impl
4+
5+
Mark Haines <mark at matrix.org>
6+
* HS core
7+
* Crypto
8+
* Content repository
9+
* CS v2 API impl
10+
11+
Kegan Dougal <kegan at matrix.org>
12+
* HS core
13+
* CS v1 API impl
14+
* AS API impl
15+
16+
Paul "LeoNerd" Evans <paul at matrix.org>
17+
* HS core
18+
* Presence
19+
* Typing Notifications
20+
* Performance metrics and caching layer
21+
22+
Dave Baker <dave at matrix.org>
23+
* Push notifications
24+
* Auth CS v2 impl
25+
26+
Matthew Hodgson <matthew at matrix.org>
27+
* General doc & housekeeping
28+
* Vertobot/vertobridge matrix<->verto PoC
29+
30+
Emmanuel Rohee <manu at matrix.org>
31+
* Supporting iOS clients (testability and fallback registration)
32+
33+
Turned to Dust <dwinslow86 at gmail.com>
34+
* ArchLinux installation instructions
35+
36+
Brabo <brabo at riseup.net>
37+
* Installation instruction fixes

CHANGES.rst

+50
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,53 @@
1+
Changes in synapse v0.9.0 (2015-05-07)
2+
======================================
3+
4+
General:
5+
6+
* Add support for using a PostgreSQL database instead of SQLite. See
7+
`docs/postgres.rst`_ for details.
8+
* Add password change and reset APIs. See `Registration`_ in the spec.
9+
* Fix memory leak due to not releasing stale notifiers - SYN-339.
10+
* Fix race in caches that occasionally caused some presence updates to be
11+
dropped - SYN-369.
12+
* Check server name has not changed on restart.
13+
14+
Federation:
15+
16+
* Add key distribution mechanisms for fetching public keys of unavailable
17+
remote home servers. See `Retrieving Server Keys`_ in the spec.
18+
19+
Configuration:
20+
21+
* Add support for multiple config files.
22+
* Add support for dictionaries in config files.
23+
* Remove support for specifying config options on the command line, except
24+
for:
25+
26+
* ``--daemonize`` - Daemonize the home server.
27+
* ``--manhole`` - Turn on the twisted telnet manhole service on the given
28+
port.
29+
* ``--database-path`` - The path to a sqlite database to use.
30+
* ``--verbose`` - The verbosity level.
31+
* ``--log-file`` - File to log to.
32+
* ``--log-config`` - Python logging config file.
33+
* ``--enable-registration`` - Enable registration for new users.
34+
35+
Application services:
36+
37+
* Reliably retry sending of events from Synapse to application services, as per
38+
`Application Services`_ spec.
39+
* Application services can no longer register via the ``/register`` API,
40+
instead their configuration should be saved to a file and listed in the
41+
synapse ``app_service_config_files`` config option. The AS configuration file
42+
has the same format as the old ``/register`` request.
43+
See `docs/application_services.rst`_ for more information.
44+
45+
.. _`docs/postgres.rst`: docs/postgres.rst
46+
.. _`docs/application_services.rst`: docs/application_services.rst
47+
.. _`Registration`: https://github.com/matrix-org/matrix-doc/blob/master/specification/10_client_server_api.rst#registration
48+
.. _`Retrieving Server Keys`: https://github.com/matrix-org/matrix-doc/blob/6f2698/specification/30_server_server_api.rst#retrieving-server-keys
49+
.. _`Application Services`: https://github.com/matrix-org/matrix-doc/blob/0c6bd9/specification/25_application_service_api.rst#home-server---application-service-api
50+
151
Changes in synapse v0.8.1 (2015-03-18)
252
======================================
353

CONTRIBUTING.rst

+118
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
Contributing code to Matrix
2+
===========================
3+
4+
Everyone is welcome to contribute code to Matrix
5+
(https://github.com/matrix-org), provided that they are willing to license
6+
their contributions under the same license as the project itself. We follow a
7+
simple 'inbound=outbound' model for contributions: the act of submitting an
8+
'inbound' contribution means that the contributor agrees to license the code
9+
under the same terms as the project's overall 'outbound' license - in our
10+
case, this is almost always Apache Software License v2 (see LICENSE).
11+
12+
How to contribute
13+
~~~~~~~~~~~~~~~~~
14+
15+
The preferred and easiest way to contribute changes to Matrix is to fork the
16+
relevant project on github, and then create a pull request to ask us to pull
17+
your changes into our repo
18+
(https://help.github.com/articles/using-pull-requests/)
19+
20+
**The single biggest thing you need to know is: please base your changes on
21+
the develop branch - /not/ master.**
22+
23+
We use the master branch to track the most recent release, so that folks who
24+
blindly clone the repo and automatically check out master get something that
25+
works. Develop is the unstable branch where all the development actually
26+
happens: the workflow is that contributors should fork the develop branch to
27+
make a 'feature' branch for a particular contribution, and then make a pull
28+
request to merge this back into the matrix.org 'official' develop branch. We
29+
use github's pull request workflow to review the contribution, and either ask
30+
you to make any refinements needed or merge it and make them ourselves. The
31+
changes will then land on master when we next do a release.
32+
33+
We use Jenkins for continuous integration (http://matrix.org/jenkins), and
34+
typically all pull requests get automatically tested Jenkins: if your change breaks the build, Jenkins will yell about it in #matrix-dev:matrix.org so please lurk there and keep an eye open.
35+
36+
Code style
37+
~~~~~~~~~~
38+
39+
All Matrix projects have a well-defined code-style - and sometimes we've even
40+
got as far as documenting it... For instance, synapse's code style doc lives
41+
at https://github.com/matrix-org/synapse/tree/master/docs/code_style.rst.
42+
43+
Please ensure your changes match the cosmetic style of the existing project,
44+
and **never** mix cosmetic and functional changes in the same commit, as it
45+
makes it horribly hard to review otherwise.
46+
47+
Attribution
48+
~~~~~~~~~~~
49+
50+
Everyone who contributes anything to Matrix is welcome to be listed in the
51+
AUTHORS.rst file for the project in question. Please feel free to include a
52+
change to AUTHORS.rst in your pull request to list yourself and a short
53+
description of the area(s) you've worked on. Also, we sometimes have swag to
54+
give away to contributors - if you feel that Matrix-branded apparel is missing
55+
from your life, please mail us your shipping address to matrix at matrix.org and we'll try to fix it :)
56+
57+
Sign off
58+
~~~~~~~~
59+
60+
In order to have a concrete record that your contribution is intentional
61+
and you agree to license it under the same terms as the project's license, we've adopted the
62+
same lightweight approach that the Linux Kernel
63+
(https://www.kernel.org/doc/Documentation/SubmittingPatches), Docker
64+
(https://github.com/docker/docker/blob/master/CONTRIBUTING.md), and many other
65+
projects use: the DCO (Developer Certificate of Origin:
66+
http://developercertificate.org/). This is a simple declaration that you wrote
67+
the contribution or otherwise have the right to contribute it to Matrix::
68+
69+
Developer Certificate of Origin
70+
Version 1.1
71+
72+
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
73+
660 York Street, Suite 102,
74+
San Francisco, CA 94110 USA
75+
76+
Everyone is permitted to copy and distribute verbatim copies of this
77+
license document, but changing it is not allowed.
78+
79+
Developer's Certificate of Origin 1.1
80+
81+
By making a contribution to this project, I certify that:
82+
83+
(a) The contribution was created in whole or in part by me and I
84+
have the right to submit it under the open source license
85+
indicated in the file; or
86+
87+
(b) The contribution is based upon previous work that, to the best
88+
of my knowledge, is covered under an appropriate open source
89+
license and I have the right under that license to submit that
90+
work with modifications, whether created in whole or in part
91+
by me, under the same open source license (unless I am
92+
permitted to submit under a different license), as indicated
93+
in the file; or
94+
95+
(c) The contribution was provided directly to me by some other
96+
person who certified (a), (b) or (c) and I have not modified
97+
it.
98+
99+
(d) I understand and agree that this project and the contribution
100+
are public and that a record of the contribution (including all
101+
personal information I submit with it, including my sign-off) is
102+
maintained indefinitely and may be redistributed consistent with
103+
this project or the open source license(s) involved.
104+
105+
If you agree to this for your contribution, then all that's needed is to
106+
include the line in your commit or pull request comment::
107+
108+
Signed-off-by: Your Name <[email protected]>
109+
110+
...using your real name; unfortunately pseudonyms and anonymous contributions
111+
can't be accepted. Git makes this trivial - just use the -s flag when you do
112+
``git commit``, having first set ``user.name`` and ``user.email`` git configs
113+
(which you should have done anyway :)
114+
115+
Conclusion
116+
~~~~~~~~~~
117+
118+
That's it! Matrix is a very open and collaborative project as you might expect given our obsession with open communication. If we're going to successfully matrix together all the fragmented communication technologies out there we are reliant on contributions and collaboration from the community to do so. So please get involved - and we hope you have as much fun hacking on Matrix as we do!

0 commit comments

Comments
 (0)