Skip to content

Commit

Permalink
Merge tag 'v1.117.0' into develop
Browse files Browse the repository at this point in the history
No significant changes since 1.117.0rc1.

- Add config option `redis.password_path`. ([\#17717](element-hq/synapse#17717))

- Fix a rare bug introduced in v1.29.0 where invalidating a user's access token from a worker could raise an error. ([\#17779](element-hq/synapse#17779))
- In the response to `GET /_matrix/client/versions`, set the `unstable_features` flag for [MSC4140](matrix-org/matrix-spec-proposals#4140) to `false` when server configuration disables support for delayed events. ([\#17780](element-hq/synapse#17780))
- Improve input validation and room membership checks in admin redaction API. ([\#17792](element-hq/synapse#17792))

- Clarify the docstring of `test_forget_when_not_left`. ([\#17628](element-hq/synapse#17628))
- Add documentation note about PYTHONMALLOC for accurate jemalloc memory tracking. Contributed by @hensg. ([\#17709](element-hq/synapse#17709))
- Remove spurious "TODO UPDATE ALL THIS" note in the Debian installation docs. ([\#17749](element-hq/synapse#17749))
- Explain how load balancing works for `federation_sender_instances`. ([\#17776](element-hq/synapse#17776))

- Minor performance increase for large accounts using sliding sync. ([\#17751](element-hq/synapse#17751))
- Increase performance of the notifier when there are many syncing users. ([\#17765](element-hq/synapse#17765), [\#17766](element-hq/synapse#17766))
- Fix performance of streams that don't change often. ([\#17767](element-hq/synapse#17767))
- Improve performance of sliding sync connections that do not ask for any rooms. ([\#17768](element-hq/synapse#17768))
- Reduce overhead of sliding sync E2EE loops. ([\#17771](element-hq/synapse#17771))
- Sliding sync minor performance speed up using new table. ([\#17787](element-hq/synapse#17787))
- Sliding sync minor performance improvement by omitting unchanged data from incremental responses. ([\#17788](element-hq/synapse#17788))
- Speed up sliding sync when there are many active subscriptions. ([\#17789](element-hq/synapse#17789))
- Add missing license headers on new source files. ([\#17799](element-hq/synapse#17799))

* Bump phonenumbers from 8.13.45 to 8.13.46. ([\#17773](element-hq/synapse#17773))
* Bump python-multipart from 0.0.10 to 0.0.12. ([\#17772](element-hq/synapse#17772))
* Bump regex from 1.10.6 to 1.11.0. ([\#17770](element-hq/synapse#17770))
* Bump ruff from 0.6.7 to 0.6.8. ([\#17774](element-hq/synapse#17774))
  • Loading branch information
yingziwu committed Oct 17, 2024
2 parents b9f6c72 + ec885ff commit 5250b5e
Show file tree
Hide file tree
Showing 271 changed files with 26,435 additions and 7,867 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: docker buildx inspect

- name: Install Cosign
uses: sigstore/cosign-installer@v3.5.0
uses: sigstore/cosign-installer@v3.6.0

- name: Checkout repository
uses: actions/checkout@v4
Expand Down
313 changes: 313 additions & 0 deletions CHANGES.md

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ it:

We **strongly** recommend using a CAPTCHA, particularly if your homeserver is exposed to
the public internet. Without it, anyone can freely register accounts on your homeserver.
This can be exploited by attackers to create spambots targetting the rest of the Matrix
This can be exploited by attackers to create spambots targeting the rest of the Matrix
federation.

Your new user name will be formed partly from the ``server_name``, and partly
Expand Down
3 changes: 2 additions & 1 deletion contrib/cmdclient/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
#
#

""" Starts a synapse client console. """
"""Starts a synapse client console."""

import argparse
import binascii
import cmd
Expand Down
4 changes: 2 additions & 2 deletions contrib/graph/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#

import argparse
import cgi
import datetime
import html
import json
import urllib.request
from typing import List
Expand Down Expand Up @@ -85,7 +85,7 @@ def make_graph(pdus: List[dict], filename_prefix: str) -> None:
"name": name,
"type": pdu.get("pdu_type"),
"state_key": pdu.get("state_key"),
"content": cgi.escape(json.dumps(pdu.get("content")), quote=True),
"content": html.escape(json.dumps(pdu.get("content")), quote=True),
"time": t,
"depth": pdu.get("depth"),
}
Expand Down
72 changes: 72 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,75 @@
matrix-synapse-py3 (1.117.0) stable; urgency=medium

* New Synapse release 1.117.0.

-- Synapse Packaging team <[email protected]> Tue, 15 Oct 2024 10:46:30 +0100

matrix-synapse-py3 (1.117.0~rc1) stable; urgency=medium

* New Synapse release 1.117.0rc1.

-- Synapse Packaging team <[email protected]> Tue, 08 Oct 2024 14:37:11 +0100

matrix-synapse-py3 (1.116.0) stable; urgency=medium

* New Synapse release 1.116.0.

-- Synapse Packaging team <[email protected]> Tue, 01 Oct 2024 11:14:07 +0100

matrix-synapse-py3 (1.116.0~rc2) stable; urgency=medium

* New synapse release 1.116.0rc2.

-- Synapse Packaging team <[email protected]> Thu, 26 Sep 2024 13:28:43 +0000

matrix-synapse-py3 (1.116.0~rc1) stable; urgency=medium

* New synapse release 1.116.0rc1.

-- Synapse Packaging team <[email protected]> Wed, 25 Sep 2024 09:34:07 +0000

matrix-synapse-py3 (1.115.0) stable; urgency=medium

* New Synapse release 1.115.0.

-- Synapse Packaging team <[email protected]> Tue, 17 Sep 2024 14:32:10 +0100

matrix-synapse-py3 (1.115.0~rc2) stable; urgency=medium

* New Synapse release 1.115.0rc2.

-- Synapse Packaging team <[email protected]> Thu, 12 Sep 2024 11:10:15 +0100

matrix-synapse-py3 (1.115.0~rc1) stable; urgency=medium

* New Synapse release 1.115.0rc1.

-- Synapse Packaging team <[email protected]> Tue, 10 Sep 2024 08:39:09 -0600

matrix-synapse-py3 (1.114.0) stable; urgency=medium

* New Synapse release 1.114.0.

-- Synapse Packaging team <[email protected]> Mon, 02 Sep 2024 15:14:53 +0100

matrix-synapse-py3 (1.114.0~rc3) stable; urgency=medium

* New Synapse release 1.114.0rc3.

-- Synapse Packaging team <[email protected]> Fri, 30 Aug 2024 16:38:05 +0100

matrix-synapse-py3 (1.114.0~rc2) stable; urgency=medium

* New Synapse release 1.114.0rc2.

-- Synapse Packaging team <[email protected]> Fri, 30 Aug 2024 15:35:13 +0100

matrix-synapse-py3 (1.114.0~rc1) stable; urgency=medium

* New synapse release 1.114.0rc1.

-- Synapse Packaging team <[email protected]> Tue, 20 Aug 2024 12:55:28 +0000

matrix-synapse-py3 (1.113.0) stable; urgency=medium

* New Synapse release 1.113.0.
Expand Down
27 changes: 20 additions & 7 deletions debian/hash_password.1
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
.\" generated with Ronn-NG/v0.8.0
.\" http://github.com/apjanke/ronn-ng/tree/0.8.0
.TH "HASH_PASSWORD" "1" "July 2021" "" ""
.\" generated with Ronn-NG/v0.10.1
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
.TH "HASH_PASSWORD" "1" "August 2024" ""
.SH "NAME"
\fBhash_password\fR \- Calculate the hash of a new password, so that passwords can be reset
.SH "SYNOPSIS"
\fBhash_password\fR [\fB\-p\fR|\fB\-\-password\fR [password]] [\fB\-c\fR|\fB\-\-config\fR \fIfile\fR]
.TS
allbox;
\fBhash_password\fR [\fB\-p\fR \fB\-\-password\fR [password]] [\fB\-c\fR \fB\-\-config\fR \fIfile\fR]
.TE
.SH "DESCRIPTION"
\fBhash_password\fR calculates the hash of a supplied password using bcrypt\.
.P
Expand All @@ -20,7 +23,7 @@ bcrypt_rounds: 17 password_config: pepper: "random hashing pepper"
.SH "OPTIONS"
.TP
\fB\-p\fR, \fB\-\-password\fR
Read the password form the command line if [password] is supplied\. If not, prompt the user and read the password form the \fBSTDIN\fR\. It is not recommended to type the password on the command line directly\. Use the STDIN instead\.
Read the password form the command line if [password] is supplied, or from \fBSTDIN\fR\. If not, prompt the user and read the password from the tty prompt\. It is not recommended to type the password on the command line directly\. Use the STDIN instead\.
.TP
\fB\-c\fR, \fB\-\-config\fR
Read the supplied YAML \fIfile\fR containing the options \fBbcrypt_rounds\fR and the \fBpassword_config\fR section containing the \fBpepper\fR value\.
Expand All @@ -33,7 +36,17 @@ $2b$12$VJNqWQYfsWTEwcELfoSi4Oa8eA17movHqqi8\.X8fWFpum7SxZ9MFe
.fi
.IP "" 0
.P
Hash from the STDIN:
Hash from the stdin:
.IP "" 4
.nf
$ cat password_file | hash_password
Password:
Confirm password:
$2b$12$AszlvfmJl2esnyhmn8m/kuR2tdXgROWtWxnX\.rcuAbM8ErLoUhybG
.fi
.IP "" 0
.P
Hash from the prompt:
.IP "" 4
.nf
$ hash_password
Expand All @@ -53,6 +66,6 @@ $2b$12$CwI\.wBNr\.w3kmiUlV3T5s\.GT2wH7uebDCovDrCOh18dFedlANK99O
.fi
.IP "" 0
.SH "COPYRIGHT"
This man page was written by Rahul De <\fI\%mailto:rahulde@swecha\.net\fR> for Debian GNU/Linux distribution\.
This man page was written by Rahul De «rahulde@swecha\.net» for Debian GNU/Linux distribution\.
.SH "SEE ALSO"
synctl(1), synapse_port_db(1), register_new_matrix_user(1), synapse_review_recent_signups(1)
Loading

0 comments on commit 5250b5e

Please sign in to comment.