From 27e093cbc1bc50f597119c132596ccb12c219ee4 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Fri, 22 May 2015 17:03:37 +0100 Subject: [PATCH 1/7] Bump version --- synapse/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/__init__.py b/synapse/__init__.py index 68f86138a4..4720d99848 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -16,4 +16,4 @@ """ This is a reference implementation of a Matrix home server. """ -__version__ = "0.9.0-r5" +__version__ = "0.9.1" From 764856777c0cafef9104e3249911123096f24081 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 26 May 2015 11:05:44 +0100 Subject: [PATCH 2/7] changelog --- CHANGES.rst | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index e1420d7a35..529ab3ee95 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,28 @@ +Changes in synapse v0.9.1 (2015-05-26) +====================================== + +General: + +* Add support for backfilling when a client paginates. This allows servers to + request history for a room from remote servers when a client tries to + paginate history the server does not have - SYN-36 +* Fix bug where we couldn't disable non-default pushrules - SYN-378 +* Fix bug with ``register_new_user`` script - SYN-359 +* Improve performance of fetching events from the database. +* Improve performance of event streams. + +Federation: + +* Fix bug with existing backfill implementation where it returned the wrong + selection of events in some circumstances. +* Improve performance of joining remote rooms. + +Configuration: + +* Add support for changing the bind host of the metrics listener via the + ``metrics_bind_host`` option. + + Changes in synapse v0.9.0-r5 (2015-05-21) ========================================= From cb7dac3a5d64eb37cdc39deeb1ea4c959023c8f5 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 26 May 2015 11:08:09 +0100 Subject: [PATCH 3/7] changelog --- CHANGES.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 529ab3ee95..0e5f28c2d7 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -8,8 +8,10 @@ General: paginate history the server does not have - SYN-36 * Fix bug where we couldn't disable non-default pushrules - SYN-378 * Fix bug with ``register_new_user`` script - SYN-359 -* Improve performance of fetching events from the database. -* Improve performance of event streams. +* Improve performance of fetching events from the database. This improves both + initialSync and sending of events. +* Improve performance of event streams, allowing synapse to handle more + simultaneous connected clients. Federation: From e417469af2d2fb9c57e68d30cf590e6c20319859 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 26 May 2015 11:08:46 +0100 Subject: [PATCH 4/7] changelog --- CHANGES.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 0e5f28c2d7..3d4178fad1 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -8,7 +8,7 @@ General: paginate history the server does not have - SYN-36 * Fix bug where we couldn't disable non-default pushrules - SYN-378 * Fix bug with ``register_new_user`` script - SYN-359 -* Improve performance of fetching events from the database. This improves both +* Improve performance of fetching events from the database, this improves both initialSync and sending of events. * Improve performance of event streams, allowing synapse to handle more simultaneous connected clients. From 00dd207f603597f016af11729d1fd31f6391ff9a Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Tue, 26 May 2015 14:57:48 +0100 Subject: [PATCH 5/7] Take a dict of the rule, not the rule list --- synapse/push/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/push/__init__.py b/synapse/push/__init__.py index 167b973b2b..8059fff1b2 100644 --- a/synapse/push/__init__.py +++ b/synapse/push/__init__.py @@ -76,7 +76,7 @@ class Pusher(object): rules = [] for rawrule in rawrules: - rule = dict(rawrules) + rule = dict(rawrule) rule['conditions'] = json.loads(rawrule['conditions']) rule['actions'] = json.loads(rawrule['actions']) rules.append(rule) From 554c63ca604f3b8e9a3e8cde143eb319bf750c00 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Tue, 26 May 2015 15:03:49 +0100 Subject: [PATCH 6/7] Iterate over the user_streams not the user_ids --- synapse/notifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/notifier.py b/synapse/notifier.py index 4f47f88df8..078abfc56d 100644 --- a/synapse/notifier.py +++ b/synapse/notifier.py @@ -153,7 +153,7 @@ class Notifier(object): for x in self.room_to_user_streams.values(): all_user_streams |= x - for x in self.user_to_user_stream: + for x in self.user_to_user_stream.values(): all_user_streams.add(x) for x in self.appservice_to_user_streams.values(): all_user_streams |= x From 6cb3212fc22b00459c6ffa667e86092da621f93d Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 26 May 2015 16:00:45 +0100 Subject: [PATCH 7/7] changelog --- CHANGES.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 3d4178fad1..1ca2407a73 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -6,8 +6,8 @@ General: * Add support for backfilling when a client paginates. This allows servers to request history for a room from remote servers when a client tries to paginate history the server does not have - SYN-36 -* Fix bug where we couldn't disable non-default pushrules - SYN-378 -* Fix bug with ``register_new_user`` script - SYN-359 +* Fix bug where you couldn't disable non-default pushrules - SYN-378 +* Fix ``register_new_user`` script - SYN-359 * Improve performance of fetching events from the database, this improves both initialSync and sending of events. * Improve performance of event streams, allowing synapse to handle more