-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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 subnet mask IP support for maintenance mode #28934
base: 2.4-develop
Are you sure you want to change the base?
Conversation
Hi @AntonEvers. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. |
@magento run Unit Tests |
@magento run all tests |
@rogyar I think we're good, right? The first 2 static tests seem to fail on every PR so I don't think they have anything to do with this addition. |
Hi @AntonEvers. The static code checks inform that we have introduced a new dependency |
@magento run Static Tests |
@magento run Database Compare, Functional Tests CE, Functional Tests EE, Functional Tests B2B, Integration Tests, Magento Health Index, Sample Data Tests CE, Sample Data Tests EE, Sample Data Tests B2B, Unit Tests, WebAPI Tests |
@magento run Semantic Version Checker |
@magento run Static Tests |
1 similar comment
@magento run Static Tests |
Hi @AntonEvers we are good here. The failing static test for EE means that the newly introduced dependency should be also added to the root composer.json of the Commerce Edition repo. If you have access to this repo, feel free to make a small PR with adding the dependency to the root Thank you. |
process code review points alter version constraint for symfony/http-foundation to match previous version
@AntonEvers Bellow added GIFs. |
* upstream/2.4-develop: (1179 commits) improve test Revert "Add validation phone field on checkout page" rename action group Minor refactoring to AccessChangeQuoteControl and it's Unit Tests Refactor Unit Tests too (remove "expects any()") Refactor Unit Tests too Minor Refactor MC-36748: strpos() expects parameter 1 to be string, bool given MC-36748: strpos() expects parameter 1 to be string, bool given Fix flaky behavior with mftf test add AdminOrderClickSubmitOrderActionGroup MC-36652: Restricted admin can view "Products in Carts" from all websites rever removed line by php-cs-fixer Improve comparsion remove exif data from other images PWA-805: Expose localization system / store config from GraphQL Improve metadata types && isExifSegment() verification for jpeg Fix ui-select options placeholders for url-filter-applier && Clean cached options for ui-select component after closing slide form Fix static tests Update docBlock Remove obsolete tests ...
@magento run all tests @engcom-Kilo conflict resolved. The test failure should be resolved by combining this PR with Magento Commerce PR https://github.com/magento/magento2ee/pull/2465 |
@@ -76,6 +76,7 @@ | |||
"ramsey/uuid": "~3.8.0", | |||
"symfony/console": "~4.4.0", | |||
"symfony/event-dispatcher": "~4.4.0", | |||
"symfony/http-foundation": "^3.4|^4.0|^5.0", |
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.
New composer dependency must be approved.
@magento run all tests |
@magento run all tests |
1 similar comment
@magento run all tests |
@magento run Static Tests, Functional Tests |
@magento run all tests |
@magento run all tests |
1 similar comment
@magento run all tests |
@magento run Functional Tests, B2B Static Tests |
@magento run all tests |
Description
Maintenance mode should accept IP ranges instead of separate IP's so that for instance you can add the whole range of your payment service provider or CDN etc...
Fixed Issues (if relevant)
Manual testing scenarios
bin/magento maintenance:enable
bin/magento maintenance:allow-ips 192.168.33.0/16
(for instance)Mostly I am curious what you think about this kind of functionality and the use of darsyn/ip for this. I did take IPv6 into account.
Contribution checklist
Resolved issues: