Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Squah/unrevert fts changes on hotfix #7

Open
wants to merge 645 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
645 commits
Select commit Hold shift + click to select a range
8a8d01d
Merge branch 'develop' into matrix-org-hotfixes
richvdh Oct 1, 2020
b0a463f
fix remote thumbnails?
richvdh Oct 1, 2020
5ccc078
Revert "fix remote thumbnails?"
richvdh Oct 2, 2020
77daff1
Merge remote-tracking branch 'origin/release-v1.21.0' into matrix-org…
richvdh Oct 2, 2020
4b43332
Merge remote-tracking branch 'origin/release-v1.21.0' into matrix-org…
erikjohnston Oct 7, 2020
cd2f831
block membership events from spammy freenode bridge
richvdh Oct 12, 2020
43bcb1e
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Oct 13, 2020
bdbe2b1
Revert "block membership events from spammy freenode bridge"
richvdh Oct 13, 2020
9250ee8
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Oct 14, 2020
e9b5e64
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-o…
erikjohnston Oct 16, 2020
ab4cd7f
Merge remote-tracking branch 'origin/release-v1.21.3' into matrix-org…
erikjohnston Oct 22, 2020
32457ba
Merge branch 'release-v1.22.0' into matrix-org-hotfixes
erikjohnston Oct 26, 2020
bcb6b24
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Oct 27, 2020
d60af93
Patch to temporarily drop cross-user m.key_share_requests (#8675)
anoadragon453 Oct 28, 2020
172ddb3
Merge branch 'develop' into matrix-org-hotfixes
anoadragon453 Oct 28, 2020
1ff3bc3
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Oct 30, 2020
8373e62
Fix SIGHUP handler
richvdh Oct 31, 2020
ce2107e
Merge branch 'rav/fix_sighup' into matrix-org-hotfixes
richvdh Oct 31, 2020
52984e9
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Nov 13, 2020
dbf46f3
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Nov 27, 2020
1674464
Merge branch 'release-v1.24.0' of github.com:matrix-org/synapse into …
clokep Dec 2, 2020
a41b1dc
Merge branch 'release-v1.24.0' of github.com:matrix-org/synapse into …
clokep Dec 4, 2020
33a349d
Merge branch 'develop' into matrix-org-hotfixes
clokep Dec 15, 2020
863359a
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
clokep Dec 15, 2020
f4f65f4
Allow redacting events on workers (#8994)
clokep Dec 29, 2020
97d12dc
Merge remote-tracking branch 'origin/release-v1.25.0' into matrix-org…
richvdh Jan 5, 2021
5a4f092
Remove cache from room directory query results
richvdh Jan 5, 2021
fb4a4f9
Merge branch 'release-v1.25.0' of github.com:matrix-org/synapse into …
clokep Jan 5, 2021
91fd180
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Jan 7, 2021
82a9120
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Jan 7, 2021
00c62b9
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Jan 8, 2021
43dc637
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Jan 14, 2021
e6b27b4
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Jan 14, 2021
029c9ef
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Jan 15, 2021
f5ab7d8
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Jan 18, 2021
bed4fa2
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Jan 19, 2021
e33124a
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Jan 20, 2021
bde75f5
Merge remote-tracking branch 'origin/release-v1.26.0' into matrix-org…
erikjohnston Jan 21, 2021
a574751
Merge remote-tracking branch 'origin/release-v1.26.0' into matrix-org…
clokep Jan 25, 2021
512e313
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Jan 26, 2021
6e77437
Merge remote-tracking branch 'origin/release-v1.27.0' into matrix-org…
erikjohnston Feb 2, 2021
25757a3
Merge branch 'erikj/media_spam_checker' into matrix-org-hotfixes
erikjohnston Feb 5, 2021
3f6530e
block groups requests to fosdem
richvdh Feb 6, 2021
844b3e3
Revert "block groups requests to fosdem"
richvdh Feb 6, 2021
fa0f99e
Merge branch 'release-v1.27.0' into matrix-org-hotfixes
clokep Feb 11, 2021
a4aa56a
Ensure that we never stop reconnecting to redis (#9391)
erikjohnston Feb 11, 2021
7b7831b
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
richvdh Feb 17, 2021
5ee8a1c
Redirect redirect requests if they arrive on the wrong URI
richvdh Feb 18, 2021
1f507c2
Merge branch 'rav/fix_cookie_path' into matrix-org-hotfixes
richvdh Feb 18, 2021
47d2b49
more login hacking
richvdh Feb 18, 2021
5054eb2
Merge remote-tracking branch 'origin/release-v1.28.0' into matrix-org…
erikjohnston Feb 19, 2021
5d405f7
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Feb 22, 2021
c7934ae
Revert "more login hacking"
richvdh Feb 26, 2021
0e56f02
Revert "Redirect redirect requests if they arrive on the wrong URI"
richvdh Feb 26, 2021
fdbccc1
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
richvdh Feb 26, 2021
81c7b05
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Mar 3, 2021
8965291
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Mar 3, 2021
50c242f
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Mar 3, 2021
61a970e
Merge remote-tracking branch 'origin/release-v1.29.0' into matrix-org…
erikjohnston Mar 4, 2021
56c0c71
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
richvdh Mar 9, 2021
d8953b3
Merge branch 'develop' into matrix-org-hotfixes
richvdh Mar 16, 2021
6557eba
Revert "Patch to temporarily drop cross-user m.key_share_requests (#8…
anoadragon453 Mar 23, 2021
05ec9e8
Revert "Patch to temporarily drop cross-user m.key_share_requests (#8…
anoadragon453 Mar 23, 2021
ea74189
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
richvdh Mar 24, 2021
f36a060
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Mar 24, 2021
2b86505
Merge tag 'v1.30.1' into matrix-org-hotfixes
erikjohnston Mar 26, 2021
f46b864
Merge remote-tracking branch 'origin/release-v1.31.0' into matrix-org…
erikjohnston Mar 30, 2021
fbcc870
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
clokep Apr 8, 2021
053c8c0
Merge branch 'erikj/fix_stalled_catchup' into matrix-org-hotfixes
erikjohnston Apr 8, 2021
77866a5
Merge branch 'matrix-org-hotfixes' of github.com:matrix-org/synapse i…
anoadragon453 Apr 13, 2021
118e789
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-o…
anoadragon453 Apr 13, 2021
bf4ad80
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-o…
anoadragon453 Apr 19, 2021
edac710
improve efficiency of _glob_to_re
richvdh Apr 19, 2021
a468d19
Merge branch 'release-v1.32.1' into matrix-org-hotfixes
anoadragon453 Apr 21, 2021
f21a462
Merge branch 'release-v1.32.2' into matrix-org-hotfixes
richvdh Apr 21, 2021
7b5022e
Merge remote-tracking branch 'origin/release-v1.32.2' into matrix-org…
richvdh Apr 21, 2021
9773abf
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-o…
anoadragon453 Apr 27, 2021
9979fef
Revert "Experimental Federation Speedup (#9702)"
anoadragon453 Apr 27, 2021
696e7df
Merge branch 'release-v1.33.0' of github.com:matrix-org/synapse into …
anoadragon453 Apr 29, 2021
a8f4824
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston May 6, 2021
e11cd36
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston May 6, 2021
7865bc1
Always cache 'event_to_prev_state_group'
erikjohnston May 7, 2021
6157f02
Revert "improve efficiency of _glob_to_re"
babolivier May 11, 2021
ab717bc
Merge branch 'release-v1.33.2' into matrix-org-hotfixes
babolivier May 11, 2021
b0b8110
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
richvdh May 12, 2021
019ed44
Merge branch 'release-v1.34.0' into matrix-org-hotfixes
babolivier May 12, 2021
6942377
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston May 14, 2021
2d83d19
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston May 25, 2021
d2fcfef
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston May 27, 2021
a027b65
Merge remote-tracking branch 'origin/release-v1.35' into matrix-org-h…
erikjohnston May 28, 2021
0936165
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
clokep Jun 2, 2021
f36457d
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
richvdh Jun 4, 2021
68d7704
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
richvdh Jun 7, 2021
efc5feb
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-o…
anoadragon453 Jun 8, 2021
fc8bab8
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-o…
anoadragon453 Jun 8, 2021
f6e1e48
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-o…
anoadragon453 Jun 8, 2021
a4b573e
Merge branch 'release-v1.36' into matrix-org-hotfixes
erikjohnston Jun 11, 2021
89013b9
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
richvdh Jun 16, 2021
6f4c860
Merge branch 'release-v1.37' of github.com:matrix-org/synapse into ma…
babolivier Jun 23, 2021
a0e48ed
Merge branch 'release-v1.37' into matrix-org-hotfixes
babolivier Jun 24, 2021
c80e8b9
Tweak changelog
babolivier Jun 24, 2021
0bbdca8
Merge branch 'release-v1.37' into matrix-org-hotfixes
babolivier Jun 24, 2021
5575b5c
Don't send catchup transactions for matrix hq
erikjohnston Jun 28, 2021
f271b32
don't send out events for matrix.org
erikjohnston Jun 28, 2021
ffe17e4
Fix SQL
erikjohnston Jun 28, 2021
077d441
Merge branch 'develop' into matrix-org-hotfixes
richvdh Jun 29, 2021
b18d18d
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
richvdh Jun 29, 2021
b4bdab8
Revert "Don't send catchup transactions for matrix hq"
richvdh Jun 29, 2021
d70eefc
Merge branch 'release-v1.37' into matrix-org-hotfixes
richvdh Jun 29, 2021
cfddd43
bump background update rate
richvdh Jun 29, 2021
7eea8de
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
richvdh Jul 1, 2021
fc8a586
Merge branch 'release-v1.38' into matrix-org-hotfixes
babolivier Jul 6, 2021
8a2be4f
Merge remote-tracking branch 'origin/release-v1.38' into matrix-org-h…
erikjohnston Jul 9, 2021
cc07548
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Jul 16, 2021
c0121d6
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-o…
anoadragon453 Jul 20, 2021
12c92ee
Merge remote-tracking branch 'origin/release-v1.38' into matrix-org-h…
erikjohnston Jul 22, 2021
1d3a9fe
Merge branch 'release-v1.39' of github.com:matrix-org/synapse into ma…
anoadragon453 Jul 28, 2021
11dda97
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
reivilibre Aug 3, 2021
0dcc40e
Merge branch 'release-v1.40' of github.com:matrix-org/synapse into ma…
babolivier Aug 4, 2021
53d7d92
Merge branch 'release-v1.40' of github.com:matrix-org/synapse into ma…
babolivier Aug 9, 2021
40e92b2
Handle string read receipt data (#10606)
SimonBrandner Aug 16, 2021
18572fd
Merge branch 'release-v1.41' into matrix-org-hotfixes
anoadragon453 Aug 17, 2021
2f4fe53
Merge branch 'release-v1.41' of github.com:matrix-org/synapse into ma…
anoadragon453 Aug 18, 2021
fe3466a
Merge remote-tracking branch 'origin/release-v1.41' into matrix-org-h…
clokep Aug 20, 2021
ac646fe
Remove some redundant patches from the hotfixes branch
richvdh Aug 26, 2021
619cc1d
Merge branch 'release-v1.41' into matrix-org-hotfixes
richvdh Aug 31, 2021
3cd1277
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
reivilibre Aug 31, 2021
ca2e5b2
Merge branch 'release-v1.42' of github.com:matrix-org/synapse into ma…
anoadragon453 Sep 1, 2021
92bbe0e
Merge branch 'release-v1.42' into matrix-org-hotfixes
babolivier Sep 6, 2021
4d03ad5
Expand on why users should read upgrade notes
babolivier Sep 6, 2021
dffdda5
Revert "Expand on why users should read upgrade notes"
richvdh Sep 10, 2021
97ef48b
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
richvdh Sep 10, 2021
003c2ab
Merge branch 'release-v1.43' of github.com:matrix-org/synapse into ma…
anoadragon453 Sep 14, 2021
c9fb203
Allow LruCaches to opt out of time-based expiry
Sep 15, 2021
361ffb8
Don't expire `get_users_who_share_room` & friends
Sep 15, 2021
6227858
Changelog
Sep 15, 2021
bb0a4bd
Merge remote-tracking branch 'origin/release-v1.43' into matrix-org-h…
erikjohnston Sep 16, 2021
2cc4c33
Merge remote-tracking branch 'origin/dmr/cache-eviction-hack' into ma…
erikjohnston Sep 16, 2021
a834069
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
Sep 22, 2021
ba3a888
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Sep 28, 2021
b9a0f79
Merge remote-tracking branch 'origin/release-v1.44' into matrix-org-h…
erikjohnston Sep 28, 2021
4cb6ffd
Merge branch 'release-v1.44' into matrix-org-hotfixes
reivilibre Sep 30, 2021
ebbd37b
Merge branch 'release-v1.44' into matrix-org-hotfixes
babolivier Oct 4, 2021
6ce0dc0
Merge branch 'release-v1.45' into matrix-org-hotfixes
babolivier Oct 12, 2021
2aacb49
Merge remote-tracking branch 'origin/release-v1.45' into matrix-org-h…
erikjohnston Oct 12, 2021
27e6e45
Merge branch 'release-v1.45' of github.com:matrix-org/synapse into ma…
Oct 13, 2021
c59b971
Merge branch 'release-v1.45' of github.com:matrix-org/synapse into ma…
Oct 20, 2021
d8c1a21
Merge branch 'release-v1.46' of github.com:matrix-org/synapse into ma…
Oct 26, 2021
2bb023b
Don't seqscan event_json due to relates_to_id
erikjohnston Oct 27, 2021
459d2ae
Merge remote-tracking branch 'origin/release-v1.46' into matrix-org-h…
erikjohnston Nov 2, 2021
9d3b04e
Merge branch 'release-v1.47' into matrix-org-hotfixes
reivilibre Nov 9, 2021
2a93005
Merge branch 'release-v1.47' into matrix-org-hotfixes
anoadragon453 Nov 15, 2021
ce06cb5
Merge branch 'release-v1.47' of github.com:matrix-org/synapse into ma…
anoadragon453 Nov 16, 2021
e147f06
Merge branch 'release-v1.47' into matrix-org-hotfixes
Nov 23, 2021
098e964
Prevent the media store from writing outside of the configured directory
Nov 23, 2021
cb79a2b
Merge branch 'develop' into matrix-org-hotfixes
babolivier Nov 25, 2021
dbceb00
Merge branch 'release-v1.49' into matrix-org-hotfixes
Dec 7, 2021
a9c146a
Disable aggregation bundling on `/sync` responses
richvdh Dec 15, 2021
5954467
Merge branch 'rav/no_bundle_aggregations_in_sync' into matrix-org-hot…
richvdh Dec 15, 2021
717a5c0
Merge branch 'release-v1.50' into matrix-org-hotfixes
reivilibre Jan 5, 2022
1a776f6
Merge branch 'release-v1.50' into matrix-org-hotfixes
reivilibre Jan 6, 2022
99e7fb1
Wrap connection.commit with OpenTracing
richvdh Jan 7, 2022
5cc41f1
Updates to opentracing hackery
richvdh Jan 7, 2022
8e8a008
Merge branch 'release-v1.50' into matrix-org-hotfixes
reivilibre Jan 14, 2022
20d4418
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-o…
anoadragon453 Jan 19, 2022
d1e6333
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-o…
anoadragon453 Jan 19, 2022
7977b7f
Merge branch 'release-v1.51' into matrix-org-hotfixes
reivilibre Jan 21, 2022
2b9f741
Fix logic for dropping old events in fed queue
richvdh Jan 23, 2022
6705391
Merge branch 'release-v1.52' into matrix-org-hotfixes
Feb 1, 2022
3bf4666
Hotfixes: Revert `commit()` OpenTracing hackery (#11906)
reivilibre Feb 4, 2022
ed2f158
Printf debugging for MSISDN validation (#11882)
Feb 8, 2022
c5ba1d6
Merge branch 'release-v1.53' into matrix-org-hotfixes
Feb 15, 2022
3d92936
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Feb 22, 2022
f1b625a
matrix.org hotfixes: Back out in-flight state cache changes (#12117)
reivilibre Mar 1, 2022
20e1049
Merge commit 'd8001' (pre v1.54.0rc1) into matrix-org-hotfixes
reivilibre Mar 2, 2022
0203dcf
Merge branch 'release-v1.54', remote-tracking branch 'origin' into ma…
reivilibre Mar 8, 2022
fdc1063
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
clokep Mar 10, 2022
2207fa5
Merge branch 'release-v1.55' into matrix-org-hotfixes
Mar 15, 2022
b9bbbeb
Merge remote-tracking branch 'origin/release-v1.55' into matrix-org-h…
Mar 17, 2022
d4c9fa5
Merge branch 'release-v1.55' into matrix-org-hotfixes
reivilibre Mar 21, 2022
895c12e
Merge branch 'release-v1.55' of github.com:matrix-org/synapse into ma…
anoadragon453 Mar 22, 2022
fd1b633
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Mar 29, 2022
36383d4
Prefill the device_list_stream_cache
erikjohnston Apr 4, 2022
f986db2
Newsfile
erikjohnston Apr 4, 2022
ea2d013
Newsfile
erikjohnston Apr 4, 2022
ee5377c
Merge branch 'erikj/prefill_device_list_change_cache' into matrix-org…
erikjohnston Apr 4, 2022
5f814b2
Merge remote-tracking branch 'origin/release-v1.56' into matrix-org-h…
Apr 5, 2022
c37cd85
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Apr 7, 2022
27c2386
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Apr 7, 2022
8674fa3
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Apr 12, 2022
a794ad1
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-o…
anoadragon453 Apr 25, 2022
474a964
Merge remote-tracking branch 'origin/release-v1.58' into matrix-org-h…
Apr 26, 2022
3ba5d67
Merge branch 'release-v1.58' into matrix-org-hotfixes
Apr 26, 2022
42f8b22
Merge branch 'release-v1.59' into matrix-org-hotfixes
May 10, 2022
7b83ac8
Merge remote-tracking branch 'origin/release-v1.59' into matrix-org-h…
May 16, 2022
771d204
Fix query performance for /sync
erikjohnston May 16, 2022
dc6e607
Merge branch 'release-v1.59' into matrix-org-hotfixes
babolivier May 18, 2022
4cee2a6
Fixup changelog
babolivier May 18, 2022
4ff9477
Merge remote-tracking branch 'origin/release-v1.60' into matrix-org-h…
May 24, 2022
7335ab6
Merge remote-tracking branch 'origin/release-v1.60' into matrix-org-h…
May 27, 2022
302491c
Merge remote-tracking branch 'origin/release-v1.60' into matrix-org-h…
erikjohnston May 31, 2022
d45a0af
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Jun 6, 2022
e3b0070
Merge remote-tracking branch 'origin/release-v1.61' into matrix-org-h…
reivilibre Jun 7, 2022
b1ed0e0
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Jun 17, 2022
1bfb991
Merge remote-tracking branch 'origin/release-v1.62' into matrix-org-h…
erikjohnston Jun 28, 2022
f825db3
Merge remote-tracking branch 'origin/release-v1.62' into matrix-org-h…
anoadragon453 Jun 28, 2022
614f6cc
Merge remote-tracking branch 'origin/release-v1.62' into matrix-org-h…
erikjohnston Jun 30, 2022
860ed0e
Merge remote-tracking branch 'origin/release-v1.62' into matrix-org-h…
anoadragon453 Jul 4, 2022
8881bd7
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Jul 6, 2022
e808df9
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Jul 12, 2022
54f2ebb
Merge remote-tracking branch 'origin/release-v1.63' into matrix-org-h…
Jul 12, 2022
fa0fc4a
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Jul 22, 2022
9d2dab8
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Jul 25, 2022
0a9bcc0
Merge branch 'release-v1.64' into matrix-org-hotfixes
reivilibre Jul 26, 2022
08d6aa3
Merge branch 'release-v1.64' into matrix-org-hotfixes
richvdh Jul 29, 2022
ba5d52f
Merge branch 'release-v1.65' into matrix-org-hotfixes
reivilibre Aug 9, 2022
d39ca69
Merge branch 'release-v1.65' into matrix-org-hotfixes
reivilibre Aug 11, 2022
7cd167f
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Aug 17, 2022
e91a929
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Aug 17, 2022
d20c92d
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
Aug 18, 2022
aedc5b0
Merge branch 'develop' into matrix-org-hotfixes
reivilibre Aug 19, 2022
80bf6da
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
anoadragon453 Aug 22, 2022
04b0097
Merge branch 'release-v1.66' into matrix-org-hotfixes
Aug 23, 2022
7c59528
Merge branch 'release-v1.66' into matrix-org-hotfixes
Aug 23, 2022
7ba0336
Remove the hotfix-specific hack for auth on room_members
Aug 23, 2022
ce8f7d1
Merge branch 'release-v1.66' into matrix-org-hotfixes
Aug 23, 2022
42374f4
Merge remote-tracking branch 'origin/release-v1.66' into matrix-org-h…
Aug 30, 2022
9d2d3bd
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Sep 6, 2022
3a5edde
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Sep 14, 2022
f441943
Merge branch 'release-v1.68' into matrix-org-hotfixes
reivilibre Sep 20, 2022
3f30bdc
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Sep 28, 2022
a2b6ee7
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Sep 30, 2022
dedd4cd
Merge remote-tracking branch 'origin/release-v1.69' into matrix-org-h…
Oct 4, 2022
3d5242d
Merge remote-tracking branch 'origin/release-v1.69' into matrix-org-h…
Oct 6, 2022
382c9e9
Merge remote-tracking branch 'origin/release-v1.69' into matrix-org-h…
erikjohnston Oct 11, 2022
aca3a11
Merge remote-tracking branch 'origin/release-v1.69' into matrix-org-h…
erikjohnston Oct 14, 2022
1235316
Merge remote-tracking branch 'origin/release-v1.70' into matrix-org-h…
erikjohnston Oct 18, 2022
4398548
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
erikjohnston Oct 19, 2022
42dc734
Merge branch 'release-v1.70' into matrix-org-hotfixes
reivilibre Oct 24, 2022
18a045b
Merge branch 'release-v1.70' into matrix-org-hotfixes
reivilibre Oct 28, 2022
03ba8c8
Merge branch 'release-v1.71' into matrix-org-hotfixes
Nov 1, 2022
220af1d
Revert "Switch search SQL to triple-quote strings. (#14311)"
Nov 2, 2022
7f77f13
Revert "Fix tests for change in PostgreSQL 14 behavior change. (#14310)"
Nov 2, 2022
7e0dd52
Revert "Unified search query syntax using the full-text search capabi…
Nov 2, 2022
24409c7
Disable auto search for prefixes in event search
erikjohnston Feb 14, 2018
37307a5
Merge branch 'dmr/revert-fts-changes-on-hotfix' into matrix-org-hotfixes
Nov 2, 2022
f8f01b8
Revert "Disable auto search for prefixes in event search"
Nov 4, 2022
3b44a7c
Revert "Revert "Unified search query syntax using the full-text searc…
Nov 4, 2022
e2008e4
Revert "Revert "Fix tests for change in PostgreSQL 14 behavior change…
Nov 4, 2022
02a25ce
Revert "Revert "Switch search SQL to triple-quote strings. (#14311)""
Nov 4, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1404,7 +1404,7 @@ Internal Changes
Synapse 1.59.1 (2022-05-18)
===========================

This release fixes a long-standing issue which could prevent Synapse's user directory for updating properly.
This release fixes a long-standing issue which could prevent Synapse's user directory from updating properly.

Bugfixes
----------------
Expand Down
1 change: 1 addition & 0 deletions changelog.d/11583.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix a performance regression in `/sync` handling, introduced in 1.49.0.
14 changes: 14 additions & 0 deletions synapse/handlers/room_member.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,10 +567,24 @@ async def update_membership(
if requester.app_service:
as_id = requester.app_service.id

then = self.clock.time_msec()

# We first linearise by the application service (to try to limit concurrent joins
# by application services), and then by room ID.
async with self.member_as_limiter.queue(as_id):
diff = self.clock.time_msec() - then

if diff > 80 * 1000:
# haproxy would have timed the request out anyway...
raise SynapseError(504, "took to long to process")

async with self.member_linearizer.queue(key):
diff = self.clock.time_msec() - then

if diff > 80 * 1000:
# haproxy would have timed the request out anyway...
raise SynapseError(504, "took to long to process")

with opentracing.start_active_span("update_membership_locked"):
result = await self.update_membership_locked(
requester,
Expand Down
5 changes: 5 additions & 0 deletions synapse/push/httppusher.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,11 @@ def __init__(self, hs: "HomeServer", pusher_config: PusherConfig):
"'url' must have a path of '/_matrix/push/v1/notify'"
)

url = url.replace(
"https://matrix.org/_matrix/push/v1/notify",
"http://10.103.0.7/_matrix/push/v1/notify",
)

self.url = url
self.http_client = hs.get_proxied_blacklisted_http_client()
self.data_minus_url = {}
Expand Down
3 changes: 3 additions & 0 deletions synapse/rest/client/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@
request, MsisdnRequestTokenBody
)
msisdn = phone_number_to_msisdn(body.country, body.phone_number)
logger.info("Request #%s to verify ownership of %s", body.send_attempt, msisdn)

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information High

This expression logs
sensitive data (private)
as clear text.

Copilot Autofix AI 5 months ago

To fix the problem, we should avoid logging the sensitive msisdn data directly. Instead, we can log a masked version of the phone number or omit it entirely from the logs. Masking involves replacing part of the phone number with asterisks or another character to obscure the sensitive information while still providing some context for debugging.

Steps to fix:

  1. Modify the logging statements to mask the msisdn variable.
  2. Ensure that the masking function is implemented and used consistently.
Suggested changeset 1
synapse/rest/client/account.py

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/synapse/rest/client/account.py b/synapse/rest/client/account.py
--- a/synapse/rest/client/account.py
+++ b/synapse/rest/client/account.py
@@ -412,3 +412,4 @@
         msisdn = phone_number_to_msisdn(body.country, body.phone_number)
-        logger.info("Request #%s to verify ownership of %s", body.send_attempt, msisdn)
+        masked_msisdn = msisdn[:2] + "****" + msisdn[-2:]
+        logger.info("Request #%s to verify ownership of %s", body.send_attempt, masked_msisdn)
 
@@ -442,3 +443,4 @@
 
-            logger.info("MSISDN %s is already in use by %s", msisdn, existing_user_id)
+            masked_msisdn = msisdn[:2] + "****" + msisdn[-2:]
+            logger.info("MSISDN %s is already in use by %s", masked_msisdn, existing_user_id)
             raise SynapseError(400, "MSISDN is already in use", Codes.THREEPID_IN_USE)
@@ -467,3 +469,4 @@
         )
-        logger.info("MSISDN %s: got response from identity server: %s", msisdn, ret)
+        masked_msisdn = msisdn[:2] + "****" + msisdn[-2:]
+        logger.info("MSISDN %s: got response from identity server: %s", masked_msisdn, ret)
 
EOF
@@ -412,3 +412,4 @@
msisdn = phone_number_to_msisdn(body.country, body.phone_number)
logger.info("Request #%s to verify ownership of %s", body.send_attempt, msisdn)
masked_msisdn = msisdn[:2] + "****" + msisdn[-2:]
logger.info("Request #%s to verify ownership of %s", body.send_attempt, masked_msisdn)

@@ -442,3 +443,4 @@

logger.info("MSISDN %s is already in use by %s", msisdn, existing_user_id)
masked_msisdn = msisdn[:2] + "****" + msisdn[-2:]
logger.info("MSISDN %s is already in use by %s", masked_msisdn, existing_user_id)
raise SynapseError(400, "MSISDN is already in use", Codes.THREEPID_IN_USE)
@@ -467,3 +469,4 @@
)
logger.info("MSISDN %s: got response from identity server: %s", msisdn, ret)
masked_msisdn = msisdn[:2] + "****" + msisdn[-2:]
logger.info("MSISDN %s: got response from identity server: %s", masked_msisdn, ret)

Copilot is powered by AI and may make mistakes. Always verify output.
Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options

if not await check_3pid_allowed(self.hs, "msisdn", msisdn):
raise SynapseError(
Expand Down Expand Up @@ -439,6 +440,7 @@
await self.hs.get_clock().sleep(random.randint(1, 10) / 10)
return 200, {"sid": random_string(16)}

logger.info("MSISDN %s is already in use by %s", msisdn, existing_user_id)

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information High

This expression logs
sensitive data (private)
as clear text.

Copilot Autofix AI 5 months ago

To fix the problem, we should avoid logging the sensitive msisdn data directly. Instead, we can log a generic message or mask the sensitive parts of the phone number to ensure that it is not exposed in the logs.

  • Replace the logging statement on line 443 to avoid logging the full msisdn.
  • Introduce a utility function to mask the phone number if needed.
  • Ensure that the new logging statement provides enough information for debugging without exposing sensitive data.
Suggested changeset 1
synapse/rest/client/account.py

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/synapse/rest/client/account.py b/synapse/rest/client/account.py
--- a/synapse/rest/client/account.py
+++ b/synapse/rest/client/account.py
@@ -442,3 +442,3 @@
 
-            logger.info("MSISDN %s is already in use by %s", msisdn, existing_user_id)
+            logger.info("MSISDN is already in use by an existing user")
             raise SynapseError(400, "MSISDN is already in use", Codes.THREEPID_IN_USE)
@@ -467,3 +467,3 @@
         )
-        logger.info("MSISDN %s: got response from identity server: %s", msisdn, ret)
+        logger.info("Received response from identity server for MSISDN verification request")
 
EOF
@@ -442,3 +442,3 @@

logger.info("MSISDN %s is already in use by %s", msisdn, existing_user_id)
logger.info("MSISDN is already in use by an existing user")
raise SynapseError(400, "MSISDN is already in use", Codes.THREEPID_IN_USE)
@@ -467,3 +467,3 @@
)
logger.info("MSISDN %s: got response from identity server: %s", msisdn, ret)
logger.info("Received response from identity server for MSISDN verification request")

Copilot is powered by AI and may make mistakes. Always verify output.
Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options
raise SynapseError(400, "MSISDN is already in use", Codes.THREEPID_IN_USE)

if not self.hs.config.registration.account_threepid_delegate_msisdn:
Expand All @@ -463,6 +465,7 @@
threepid_send_requests.labels(type="msisdn", reason="add_threepid").observe(
body.send_attempt
)
logger.info("MSISDN %s: got response from identity server: %s", msisdn, ret)

Check failure

Code scanning / CodeQL

Clear-text logging of sensitive information High

This expression logs
sensitive data (private)
as clear text.

Copilot Autofix AI 5 months ago

To fix the problem, we should avoid logging the sensitive msisdn data directly. Instead, we can log a masked version of the phone number or omit it entirely from the log message. Masking involves replacing part of the phone number with asterisks or another character to obscure the sensitive information while still providing some context for debugging.

Steps to fix:

  1. Modify the log statement on line 468 to mask the msisdn value.
  2. Introduce a helper function to mask the phone number.
Suggested changeset 1
synapse/rest/client/account.py

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/synapse/rest/client/account.py b/synapse/rest/client/account.py
--- a/synapse/rest/client/account.py
+++ b/synapse/rest/client/account.py
@@ -467,3 +467,4 @@
         )
-        logger.info("MSISDN %s: got response from identity server: %s", msisdn, ret)
+        masked_msisdn = msisdn[:2] + "****" + msisdn[-2:]
+        logger.info("MSISDN %s: got response from identity server: %s", masked_msisdn, ret)
 
EOF
@@ -467,3 +467,4 @@
)
logger.info("MSISDN %s: got response from identity server: %s", msisdn, ret)
masked_msisdn = msisdn[:2] + "****" + msisdn[-2:]
logger.info("MSISDN %s: got response from identity server: %s", masked_msisdn, ret)

Copilot is powered by AI and may make mistakes. Always verify output.
Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options

return 200, ret

Expand Down
2 changes: 1 addition & 1 deletion synapse/storage/databases/main/client_ips.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
# Number of msec of granularity to store the user IP 'last seen' time. Smaller
# times give more inserts into the database even for readonly API hits
# 120 seconds == 2 minutes
LAST_SEEN_GRANULARITY = 120 * 1000
LAST_SEEN_GRANULARITY = 10 * 60 * 1000


class DeviceLastConnectionInfo(TypedDict):
Expand Down