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

Add PictureThumb.storage_class #2435

Merged
merged 1 commit into from
Feb 27, 2023

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Feb 26, 2023

What is this pull request for?

Instead of configuring a PictureThumb.generator_class that needs
to implement the creation of the Alchemy::PictureThumb records
and make sure do that in a multi-concurrency safe way, we keep
the implementation in core and abstract the storage class instead.

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • I have added tests to cover this change

tvdeyen added a commit to AlchemyCMS/alchemy-dragonfly-s3 that referenced this pull request Feb 26, 2023
@tvdeyen tvdeyen force-pushed the use-picture-thumb-store branch 2 times, most recently from 65a0829 to b673ec5 Compare February 26, 2023 13:39
Instead of configuring a `PictureThumb.generator_class` that needs
to implement the creation of the `Alchemy::PictureThumb` records
and make sure do that in a multi-concurrency safe way, we keep
the implementation in core and abstract the storage class instead.
@tvdeyen tvdeyen marked this pull request as ready for review February 27, 2023 16:09
@tvdeyen tvdeyen requested a review from a team February 27, 2023 16:09
tvdeyen added a commit to AlchemyCMS/alchemy-dragonfly-s3 that referenced this pull request Feb 27, 2023
Copy link
Contributor

@mamhoff mamhoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

¡Guay!

@tvdeyen tvdeyen merged commit 4c0e923 into AlchemyCMS:main Feb 27, 2023
@tvdeyen tvdeyen deleted the use-picture-thumb-store branch February 27, 2023 20:34
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.

2 participants