mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-22 04:33:51 +01:00
Merge branch 'master' of github.com:matrix-org/synapse into develop
This commit is contained in:
commit
db0dca2f6f
5 changed files with 87 additions and 8 deletions
51
CHANGES.rst
51
CHANGES.rst
|
@ -1,9 +1,52 @@
|
||||||
Changes in synapse vX
|
Changes in synapse v0.9.0 (2015-05-07)
|
||||||
=====================
|
======================================
|
||||||
|
|
||||||
* Changed config option from ``disable_registration`` to
|
General:
|
||||||
``enable_registration``. Old option will be ignored.
|
|
||||||
|
|
||||||
|
* Add support for using a PostgreSQL database instead of SQLite. See
|
||||||
|
`docs/postgres.rst`_ for details.
|
||||||
|
* Add password change and reset APIs. See `Registration`_ in the spec.
|
||||||
|
* Fix memory leak due to not releasing stale notifiers - SYN-339.
|
||||||
|
* Fix race in caches that occasionally caused some presence updates to be
|
||||||
|
dropped - SYN-369.
|
||||||
|
* Check server name has not changed on restart.
|
||||||
|
|
||||||
|
Federation:
|
||||||
|
|
||||||
|
* Add key distribution mechanisms for fetching public keys of unavailable
|
||||||
|
remote home servers. See `Retrieving Server Keys`_ in the spec.
|
||||||
|
|
||||||
|
Configuration:
|
||||||
|
|
||||||
|
* Add support for multiple config files.
|
||||||
|
* Add support for dictionaries in config files.
|
||||||
|
* Remove support for specifying config options on the command line, except
|
||||||
|
for:
|
||||||
|
|
||||||
|
* ``--daemonize`` - Daemonize the home server.
|
||||||
|
* ``--manhole`` - Turn on the twisted telnet manhole service on the given
|
||||||
|
port.
|
||||||
|
* ``--database-path`` - The path to a sqlite database to use.
|
||||||
|
* ``--verbose`` - The verbosity level.
|
||||||
|
* ``--log-file`` - File to log to.
|
||||||
|
* ``--log-config`` - Python logging config file.
|
||||||
|
* ``--enable-registration`` - Enable registration for new users.
|
||||||
|
|
||||||
|
Application services:
|
||||||
|
|
||||||
|
* Reliably retry sending of events from Synapse to application services, as per
|
||||||
|
`Application Services`_ spec.
|
||||||
|
* Application services can no longer register via the ``/register`` API,
|
||||||
|
instead their configuration should be saved to a file and listed in the
|
||||||
|
synapse ``app_service_config_files`` config option. The AS configuration file
|
||||||
|
has the same format as the old ``/register`` request.
|
||||||
|
See `docs/application_services.rst`_ for more information.
|
||||||
|
|
||||||
|
.. _`docs/postgres.rst`: docs/postgres.rst
|
||||||
|
.. _`docs/application_services.rst`: docs/application_services.rst
|
||||||
|
.. _`Registration`: https://github.com/matrix-org/matrix-doc/blob/master/specification/10_client_server_api.rst#registration
|
||||||
|
.. _`Retrieving Server Keys`: https://github.com/matrix-org/matrix-doc/blob/6f2698/specification/30_server_server_api.rst#retrieving-server-keys
|
||||||
|
.. _`Application Services`: https://github.com/matrix-org/matrix-doc/blob/0c6bd9/specification/25_application_service_api.rst#home-server---application-service-api
|
||||||
|
|
||||||
Changes in synapse v0.8.1 (2015-03-18)
|
Changes in synapse v0.8.1 (2015-03-18)
|
||||||
======================================
|
======================================
|
||||||
|
|
36
docs/application_services.rst
Normal file
36
docs/application_services.rst
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
Registering an Application Service
|
||||||
|
==================================
|
||||||
|
|
||||||
|
The registration of new application services depends on the homeserver used.
|
||||||
|
In synapse, you need to create a new configuration file for your AS and add it
|
||||||
|
to the list specified under the ``app_service_config_files`` config
|
||||||
|
option in your synapse config.
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
app_service_config_files:
|
||||||
|
- /home/matrix/.synapse/<your-AS>.yaml
|
||||||
|
|
||||||
|
|
||||||
|
The format of the AS configuration file is as follows:
|
||||||
|
|
||||||
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
url: <base url of AS>
|
||||||
|
as_token: <token AS will add to requests to HS>
|
||||||
|
hs_token: <token HS will ad to requests to AS>
|
||||||
|
sender_localpart: <localpart of AS user>
|
||||||
|
namespaces:
|
||||||
|
users: # List of users we're interested in
|
||||||
|
- exclusive: <bool>
|
||||||
|
regex: <regex>
|
||||||
|
- ...
|
||||||
|
aliases: [] # List of aliases we're interested in
|
||||||
|
rooms: [] # List of room ids we're interested in
|
||||||
|
|
||||||
|
See the spec_ for further details on how application services work.
|
||||||
|
|
||||||
|
.. _spec: https://github.com/matrix-org/matrix-doc/blob/master/specification/25_application_service_api.rst#application-service-api
|
||||||
|
|
|
@ -16,4 +16,4 @@
|
||||||
""" This is a reference implementation of a Matrix home server.
|
""" This is a reference implementation of a Matrix home server.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__version__ = "0.8.1-r4"
|
__version__ = "0.9.0"
|
||||||
|
|
|
@ -33,7 +33,7 @@ REQUIREMENTS = {
|
||||||
}
|
}
|
||||||
CONDITIONAL_REQUIREMENTS = {
|
CONDITIONAL_REQUIREMENTS = {
|
||||||
"web_client": {
|
"web_client": {
|
||||||
"matrix_angular_sdk>=0.6.5": ["syweb>=0.6.5"],
|
"matrix_angular_sdk>=0.6.6": ["syweb>=0.6.6"],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -57,8 +57,8 @@ DEPENDENCY_LINKS = [
|
||||||
),
|
),
|
||||||
github_link(
|
github_link(
|
||||||
project="matrix-org/matrix-angular-sdk",
|
project="matrix-org/matrix-angular-sdk",
|
||||||
version="v0.6.5",
|
version="v0.6.6",
|
||||||
egg="matrix_angular_sdk-0.6.5",
|
egg="matrix_angular_sdk-0.6.6",
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue