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

MSC2246 async uploads #12484

Closed

Commits on Jun 3, 2022

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

    Signed-off-by: Sumner Evans <[email protected]>
    sumnerevans committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    011cc4d 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 <[email protected]>
    sumnerevans committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    98b82e0 View commit details
    Browse the repository at this point in the history
  3. config: add option to gate MSC2246 async uploads

    Signed-off-by: Sumner Evans <[email protected]>
    sumnerevans committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    9cd13e9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cb06380 View commit details
    Browse the repository at this point in the history
  5. 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]>
    sumnerevans committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    48d3d8d View commit details
    Browse the repository at this point in the history
  6. media/create: add MSC2246 create endpoint

    Signed-off-by: Sumner Evans <[email protected]>
    sumnerevans committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    f74e8ed View commit details
    Browse the repository at this point in the history
  7. 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]>
    sumnerevans committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    46619f3 View commit details
    Browse the repository at this point in the history
  8. 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]>
    sumnerevans committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    91a7ddd View commit details
    Browse the repository at this point in the history
  9. changelog: add entry for async uploads

    Signed-off-by: Sumner Evans <[email protected]>
    sumnerevans committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    474ff92 View commit details
    Browse the repository at this point in the history
  10. tests: update paths for new media repo structure

    Signed-off-by: Sumner Evans <[email protected]>
    sumnerevans committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    c45369b View commit details
    Browse the repository at this point in the history
  11. tests/media_storage: add async media parameter

    Signed-off-by: Sumner Evans <[email protected]>
    sumnerevans committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    0ab87e5 View commit details
    Browse the repository at this point in the history