Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
186 commits
Select commit Hold shift + click to select a range
2d95bf9
MAGETWO-92172: [Backport for 2.2.x] Redundant File Names for Quote At…
Jun 8, 2018
e1b8d43
Merge branch '2.2.6-develop' of https://github.com/magento/magento2ce…
Jun 8, 2018
8287053
MAGETWO-92172: [Backport for 2.2.x] Redundant File Names for Quote At…
Jun 8, 2018
96d9bdd
MAGETWO-92725: Incorrect group actions behavior
Jul 18, 2018
c3edc94
Merge branch '2.2.6-develop' of github.com:magento-qwerty/magento2ce …
Jul 19, 2018
0edd746
MAGETWO-92725: Incorrect group actions behavior
Jul 23, 2018
d358de0
Merge branch '2.2.6-develop' of github.com:magento-qwerty/magento2ce …
Jul 23, 2018
6f9fd34
Merge branch '2.2.6-develop' of github.com:magento-qwerty/magento2ce …
Jul 23, 2018
7d1325c
Merge branch '2.2.6-develop' into MAGETWO-92172
Jul 30, 2018
c29dd64
Merge branch '2.2.6-develop' into MAGETWO-92172
Jul 30, 2018
6445cd3
Merge branch '2.2.6-develop' into MAGETWO-92725
Jul 30, 2018
42a4d79
MAGETWO-92181: Fixed incorrect behavior of attribute sets
Aug 20, 2018
7351cbb
Merge remote-tracking branch 'mainline/2.2.6-develop' into 2.2.7-develop
aakimov Sep 6, 2018
4daa54d
MAGETWO-71157: Servers Configurations Needs Update
OlgaVasyltsun Sep 6, 2018
ad1bdac
MAGETWO-94468: Wrong session messages behavior
svitja Sep 11, 2018
226aebf
MAGETWO-94468: Wrong session messages behavior
svitja Sep 17, 2018
6066468
MAGETWO-92187: [Backport for 2.2.x] Setup Application uses version of…
omiroshnichenko Sep 17, 2018
ebbdf7d
MAGETWO-93725: [Backport for 2.2.x] jQuery is old and causing PCI sca…
omiroshnichenko Sep 17, 2018
c04254d
MAGETWO-72067: Fix tinymce flash player issue
omiroshnichenko Sep 17, 2018
0a954dc
Merge branch 'MAGETWO-93725' of github.com:magento-trigger/magento2ce…
omiroshnichenko Sep 17, 2018
7df08af
Merge branch 'MAGETWO-72067' of github.com:magento-trigger/magento2ce…
omiroshnichenko Sep 17, 2018
82d7946
Merge remote-tracking branch 'origin/MAGETWO-94468' into 2.2.7-develo…
DianaRusin Sep 18, 2018
43460dd
Merge pull request #3187 from magento-trigger/PR-2.2.7
okolesnyk Sep 19, 2018
52498f2
Merge remote-tracking branch 'mainline/2.2-develop' into 2.2.7-develop
aakimov Sep 20, 2018
62a927d
MAGETWO-94434: UPS API removal - Dec 2018 [2.2.x]
StasKozar Sep 24, 2018
c92f4c4
Merge remote-tracking branch 'origin/MAGETWO-94434' into 2.2.7-develo…
DianaRusin Sep 25, 2018
212dbb9
MAGETWO-93032: [Backport for 2.2.x] Update Magento logo in emails and…
zakdma Sep 26, 2018
7b70bf9
MAGETWO-92169: Apply HTML5 Attributes to Newsletter Preview
StasKozar Sep 27, 2018
2db1a1e
Merge remote-tracking branch 'origin/MAGETWO-93032' into 2.2.7-develo…
svitja Sep 27, 2018
99ddaa2
MAGETWO-94174: Disable backups by default
zakdma Sep 28, 2018
6394940
Merge remote-tracking branch 'origin/MAGETWO-94174' into 2.2.7-develo…
StasKozar Oct 1, 2018
449516b
Merge remote-tracking branch 'origin/MAGETWO-92169' into 2.2.7-develo…
svitja Oct 2, 2018
815a767
MAGETWO-95424: Swatch validation breaks the whole attribute form
StasKozar Oct 3, 2018
c20d211
MAGETWO-95424: Swatch validation breaks the whole attribute form
StasKozar Oct 3, 2018
ed838b3
MAGETWO-95424: Swatch validation breaks the whole attribute form
StasKozar Oct 3, 2018
faa3825
MAGETWO-95424: Swatch validation breaks the whole attribute form
StasKozar Oct 3, 2018
c5d4224
MAGETWO-95424: Swatch validation breaks the whole attribute form
StasKozar Oct 3, 2018
91df0e2
MAGETWO-95424: Swatch validation breaks the whole attribute form
StasKozar Oct 3, 2018
6f5da94
MAGETWO-95424: Swatch validation breaks the whole attribute form
StasKozar Oct 4, 2018
799a90d
Merge pull request #3253 from magento-tsg/2.2.7-develop-pr45
Oct 4, 2018
9333360
Merge remote-tracking branch 'origin/2.2.7-develop' into MAGETWO-95424
StasKozar Oct 5, 2018
1f4bbc4
MQE-987: Decouple MFTF from Magento
KevinBKozan Oct 8, 2018
1b15b5c
MQE-1033: Validate duplicate element names in the same file (Section,…
KevinBKozan Jun 22, 2018
d427780
MQE-1033: Validate duplicate element names in the same file
KevinBKozan Oct 8, 2018
2a91f86
MQE-1130: MFTF root level dependency conflicts with MTF autoload
okolesnyk Jul 6, 2018
74be631
MQE-1112: Bump MFTF version in Magento
KevinBKozan Jul 25, 2018
a205d2e
MQE-1167: Remove composer.json from Mftf folder in app/code
KevinBKozan Aug 2, 2018
6e23e39
MQE-1112: Bump MFTF version in Magento
KevinBKozan Jul 25, 2018
79961ec
MQE-1112: Bump MFTF version in Magento
okolesnyk Jul 26, 2018
6426bdd
MQE-1112: Bump MFTF version in Magento
okolesnyk Jul 30, 2018
f5888e1
MQE-1112: Bump MFTF version in Magento
okolesnyk Jul 30, 2018
ad9481f
MQE-1112: Bump MFTF version in Magento
okolesnyk Jul 30, 2018
7f078a3
MQE-1112: Bump MFTF version in Magento
okolesnyk Jul 30, 2018
5cd0c85
MQE-1112: Bump MFTF version in Magento
okolesnyk Jul 30, 2018
abdf13b
MQE-1112: Bump MFTF version in Magento
okolesnyk Jul 31, 2018
40d0071
MQE-1112: Bump MFTF version in Magento
okolesnyk Jul 31, 2018
02399ee
MQE-1112: Bump MFTF version in Magento
KevinBKozan Aug 14, 2018
9cbdeb2
MQE-1112: Bump MFTF version in Magento
KevinBKozan Sep 12, 2018
51fffe5
MQE-1112: Bump MFTF version in Magento
KevinBKozan Sep 12, 2018
f615343
MQE-1112: Bump MFTF version in Magento
KevinBKozan Oct 8, 2018
07e2075
MQE-1112: Bump MFTF version in Magento
KevinBKozan Oct 8, 2018
cf1b9ce
MAGETWO-95529: Can't upgrade magento instance from 2.2.6 to 2.2.7 by …
ameysar Oct 9, 2018
a52b6cf
Merge remote-tracking branch 'origin/MAGETWO-95424' into 2.2.7-develo…
SeruyV Oct 10, 2018
46b8319
Merge pull request #3291 from magento-tsg/2.2.7-develop-pr52
Oct 11, 2018
b060898
merge magento/2.2.7-develop into magento-pangolin/2.2.7-dev-pan-2.3.8
Oct 11, 2018
d33ba2a
MAGETWO-94123: Independent blocks rule
zakdma Oct 12, 2018
72a1850
MAGETWO-92184: JS Templates Limitations
Oct 16, 2018
a2afbc3
Merge pull request #3283 from magento-pangolin/2.2.7-dev-pan-2.3.8
okolesnyk Oct 17, 2018
b3529b6
MAGETWO-95629: Filesystem Directory Improvement
StasKozar Oct 17, 2018
3b41586
MAGETWO-95629: Filesystem Directory Improvement
StasKozar Oct 17, 2018
f35a38a
Merge branch '2.2.7-develop' of https://github.com/magento/magento2ce…
Oct 17, 2018
d50adea
MAGETWO-95393: Widget Changes
SeruyV Oct 17, 2018
48e3627
MAGETWO-95378: Fixed wrong admin notifications behavior
viktorpetryk Oct 17, 2018
3c736cd
Merge remote-tracking branch 'origin/2.2.7-develop' into MAGETWO-95393
SeruyV Oct 17, 2018
6410a4a
MAGETWO-92184: JS Templates Limitations
Oct 17, 2018
763b05c
MAGETWO-92184: JS Templates Limitations
Oct 17, 2018
0c48a10
MAGETWO-95629: Filesystem Directory Improvement
StasKozar Oct 18, 2018
084ecfb
MAGETWO-95629: Filesystem Directory Improvement
StasKozar Oct 18, 2018
358622c
MAGETWO-95629: Filesystem Directory Improvement
StasKozar Oct 18, 2018
2497ed6
MAGETWO-95629: Filesystem Directory Improvement
StasKozar Oct 18, 2018
84859ab
Merge remote-tracking branch 'origin/MAGETWO-95378' into 2.2.7-develo…
SeruyV Oct 19, 2018
4c78284
Merge remote-tracking branch 'origin/MAGETWO-95393' into 2.2.7-develo…
viktorpetryk Oct 19, 2018
5bc4042
MAGETWO-95629: Filesystem Directory Improvement
StasKozar Oct 19, 2018
7f11102
MAGETWO-95393: Widget Changes
zakdma Oct 19, 2018
23e8f8e
Merge remote-tracking branch 'origin/MAGETWO-95393' into 2.2.7-develo…
zakdma Oct 19, 2018
5a77099
MAGETWO-95635: Updating default value for protected_extensions setting
OlgaVasyltsun Oct 22, 2018
be73bf0
MAGETWO-61322: Fixed incorrect return-order flow
Oct 22, 2018
da8c936
MAGETWO-95635: Updating default value for protected_extensions setting
OlgaVasyltsun Oct 22, 2018
945f074
MAGETWO-95635: Updating default value for protected_extensions setting
OlgaVasyltsun Oct 22, 2018
991d785
Merge pull request #3341 from magento-tsg/2.2.7-develop-pr52
Oct 22, 2018
116a3b7
MAGETWO-95236: Change regular expression
zakdma Oct 23, 2018
2b8896b
MAGETWO-95426: Unable to set default option for swatch attribute
OlgaVasyltsun Oct 23, 2018
16526ba
Merge remote-tracking branch 'origin/2.2.7-develop' into MAGETWO-95426
OlgaVasyltsun Oct 23, 2018
8722fa6
MAGETWO-95426: Unable to set default option for swatch attribute
OlgaVasyltsun Oct 23, 2018
7172185
MAGETWO-95638: Upload Extension Validation
ameysar Oct 23, 2018
8110949
MAGETWO-95622: Path Validation in Templates
zakdma Oct 23, 2018
ae8b347
MAGETWO-95365: Update Magento\Ui\Controller\Adminhtml\Index\Render\Ha…
OlgaVasyltsun Oct 23, 2018
952d446
MAGETWO-95365: Update Magento\Ui\Controller\Adminhtml\Index\Render\Ha…
OlgaVasyltsun Oct 23, 2018
e5d2119
MAGETWO-95647: Custom file attribute works incorrect
svitja Oct 23, 2018
7efc2ce
MAGETWO-95507: Broken Swagger markup
viktorpetryk Oct 23, 2018
5e6801e
MAGETWO-95426: Unable to set default option for swatch attribute
OlgaVasyltsun Oct 24, 2018
a21ab6a
MAGETWO-95644: Import error
svitja Oct 24, 2018
ed27a7a
MAGETWO-95551: Adding restriction for controller
ameysar Oct 24, 2018
67681a5
Merge remote-tracking branch 'origin/MAGETWO-95236' into 2.2.7-develo…
SeruyV Oct 24, 2018
526a133
Merge remote-tracking branch 'origin/2.2.7-develop' into MAGETWO-95635
svitja Oct 24, 2018
739982d
Merge remote-tracking branch 'origin/MAGETWO-95635' into 2.2.7-develo…
svitja Oct 24, 2018
add1451
MAGETWO-95647: Custom file attribute works incorrect
svitja Oct 24, 2018
2d67528
Merge remote-tracking branch 'origin/MAGETWO-95507' into 2.2.7-develo…
SeruyV Oct 24, 2018
75a5f70
MAGETWO-95644: Import error
svitja Oct 25, 2018
f3655ca
MAGETWO-95365: Update Magento\Ui\Controller\Adminhtml\Index\Render\Ha…
OlgaVasyltsun Oct 25, 2018
b16764a
MAGETWO-95551: Adding restriction for controller
ameysar Oct 25, 2018
9a110d8
MAGETWO-95426: Unable to set default option for swatch attribute
OlgaVasyltsun Oct 25, 2018
04984e1
Merge remote-tracking branch 'origin/MAGETWO-95644' into 2.2.7-develo…
StasKozar Oct 25, 2018
3432f2b
Merge remote-tracking branch 'origin/MAGETWO-95365' into 2.2.7-develo…
StasKozar Oct 25, 2018
5b1b70d
Merge remote-tracking branch 'origin/MAGETWO-95551' into 2.2.7-develo…
OlgaVasyltsun Oct 25, 2018
21b0b3e
MAGETWO-95921: Revert from 2.2.7 fixes not delivered to 2.3.0
zakdma Oct 25, 2018
a330532
Merge remote-tracking branch 'origin/MAGETWO-95622' into 2.2.7-develo…
viktorpetryk Oct 25, 2018
fb8c0af
MAGETWO-61322: Fixed incorrect return-order flow
Oct 25, 2018
b2edfa7
MAGETWO-61322: Fixed incorrect return-order flow
Oct 25, 2018
492f6f6
Merge MAGETWO-92172 into 2.2.7-bugfixes-251018
dvoskoboinikov Oct 25, 2018
8e5f00f
Merge MAGETWO-92184 into 2.2.7-bugfixes-251018
dvoskoboinikov Oct 25, 2018
3cb6d36
Merge MAGETWO-92181 into 2.2.7-bugfixes-251018
dvoskoboinikov Oct 25, 2018
bf9b3c0
Merge MAGETWO-92725 into 2.2.7-bugfixes-251018
dvoskoboinikov Oct 25, 2018
8f9dd1e
MAGETWO-61322: Fixed incorrect return-order flow
Oct 25, 2018
fb853bd
MAGETWO-61322: Fixed incorrect return-order flow
Oct 25, 2018
072f000
Merge remote-tracking branch 'origin/MAGETWO-95426' into 2.2.7-develo…
StasKozar Oct 26, 2018
380c4c3
MAGETWO-95709: Exception is thrown when Customer Address attribute wi…
svitja Oct 26, 2018
cef729f
Merge remote-tracking branch 'origin/MAGETWO-95921' into 2.2.7-develo…
StasKozar Oct 26, 2018
c06fc1c
Merge branch '2.2.7-develop' into MAGETWO-61322
Oct 26, 2018
299c359
MAGETWO-95963: [TSG] Pull Request 53 stabilization
zakdma Oct 29, 2018
2951789
Merge remote-tracking branch 'origin/MAGETWO-95963' into 2.2.7-develo…
zakdma Oct 29, 2018
56449e1
Merge remote-tracking branch 'origin/MAGETWO-95647' into 2.2.7-develo…
zakdma Oct 29, 2018
f42ceda
Merge remote-tracking branch 'origin/MAGETWO-95709' into 2.2.7-develo…
zakdma Oct 29, 2018
e3f8144
Merge remote-tracking branch 'origin/MAGETWO-95638' into 2.2.7-develo…
ameysar Oct 29, 2018
bdff263
Merge pull request #3375 from magento-qwerty/2.2.7-bugfixes-251018
dvoskoboinikov Oct 29, 2018
b5abfa7
MAGETWO-95963: [TSG] Pull Request 53 stabilization
zakdma Oct 29, 2018
a7fb733
Merge remote-tracking branch 'origin/MAGETWO-95963' into 2.2.7-develo…
zakdma Oct 29, 2018
7c2a6c1
merge magento/2.2.7-develop into magento-qwerty/MAGETWO-61322
Oct 29, 2018
50a35a1
Merge remote-tracking branch 'origin/2.2.7-develop' into 2.2.7-develo…
zakdma Oct 29, 2018
0477bf3
MAGETWO-95964: Unable to create admin order with PayPal Payflow Pro V…
StasKozar Oct 30, 2018
6aa67db
Merge remote-tracking branch 'origin/2.2.7-develop' into MAGETWO-95964
StasKozar Oct 30, 2018
bbf907c
Merge pull request #3391 from magento-tsg/2.2.7-develop-pr53
Oct 30, 2018
65f99e9
Merge remote-tracking branch 'origin/2.2.7-develop' into MAGETWO-95964
StasKozar Oct 30, 2018
7c674ef
MAGETWO-61322: Fixed incorrect return-order flow
Oct 30, 2018
b067091
merge magento/2.2.7-develop into magento-qwerty/MAGETWO-61322
Oct 30, 2018
6c4e979
Merge pull request #3388 from magento-qwerty/MAGETWO-61322
dvoskoboinikov Oct 30, 2018
d114f3b
Merge remote-tracking branch 'origin/MAGETWO-95964' into 2.2.7-develo…
zakdma Oct 31, 2018
67c3162
Merge pull request #3397 from magento-tsg/2.2.7-develop-pr55
Oct 31, 2018
1a9ae2a
MAGETWO-96076: In field "Street Address" not present require icon
zakdma Nov 2, 2018
339f74b
MAGETWO-96076: In field "Street Address" not present require icon
zakdma Nov 2, 2018
9174fbf
Merge pull request #3424 from magento-tsg/2.2.7-develop-pr57
Nov 7, 2018
6124b77
MAGETWO-96373: CHANGELOG.md for 2.2.7 Release
xmav Nov 15, 2018
cd5ad1c
Merge pull request #3453 from magento-plankton/2.2.7-develop
Nov 15, 2018
6ab0dee
MAGETWO-73922: Import doesn't allow to set default value per store vi…
viktorpetryk Nov 16, 2018
32e14db
MAGETWO-95168: Magento 2.2.7 Publication
magento-team Nov 16, 2018
504aeb6
MAGETWO-73922: Import doesn't allow to set default value per store vi…
viktorpetryk Nov 21, 2018
8c83a6e
Merge remote-tracking branch 'origin/2.2-develop' into MAGETWO-73922
viktorpetryk Nov 21, 2018
d7cbe06
MAGETWO-62841: On Payment screen using Credit Card checkout, up and d…
SeruyV Nov 22, 2018
6ed1b42
MAGETWO-90727: Ordered Products Report Error for restricted scope admin
svitja Nov 26, 2018
513f39d
MAGETWO-86549: Unusual behavior with the persistent shopping cart aft…
SeruyV Nov 27, 2018
ef236db
MAGETWO-86549: Unusual behavior with the persistent shopping cart aft…
SeruyV Nov 27, 2018
ccf61f1
Merge remote-tracking branch 'origin/2.2-develop' into MAGETWO-90727
svitja Nov 27, 2018
7f7783c
MAGETWO-90727: Ordered Products Report Error for restricted scope admin
svitja Nov 27, 2018
5036b0b
MAGETWO-74044: Import Products sets default behaviour as append, need…
viktorpetryk Nov 27, 2018
7d459d5
Merge remote-tracking branch 'origin/2.2-develop' into MAGETWO-86549
viktorpetryk Nov 28, 2018
64ab6b2
MAGETWO-74208: Header issue when resizing in Internet Explorer
DianaRusin Nov 28, 2018
1d602a3
Merge remote-tracking branch 'origin/MAGETWO-73922' into 2.2-develop-…
svitja Nov 29, 2018
bc229be
Merge remote-tracking branch 'origin/MAGETWO-74044' into 2.2-develop-…
StasKozar Nov 29, 2018
dfa5897
Merge remote-tracking branch 'origin/2.2-develop' into MAGETWO-62841
OlgaVasyltsun Nov 29, 2018
b343de7
Merge remote-tracking branch 'origin/MAGETWO-62841' into 2.2-develop-…
OlgaVasyltsun Nov 29, 2018
8b09e3a
Merge remote-tracking branch 'origin/2.2-develop' into MAGETWO-90727
SeruyV Nov 29, 2018
a4839ad
Merge remote-tracking branch 'origin/MAGETWO-90727' into 2.2-develop-…
SeruyV Nov 29, 2018
63a0d40
Merge remote-tracking branch 'origin/2.2-develop-pr60' into 2.2-devel…
SeruyV Nov 29, 2018
164619a
Merge remote-tracking branch 'origin/2.2-develop' into MAGETWO-74208
OlgaVasyltsun Dec 3, 2018
2430b3d
Merge remote-tracking branch 'origin/MAGETWO-74208' into 2.2-develop-…
OlgaVasyltsun Dec 3, 2018
7b28e74
MAGETWO-95168: Magento 2.2.7 Publication
xmav Dec 3, 2018
ba0daa5
MAGETWO-95168: Magento 2.2.7 Publication
xmav Dec 3, 2018
8e455b9
MAGETWO-95168: Magento 2.2.7 Publication
xmav Dec 4, 2018
8c6000f
Merge pull request #3502 from magento-plankton/2.2-develop-merge-2.2.7
xmav Dec 5, 2018
edd3a2f
Merge remote-tracking branch 'origin/2.2-develop' into 2.2-develop-pr60
zakdma Dec 5, 2018
b4269c2
Merge pull request #3509 from magento-tsg/2.2-develop-pr60
Dec 5, 2018
6055ad9
Fixed-19573: Alignment Issue when create a new email template admin.
suryakant-krish Dec 5, 2018
1fd71da
Fixed-19573: Alignment Issue when create a new email template admin.
suryakant-krish Dec 5, 2018
51ce8ad
Fixed-19573: Alignment Issue when create a new email template admin.
suryakant-krish Dec 5, 2018
cde7b2f
Fixed 19573: Alignment Issue when create a new email template admin
suryakant-krish Dec 6, 2018
3ef0153
Merge branch '2.2-develop' into 2.2-develop-PR-port-19574
suryakant-krish Dec 11, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
147 changes: 147 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/code/Magento/AdminNotification/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"lib-libxml": "*"
},
"type": "magento2-module",
"version": "100.2.4",
"version": "100.2.5",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/AdvancedPricingImportExport/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"magento/framework": "101.0.*"
},
"type": "magento2-module",
"version": "100.2.4",
"version": "100.2.5",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Analytics/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"magento/framework": "101.0.*"
},
"type": "magento2-module",
"version": "100.2.3",
"version": "100.2.4",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Authorization/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"magento/framework": "101.0.*"
},
"type": "magento2-module",
"version": "100.2.2",
"version": "100.2.3",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Authorizenet/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"magento/module-config": "101.0.*"
},
"type": "magento2-module",
"version": "100.2.2",
"version": "100.2.3",
"license": [
"proprietary"
],
Expand Down
38 changes: 35 additions & 3 deletions app/code/Magento/Backend/Block/System/Store/Delete/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,39 @@
*/
namespace Magento\Backend\Block\System\Store\Delete;

use Magento\Backup\Helper\Data as BackupHelper;
use Magento\Framework\App\ObjectManager;

/**
* Adminhtml cms block edit form
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Form extends \Magento\Backend\Block\Widget\Form\Generic
{
/**
* @var BackupHelper
*/
private $backup;

/**
* @param \Magento\Backend\Block\Template\Context $context
* @param \Magento\Framework\Registry $registry
* @param \Magento\Framework\Data\FormFactory $formFactory
* @param array $data
* @param BackupHelper|null $backup
*/
public function __construct(
\Magento\Backend\Block\Template\Context $context,
\Magento\Framework\Registry $registry,
\Magento\Framework\Data\FormFactory $formFactory,
array $data = [],
BackupHelper $backup = null
) {
parent::__construct($context, $registry, $formFactory, $data);
$this->backup = $backup ?? ObjectManager::getInstance()->get(BackupHelper::class);
}

/**
* Init form
*
Expand All @@ -25,7 +51,7 @@ protected function _construct()
}

/**
* {@inheritdoc}
* @inheritDoc
*/
protected function _prepareForm()
{
Expand All @@ -45,15 +71,21 @@ protected function _prepareForm()

$fieldset->addField('item_id', 'hidden', ['name' => 'item_id', 'value' => $dataObject->getId()]);

$backupOptions = ['0' => __('No')];
$backupSelected = '0';
if ($this->backup->isEnabled()) {
$backupOptions['1'] = __('Yes');
$backupSelected = '1';
}
$fieldset->addField(
'create_backup',
'select',
[
'label' => __('Create DB Backup'),
'title' => __('Create DB Backup'),
'name' => 'create_backup',
'options' => ['1' => __('Yes'), '0' => __('No')],
'value' => '1'
'options' => $backupOptions,
'value' => $backupSelected
]
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* Store controller
*
* @author Magento Core Team <core@magentocommerce.com>
* @SuppressWarnings(PHPMD.AllPurposeAction)
*/
abstract class Store extends Action
{
Expand Down Expand Up @@ -86,6 +87,8 @@ protected function createPage()
* Backup database
*
* @return bool
*
* @deprecated Backup module is to be removed.
*/
protected function _backupDatabase()
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->

<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
<!--Login as any user-->
<actionGroup name="AdminLoginAsAnyUser">
<arguments>
<argument name="login" type="string" defaultValue="{{_ENV.MAGENTO_ADMIN_USERNAME}}"/>
<argument name="password" type="string" defaultValue="{{_ENV.MAGENTO_ADMIN_PASSWORD}}"/>
</arguments>
<amOnPage url="{{AdminLoginPage.url}}" stepKey="navigateToAdmin"/>
<fillField userInput="{{login}}" selector="{{AdminLoginFormSection.username}}" stepKey="fillUsername"/>
<fillField userInput="{{password}}" selector="{{AdminLoginFormSection.password}}" stepKey="fillPassword"/>
<click selector="{{AdminLoginFormSection.signIn}}" stepKey="clickLogin"/>
<closeAdminNotification stepKey="closeAdminNotification"/>
</actionGroup>
</actionGroups>
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
<element name="test" type="input" selector=".test"/>
<element name="success" type="text" selector="#messages div.message-success"/>
<element name="successMessageByIndex" type="text" selector=".message.message-success.success:nth-of-type({{n}})>div" parameterized="true"/>
<element name="error" type="text" selector="#messages div.message-error"/>
</section>
</sections>
2 changes: 1 addition & 1 deletion app/code/Magento/Backend/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"magento/module-theme": "100.2.*"
},
"type": "magento2-module",
"version": "100.2.6",
"version": "100.2.7",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
26 changes: 25 additions & 1 deletion app/code/Magento/Backup/Controller/Adminhtml/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@
*/
namespace Magento\Backup\Controller\Adminhtml;

use Magento\Backup\Helper\Data as Helper;
use Magento\Framework\App\ObjectManager;

/**
* Backup admin controller
*
* @author Magento Core Team <core@magentocommerce.com>
* @api
* @since 100.0.2
* @SuppressWarnings(PHPMD.AllPurposeAction)
*/
abstract class Index extends \Magento\Backend\App\Action
{
Expand Down Expand Up @@ -48,27 +52,47 @@ abstract class Index extends \Magento\Backend\App\Action
*/
protected $maintenanceMode;

/**
* @var Helper
*/
private $helper;

/**
* @param \Magento\Backend\App\Action\Context $context
* @param \Magento\Framework\Registry $coreRegistry
* @param \Magento\Framework\Backup\Factory $backupFactory
* @param \Magento\Framework\App\Response\Http\FileFactory $fileFactory
* @param \Magento\Backup\Model\BackupFactory $backupModelFactory
* @param \Magento\Framework\App\MaintenanceMode $maintenanceMode
* @param Helper|null $helper
*/
public function __construct(
\Magento\Backend\App\Action\Context $context,
\Magento\Framework\Registry $coreRegistry,
\Magento\Framework\Backup\Factory $backupFactory,
\Magento\Framework\App\Response\Http\FileFactory $fileFactory,
\Magento\Backup\Model\BackupFactory $backupModelFactory,
\Magento\Framework\App\MaintenanceMode $maintenanceMode
\Magento\Framework\App\MaintenanceMode $maintenanceMode,
Helper $helper = null
) {
$this->_coreRegistry = $coreRegistry;
$this->_backupFactory = $backupFactory;
$this->_fileFactory = $fileFactory;
$this->_backupModelFactory = $backupModelFactory;
$this->maintenanceMode = $maintenanceMode;
$this->helper = $helper ?? ObjectManager::getInstance()->get(Helper::class);
parent::__construct($context);
}

/**
* @inheritDoc
*/
public function dispatch(\Magento\Framework\App\RequestInterface $request)
{
if (!$this->helper->isEnabled()) {
return $this->_redirect('*/*/disabled');
}

return parent::dispatch($request);
}
}
47 changes: 47 additions & 0 deletions app/code/Magento/Backup/Controller/Adminhtml/Index/Disabled.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

declare(strict_types=1);

namespace Magento\Backup\Controller\Adminhtml\Index;

use Magento\Backend\App\Action;
use Magento\Backend\App\Action\Context;
use Magento\Framework\View\Result\PageFactory;

/**
* Inform that backup is disabled.
*/
class Disabled extends Action
{
/**
* @see _isAllowed()
*/
const ADMIN_RESOURCE = 'Magento_Backend::backup';

/**
* @var PageFactory
*/
private $pageFactory;

/**
* @param Context $context
* @param PageFactory $pageFactory
*/
public function __construct(Context $context, PageFactory $pageFactory)
{
parent::__construct($context);
$this->pageFactory = $pageFactory;
}

/**
* @inheritDoc
*/
public function execute()
{
return $this->pageFactory->create();
}
}
7 changes: 7 additions & 0 deletions app/code/Magento/Backup/Cron/SystemBackup.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
use Magento\Framework\App\Filesystem\DirectoryList;
use Magento\Store\Model\ScopeInterface;

/**
* Performs scheduled backup.
*/
class SystemBackup
{
const XML_PATH_BACKUP_ENABLED = 'system/backup/enabled';
Expand Down Expand Up @@ -101,6 +104,10 @@ public function __construct(
*/
public function execute()
{
if (!$this->_backupData->isEnabled()) {
return $this;
}

if (!$this->_scopeConfig->isSetFlag(self::XML_PATH_BACKUP_ENABLED, ScopeInterface::SCOPE_STORE)) {
return $this;
}
Expand Down
13 changes: 13 additions & 0 deletions app/code/Magento/Backup/Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

declare(strict_types=1);

namespace Magento\Backup\Helper;

use Magento\Framework\App\Filesystem\DirectoryList;
Expand Down Expand Up @@ -285,4 +288,14 @@ public function extractDataFromFilename($filename)

return $result;
}

/**
* Is backup functionality enabled.
*
* @return bool
*/
public function isEnabled(): bool
{
return $this->scopeConfig->isSetFlag('system/backup/functionality_enabled');
}
}
Loading