Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow adding attachments to Posts #33

Merged

Conversation

BoogieMonster1O1
Copy link
Member

Attachments are any kind of media that are sent along with a Post. They are stored in R2.

Architecture

Thoda Core expects that attachments are already uploaded to R2 before the post is made. This would mean that the scope of R2 Public will expand. It will now allow uploads from authenticated clients.

Thoda Core will also have to support authentication checks from R2 Public.

Features

  • Use a snowflake-like format for post and other internal IDs.
  • Add Attachments model
  • Allow specifying attachments (hashes returned by R2-public) in creating posts
  • Allow fetching attachments in posts

@BoogieMonster1O1 BoogieMonster1O1 added the enhancement New feature or request label Jun 13, 2024
@BoogieMonster1O1 BoogieMonster1O1 linked an issue Jun 13, 2024 that may be closed by this pull request
@BoogieMonster1O1 BoogieMonster1O1 merged commit 2505edd into ProjectKula:main Jun 14, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Route for verifying token
2 participants