AppFlowy-IO / AppFlowy-Cloud

AppFlowy is an open-source alternative to Notion. You are in charge of your data and customizations. Built with Flutter and Rust.
GNU Affero General Public License v3.0
982 stars 207 forks source link

feat: endpoint for avatar upload #736

Closed khorshuheng closed 1 month ago

khorshuheng commented 1 month ago

Changes:

  1. Add end point for supporting template center avatar upload
  2. The bucket client was assuming that the object keys are always inferred from workspace id. As a result, it's hard to use the client for objects which is not associated with a workspace, such as avatar. This has been modified such that the callers of the trait are responsible for constructing the correct object key.
  3. Instead of storing the content type via a separate metadata object, the content type was specified while uploading the blob to s3.
appflowy commented 1 month ago

LGTM