Codebase list matrix-synapse / bd05112
New upstream version 1.6.1 Andrej Shadura 4 years ago
7 changed file(s) with 42 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
0 Synapse 1.6.1 (2019-11-28)
1 ==========================
2
3 Security updates
4 ----------------
5
6 This release includes a security fix ([\#6426](https://github.com/matrix-org/synapse/issues/6426), below). Administrators are encouraged to upgrade as soon as possible.
7
8 Bugfixes
9 --------
10
11 - Clean up local threepids from user on account deactivation. ([\#6426](https://github.com/matrix-org/synapse/issues/6426))
12 - Fix startup error when http proxy is defined. ([\#6421](https://github.com/matrix-org/synapse/issues/6421))
13
14
015 Synapse 1.6.0 (2019-11-26)
116 ==========================
217
0 matrix-synapse-py3 (1.6.1) stable; urgency=medium
1
2 * New synapse release 1.6.1.
3
4 -- Synapse Packaging team <packages@matrix.org> Thu, 28 Nov 2019 11:10:40 +0000
5
06 matrix-synapse-py3 (1.6.0) stable; urgency=medium
17
28 * New synapse release 1.6.0.
3535 except ImportError:
3636 pass
3737
38 __version__ = "1.6.0"
38 __version__ = "1.6.1"
3939
4040 if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)):
4141 # We import here so that we don't have to install a bunch of deps when
9494 user_id, threepid["medium"], threepid["address"]
9595 )
9696
97 # Remove all 3PIDs this user has bound to the homeserver
98 yield self.store.user_delete_threepids(user_id)
99
97100 # delete any devices belonging to the user, which will also
98101 # delete corresponding access tokens.
99102 yield self._device_handler.delete_all_devices_for_user(user_id)
7676 treq_args={"browser_like_redirects": True},
7777 ip_whitelist=hs.config.url_preview_ip_range_whitelist,
7878 ip_blacklist=hs.config.url_preview_ip_range_blacklist,
79 http_proxy=os.getenv("http_proxy"),
80 https_proxy=os.getenv("HTTPS_PROXY"),
79 http_proxy=os.getenvb(b"http_proxy"),
80 https_proxy=os.getenvb(b"HTTPS_PROXY"),
8181 )
8282 self.media_repo = media_repo
8383 self.primary_base_path = media_repo.primary_base_path
317317 def build_proxied_http_client(self):
318318 return SimpleHttpClient(
319319 self,
320 http_proxy=os.getenv("http_proxy"),
321 https_proxy=os.getenv("HTTPS_PROXY"),
320 http_proxy=os.getenvb(b"http_proxy"),
321 https_proxy=os.getenvb(b"HTTPS_PROXY"),
322322 )
323323
324324 def build_room_creation_handler(self):
576576 return self._simple_delete(
577577 "user_threepids",
578578 keyvalues={"user_id": user_id, "medium": medium, "address": address},
579 desc="user_delete_threepid",
580 )
581
582 def user_delete_threepids(self, user_id: str):
583 """Delete all threepid this user has bound
584
585 Args:
586 user_id: The user id to delete all threepids of
587
588 """
589 return self._simple_delete(
590 "user_threepids",
591 keyvalues={"user_id": user_id},
579592 desc="user_delete_threepids",
580593 )
581594