Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add endpoint to get an event at a given timestamp - MSC3030 #9445

Merged
merged 55 commits into from
Dec 2, 2021

Commits on Jul 15, 2021

  1. Configuration menu
    Copy the full SHA
    91b1b36 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8e5fa11 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2021

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

Commits on Jul 27, 2021

  1. Remove thread_id

    MadLittleMods committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    668aa4e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b07487 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f721899 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    af085ab View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2021

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

Commits on Nov 10, 2021

  1. Merge branch 'develop' into eric/jump-to-date

    Conflicts:
    	scripts-dev/complement.sh
    	synapse/rest/client/room.py
    MadLittleMods committed Nov 10, 2021
    Configuration menu
    Copy the full SHA
    0e0ddda View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2021

  1. Configuration menu
    Copy the full SHA
    e321ef7 View commit details
    Browse the repository at this point in the history
  2. Add ?dir parameter

    MadLittleMods committed Nov 12, 2021
    Configuration menu
    Copy the full SHA
    e21e4b5 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2021

  1. Configuration menu
    Copy the full SHA
    fa15989 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ec2695d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    22a93c3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b311853 View commit details
    Browse the repository at this point in the history
  5. Add changelog

    MadLittleMods committed Nov 17, 2021
    Configuration menu
    Copy the full SHA
    5638123 View commit details
    Browse the repository at this point in the history
  6. Fix lints

    MadLittleMods committed Nov 17, 2021
    Configuration menu
    Copy the full SHA
    612b51f View commit details
    Browse the repository at this point in the history
  7. Fix lint

    MadLittleMods committed Nov 17, 2021
    Configuration menu
    Copy the full SHA
    654d7ae View commit details
    Browse the repository at this point in the history
  8. Fix lint

    MadLittleMods committed Nov 17, 2021
    Configuration menu
    Copy the full SHA
    6280d36 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2021

  1. Configuration menu
    Copy the full SHA
    8766b0a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    86a2642 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5a2c997 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bc3ba38 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    edac953 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ab800e3 View commit details
    Browse the repository at this point in the history
  7. Add docstring

    MadLittleMods committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    9800a4b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8523bf3 View commit details
    Browse the repository at this point in the history
  9. Fix lints

    MadLittleMods committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    f05c292 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'develop' into eric/jump-to-date

    Conflicts:
    	scripts-dev/complement.sh
    MadLittleMods committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    984a14b View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2021

  1. Configuration menu
    Copy the full SHA
    dae7e0a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    87ac1ed View commit details
    Browse the repository at this point in the history
  3. Remove extra space typo

    MadLittleMods committed Nov 29, 2021
    Configuration menu
    Copy the full SHA
    2a5b622 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0610fac View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    183e1bf View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2021

  1. Fix query rejections and edge cases

    See
    
     - #9445 (comment)
     - #9445 (comment)
    
    This commit does make one of the federation Complement tests fail
    but I think it's because our backward extremity query is weird
    and doesn't check the event in questions prev_events. Currently
    we only check the event itself which won't be a backward extremity
    because we already have the event and set the prev_events as the
    new backward extremities.
    MadLittleMods committed Nov 30, 2021
    Configuration menu
    Copy the full SHA
    5362bd3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    76ac526 View commit details
    Browse the repository at this point in the history
  3. Fix backward gap detection

    There was a flaw in my logic before where it checked
    the event itself as a backward extremity instead of the events
    prev_events.
    MadLittleMods committed Nov 30, 2021
    Configuration menu
    Copy the full SHA
    58d67f2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    63d61fc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    70420e5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a8644b9 View commit details
    Browse the repository at this point in the history
  7. Add origin_server_ts to client endpoint

    Added it to the client endpoint as well because it could be useful to
    make sure that a requested event is not 24 hours older than the timestamp
    requested for day-by-day archive for example.
    MadLittleMods committed Nov 30, 2021
    Configuration menu
    Copy the full SHA
    c38984c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ed1360a View commit details
    Browse the repository at this point in the history
  9. Better comments

    MadLittleMods committed Nov 30, 2021
    Configuration menu
    Copy the full SHA
    13371a6 View commit details
    Browse the repository at this point in the history
  10. Also check for the event itself as a backward extremity

    See #9445 (comment)
    
    This additional check for the event itself as a backward extremity
    is necessary because it's probably possible to have an outlier
    event with no prev_events as backward extremities.
    MadLittleMods committed Nov 30, 2021
    Configuration menu
    Copy the full SHA
    d137292 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    662366a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    dd7e689 View commit details
    Browse the repository at this point in the history
  13. Fix typo

    MadLittleMods committed Nov 30, 2021
    Configuration menu
    Copy the full SHA
    e7d2120 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    5660fde View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2021

  1. Configuration menu
    Copy the full SHA
    c3c404b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1ff2db4 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'develop' into eric/jump-to-date

    Conflicts:
    	scripts-dev/complement.sh
    MadLittleMods committed Dec 1, 2021
    Configuration menu
    Copy the full SHA
    067d67a View commit details
    Browse the repository at this point in the history
  4. Fix lint

    MadLittleMods committed Dec 1, 2021
    Configuration menu
    Copy the full SHA
    5888eba View commit details
    Browse the repository at this point in the history
  5. Fix mypy lints

    MadLittleMods committed Dec 1, 2021
    Configuration menu
    Copy the full SHA
    68704f4 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2021

  1. Use %r to protect from ascii junk

    See #9445 (comment)
    
    This will print `\n` as `'\n'` instead of an actual newline for example
    MadLittleMods committed Dec 2, 2021
    Configuration menu
    Copy the full SHA
    3ee5d0c View commit details
    Browse the repository at this point in the history
  2. Remove MSC3030 complement test flag because unknown state of tests at…

    … time of merge
    
    Complement tests are in matrix-org/complement#178
    but haven't had any review and not sure when they will merge.
    MadLittleMods committed Dec 2, 2021
    Configuration menu
    Copy the full SHA
    2621e5d View commit details
    Browse the repository at this point in the history