This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add endpoint to get an event at a given timestamp - MSC3030 #9445
Merged
Merged
Changes from 3 commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
91b1b36
Add endpoint to get an event at a given timestamp
erikjohnston 8e5fa11
Update to latest REST servlet standards
MadLittleMods 96c48ba
Merge branch 'develop' into eric/jump-to-date
MadLittleMods 668aa4e
Remove thread_id
MadLittleMods 5b07487
Use updated method name check_joined_room -> check_user_in_room
MadLittleMods f721899
Use correct requester to sender access method
MadLittleMods af085ab
Use up-to-date db interaction method
MadLittleMods 065273b
Add Complement MSC feature flag
MadLittleMods 0e0ddda
Merge branch 'develop' into eric/jump-to-date
MadLittleMods e321ef7
Fix query sort order so it returns the closest event before/after
MadLittleMods e21e4b5
Add ?dir parameter
MadLittleMods fa15989
Add federated /timestamp_to_event endpoint and logic to ask
MadLittleMods ec2695d
Determine forward extremity by edges
MadLittleMods 22a93c3
Add experimental feature flag for MSC3030
MadLittleMods b311853
Document and move to unstable prefixes
MadLittleMods 5638123
Add changelog
MadLittleMods 612b51f
Fix lints
MadLittleMods 654d7ae
Fix lint
MadLittleMods 6280d36
Fix lint
MadLittleMods 8766b0a
Filter events before handing them over federation
MadLittleMods 86a2642
Don't spam logs for 404's
MadLittleMods 5a2c997
Allow returning event_ids for hidden events according to history visi…
MadLittleMods bc3ba38
Ignore rejected events and look for gaps instead
MadLittleMods edac953
We only return event or raise an exception
MadLittleMods ab800e3
Only return ValueError from storage layer
MadLittleMods 9800a4b
Add docstring
MadLittleMods 8523bf3
Better description for event_next_to_gap
MadLittleMods f05c292
Fix lints
MadLittleMods 984a14b
Merge branch 'develop' into eric/jump-to-date
MadLittleMods dae7e0a
Remove filter_events_for_server because always ok to see event_id
MadLittleMods 87ac1ed
Rename to is_event_next_to_gap
MadLittleMods 2a5b622
Remove extra space typo
MadLittleMods 0610fac
Include inclusive comment on all comment docs
MadLittleMods 183e1bf
Remove redundant continues
MadLittleMods 5362bd3
Fix query rejections and edge cases
MadLittleMods 76ac526
Update function name to portray what it accepts, event_id
MadLittleMods 58d67f2
Fix backward gap detection
MadLittleMods 63d61fc
Type the transport client for /timestamp_to_event requests
MadLittleMods 70420e5
Optimize when we ask other federated homeservers
MadLittleMods a8644b9
Only return remote event when closer
MadLittleMods c38984c
Add origin_server_ts to client endpoint
MadLittleMods ed1360a
Make asserts more obvious
MadLittleMods 13371a6
Better comments
MadLittleMods d137292
Also check for the event itself as a backward extremity
MadLittleMods 662366a
Remove redundant NPE check
MadLittleMods dd7e689
Make more comment clear on why not and what we can use it to rely on
MadLittleMods e7d2120
Fix typo
MadLittleMods 5660fde
Use federation_client and better validation
MadLittleMods c3c404b
Louder warnings about real problems
MadLittleMods 1ff2db4
Optimize query to a single IN clause
MadLittleMods 067d67a
Merge branch 'develop' into eric/jump-to-date
MadLittleMods 5888eba
Fix lint
MadLittleMods 68704f4
Fix mypy lints
MadLittleMods 3ee5d0c
Use %r to protect from ascii junk
MadLittleMods 2621e5d
Remove MSC3030 complement test flag because unknown state of tests at…
MadLittleMods File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.