Repository navigation
1648 create download area for sharepics - #1665
Merged
Merged
Conversation
Add Sharepic model with Active Storage image, a login-protected download page, admin CRUD, navigation links, DE/EN locales and specs. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Redirect downloads via rails_blob_path instead of image.url, which raises with the Disk service outside Active Storage controllers. Pass the locale explicitly in the request specs because of the optional (:locale) route scope. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Rails 8.1 uses the vips variant processor by default, but the image only shipped ImageMagick, so variants (e.g. sharepic thumbnails) could not be generated in development. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Remove the login requirement from the sharepics index and download. Unpublished sharepics stay hidden. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
zaziemo
marked this pull request as ready for review
November 23, 2026 08:18
tyranja
approved these changes
Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add an area for sharepics that can be added by admins and downloaded by everyone who knows the link.
Users download sharepics on a public page at /sharepics (or /de/sharepics / /en/sharepics). Right now nothing on the site links to that page, so people can only reach it if they know the URL.
How it works:
Issue #1648