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

[pull] main from solidusio:main #406

Merged
merged 18 commits into from
May 4, 2024
Merged

[pull] main from solidusio:main #406

merged 18 commits into from
May 4, 2024

Conversation

pull[bot]
Copy link

@pull pull bot commented May 2, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

forkata and others added 8 commits May 1, 2024 12:48
Currently if a product has the `available_on` date in the future, it
will still show a status of Available, even though it is not available
for purchase on the store. This change proposes a new status of
`Unavailable` for scheduled products.

Co-authored-by: Harmony Bouvier <harmony@super.gd>
This change fixes an issue where certain browsers (namely Firefox) will
not render the date field correctly when it contains the full date and
time format as the value. This change just truncates the available_on
and discontinue_on values to match the precision expected, rather switch
to the datetime-local input which is not fully supported in all
browsers, but also maintains the old admin behaviour.

Co-authored-by: Andrew Stewart <andrew@super.gd>
When trying to use the `DB_POSTGRES_HOST` environment variable in some
unrelated work, we observed it wasn't changing anything.

Co-authored-by: An Stewart <andrew@super.gd>
Prior to this, we would only allow changing the configuration of the
promotion system by switching the `promotions_configuration_class`. The
`AppConfiguration` would then instantiate that class, and one would be
able to do all the necessary customizations via the instance.

This allows customizing a promotion configuration and then setting it as
the promotion configuration class. It's a lot easier to understand.
Fix case statement in database config template
This adds a configurable promotion advertiser that is supposed to make
the code in Spree::Product#possible_promotions not depend on the
presence of the current promotion system.
This creates a promotion advertiser class that fulfills the API of the
current promotion advertiser and can be used when there's no promotion
system configured.
…w-unavailable-status-products

Show "Unavailable" status for products with a future `Available On` date
nvandoorn and others added 7 commits May 2, 2024 21:32
The `buster` image is quite old and creates some challenges on newer ARM
based Mac's, so we update to `bookworm`. To put this into context, this
takes us from a Debian release in Sept 2019 to June 2023.

Co-authored-by: An Stewart <andrew@super.gd>
Co-authored-by: Chris Todorov <chris@super.gd>
Co-authored-by: Alberto Vena <kennyadsl@gmail.com>
Co-authored-by: Thomas von Deyen <thomas@vondeyen.com>
This gem has gone end-of-life and we're using a version of Selenium that
supports Selenium manager, so there is no reason to keep this gem
around.

Read more here: https://github.com/titusfortner/webdrivers/blob/44d4c1ae865d0acd30613313b8c67a16711249ac/README.md#update-future-of-this-project

Co-authored-by: An Stewart <andrew@super.gd>
Prior to increasing the shared memory size or `shm_size`, we received
errors trying to run feature specs due to lack of memory.

Co-authored-by: An Stewart <andrew@super.gd>
This allows us to switch out the promotion advertiser.
This removes some promotion-system dependent code from the
Spree::Product class.
Node version 14 is quite out of date, but most notably there is a 60
second penalty imposed by NodeSource as a way of warning users to
upgrade.

Co-authored-by: An Stewart <andrew@super.gd>
Docker development environment improvements
kennyadsl and others added 2 commits May 3, 2024 17:29
Configure promotions via a configuration instance
Update to Node 20 in `docker-compose.yml`
@pull pull bot merged commit a1551e7 into nebulab:main May 4, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants