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

[Feature] Receive and store embedded images from users #5

Open
13 tasks
mcndt opened this issue Aug 6, 2022 · 2 comments
Open
13 tasks

[Feature] Receive and store embedded images from users #5

mcndt opened this issue Aug 6, 2022 · 2 comments
Labels

Comments

@mcndt
Copy link
Owner

mcndt commented Aug 6, 2022

Plugin

  • Check per-embed size before POST
  • Check total payload size before POST
  • GZIP json before POST

Server

  • Accept GZIP’ed JSON (+ unit test)
  • On WRITE NOTE event, log embed count & total size
  • on WRITE EMBED event, log embed size
  • Test storage of embeds up to 2MB
  • Test receiving of notes up to 8MB

Web

  • Generate list of embeds to find (+ unit test)
  • Generate embed_id from embed name (+ unit test)
  • Fetch embed ciphertext
  • Decrypt embed ciphertext (+ unit test)
  • Render image embeds (+ unit test?)
@mcndt mcndt moved this to Todo in Noteshare.space Aug 6, 2022
@mcndt mcndt changed the title [Feature] Upload embedded images [Feature] Receive and store embedded images from users Aug 6, 2022
@mcndt mcndt moved this from Todo to In Progress in Noteshare.space Sep 8, 2022
@9527dong
Copy link

9527dong commented Aug 3, 2023

hello, How is the development of this feature progressing now? Can I join in to develop it together?

@lnatero
Copy link

lnatero commented Sep 15, 2023

To avoid storage problems on th server side, maybe the image could be uploaded to imgur using its API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Progress
Development

No branches or pull requests

3 participants