-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
MSC2246 async uploads #12484
MSC2246 async uploads #12484
Commits on Jun 3, 2022
-
Remove re-assignment of self.clock in UploadResource
Signed-off-by: Sumner Evans <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 011cc4d - Browse repository at this point
Copy the full SHA 011cc4dView commit details -
config: add option to rate limit media creation
Signed-off-by: Sumner Evans <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 98b82e0 - Browse repository at this point
Copy the full SHA 98b82e0View commit details -
config: add option to gate MSC2246 async uploads
Signed-off-by: Sumner Evans <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9cd13e9 - Browse repository at this point
Copy the full SHA 9cd13e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb06380 - Browse repository at this point
Copy the full SHA cb06380View commit details -
media: move muxing of versioned endpoints to MediaRepositoryResource
This allows for better handling of all of the versioned media endpoints Signed-off-by: Sumner Evans <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 48d3d8d - Browse repository at this point
Copy the full SHA 48d3d8dView commit details -
media/create: add MSC2246 create endpoint
Signed-off-by: Sumner Evans <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f74e8ed - Browse repository at this point
Copy the full SHA f74e8edView commit details -
media/upload: add support for async uploads
This depends on the new newly-fixed locking mechanism from matrix-org#12832 to prevent races. Signed-off-by: Sumner Evans <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 46619f3 - Browse repository at this point
Copy the full SHA 46619f3View commit details -
media/{download,thumbnail}: add support for stall parameter
The stall will default to 20s if MSC2246 is not enabled. For remote media, the max_stall_ms parameter through to remote server. This way, if servers over federation attempt to request the media, the request will only 404 if the media is large (or the client doesn't upload as soon as it can). Signed-off-by: Sumner Evans <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 91a7ddd - Browse repository at this point
Copy the full SHA 91a7dddView commit details -
changelog: add entry for async uploads
Signed-off-by: Sumner Evans <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 474ff92 - Browse repository at this point
Copy the full SHA 474ff92View commit details -
tests: update paths for new media repo structure
Signed-off-by: Sumner Evans <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c45369b - Browse repository at this point
Copy the full SHA c45369bView commit details -
tests/media_storage: add async media parameter
Signed-off-by: Sumner Evans <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0ab87e5 - Browse repository at this point
Copy the full SHA 0ab87e5View commit details