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

Asynchronous Uploads #15503

Merged
merged 29 commits into from
Nov 15, 2023
Merged

Asynchronous Uploads #15503

merged 29 commits into from
Nov 15, 2023

Commits on Nov 9, 2023

  1. Remove re-assignment of self.clock in UploadResource

    Signed-off-by: Sumner Evans <sumner@beeper.com>
    sumnerevans committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    3651bf5 View commit details
    Browse the repository at this point in the history
  2. config: add option to rate limit media creation

    Signed-off-by: Sumner Evans <sumner@beeper.com>
    sumnerevans committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    1bcb587 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f9e0504 View commit details
    Browse the repository at this point in the history
  4. media/create: add /create endpoint

    See matrix-org/matrix-spec-proposals#2246 for details
    
    Signed-off-by: Sumner Evans <sumner@beeper.com>
    sumnerevans committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    f0d53e8 View commit details
    Browse the repository at this point in the history
  5. changelog: add entry for async uploads

    Signed-off-by: Sumner Evans <sumner@beeper.com>
    sumnerevans committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    d29b9d3 View commit details
    Browse the repository at this point in the history
  6. media/upload: add support for async uploads

    Signed-off-by: Sumner Evans <sumner@beeper.com>
    sumnerevans committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    e2007fa View commit details
    Browse the repository at this point in the history
  7. media/{download,thumbnail}: support timeout_ms parameter

    Signed-off-by: Sumner Evans <me@sumnerevans.com>
    Co-authored-by: Patrick Cloke <patrickc@matrix.org>
    sumnerevans and clokep committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    baa96f6 View commit details
    Browse the repository at this point in the history
  8. tests/media/test_media_storage: add timeout_ms

    Signed-off-by: Sumner Evans <sumner@beeper.com>
    sumnerevans committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    e4c4f36 View commit details
    Browse the repository at this point in the history
  9. config: add option for max pending media uploads

    Signed-off-by: Sumner Evans <sumner@beeper.com>
    sumnerevans committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    a6b2192 View commit details
    Browse the repository at this point in the history
  10. media/create: enforce limit on number of pending uploads

    Signed-off-by: Sumner Evans <sumner@beeper.com>
    sumnerevans committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    e2e4ad5 View commit details
    Browse the repository at this point in the history
  11. media/create: don't store unused expiration time in database

    Signed-off-by: Sumner Evans <sumner@beeper.com>
    Co-authored-by: Patrick Cloke <patrickc@matrix.org>
    sumnerevans and clokep committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    97c792c View commit details
    Browse the repository at this point in the history
  12. media/upload: split async servlet into separate class

    Signed-off-by: Sumner Evans <me@sumnerevans.com>
    Co-authored-by: Patrick Cloke <patrickc@matrix.org>
    clokep authored and sumnerevans committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    52e8915 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    961bfa0 View commit details
    Browse the repository at this point in the history
  14. fixup! media/upload: add support for async uploads

    Signed-off-by: Sumner Evans <me@sumnerevans.com>
    sumnerevans committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    b49a50b View commit details
    Browse the repository at this point in the history
  15. fixup! media/{download,thumbnail}: support timeout_ms parameter

    Signed-off-by: Sumner Evans <me@sumnerevans.com>
    sumnerevans committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    4e4e8d0 View commit details
    Browse the repository at this point in the history
  16. fixup! media/{download,thumbnail}: support timeout_ms parameter

    Signed-off-by: Sumner Evans <me@sumnerevans.com>
    sumnerevans committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    37c7970 View commit details
    Browse the repository at this point in the history
  17. fixup! media/create: add /create endpoint

    Signed-off-by: Sumner Evans <me@sumnerevans.com>
    sumnerevans committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    acadec0 View commit details
    Browse the repository at this point in the history
  18. fixup! media/create: don't store unused expiration time in database

    Signed-off-by: Sumner Evans <me@sumnerevans.com>
    sumnerevans committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    58364ad View commit details
    Browse the repository at this point in the history
  19. fixup! media/create: enforce limit on number of pending uploads

    Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
    sumnerevans and clokep authored Nov 9, 2023
    Configuration menu
    Copy the full SHA
    a514c84 View commit details
    Browse the repository at this point in the history
  20. fixup! media/create: enforce limit on number of pending uploads

    Signed-off-by: Sumner Evans <me@sumnerevans.com>
    sumnerevans committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    b298258 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. fixup! media/create: add /create endpoint

    Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
    sumnerevans and clokep authored Nov 13, 2023
    Configuration menu
    Copy the full SHA
    1cff556 View commit details
    Browse the repository at this point in the history
  2. fixup! media/create: enforce limit on number of pending uploads

    Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
    sumnerevans and clokep authored Nov 13, 2023
    Configuration menu
    Copy the full SHA
    07afcfb View commit details
    Browse the repository at this point in the history
  3. fixup! media/upload: split async servlet into separate class

    Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
    sumnerevans and clokep authored Nov 13, 2023
    Configuration menu
    Copy the full SHA
    c377b5d View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2023

  1. fixup! media/{download,thumbnail}: support timeout_ms parameter

    Signed-off-by: Sumner Evans <me@sumnerevans.com>
    sumnerevans committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    6974380 View commit details
    Browse the repository at this point in the history
  2. fixup! media/{download,thumbnail}: support timeout_ms parameter

    Signed-off-by: Sumner Evans <me@sumnerevans.com>
    sumnerevans committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    8b225ee View commit details
    Browse the repository at this point in the history
  3. fixup! media/{download,thumbnail}: support timeout_ms parameter

    Signed-off-by: Sumner Evans <me@sumnerevans.com>
    sumnerevans committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    c5e4f04 View commit details
    Browse the repository at this point in the history
  4. fixup! media/create: enforce limit on number of pending uploads

    Signed-off-by: Sumner Evans <me@sumnerevans.com>
    sumnerevans committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    c3d3afe View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. Configuration menu
    Copy the full SHA
    8debbdf View commit details
    Browse the repository at this point in the history
  2. Appease mypy

    clokep authored Nov 15, 2023
    Configuration menu
    Copy the full SHA
    38badff View commit details
    Browse the repository at this point in the history