-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add endpoints for backfilling history (MSC2716) #9247
Commits on Jan 28, 2021
-
Add endpoints for backfilling history (MSC2716)
Work on matrix-org/matrix-spec-proposals#2716 Complement MR: matrix-org/complement#68
Configuration menu - View commit details
-
Copy full SHA for 22c038e - Browse repository at this point
Copy the full SHA 22c038eView commit details
Commits on Jan 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4836954 - Browse repository at this point
Copy the full SHA 4836954View commit details
Commits on Jan 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c0b0936 - Browse repository at this point
Copy the full SHA c0b0936View commit details
Commits on Feb 2, 2021
-
Remove origin_server_ts in favor of spec'ed ts query param
Also edits for TARDIS visualation: matrix-org/tardis#1
Configuration menu - View commit details
-
Copy full SHA for bf90053 - Browse repository at this point
Copy the full SHA bf90053View commit details -
Use previous depth if overriding prev_events to insert into history
TODO: Is the assumption of anytime we pass in prev_event_ids, we use same depth good enough? What corner cases are there? I see that we also pass in prev_event_ids this in synapse/handlers/room_member.py so need to make sure that still work as expected
Configuration menu - View commit details
-
Copy full SHA for bcc6943 - Browse repository at this point
Copy the full SHA bcc6943View commit details
Commits on Feb 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7f4c3a6 - Browse repository at this point
Copy the full SHA 7f4c3a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 800f3a3 - Browse repository at this point
Copy the full SHA 800f3a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b5e057 - Browse repository at this point
Copy the full SHA 9b5e057View commit details -
Configuration menu - View commit details
-
Copy full SHA for 447eaa8 - Browse repository at this point
Copy the full SHA 447eaa8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ec22b5 - Browse repository at this point
Copy the full SHA 7ec22b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for afa5e5d - Browse repository at this point
Copy the full SHA afa5e5dView commit details -
Pass inherit_depth all the way down the line which we define only whe…
…n prev_event query param is used
Configuration menu - View commit details
-
Copy full SHA for f1f3fb0 - Browse repository at this point
Copy the full SHA f1f3fb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7d7f92 - Browse repository at this point
Copy the full SHA e7d7f92View commit details
Commits on Feb 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b9024f7 - Browse repository at this point
Copy the full SHA b9024f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d204880 - Browse repository at this point
Copy the full SHA d204880View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbba361 - Browse repository at this point
Copy the full SHA dbba361View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1c31f1 - Browse repository at this point
Copy the full SHA f1c31f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19aa93c - Browse repository at this point
Copy the full SHA 19aa93cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c074584 - Browse repository at this point
Copy the full SHA c074584View commit details -
Configuration menu - View commit details
-
Copy full SHA for c02079d - Browse repository at this point
Copy the full SHA c02079dView commit details
Commits on Feb 11, 2021
-
Update changelog.d/9247.feature
Co-authored-by: Patrick Cloke <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 412ffc3 - Browse repository at this point
Copy the full SHA 412ffc3View commit details -
Update synapse/events/builder.py
Co-authored-by: Patrick Cloke <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7160f3b - Browse repository at this point
Copy the full SHA 7160f3bView commit details -
Co-authored-by: Patrick Cloke <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ff398d - Browse repository at this point
Copy the full SHA 5ff398dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 864b98f - Browse repository at this point
Copy the full SHA 864b98fView commit details -
Merge branch 'eric/msc2716-backfilling-history' of github.com:matrix-…
…org/synapse into eric/msc2716-backfilling-history
Configuration menu - View commit details
-
Copy full SHA for 6f174f1 - Browse repository at this point
Copy the full SHA 6f174f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba1eb39 - Browse repository at this point
Copy the full SHA ba1eb39View commit details -
Filter recent events in both places that we fetch them
This way we handle the early return case as well Address https://github.com/matrix-org/synapse/pull/9247/files#r573711617
Configuration menu - View commit details
-
Copy full SHA for 6d4fcb6 - Browse repository at this point
Copy the full SHA 6d4fcb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d5fb8b - Browse repository at this point
Copy the full SHA 5d5fb8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed76d5f - Browse repository at this point
Copy the full SHA ed76d5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1aa3af9 - Browse repository at this point
Copy the full SHA 1aa3af9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e63ef8e - Browse repository at this point
Copy the full SHA e63ef8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c90af9e - Browse repository at this point
Copy the full SHA c90af9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 270e5ee - Browse repository at this point
Copy the full SHA 270e5eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4359ab8 - Browse repository at this point
Copy the full SHA 4359ab8View commit details
Commits on Feb 17, 2021
-
Merge branch 'develop' into eric/msc2716-backfilling-history
Conflicts: synapse/events/builder.py
Configuration menu - View commit details
-
Copy full SHA for 641e871 - Browse repository at this point
Copy the full SHA 641e871View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d8514f - Browse repository at this point
Copy the full SHA 6d8514fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dacc86 - Browse repository at this point
Copy the full SHA 5dacc86View commit details
Commits on Mar 11, 2021
-
WIP: Use depth from successor event
Implementing #9247 (comment)
Configuration menu - View commit details
-
Copy full SHA for 61dc89f - Browse repository at this point
Copy the full SHA 61dc89fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e12a77d - Browse repository at this point
Copy the full SHA e12a77dView commit details
Commits on Mar 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8549219 - Browse repository at this point
Copy the full SHA 8549219View commit details
Commits on Mar 30, 2021
-
Merge branch 'develop' into eric/msc2716-backfilling-history
Conflicts: synapse/config/experimental.py synapse/visibility.py
Configuration menu - View commit details
-
Copy full SHA for 6c96622 - Browse repository at this point
Copy the full SHA 6c96622View commit details -
Bulk send endpoint for backfilling history (MSC2716)
Spawned from discussion in matrix-org/matrix-spec-proposals#2716 (comment) Other PR with MSC2716 attempt: #9247
Configuration menu - View commit details
-
Copy full SHA for 23d0379 - Browse repository at this point
Copy the full SHA 23d0379View commit details
Commits on Mar 31, 2021
-
As described from matrix-org/matrix-spec-proposals#2716 (comment)
Configuration menu - View commit details
-
Copy full SHA for ea37564 - Browse repository at this point
Copy the full SHA ea37564View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7008ee0 - Browse repository at this point
Copy the full SHA 7008ee0View commit details
Commits on Apr 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0d4736f - Browse repository at this point
Copy the full SHA 0d4736fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 49631e5 - Browse repository at this point
Copy the full SHA 49631e5View commit details
Commits on Apr 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 06dccec - Browse repository at this point
Copy the full SHA 06dccecView commit details
Commits on Apr 10, 2021
-
Merge branch 'develop' into eric/msc2716-backfilling-history
Conflicts: scripts-dev/complement.sh synapse/config/experimental.py tests/storage/test_redaction.py
Configuration menu - View commit details
-
Copy full SHA for 8e0684d - Browse repository at this point
Copy the full SHA 8e0684dView commit details -
Working bulksend endpoint for sending state and historical messages (…
…authed) Copy repo state from #9759
Configuration menu - View commit details
-
Copy full SHA for cbd16b8 - Browse repository at this point
Copy the full SHA cbd16b8View commit details
Commits on Apr 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 044a761 - Browse repository at this point
Copy the full SHA 044a761View commit details
Commits on Apr 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 86ec915 - Browse repository at this point
Copy the full SHA 86ec915View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81b45b5 - Browse repository at this point
Copy the full SHA 81b45b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02b7335 - Browse repository at this point
Copy the full SHA 02b7335View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82708cb - Browse repository at this point
Copy the full SHA 82708cbView commit details
Commits on May 1, 2021
-
Add historical messages to /backfill response
They do not auth correctly though ``` 2021-05-01 02:08:20,888 - synapse.handlers.federation - 2509 - INFO - GET-4 - auth_events refers to events which are not in our calculated auth chain: {'$tLNZXWvubBTZyo8VQwG77xni_lMw67AseQRxQ9hJblM', '$iwYNb_ZF4IHRB-4x1OCjtCT206clBlUjDlTZFtxPbiY', '$79GFmHJKGSpQTYmxL6gpteK7CgaVtAV_KKjTxXKSKtY', '$6U3Dw80m6PwtUqp4hzGdo6LL3Q3CeRyL3CpY2j9NOKo', '$8qUw8T4lslR38TUmeIB2kXwF2eMvOLbAGj-PiIdVAM8', '$bhniSE3Vv71c3Eo1G_YCig3VNflaAbDIyIm51d_6nsU', '$gl7q_qh3siy4Gx_iCwhT8cGJSdnH38_o97kGHR0HJYM'} 2021-05-01 02:08:20,890 - synapse.state - 452 - INFO - GET-4 - Resolving state for !pIRfotsTwFNpPshIIV:hs1 with 2 groups 2021-05-01 02:08:20,893 - synapse.handlers.federation - 2548 - INFO - GET-4 - After state res: updating auth_events with new state {('m.room.create', ''): '$6U3Dw80m6PwtUqp4hzGdo6LL3Q3CeRyL3CpY2j9NOKo', ('m.room.member', '@the-bridge-user:hs1'): '$tLNZXWvubBTZyo8VQwG77xni_lMw67AseQRxQ9hJblM', ('m.room.power_levels', ''): '$iwYNb_ZF4IHRB-4x1OCjtCT206clBlUjDlTZFtxPbiY', ('m.room.join_rules', ''): '$bhniSE3Vv71c3Eo1G_YCig3VNflaAbDIyIm51d_6nsU', ('m.room.history_visibility', ''): '$gl7q_qh3siy4Gx_iCwhT8cGJSdnH38_o97kGHR0HJYM', ('m.room.member', '@alice:hs1'): '$8qUw8T4lslR38TUmeIB2kXwF2eMvOLbAGj-PiIdVAM8'} 2021-05-01 02:08:20,897 - synapse.handlers.federation - 2389 - WARNING - GET-4 - Failed auth resolution for <FrozenEventV3 event_id='$Xow9Ex_IDhUMm8W-nFOkL-NXT4lByajdO-aDcNuScbM', type='m.room.message', state_key=None> because 403: User @maria:hs1 not in room !pIRfotsTwFNpPshIIV:hs1 (None) ```
Configuration menu - View commit details
-
Copy full SHA for f0fb732 - Browse repository at this point
Copy the full SHA f0fb732View commit details -
Logging to better debug federated event not authing
See #9247 (comment) Wrong member event coming down /event_auth
Configuration menu - View commit details
-
Copy full SHA for c525c5d - Browse repository at this point
Copy the full SHA c525c5dView commit details
Commits on May 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5deee7c - Browse repository at this point
Copy the full SHA 5deee7cView commit details
Commits on May 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 960ec21 - Browse repository at this point
Copy the full SHA 960ec21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 779ef25 - Browse repository at this point
Copy the full SHA 779ef25View commit details -
Fix signature check failing for historical state events
Make sure to use a copy of this list as we add to it and loop here. Otherwise it will be the same reference and update when we append here later. For context, see #9247 (comment)
Configuration menu - View commit details
-
Copy full SHA for 7dcc0fa - Browse repository at this point
Copy the full SHA 7dcc0faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52b1e7b - Browse repository at this point
Copy the full SHA 52b1e7bView commit details
Commits on May 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1d6cf78 - Browse repository at this point
Copy the full SHA 1d6cf78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13b18a8 - Browse repository at this point
Copy the full SHA 13b18a8View commit details
Commits on May 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3d513bf - Browse repository at this point
Copy the full SHA 3d513bfView commit details
Commits on May 21, 2021
-
Start of new approach for chronolgoical events in chunk
See #9247 (comment) Start of refactor to order events in each chunk in chronological order but persist events in reverse-chronological order to get the correct (topological_ordering, stream_ordering). No marker events
Configuration menu - View commit details
-
Copy full SHA for e92a9e9 - Browse repository at this point
Copy the full SHA e92a9e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9ae5e1 - Browse repository at this point
Copy the full SHA e9ae5e1View commit details
Commits on May 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a978f38 - Browse repository at this point
Copy the full SHA a978f38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c22929 - Browse repository at this point
Copy the full SHA 2c22929View commit details
Commits on May 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0501a11 - Browse repository at this point
Copy the full SHA 0501a11View commit details -
Merge branch 'develop' into eric/msc2716-backfilling-history
Conflicts: scripts-dev/complement.sh synapse/api/auth.py synapse/handlers/message.py
Configuration menu - View commit details
-
Copy full SHA for e231a99 - Browse repository at this point
Copy the full SHA e231a99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 176a854 - Browse repository at this point
Copy the full SHA 176a854View commit details
Commits on May 29, 2021
-
Merge branch 'develop' into eric/msc2716-backfilling-history
Conflicts: synapse/http/servlet.py
Configuration menu - View commit details
-
Copy full SHA for a6a05f8 - Browse repository at this point
Copy the full SHA a6a05f8View commit details
Commits on Jun 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 25aef56 - Browse repository at this point
Copy the full SHA 25aef56View commit details -
Pass in prev_events as function parameter so clients can't set it in …
…the event dictionary See #10049 (comment)
Configuration menu - View commit details
-
Copy full SHA for 0580d09 - Browse repository at this point
Copy the full SHA 0580d09View commit details -
Switch to passing depth directly instead of inherit_depth
See https://github.com/matrix-org/synapse/pull/9247/files#r636778295 Conflicts: changelog.d/10049.misc synapse/handlers/message.py
Configuration menu - View commit details
-
Copy full SHA for ef68832 - Browse repository at this point
Copy the full SHA ef68832View commit details
Commits on Jun 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d8316d6 - Browse repository at this point
Copy the full SHA d8316d6View commit details
Commits on Jun 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 513d7a2 - Browse repository at this point
Copy the full SHA 513d7a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f36bdde - Browse repository at this point
Copy the full SHA f36bddeView commit details -
Configuration menu - View commit details
-
Copy full SHA for c2e1924 - Browse repository at this point
Copy the full SHA c2e1924View commit details -
Remove unneeded body from insertion events
It was a problem with how my Complement tests were only iterating over events with body fields.
Configuration menu - View commit details
-
Copy full SHA for 88327fb - Browse repository at this point
Copy the full SHA 88327fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 34f130c - Browse repository at this point
Copy the full SHA 34f130cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f35954 - Browse repository at this point
Copy the full SHA 2f35954View commit details -
Protect from clients from using the historical logic (only /batchsend…
… can use it) See #9247 (comment)
Configuration menu - View commit details
-
Copy full SHA for 6ce47d3 - Browse repository at this point
Copy the full SHA 6ce47d3View commit details
Commits on Jun 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b032370 - Browse repository at this point
Copy the full SHA b032370View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22881e2 - Browse repository at this point
Copy the full SHA 22881e2View commit details
Commits on Jun 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for ae85719 - Browse repository at this point
Copy the full SHA ae85719View commit details
Commits on Jun 11, 2021
-
Merge branch 'develop' into eric/msc2716-backfilling-history
Conflicts: synapse/config/experimental.py synapse/handlers/room_member.py
Configuration menu - View commit details
-
Copy full SHA for d59d6be - Browse repository at this point
Copy the full SHA d59d6beView commit details -
Configuration menu - View commit details
-
Copy full SHA for c236a3c - Browse repository at this point
Copy the full SHA c236a3cView commit details
Commits on Jun 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 429e130 - Browse repository at this point
Copy the full SHA 429e130View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29c3708 - Browse repository at this point
Copy the full SHA 29c3708View commit details -
Merge branch 'develop' into eric/msc2716-backfilling-history
Conflicts: synapse/config/experimental.py
Configuration menu - View commit details
-
Copy full SHA for 89e08c5 - Browse repository at this point
Copy the full SHA 89e08c5View commit details
Commits on Jun 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for bfe458c - Browse repository at this point
Copy the full SHA bfe458cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c1750f - Browse repository at this point
Copy the full SHA 2c1750fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e851dac - Browse repository at this point
Copy the full SHA e851dacView commit details
Commits on Jun 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7dcbba9 - Browse repository at this point
Copy the full SHA 7dcbba9View commit details
Commits on Jun 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f7158ff - Browse repository at this point
Copy the full SHA f7158ffView commit details