Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
482 commits
Select commit Hold shift + click to select a range
014c621
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jan 17, 2024
fb84973
Integration tests/ fix failed tests (#61)
vpodorozh Jan 25, 2024
608b225
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Feb 1, 2024
647d998
chore: resolve conflict with upstream changes
Vinai Feb 15, 2024
901925a
Merge pull request #87 from Vinai/2.4-develop-upstream
mage-os-ci Feb 15, 2024
94442db
Merge pull request #86 from mage-os/2.4-develop-upstream
mage-os-ci Feb 15, 2024
a2ee68f
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Feb 16, 2024
d2eeef2
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Feb 21, 2024
49bd991
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Feb 25, 2024
4571aa1
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Mar 1, 2024
9cf7fbe
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Mar 2, 2024
73c7bfd
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Mar 5, 2024
7b6423f
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Mar 6, 2024
50d068f
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Mar 7, 2024
00d3b04
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Mar 8, 2024
d5d2dc4
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Mar 10, 2024
0bf887f
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Mar 14, 2024
81690ae
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Mar 15, 2024
afa06bd
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Mar 16, 2024
b39a6b9
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Mar 19, 2024
75cadbe
mage-os/mageos-magento2#81 - update dataset for `testProductListOutOf…
vpodorozh Mar 19, 2024
8f79520
GraphQl mutation state check | PlaceOrder and Customer actions - skip…
vpodorozh Mar 19, 2024
9cf1d7e
Skip some of the Bundle tests as the underlying problems are too big …
vpodorozh Mar 19, 2024
4d2f1fe
mage-os/mageos-magento2#83 - fix expireDate formating for user expira…
vpodorozh Mar 19, 2024
a8b593a
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Mar 20, 2024
9dab17f
#79 - add shutdown functions wrapper to make sure TestModules will be…
vpodorozh Mar 21, 2024
973ffa9
Fix failed testes after the upstream update - db&app isolation were m…
vpodorozh Mar 21, 2024
aa4c93a
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Mar 21, 2024
5eca4b6
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Mar 22, 2024
7fe9866
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Mar 27, 2024
7687cc0
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 9, 2024
d8b4a44
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 10, 2024
587dc08
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 11, 2024
e53dbb6
Fix invalid data-sets for unit tests (#95)
vpodorozh Apr 16, 2024
8778802
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 16, 2024
771a94f
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 18, 2024
550a092
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 20, 2024
9e3553d
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 25, 2024
ad8ae83
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 30, 2024
717ebd2
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci May 9, 2024
e9cf9ee
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci May 10, 2024
a3bcb53
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci May 14, 2024
387070c
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci May 15, 2024
4b280b2
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci May 17, 2024
afc22b9
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci May 21, 2024
5f59e1b
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci May 29, 2024
f9e1b46
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci May 30, 2024
2d831e4
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jun 1, 2024
abb184c
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jun 4, 2024
1374fb1
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jun 6, 2024
4e42ba4
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jun 8, 2024
5192a8c
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jun 12, 2024
fe6755b
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jun 14, 2024
91f1cec
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jun 17, 2024
de4b0a3
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jun 18, 2024
ac89b74
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jun 19, 2024
3ce021a
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jun 21, 2024
5423a1f
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jun 22, 2024
3aefde8
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jun 23, 2024
db41a69
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jun 25, 2024
70f13bb
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jun 26, 2024
135b7d0
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jun 27, 2024
2e81e65
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jun 28, 2024
729da98
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jun 29, 2024
6bed233
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jul 1, 2024
0869775
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jul 4, 2024
ec8a44a
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jul 5, 2024
963890e
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jul 7, 2024
1591e7b
Run test workflows on all branch PRs
rhoerr Jul 8, 2024
b2ea6c9
Merge pull request #99 from rhoerr/workflow-all-branches
mage-os-ci Jul 8, 2024
68fda55
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jul 8, 2024
a39456c
Fixed branches constraint syntax
rhoerr Jul 8, 2024
f28a669
Merge pull request #100 from rhoerr/workflow-all-branches
mage-os-ci Jul 8, 2024
89d005d
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jul 12, 2024
39f18ba
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jul 13, 2024
17ddc03
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jul 14, 2024
bf4fb25
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jul 15, 2024
813e8b7
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jul 17, 2024
d6bcc11
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jul 18, 2024
79be3e3
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jul 26, 2024
76b0b0b
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jul 27, 2024
1b196d3
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jul 30, 2024
20da781
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Aug 1, 2024
184291b
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Aug 2, 2024
c94d88b
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Aug 7, 2024
4ea8203
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Aug 18, 2024
a3ae7c3
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Aug 19, 2024
9fbf386
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Aug 23, 2024
67199a9
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Aug 30, 2024
4628e29
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Aug 31, 2024
b2c69d9
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Sep 4, 2024
535167b
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Sep 6, 2024
977f1c1
Upstream Merge Conflict (2.4-develop) (#103)
mage-os-ci Oct 1, 2024
17c48fb
Bugfix: autocomplete suggests nonsearchable terms (#102)
ryansunxl Oct 1, 2024
18dd197
Bugfix: workflow not waiting for called workflow to complete (#74)
adamzero1 Oct 7, 2024
0c3a805
Merge branch '2.4-develop' into 2.4-develop-upstream
rhoerr Oct 21, 2024
7f5aff1
Fixed missed closing newline
rhoerr Oct 21, 2024
2f21ff2
Merge pull request #106 from mage-os/2.4-develop-upstream
fballiano Oct 29, 2024
4096445
Update unit test for autocomplete suggests fix (#104)
ryansunxl Oct 29, 2024
13bf768
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Oct 30, 2024
2e5cbf1
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Oct 31, 2024
96055f3
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 1, 2024
17e9050
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 2, 2024
d451846
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 11, 2024
7a0961f
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 12, 2024
e3d64a5
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 13, 2024
b0e1ab7
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 16, 2024
4cafc44
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 19, 2024
06da02b
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 20, 2024
5df2b17
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 21, 2024
5439846
Add Sansec eComscan workflow
mage-os-ci Dec 30, 2024
8907e12
Add Sansec eComscan workflow
mage-os-ci Jan 2, 2025
cbc5032
Merge branch '2.4-develop' into 2.4-develop-upstream
mage-os-ci Jan 14, 2025
f6d567c
Merge pull request #114 from mage-os/2.4-develop-upstream
mage-os-ci Jan 14, 2025
afdc317
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jan 14, 2025
1ff7b0c
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jan 15, 2025
30cabec
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jan 16, 2025
3858d37
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jan 17, 2025
e07282c
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jan 18, 2025
1a4f7c7
Solve bug #116 - Setting number of address line lower than existing e…
ProxiBlue Jan 20, 2025
3b5cd31
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jan 22, 2025
8498d19
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jan 23, 2025
0d70c35
Merge branch 'mage-os:2.4-develop' into 2.4-develop
ProxiBlue Jan 23, 2025
d42b6ff
adjust doc blocks for addressHelper and mock in tests
ProxiBlue Jan 23, 2025
305e43f
Add addressHelper object into child classes
ProxiBlue Jan 25, 2025
8577f12
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jan 29, 2025
80b2077
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Feb 1, 2025
7c8eaae
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Feb 3, 2025
3da0681
Add Sansec eComscan workflow
mage-os-ci Feb 4, 2025
b6ac3c4
Merge pull request #117 from ProxiBlue/2.4-develop
rhoerr Feb 5, 2025
5aa1a5d
Improved menu/toolbar settings for TinyMCE 6 (#109)
rhoerr Feb 5, 2025
081c7b6
Split Magento and Mage-OS versions in ProductMetadata for compatibili…
rhoerr Feb 5, 2025
390f179
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Feb 6, 2025
39b4348
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Feb 7, 2025
4fd6f39
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Feb 9, 2025
3e63200
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Feb 14, 2025
8ff00d0
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Feb 16, 2025
9af15f7
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Feb 17, 2025
7067cda
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Feb 18, 2025
9474c5f
Merge branch '2.4-develop' into 2.4-develop-upstream
mage-os-ci Feb 20, 2025
7a47ab0
Merge pull request #123 from mage-os/2.4-develop-upstream
rhoerr Feb 20, 2025
9c43a3d
Merge branch '2.4-develop' into 2.4-develop-upstream
mage-os-ci Feb 23, 2025
05e150a
Merge pull request #124 from mage-os/2.4-develop-upstream
mage-os-ci Feb 23, 2025
d830962
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Feb 24, 2025
078309a
Merge branch '2.4-develop' into 2.4-develop-upstream
rhoerr Mar 2, 2025
fbfb419
Merge branch '2.4-develop' into 2.4-develop-upstream
rhoerr Mar 2, 2025
85d7171
Merge pull request #125 from mage-os/2.4-develop-upstream
mage-os-ci Mar 2, 2025
4541f99
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Mar 2, 2025
e96e8f2
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Mar 5, 2025
992db45
Merge branch '2.4-develop' into 2.4-develop-upstream
mage-os-ci Mar 7, 2025
d458973
Merge pull request #126 from mage-os/2.4-develop-upstream
rhoerr Mar 7, 2025
b1ae0ae
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Mar 7, 2025
339f6de
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Mar 8, 2025
07d25d4
feat: run setup:di:compile on push (#33)
Tjitse-E Mar 10, 2025
36adef6
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Mar 12, 2025
c273f27
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Mar 21, 2025
34fb675
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 2, 2025
ce5068f
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 3, 2025
59121cb
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 4, 2025
39977a2
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 8, 2025
9bcf903
Update supported-services.json for Magento 2.4.8
rhoerr Apr 8, 2025
612ee25
Update supported-services.json
rhoerr Apr 8, 2025
587b7d2
Any composer 2 version
rhoerr Apr 8, 2025
09da174
Update supported-services.json for Warden available packages
rhoerr Apr 8, 2025
0dfa509
Try build with Valkey
rhoerr Apr 8, 2025
38de856
fix rabbitmq version to 4.0
rhoerr Apr 8, 2025
f1ce5d5
Change redis version to 7.4
rhoerr Apr 8, 2025
caadc57
Merge pull request #130 from rhoerr/chore/supported-services-2.4.8
rhoerr Apr 8, 2025
a6ccab5
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 10, 2025
893289e
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 11, 2025
e1e6be1
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 14, 2025
5965b23
feat!: prevent catalog and sales rules from being disclosed publicly …
damienwebdev Apr 14, 2025
111aa24
Merge pull request #135 from damienwebdev/prevent_undesired_discount_…
rhoerr Apr 15, 2025
c09bc7d
feat!: prevent disclosure of customer groups by default (#136)
damienwebdev Apr 15, 2025
de0735f
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 17, 2025
66f14f4
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 19, 2025
2cdc9b5
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 21, 2025
990b5a9
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 23, 2025
c7fe861
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 25, 2025
a59efdd
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 26, 2025
8b860b1
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 28, 2025
4a62852
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Apr 29, 2025
7c0dee6
Merge remote-tracking branch 'mage-os/2.4-develop-upstream' into 2.4-…
rhoerr May 6, 2025
fd5e750
Merge pull request #141 from rhoerr/chore/merge-upstream-20250505
mage-os-ci May 6, 2025
2039f33
Merge pull request #140 from mage-os/2.4-develop-upstream
mage-os-ci May 6, 2025
1c18fea
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci May 6, 2025
b327fe5
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci May 6, 2025
c9a9bd3
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci May 7, 2025
270f37a
Merge remote-tracking branch 'mage-os/2.4-develop-upstream' into 2.4-…
rhoerr Jul 14, 2025
a41cf3c
Merge pull request #149 from rhoerr/fix/upstream-conflict-20250610
mage-os-ci Jul 14, 2025
7d3ffdc
Merge pull request #146 from mage-os/2.4-develop-upstream
mage-os-ci Jul 14, 2025
7180c37
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jul 14, 2025
0f27a11
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jul 15, 2025
afc98dc
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jul 16, 2025
5293fb8
Fix integration tests for Magento_Backend and Magento_Bundle (#134)
simsComputing Jul 22, 2025
1670d3a
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jul 22, 2025
aeb849c
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jul 24, 2025
ab5767a
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jul 25, 2025
93b1b46
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Jul 28, 2025
469bafe
Merge branch 2.4-develop
fballiano Aug 13, 2025
84200ef
Merge pull request #152 from mage-os/2.4-develop-upstream
fballiano Aug 13, 2025
b1eb441
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Aug 13, 2025
a2836b8
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Aug 16, 2025
cd0a7d4
Fix PHP 8.4 Deprecation: Explicitly Mark Nullable Parameter (#157)
aelmizeb Aug 18, 2025
c68e739
Merge branch '2.4-develop' into 2.4-develop-upstream
rhoerr Sep 16, 2025
73d5fe2
Merge pull request #159 from mage-os/2.4-develop-upstream
mage-os-ci Sep 16, 2025
fb6eea9
Merge branch '2.4-develop' into 2.4-develop-upstream
rhoerr Sep 16, 2025
df3c637
Merge pull request #162 from mage-os/2.4-develop-upstream
mage-os-ci Sep 16, 2025
0dbe839
Merge branch '2.4-develop' into 2.4-develop-upstream
rhoerr Sep 18, 2025
7a5848b
Merge pull request #163 from mage-os/2.4-develop-upstream
rhoerr Sep 18, 2025
9b46153
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Sep 18, 2025
46364bd
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Sep 20, 2025
bd4da6b
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Sep 25, 2025
b84e5a0
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Sep 29, 2025
9dc2a5f
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Sep 30, 2025
e43e73c
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Oct 1, 2025
770a778
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Oct 7, 2025
56635a6
fix product export of configurable_variations for configurable produc…
rhoerr Oct 12, 2025
922ba57
Managed by Terraform
mage-os-terraform[bot] Oct 13, 2025
b8a96f8
Add Sansec eComscan workflow
mage-os-terraform[bot] Oct 13, 2025
7ba8c69
Managed by Terraform
mage-os-terraform[bot] Oct 13, 2025
4914974
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Oct 15, 2025
5fda5a3
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Oct 17, 2025
3fde816
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Oct 18, 2025
dd7e62d
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Oct 22, 2025
00154fc
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Oct 23, 2025
0922037
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Oct 27, 2025
5c8721c
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Oct 28, 2025
3739807
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Oct 29, 2025
3f9ec92
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Oct 31, 2025
656ff7c
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 1, 2025
1c46918
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 3, 2025
9f7dcff
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 4, 2025
75d2283
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 5, 2025
8956e5e
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 6, 2025
530cc95
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 7, 2025
65598a2
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 8, 2025
81f9ca7
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 12, 2025
cb4fb3c
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 14, 2025
19b7dce
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 15, 2025
e1813ed
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 18, 2025
a9c8335
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 19, 2025
406bf77
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 20, 2025
18fbf1d
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 21, 2025
2d9620c
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 22, 2025
92fdfbc
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 24, 2025
bbaa78e
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 25, 2025
8a567e6
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 27, 2025
f73db53
Merge branch '2.4-develop' of https://github.com/mage-os/mirror-magen…
mage-os-ci Nov 28, 2025
c66d623
Merge remote-tracking branch 'mage-os/2.4-develop' into 2.4-develop-u…
rhoerr Nov 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Magento Code of Conduct
# Mage-OS Code of Conduct

## Our Pledge

Expand Down
18 changes: 9 additions & 9 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Contributing to Magento 2 code

Contributions to the Magento 2 codebase are done using the fork & pull model.
This contribution model has contributors maintaining their own fork of the Magento 2 repository.
Contributions to the Mage-OS Magento 2 codebase are done using the fork & pull model.
This contribution model has contributors maintaining their own fork of the Mage-OS Magento 2 repository.
The forked repository is then used to submit a request to the base repository to "pull" a set of changes.
For more information on pull requests please refer to [GitHub Help](https://help.github.com/articles/about-pull-requests/).

Contributions can take the form of new components or features, changes to existing features, tests, documentation (such as developer guides, user guides, examples, or specifications), bug fixes or optimizations.

The Magento 2 development team or community maintainers will review all issues and contributions submitted by the community of developers in the first in, first out order.
The Mage-OS Magento 2 development team or community maintainers will review all issues and contributions submitted by the community of developers in the first in, first out order.
During the review we might require clarifications from the contributor.
If there is no response from the contributor within two weeks, the pull request will be closed.

Expand All @@ -17,24 +17,24 @@ For more detailed information on contribution please read our [beginners guide](

1. Contributions must adhere to the [Magento coding standards](https://developer.adobe.com/commerce/php/coding-standards/).
2. Pull requests (PRs) must be accompanied by a meaningful description of their purpose. Comprehensive descriptions increase the chances of a pull request being merged quickly and without additional clarification requests.
3. Commits must be accompanied by meaningful commit messages. Please see the [Magento Pull Request Template](https://github.com/magento/magento2/blob/HEAD/.github/PULL_REQUEST_TEMPLATE.md) for more information.
3. Commits must be accompanied by meaningful commit messages. Please see the [Mage-OS Magento Pull Request Template](https://github.com/mage-os/mageos-magento2/blob/HEAD/.github/PULL_REQUEST_TEMPLATE.md) for more information.
4. PRs which include bug fixes must be accompanied with a step-by-step description of how to reproduce the bug.
5. PRs which include new logic or new features must be submitted along with:
* Unit/integration test coverage
* Proposed [documentation](https://developer.adobe.com/commerce) updates. Use feedback buttons __Edit in GitHub__ and __Log an issue__ at the top of a relevant topic.
6. For larger features or changes, please [open an issue](https://github.com/magento/magento2/issues) to discuss the proposed changes prior to development. This may prevent duplicate or unnecessary effort and allow other contributors to provide input.
6. For larger features or changes, please [open an issue](https://github.com/mage-os/mageos-magento2/issues) to discuss the proposed changes prior to development. This may prevent duplicate or unnecessary effort and allow other contributors to provide input.
7. All automated tests must pass.

## Contribution process

If you are a new GitHub user, we recommend that you create your own [free github account](https://github.com/signup/free).
This will allow you to collaborate with the Magento 2 development team, fork the Magento 2 project and send pull requests.
This will allow you to collaborate with the Mage-OS Magento 2 development team, fork the Mage-OS Magento 2 project and send pull requests.

1. Search current [listed issues](https://github.com/magento/magento2/issues) (open or closed) for similar proposals of intended contribution before starting work on a new contribution.
1. Search current [listed issues](https://github.com/mage-os/mageos-magento2/issues) (open or closed) for similar proposals of intended contribution before starting work on a new contribution.
2. Review the [Contributor License Agreement](https://opensource.adobe.com/cla.html) if this is your first time contributing.
3. Create and test your work.
4. Follow the [Forks And Pull Requests Instructions](https://developer.adobe.com/commerce/contributor/guides/code-contributions/) to fork the Magento 2 repository and send us a pull request.
5. Once your contribution is received the Magento 2 development team will review the contribution and collaborate with you as needed.
4. Follow the [Forks And Pull Requests Instructions](https://developer.adobe.com/commerce/contributor/guides/code-contributions/) to fork the Mage-OS Magento 2 repository and send us a pull request.
5. Once your contribution is received the Mage-OS Magento 2 development team will review the contribution and collaborate with you as needed.

## Code of Conduct

Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!---
Thank you for contributing to Magento.
Thank you for contributing to Mage-OS.
To help us process this issue we recommend that you add the following information:
- Summary of the issue,
- Information on your environment,
Expand All @@ -13,7 +13,7 @@
### Preconditions (*)
<!---
Please provide as detailed information about your environment as possible.
For example Magento version, tag, HEAD, PHP & MySQL version, etc..
For example Mage-OS Magento version, tag, HEAD, PHP & MySQL version, etc..
-->
1.
2.
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Bug report
description: Technical issue with the Magento 2 core components
description: Technical issue with the Mage-OS Magento 2 core components
body:
- type: markdown
attributes:
Expand All @@ -12,7 +12,7 @@ body:
Describe your environment.
Provide all the details that will help us to reproduce the bug.
value: |
- Magento version
- Mage-OS Magento version
- Anything else that would help a developer reproduce the bug
- type: textarea
attributes:
Expand Down Expand Up @@ -51,7 +51,7 @@ body:
attributes:
label: Additional information
description: |
Additional information is often requested when the bug report is processed. You can save time by providing both Magento and browser logs, screenshots, repository branch and HEAD commit you checked out to install Magento and any other artifacts related to the issue.
Additional information is often requested when the bug report is processed. You can save time by providing both Mage-OS Magento and browser logs, screenshots, repository branch and HEAD commit you checked out to install Magento and any other artifacts related to the issue.
Also, links to the comments with important information, Root Cause analysis, additional video recordings; and anything else that is important for the issue and at some reason cannot be added to other sections.
- type: textarea
attributes:
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ body:
- type: markdown
attributes:
value: |
Important: This repository is intended only for Magento 2 Technical Issues.
Important: This repository is intended only for Mage-OS Magento 2 Technical Issues.
Enter Feature Requests at https://github.com/magento/community-features.
Project stakeholders monitor and manage requests.
Feature requests entered using this form may be moved to the forum.
Expand All @@ -28,7 +28,7 @@ body:
attributes:
label: Benefits
description: |
How do you think this feature would improve Magento?
How do you think this feature would improve Mage-OS Magento?
- type: textarea
attributes:
label: Additional information
Expand Down
6 changes: 3 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!---
Thank you for contributing to Magento.
Thank you for contributing to Mage-OS.
To help us process this pull request we recommend that you add the following information:
- Summary of the pull request,
- Issue(s) related to the changes made,
Expand All @@ -20,10 +20,10 @@

### Fixed Issues (if relevant)
<!---
If relevant, please provide a list of fixed issues in the format magento/magento2#<issue_number>.
If relevant, please provide a list of fixed issues in the format mage-os/mageos-magento2#<issue_number>.
There could be 1 or more issues linked here and it will help us find some more information about the reasoning behind this change.
-->
1. Fixes magento/magento2#<issue_number>
1. Fixes mage-os/mageos-magento2#<issue_number>

### Manual testing scenarios (*)
<!---
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/coding-standard-baseline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Coding Standard With Baseline
on:
pull_request:
branches: ["**"]
permissions:
contents: read
jobs:
coding-standard:
runs-on: ubuntu-latest
steps:
- name: Run Coding Standard Baseline
uses: mage-os/github-actions/coding-standard-baseline@main
with:
head_repo: ${{github.event.pull_request.head.repo.full_name}}
head_ref: ${{github.event.pull_request.head.ref}}

19 changes: 19 additions & 0 deletions .github/workflows/full-integration-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Integration Tests - Full Test Suite
run-name: ${{ github.actor }} is running Full Integration Test Suite
on:
workflow_dispatch:
inputs:
test_directory:
description: 'Test directory to run integration tests'
type: string
required: false

jobs:
call-workflow:
name: calling full integration test suite
uses: mage-os/github-actions/.github/workflows/full-integration-tests.yaml@main
secrets: inherit
with:
repository: ${{ github.repository }}
head: ${{ github.sha }}
test_directory: ${{ github.event.inputs.test_directory }}
28 changes: 28 additions & 0 deletions .github/workflows/nx-integration-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Integration Tests (Using Nx)
run-name: ${{ github.actor }} is running Integration Tests
on:
pull_request:
branches: ["**"]

permissions:
contents: write

jobs:
call-workflow:
name: Calling Nx integration tests
uses: mage-os/github-actions/.github/workflows/nx-integration-tests.yml@main
secrets: inherit
with:
repository: ${{ github.repository }}
pr_head: ${{ github.event.pull_request.head.sha }}
pr_base: ${{ github.event.pull_request.base.ref }}

wait-for-result:
name: Wait For Result
needs: call-workflow
runs-on: ubuntu-latest
steps:
- name: "Wait"
shell: bash
run: |
echo "got result"
15 changes: 15 additions & 0 deletions .github/workflows/setup-di-compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Run setup:di:compile

on:
push:

permissions:
contents: read

jobs:
setup-di-compile:
name: Run bin/magento setup:di:compile
runs-on: ubuntu-latest
steps:
- name: Run setup:di:compile
uses: mage-os/github-actions/setup-di-compile@main
12 changes: 12 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Unit Tests
run-name: ${{ github.actor }} is running Unit Tests
on:
pull_request:
branches: ["**"]

permissions:
contents: write

jobs:
run-unit-tests:
uses: mage-os/infrastructure/.github/workflows/unit-tests.yml@main
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
namespace Magento\AdminAnalytics\Model\Condition;

use Magento\AdminAnalytics\Model\ResourceModel\Viewer\Logger;
use Magento\Framework\App\Config\ScopeConfigInterface;
use Magento\Framework\App\ObjectManager;
use Magento\Framework\View\Layout\Condition\VisibilityConditionInterface;
use Magento\Framework\App\CacheInterface;

Expand Down Expand Up @@ -40,16 +42,24 @@ class CanViewNotification implements VisibilityConditionInterface
*/
private $cacheStorage;

/**
* @var ScopeConfigInterface
*/
private $scopeConfig;

/**
* @param Logger $viewerLogger
* @param CacheInterface $cacheStorage
* @param ScopeConfigInterface|null $scopeConfig
*/
public function __construct(
Logger $viewerLogger,
CacheInterface $cacheStorage
CacheInterface $cacheStorage,
?ScopeConfigInterface $scopeConfig = null
) {
$this->viewerLogger = $viewerLogger;
$this->cacheStorage = $cacheStorage;
$this->scopeConfig = $scopeConfig ?? ObjectManager::getInstance()->get(ScopeConfigInterface::class);
}

/**
Expand All @@ -62,7 +72,7 @@ public function isVisible(array $arguments): bool
{
$cacheKey = self::$cachePrefix;
$value = $this->cacheStorage->load($cacheKey);
if ($value !== 'log-exists') {
if ($this->scopeConfig->isSetFlag('admin/usage/enabled') && $value !== 'log-exists') {
$logExists = $this->viewerLogger->checkLogExists();
if ($logExists) {
$this->cacheStorage->save('log-exists', $cacheKey);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

use Magento\AdminAnalytics\Model\Condition\CanViewNotification;
use Magento\AdminAnalytics\Model\ResourceModel\Viewer\Logger;
use Magento\AdminAnalytics\Model\Viewer\Log;
use Magento\Framework\App\CacheInterface;
use Magento\Framework\App\Config\ScopeConfigInterface;
use Magento\Framework\App\ProductMetadataInterface;
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
use PHPUnit\Framework\MockObject\MockObject;
Expand All @@ -27,26 +27,27 @@ class CanViewNotificationTest extends TestCase
/** @var ProductMetadataInterface|MockObject */
private $productMetadataMock;

/** @var Log|MockObject */
private $logMock;

/** @var MockObject|CacheInterface $cacheStorageMock */
private $cacheStorageMock;

/** @var (ScopeConfigInterface&MockObject) */
private $scopeConfigMock;

protected function setUp(): void
{
$this->cacheStorageMock = $this->getMockBuilder(CacheInterface::class)
->getMockForAbstractClass();
$this->logMock = $this->createMock(Log::class);
$this->viewerLoggerMock = $this->createMock(Logger::class);
$this->productMetadataMock = $this->getMockForAbstractClass(ProductMetadataInterface::class);
$this->scopeConfigMock = $this->createMock(ScopeConfigInterface::class);
$objectManager = new ObjectManager($this);
$this->canViewNotification = $objectManager->getObject(
CanViewNotification::class,
[
'viewerLogger' => $this->viewerLoggerMock,
'productMetadata' => $this->productMetadataMock,
'cacheStorage' => $this->cacheStorageMock,
'scopeConfig' => $this->scopeConfigMock,
]
);
}
Expand All @@ -57,7 +58,7 @@ protected function setUp(): void
* @param $logExists
* @dataProvider isVisibleProvider
*/
public function testIsVisibleLoadDataFromLog($expected, $cacheResponse, $logExists)
public function testIsVisibleLoadDataFromLog($expected, $cacheResponse, $logExists, $configEnabled)
{
$this->cacheStorageMock->expects($this->once())
->method('load')
Expand All @@ -69,6 +70,7 @@ public function testIsVisibleLoadDataFromLog($expected, $cacheResponse, $logExis
$this->cacheStorageMock
->method('save')
->with('log-exists', 'admin-usage-notification-popup');
$this->scopeConfigMock->method('isSetFlag')->with('admin/usage/enabled')->willReturn($configEnabled);
$this->assertEquals($expected, $this->canViewNotification->isVisible([]));
}

Expand All @@ -78,9 +80,10 @@ public function testIsVisibleLoadDataFromLog($expected, $cacheResponse, $logExis
public static function isVisibleProvider()
{
return [
[true, false, false],
[false, 'log-exists', true],
[false, false, true],
[true, false, false, true], // first login, no cache, config enabled
[false, false, false, false], // first login, no cache, config disabled
[false, 'log-exists', true, true], // first login, cache exists, config enabled
[false, false, true, true], // first login, cache exists, config enabled
];
}
}
6 changes: 2 additions & 4 deletions app/code/Magento/AdminAnalytics/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@
<default>
<admin>
<usage>
<enabled>
1
</enabled>
<enabled>0</enabled>
</usage>
</admin>
</default>
</config>
</config>
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
<uiComponent name="admin_usage_notification">
<visibilityCondition name="can_view_admin_usage_notification" className="Magento\AdminAnalytics\Model\Condition\CanViewNotification"/>
</uiComponent>
<block name="tracking_notification" as="tracking_notification" template="Magento_AdminAnalytics::notification.phtml">
<block name="tracking_notification"
as="tracking_notification"
template="Magento_AdminAnalytics::notification.phtml"
ifconfig="admin/usage/enabled">
<arguments>
<argument name="notification" xsi:type="object">Magento\AdminAnalytics\ViewModel\Notification</argument>
</arguments>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
<referenceContainer name="header">
<block name="tracking" as="tracking" template="Magento_AdminAnalytics::tracking.phtml" ifconfig="admin/usage/enabled">
<arguments>
<argument name="tracking_url" xsi:type="string">//assets.adobedtm.com/a7d65461e54e/37baabec1b6e/launch-177bc126c8e6.min.js</argument>
<!-- For Mage-OS the tracking_url is empty by default. -->
<argument name="tracking_url" xsi:type="string"/>
<argument name="metadata" xsi:type="object">Magento\AdminAnalytics\ViewModel\Metadata</argument>
</arguments>
</block>
Expand Down
Loading
Loading