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
Asynchronous Uploads #15503
Merged
Merged
Asynchronous Uploads #15503
Changes from 23 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
3651bf5
Remove re-assignment of self.clock in UploadResource
sumnerevans 1bcb587
config: add option to rate limit media creation
sumnerevans f9e0504
config: add option for how long to wait until media ID expires
sumnerevans f0d53e8
media/create: add /create endpoint
sumnerevans d29b9d3
changelog: add entry for async uploads
sumnerevans e2007fa
media/upload: add support for async uploads
sumnerevans baa96f6
media/{download,thumbnail}: support timeout_ms parameter
sumnerevans e4c4f36
tests/media/test_media_storage: add timeout_ms
sumnerevans a6b2192
config: add option for max pending media uploads
sumnerevans e2e4ad5
media/create: enforce limit on number of pending uploads
sumnerevans 97c792c
media/create: don't store unused expiration time in database
sumnerevans 52e8915
media/upload: split async servlet into separate class
clokep 961bfa0
Do not fail upload if thumbnailing fails.
clokep b49a50b
fixup! media/upload: add support for async uploads
sumnerevans 4e4e8d0
fixup! media/{download,thumbnail}: support timeout_ms parameter
sumnerevans 37c7970
fixup! media/{download,thumbnail}: support timeout_ms parameter
sumnerevans acadec0
fixup! media/create: add /create endpoint
sumnerevans 58364ad
fixup! media/create: don't store unused expiration time in database
sumnerevans a514c84
fixup! media/create: enforce limit on number of pending uploads
sumnerevans b298258
fixup! media/create: enforce limit on number of pending uploads
sumnerevans 1cff556
fixup! media/create: add /create endpoint
sumnerevans 07afcfb
fixup! media/create: enforce limit on number of pending uploads
sumnerevans c377b5d
fixup! media/upload: split async servlet into separate class
sumnerevans 6974380
fixup! media/{download,thumbnail}: support timeout_ms parameter
sumnerevans 8b225ee
fixup! media/{download,thumbnail}: support timeout_ms parameter
sumnerevans c5e4f04
fixup! media/{download,thumbnail}: support timeout_ms parameter
sumnerevans c3d3afe
fixup! media/create: enforce limit on number of pending uploads
sumnerevans 8debbdf
Fix reference to potentially undefined config.
clokep 38badff
Appease mypy
clokep 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add support for asynchronous uploads as defined by [MSC2246](https://github.com/matrix-org/matrix-spec-proposals/pull/2246). Contributed by @sumnerevans at @beeper. |
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
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.
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.