Open Source

Shaping the tools I use every day, one pull request at a time

A hand-picked selection: only the contributions worth reading about, not every merged pull request. Articles about Magento and Adobe Commerce are on the blog.

1,662 +
Merged pull requests
71
Projects contributed to
397 +
Pull requests reviewed
10
Years contributing
ci aligent/magento2-bypass-2fa  #10 merged

Add Magento compatibility checks with GitHub Actions  — on GitHub

One GitHub Actions workflow checks every pull request and push: Composer validation, PHP lint, the Magento coding standard, setup:di:compile, static content deployment, the unit tests and PHPStan, on the latest patch of each supported Magento Open Source release at its lowest and highest PHP version. The release list refreshes on every run, so a new Magento or PHP version is tested without a workflow change.

ci aligent/magento2-introspection-auth  #7 merged

Add Magento compatibility checks with GitHub Actions  — on GitHub

One GitHub Actions workflow checks every pull request and push: Composer validation, PHP lint, the Magento coding standard, setup:di:compile, static content deployment, the unit tests and PHPStan, on the latest patch of each supported Magento Open Source release at its lowest and highest PHP version. The release list refreshes on every run, so a new Magento or PHP version is tested without a workflow change.

ci ThomasNegeli/M2CliTools  #19 merged

Add Magento compatibility checks with GitHub Actions  — on GitHub

One GitHub Actions workflow checks every pull request and push: Composer validation, PHP lint, the Magento coding standard, setup:di:compile, static content deployment, the unit tests and PHPStan, on the latest patch of each supported Magento Open Source release at its lowest and highest PHP version. The release list refreshes on every run, so a new Magento or PHP version is tested without a workflow change.

security mage-os/mageos-magento2  #426 merged

Regenerate the admin session ID before storing the user on login  — on GitHub

Auth::login() stored the authenticated user in the admin session before processLogin() called regenerateId(). PHP writes the current session data under the old ID before switching, so the pre-login session ID stayed authenticated after login. processLogin() now takes the user out of the session before regenerating the ID and sets it again afterwards.

fix yireo/Yireo_TaxRatesManager2  #7 merged

Make the tax rates check cron schedule configurable  — on GitHub

The check ran every three minutes, downloading the rates feed each time and sending an email whenever it had output. A new taxratesmanager/settings/cron_schedule setting now drives the schedule through <config_path>, and the default is daily at 03:00.

perf LokiExtensions/Loki_AdminComponents  #22 merged

Open large category selectors faster after cache invalidation  — on GitHub

Building an uncached category selection tree scanned the whole category list for every node, which is N × (N + 1) parent comparisons on a large catalogue. The builder now groups categories by parent ID once and recurses through each parent’s children in their original order, keeping levels, ancestor IDs, active flags and the serialized tree unchanged.

perf mage-os/mageos-magento2  #425 merged

Expand the Varnish tracking parameter strip list  — on GitHub

Marketing and tracking query parameters do not change page content, but each value created its own full page cache entry, which lowered the hit ratio. This backport of magento/magento2#40656 adds more parameters to the vcl_recv strip list in the varnish4.vcl to varnish7.vcl templates and to Identifier::getMarketingParameterPatterns(), so the PHP cache strips the same list.

ci olegkoval/magento2-regenerate_url_rewrites  #186 merged

Add Magento compatibility checks with GitHub Actions  — on GitHub

One GitHub Actions workflow checks every pull request and push: Composer validation, PHP lint, the Magento coding standard, setup:di:compile, static content deployment, the unit tests and PHPStan, on the latest patch of each supported Magento Open Source release at its lowest and highest PHP version. The release list refreshes on every run, so a new Magento or PHP version is tested without a workflow change.

fix yireo/Yireo_CspUtilities  #2 merged

Add the CSP nonce only to the opening script tag  — on GitHub

ReplaceInlineScripts::addCspNonce() ran str_replace('<script', ...) over the whole element, so every <script inside the JavaScript body, for example in document.write() or a template string, received the nonce and the inline code changed. Only the leading <script is replaced now.

Only merged work is listed here, and only the parts worth a comment — the full history, including everything still in review, lives on GitHub .