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

MSC3575: Sliding Sync (aka Sync v3) #3575

Open
wants to merge 81 commits into
base: main
Choose a base branch
from
Open

MSC3575: Sliding Sync (aka Sync v3) #3575

wants to merge 81 commits into from

Commits on Dec 20, 2021

  1. WIP: 3575

    kegsay committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    00220dc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d5aabf View commit details
    Browse the repository at this point in the history
  3. Proof read

    kegsay committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    e699035 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2021

  1. MORE WORDS

    kegsay committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    02d3273 View commit details
    Browse the repository at this point in the history
  2. Apply suggestions from code review

    Co-authored-by: Matthew Hodgson <[email protected]>
    kegsay and ara4n committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    bcfd424 View commit details
    Browse the repository at this point in the history
  3. Review comments

    kegsay committed Dec 21, 2021
    Configuration menu
    Copy the full SHA
    b415c1f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    aafcd6a View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2021

  1. Configuration menu
    Copy the full SHA
    ce34b4d View commit details
    Browse the repository at this point in the history
  2. Add missing sections

    kegsay committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    ce3184c View commit details
    Browse the repository at this point in the history
  3. Return an error for invalidated positions

    As @t3chguy mentions, we can't reduce the RTT on this
    as the server will have forgotten sticky request params.
    kegsay committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    2934f21 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ba636b1 View commit details
    Browse the repository at this point in the history
  5. Update unstable endpoint

    kegsay committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    5515da1 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2021

  1. Include filter/sort extensions

    kegsay committed Dec 23, 2021
    Configuration menu
    Copy the full SHA
    6770437 View commit details
    Browse the repository at this point in the history
  2. Proof read

    kegsay committed Dec 23, 2021
    Configuration menu
    Copy the full SHA
    27699ff View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2022

  1. Review comments

    - Ensure `pos` is always a string
    - Rename `rooms` to `ranges`
    - Remove idempotency notes on `pos`
    - Minor clarifications
    kegsay committed Jan 4, 2022
    Configuration menu
    Copy the full SHA
    22a3139 View commit details
    Browse the repository at this point in the history
  2. More review comments

    - Clarify sort order ASC/DESC.
    - Indenting on examples
    - Document proposals for custom state key filters like LAZY and $current
    - Document `limited`
    - Document `timeout`
    kegsay committed Jan 4, 2022
    Configuration menu
    Copy the full SHA
    062cdc1 View commit details
    Browse the repository at this point in the history
  3. Fixup identation more

    kegsay committed Jan 4, 2022
    Configuration menu
    Copy the full SHA
    f491add View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2022

  1. Replace "sync v3" with "sliding sync"

    Sync v3 is technically the current sync in v1.1 of the Matrix Specification, so rename it for clarity.
    kegsay committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    ced5274 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2022

  1. Mention room_name_like filter

    kegsay committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    40ff7f3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a41b92d View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2022

  1. Configuration menu
    Copy the full SHA
    9587bc0 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2022

  1. API updates

    - Add `is_dm` to the room response JSON if the room is a DM room.
    - Add `invite_state` to the room response JSON if the room is an invite.
    - Add `prev_batch` to the room response JSON for fetching scrollback via `/messages`.
    - Add account data extension implementation
    kegsay committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    615e8f5 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2022

  1. BREAKING: Response API shape changes

    - Moves lists to the top-level, which makes sense given ops and room response JSON
      is list-scoped. Also at the top-level is room_subscriptions which has its own
      room response JSON, but no lists at all.
    - Moves count to be list scoped (rather than the weird index matching you need to do today with counts)
    - Replaces ops[].rooms with room ID rather than the room response JSON.
      This adds a bit of needless extra bandwidth but we need these to serve as pointers into..
    - Add lists[].rooms which contains the room response JSON for that list.
    kegsay committed May 23, 2022
    Configuration menu
    Copy the full SHA
    a0bf402 View commit details
    Browse the repository at this point in the history
  2. Remove the superfluous UPDATE command

    We previously needed this command because room
    data HAD to exist inside an `op`, so if a room
    was updated without changing position then it
    needed a command to say "don't change its position"
    which _is_ the UPDATE command. Now that room data
    sits outside the `ops`, we no longer need the
    UPDATE command at all.
    kegsay committed May 23, 2022
    Configuration menu
    Copy the full SHA
    02e3706 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2022

  1. BREAKING: Bring all rooms responses to the top-level

    Reduces data duplication.
    kegsay committed May 24, 2022
    Configuration menu
    Copy the full SHA
    bea7323 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2022

  1. Configuration menu
    Copy the full SHA
    b3132b0 View commit details
    Browse the repository at this point in the history
  2. 19 not 18

    kegsay committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    3b2b3d5 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2022

  1. 1 Configuration menu
    Copy the full SHA
    60be9c9 View commit details
    Browse the repository at this point in the history
  2. null not ""

    kegsay committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    a475ed3 View commit details
    Browse the repository at this point in the history
  3. Clarify not_room_types wins

    kegsay committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    9dd664a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b82c185 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2022

  1. Update impl status

    kegsay committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    8a82f92 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2022

  1. Add txn_id to client requests

    kegsay committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    61decae View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2022

  1. Configuration menu
    Copy the full SHA
    9178f1d View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2022

  1. Clarify long polling rules

    kegsay committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    9db6b9a View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2022

  1. Configuration menu
    Copy the full SHA
    59c83a8 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2022

  1. Configuration menu
    Copy the full SHA
    3b8175c View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2022

  1. BREAKING: replace by_highlight_count and by_notification_count with b…

    …y_notification_level
    kegsay committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    7c010ea View commit details
    Browse the repository at this point in the history
  2. Update examples

    kegsay committed Oct 14, 2022
    Configuration menu
    Copy the full SHA
    182e664 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2022

  1. Configuration menu
    Copy the full SHA
    e6ad74e View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2022

  1. Configuration menu
    Copy the full SHA
    e58cf13 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    84c1361 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4efc165 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2022

  1. Add lazy loading

    kegsay committed Oct 28, 2022
    Configuration menu
    Copy the full SHA
    4ec8bfb View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2022

  1. Update 3575-sync.md

    kegsay committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    25eeb82 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2022

  1. Add num_live

    kegsay committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    2538552 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2022

  1. Configuration menu
    Copy the full SHA
    607ec75 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2023

  1. Configuration menu
    Copy the full SHA
    5b2577d View commit details
    Browse the repository at this point in the history
  2. Allow bw tokens to expire

    kegsay committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    f5fae29 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d17f875 View commit details
    Browse the repository at this point in the history
  4. Missed one

    kegsay committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    b4b4e7f View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2023

  1. Update 3575-sync.md

    kegsay committed Feb 8, 2023
    Configuration menu
    Copy the full SHA
    b5788bd View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2023

  1. Update 3575-sync.md

    kegsay committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    89cf034 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. Update proposals/3575-sync.md

    Co-authored-by: Travis Ralston <[email protected]>
    kegsay and turt2live committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    64a6f49 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2023

  1. Configuration menu
    Copy the full SHA
    4f5d3bf View commit details
    Browse the repository at this point in the history
  2. Stop goland complaining about JSON syntax

    David Robertson committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    35b79f6 View commit details
    Browse the repository at this point in the history
  3. Introduce bump_event_types field

    so that e.g. profile changes don't reorder the list
    David Robertson committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    27d190c View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2023

  1. Make bump_event_types conn-level, not list-level

    Much easier to implement like this, and might be good enough for now.
    David Robertson committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    d9aeefc View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2023

  1. Include m.room.encrypted in both examples

    David Robertson committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    560f018 View commit details
    Browse the repository at this point in the history
  2. Bump for all events if bump_event_types is empty

    David Robertson committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    5bd13e6 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2023

  1. Sketch definition of extensions.*.lists/rooms

    David Robertson committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    602d342 View commit details
    Browse the repository at this point in the history
  2. The extension activiation condition is union-like

    David Robertson committed Mar 28, 2023
    Configuration menu
    Copy the full SHA
    5c8496e View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2023

  1. Update proposals/3575-sync.md

    Co-authored-by: Richard van der Hoff <[email protected]>
    kegsay and richvdh committed Mar 30, 2023
    Configuration menu
    Copy the full SHA
    aa9c21b View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2023

  1. Link to recently created MSCs for extensions

    David Robertson committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    eab643c View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2023

  1. Fix account data extension link

    Co-authored-by: Kévin Commaille <[email protected]>
    DMRobertson and zecakeh committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    9d53e76 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2023

  1. Update proposals/3575-sync.md

    Co-authored-by: Benjamin Bouvier <[email protected]>
    kegsay and bnjbvr committed May 5, 2023
    Configuration menu
    Copy the full SHA
    188aeeb View commit details
    Browse the repository at this point in the history

Commits on May 10, 2023

  1. Add conn_id as a replacement for session IDs

    This allows concurrent connections to a SS server.
    kegsay committed May 10, 2023
    Configuration menu
    Copy the full SHA
    2b92f4b View commit details
    Browse the repository at this point in the history
  2. Security considerations

    kegsay committed May 10, 2023
    Configuration menu
    Copy the full SHA
    9f5ac33 View commit details
    Browse the repository at this point in the history
  3. Add blurb on expiry

    kegsay committed May 10, 2023
    Configuration menu
    Copy the full SHA
    f9954f0 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2023

  1. Make bump_event_types per-list

    David Robertson committed May 23, 2023
    Configuration menu
    Copy the full SHA
    14580ca View commit details
    Browse the repository at this point in the history
  2. Editing bump_event_types has no retroactive effect

    David Robertson committed May 23, 2023
    Configuration menu
    Copy the full SHA
    4103ee7 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2023

  1. Clarify the meaning of extension scoping config

    David Robertson committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    30e31c8 View commit details
    Browse the repository at this point in the history
  2. Another pass on extension scoping

    David Robertson committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    7148c57 View commit details
    Browse the repository at this point in the history
  3. Tweak extension scoping wording

    David Robertson committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    0e3ea58 View commit details
    Browse the repository at this point in the history
  4. Hyperlink to the extensions section

    David Robertson committed Jun 9, 2023
    Configuration menu
    Copy the full SHA
    50ae2c8 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. Define an avatar field in the room response

    David Robertson committed Jul 13, 2023
    2 Configuration menu
    Copy the full SHA
    1d38101 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2023

  1. Avatar field: use null for "no avatar"

    David Robertson committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    912621b View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2023

  1. Fix indentation of avatar field

    David Robertson committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    71fb1a2 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2023

  1. Configuration menu
    Copy the full SHA
    9450ced View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. Update 3575-sync.md

    kegsay committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    8ced9a7 View commit details
    Browse the repository at this point in the history
  2. Update 3575-sync.md

    kegsay committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    7036c29 View commit details
    Browse the repository at this point in the history