-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
v2.9 - Update importing fonts.googleapis.com to use SSL #4219
v2.9 - Update importing fonts.googleapis.com to use SSL #4219
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the errors are unrelated to this change.
Not sure, but could it be related to #4048? |
That was my suspicion. |
27895db
to
d24134c
Compare
I think that is the problem. I ported over the relevant commit from that PR, and we'll see if the tests pass. |
d24134c
to
d07f5c2
Compare
Just fixed an inaccurate message in the first commit that referenced the wrong rails version. These tests are breaking because rails 5.2.6 introduced the security patch, not rails 6.0.3.7, like the commit originally said. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense to add this to v2.10 as well, then?
d07f5c2
to
fdc732d
Compare
On 23/11/2021, google started to require ssl to access `//fonts.googleapis.com/css`, causing the import in the solidus frontend stylesheet to fail in CI. This breaks solidus and tests that run against the solidus_frontend. We can resolve this by explicitly using the https protocol. Error example: app.circleci.com/pipelines/github/solidusio/solidus/2791/workflows/e62ff646-9ae6-4e65-b20f-e1f7a109d3a1/jobs/26572 Blocking of this URL in testing_support was updated to bring it inline with how url's are blacklisted in future solidus versions. Even though solidus 2.9 is at end of life, some solidus extensions still test and maintain support against this version of solidus, such as SuperGoodSoft/solidus_taxjar. Co-authored-by: Ryan Woods <[email protected]>
Rails 5.2.6 introduced a security fix, that forces us to use symbols in polymorphic paths. Port of this original commit: solidusio@bc06da5 Co-authored-by: Thomas von Deyen <[email protected]>
fdc732d
to
c459403
Compare
Closing it. CI is mysteriously failing, and v2.9 is not supported anyway. If someone needs it and has the time to look into it, for me, it's not an issue to reopen and merge it. |
On 23/11/2021, google started to require ssl to access
//fonts.googleapis.com/css
, causing the import in the solidus frontend stylesheet to fail in CI. This breaks solidus and tests that run against the solidus_frontend. We can resolve this by explicitly using the https protocol.Error example:
https://app.circleci.com/pipelines/github/solidusio/solidus/2791/workflows/e62ff646-9ae6-4e65-b20f-e1f7a109d3a1/jobs/26572
Blocking of this URL in testing_support was updated to bring it inline
with how url's are blacklisted in future solidus versions.
Even though solidus 2.9 is at end of life, some solidus extensions still test and maintain support against this version of solidus, such as SuperGoodSoft/solidus_taxjar, so it's important to continue to enable that testing.
This PR was based off the three PRs that cover actively maintained solidus versions created by @RyanofWoods
Checklist: