-
Notifications
You must be signed in to change notification settings - Fork 597
Add an API to list changes to quarantine state of media #19558
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
Merged
Merged
Changes from 10 commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
9a1c92f
Create a stream to track quarantine state changes
turt2live c3a0e4a
Insert into quarantined media stream upon changes
turt2live 7386f04
Add admin API to access stream data
turt2live 0f782ce
Add background update to insert existing rows
turt2live f1a35fa
changelog
turt2live 780f13a
Merge branch 'develop' into travis/list-quarantined-media-mk2
turt2live a78c03c
fix out of bounds on max
turt2live 7963593
Attempt to fix linting
turt2live d77a76d
bump for ci
turt2live 2ef406e
Merge branch 'develop' into travis/list-quarantined-media-mk2
turt2live 86a6a15
Merge branch 'develop' into travis/list-quarantined-media-mk2
turt2live 62261e0
Merge branch 'develop' into travis/list-quarantined-media-mk2
turt2live d743711
Add comments
turt2live 81ce22c
Use current token for stream, requiring writer configuration
turt2live 282e670
Add extra safety
turt2live 616e9c8
Split and expand tests
turt2live 914e252
Attempt to fix linting
turt2live 090e220
bump ci
turt2live cb71d46
Move schema deltas
turt2live 07ec8f4
Fix tests
turt2live d288ef5
Apply changes from review comments
turt2live 471b3dc
Attempt to fix linting
turt2live b5eafbc
Merge branch 'develop' into travis/list-quarantined-media-mk2
turt2live 373ed83
Record quarantine changes in more sites
turt2live e5791a3
spelling
turt2live 067f659
Apply suggestions from code review
turt2live 99b4bf2
Attempt to fix linting
turt2live 5a4ac32
bump ci
turt2live 5eac826
Use `Token` type
turt2live b755aae
Add more token stuff
turt2live c157697
split tests, again
turt2live dbc3445
Use multi stream tokens to fix types?
turt2live 6688723
Attempt to fix linting
turt2live 237f0a6
Revert "Attempt to fix linting"
turt2live 190bda8
Revert "Use multi stream tokens to fix types?"
turt2live ef63a72
Partial revert "Add more token stuff"
turt2live 519512c
we do need this though
turt2live c36311a
Revert "we do need this though"
turt2live 8d6d9c8
Revert "Add more token stuff"
turt2live 2de3744
Move stream wait to servlet I guess
turt2live 2325d9b
Remove excess change from lint fixing action
turt2live 2558b61
API changes
turt2live 7469b49
Change background update
turt2live 8255d7b
Attempt to fix linting
turt2live 455f749
*ahem*
turt2live cbc6ec3
1
turt2live 79b7a8a
Back out changes which try to capture additional sites
turt2live 6006bc1
Apply suggestions from code review
turt2live f4f7369
Merge remote-tracking branch 'origin/travis/list-quarantined-media-mk…
turt2live 4a7f8fa
Fix from code review
turt2live bf589b7
More code review changes
turt2live 61ed17f
Add background update test case
turt2live 1a5d3b8
Attempt to fix linting
turt2live 0851400
incorporate hidden suggestion
turt2live 44ddb62
define store
turt2live 3c1f0ea
remove unused var
turt2live da290fa
Attempt to fix linting
turt2live 35ac9dc
bump ci
turt2live b4e3755
fix
turt2live f4bbc99
Attempt to fix linting
turt2live d17a8f2
Merge branch 'develop' into travis/list-quarantined-media-mk2
turt2live af05ff3
Different base I guess
turt2live 8c34804
login
turt2live 78beb96
Add sequence to portdb setup
turt2live 53752b0
docs and test changes
turt2live 0d086a4
Attempt to fix linting
turt2live 22d8370
Merge branch 'develop' into travis/list-quarantined-media-mk2
turt2live 1e94897
E_OFF_BY_1
turt2live 9f03d60
Fix docs
turt2live 045dfec
Apply suggestions from code review
turt2live af5dd7a
address code review again
turt2live c78e67f
Attempt to fix linting
turt2live 5269e19
bump ci
turt2live 62c533a
Update synapse/rest/admin/media.py
turt2live 083c00f
Update tests/storage/test_room.py
turt2live 51f9f0e
Give more friendly feedback to callers who try to get future data
turt2live 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
Some comments aren't visible on the classic Files Changed page.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Add a ["Listing quarantined media changes" Admin API](https://element-hq.github.io/synapse/latest/admin_api/media_admin_api.html#listing-quarantined-media-changes) for retrieving a paginated record of when media became (un)quarantined. | ||
|
MadLittleMods marked this conversation as resolved.
|
||
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
|
turt2live marked this conversation as resolved.
|
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
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
Oops, something went wrong.
Oops, something went wrong.
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.