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

Asynchronous Uploads #15460

Closed
wants to merge 7 commits into from
Closed

Conversation

sumnerevans
Copy link
Contributor

@sumnerevans sumnerevans commented Apr 20, 2023

Very WIP Asynchronous Uploads support

Implements the recently merged MSC2246 for Synapse's media repository.

Closes #12484

  • Configuration options rate limiting media creation
  • Configuration options for how long to wait until media IDs expire
  • POST /_matrix/media/v1/create
  • PUT /_matrix/media/v3/upload/{serverName}/{mediaId}
  • timeout_ms support on /download
  • timeout_ms support on /thumbnail
  • Option to restrict how many open media creations a given user can have.

Signed-off-by: Sumner Evans sumner@beeper.com

Pull Request Checklist

  • Pull request is based on the develop branch
  • Pull request includes a changelog file. The entry should:
    • Be a short description of your change which makes sense to users. "Fixed a bug that prevented receiving messages from other servers." instead of "Moved X method from EventStore to EventWorkerStore.".
    • Use markdown where necessary, mostly for code blocks.
    • End with either a period (.) or an exclamation mark (!).
    • Start with a capital letter.
    • Feel free to credit yourself, by adding a sentence "Contributed by @github_username." or "Contributed by [Your Name]." to the end of the entry.
  • Pull request includes a sign off
  • Code style is correct
    (run the linters)

sumnerevans and others added 7 commits April 28, 2023 08:20
Signed-off-by: Sumner Evans <sumner@beeper.com>
Signed-off-by: Sumner Evans <sumner@beeper.com>
See matrix-org/matrix-spec-proposals#2246 for details

Signed-off-by: Sumner Evans <sumner@beeper.com>
Signed-off-by: Sumner Evans <sumner@beeper.com>
Signed-off-by: Sumner Evans <sumner@beeper.com>
Signed-off-by: Sumner Evans <sumner@beeper.com>
@sumnerevans
Copy link
Contributor Author

Closing in favor of #15503

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant