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

✨ Upload library/series/book thumbnails #249

Merged
merged 6 commits into from Jan 28, 2024
Merged

Conversation

aaronleopold
Copy link
Collaborator

Resolves #202
Relates to #133

PR adds minimal support for uploading custom images for library, series, and book thumbnails. I extended support to GIF files, as well.

The file size is capped to 20MB, and the error handling for this bound is not overly ideal yet (at least on the backend). I'd like to follow this up eventually with new configuration options for setting the max upload size, but for now it is hard coded. I'll likely revisit these once I start #133 more directly.

Defined API endpoints for uploading an image for book/series/library thumbnails (#202). Extracted validation logic to a separate fn. Will work on UI hookups next, most likely
Added support for GIF thumbnails
@aaronleopold aaronleopold merged commit c50e2c1 into develop Jan 28, 2024
7 checks passed
@aaronleopold aaronleopold deleted the al/multipart-uploads branch January 28, 2024 23:21
aaronleopold added a commit that referenced this pull request Jan 29, 2024
aaronleopold added a commit that referenced this pull request Jan 29, 2024
aaronleopold added a commit that referenced this pull request Jan 29, 2024
aaronleopold added a commit that referenced this pull request Jan 30, 2024
* Revert "Revert "✨ Upload library/series/book thumbnails (#249)" (#251)"

This reverts commit e6c1c9e.

* 🐛 Fix `reqwest` features

Disable default features and add `rustls-tls` to elude openssl issue
@aaronleopold aaronleopold mentioned this pull request Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant