Skip to content
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

Removed Mage_Backup module #2259

Closed
wants to merge 65 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
acb4505
Support for uploading xlsx files (#2266)
sdecalom Jun 29, 2022
af8d068
Backend grid heads - Remove colons after To, From and In words (#2267)
ADDISON74 Jun 30, 2022
e890d7c
Fixed documentation link for "store scope" (#2256)
fballiano Jul 5, 2022
add1065
Fix Varien_Io_File ignored errors with error control operator (#1269)
luigifab Jul 5, 2022
9343518
Fix store id filter in `catalogProductList` SOAP method (#2243)
elidrissidev Jul 7, 2022
62146d8
Small changes in .htaccess file /media directory (#2280)
ADDISON74 Jul 7, 2022
5bf1ab5
All .gitignore files in one place (#2269)
ADDISON74 Jul 8, 2022
0bb8d83
Create/Update .htaccess file in skin and media directories (#2289)
ADDISON74 Jul 8, 2022
61e3c4d
Add `magento-composer-installer` to allowed plugins (#2296)
elidrissidev Jul 8, 2022
7c70e0b
Deleted .htaccess.sample (#2293)
ADDISON74 Jul 9, 2022
e90e35f
Updated php.ini.sample (#2292)
ADDISON74 Jul 9, 2022
8624d5e
Fix editing special price in product mass attribute update (#2287)
fballiano Jul 9, 2022
e06fe2d
Added required PHP modules to composer.json (#2064)
fballiano Jul 10, 2022
a11d247
Update robots.txt.sample (#2307)
ADDISON74 Jul 12, 2022
24c8721
Include exception message when generating error report (#2311)
elidrissidev Jul 12, 2022
c604fd1
Add some ReturnTypeWillChange annotations to Varien_object (#2301)
Flyingmana Jul 12, 2022
4af8207
Fix xml validation problems (#2242)
fballiano Jul 12, 2022
0fe01a3
rebased
fballiano Jul 13, 2022
6e54dd3
Fix argument 1 must contain at least one element (#2091)
luigifab Jul 13, 2022
1837f74
Added order comment functionality to REST API (#2315)
elidrissidev Jul 13, 2022
8854496
Added validation workflow for XML files (#2314)
fballiano Jul 13, 2022
042d4e5
Add basic unitTest for xml validation (#2304)
Flyingmana Jul 13, 2022
4727c2d
regenerated baseline and phpstorm meta
fballiano Jul 13, 2022
d91170b
Fix "Variable might not be defined" PHPStan error (#2316)
elidrissidev Jul 13, 2022
79ecbe8
Add missing translations for auto cache flushing config (#2308)
ADDISON74 Jul 14, 2022
0d99717
Allow to rename api.php for better security (#2132)
luigifab Jul 15, 2022
84b65c3
Removed Mage_PageCache module (#2258)
fballiano Jul 15, 2022
31c8018
Fix phpdoc for saveAttribute() (#2320)
Caprico85 Jul 16, 2022
153e171
Small changes in root files (#2324)
ADDISON74 Jul 17, 2022
33dfa26
Add basic text for Ukraine (#2074)
luigifab Jul 17, 2022
92a3b4f
Access registry directly in several Mage factory methods (#2319)
Sdfendor Jul 20, 2022
646a480
Fixed a notice with "session validator data" in onepage checkout (#2318)
azambon Jul 21, 2022
78e6cef
Add vendor folder to gitignore (#2334)
elidrissidev Jul 22, 2022
cc320eb
Fix for modphp8 (#2329)
fballiano Jul 23, 2022
6fecb8b
Fix for modphp8 (#2328)
fballiano Jul 23, 2022
e1741e5
Fixed call to undefined method Mage_Catalog_Model_Resource_Category_F…
matteorossi-thespacesm Jul 26, 2022
6eaea99
Added Mage_Catalog_Model_Resource_Abstract::getAttributeRawText() met…
justinbeaty Jul 26, 2022
39425d9
Added VScode, PhpStorm files and ddev config.yaml (#2343)
sreichel Jul 26, 2022
1ae890b
Removed docker-dde sample (#2346)
sreichel Jul 27, 2022
1699468
Removed dead code (#2339)
sreichel Jul 30, 2022
ee05559
Cosmetic fix in Mage_Sales_Model_Order_Payment (#2350)
fballiano Aug 1, 2022
9f9e234
Use constant for _isAllowed() check (#2342)
sreichel Aug 2, 2022
a252af8
Revert "Add basic text for Ukraine (#2074)" (#2325)
fballiano Aug 2, 2022
a328ce1
bump version
Flyingmana Aug 2, 2022
1b8fa4a
update changelog for current release
Flyingmana Aug 2, 2022
4721a48
Mage_Catalog_Model_Product_Attribute_Backend_Groupprice_Abstract: avo…
fballiano Aug 2, 2022
afc3681
Merge branch 'release-19.4.x' into release-20.0
Flyingmana Aug 2, 2022
cf82b8f
update changelog
Flyingmana Aug 2, 2022
35acb46
Merge tag 'v19.4.17' into 1.9.4.x
Flyingmana Aug 2, 2022
7f352b6
Added support for HTTP2 to Mage_HTTP_Client_Curl (#1137)
Schrank Aug 3, 2022
18e68a2
Blocked access to all dot files (#2349)
colinmollenhour Aug 3, 2022
83aa1ab
Capitalization Adjustment Regarding CamelCase in Method Names (#2365)
Sdfendor Aug 5, 2022
9cb2748
Some microoptimization (#2335)
sreichel Aug 5, 2022
f799cff
Enclosed error with <pre> tag for prettier error print (if developer …
kiatng Aug 5, 2022
e95d73c
Updated phpstan to 1.8.2 (#2367)
sreichel Aug 5, 2022
7d1a740
Escape product titles in MSRP JavaScript (#2366)
discountscott Aug 5, 2022
aa909db
Update boxes.css (#2330)
ADDISON74 Aug 5, 2022
d292c51
Force describeTable() to use read DB adapter (#2371)
fballiano Aug 6, 2022
18327f4
Do not install n98/n98_layouthelper (#2373)
sreichel Aug 6, 2022
5cca7d5
Merge remote-tracking branch 'origin/1.9.4.x' into 20.0
Flyingmana Aug 6, 2022
645a959
Fixed broken boxes.css in OM 20.0.15 (#2364)
fballiano Aug 9, 2022
b1098b2
Removed deprecated method Mage::setIsDownloader() (#2379)
fballiano Aug 10, 2022
32cb1e8
rebased
fballiano Jul 13, 2022
75809f1
regenerated baseline and phpstorm meta
fballiano Jul 13, 2022
3537598
rebased
fballiano Aug 12, 2022
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
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -1342,6 +1342,15 @@
"contributions": [
"code"
]
},
{
"login": "discountscott",
"name": "Scott Moore",
"avatar_url": "https://avatars.githubusercontent.com/u/5454596?v=4",
"profile": "https://github.com/discountscott",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7
Expand Down
230 changes: 229 additions & 1 deletion .github/changelog/version_19.txt

Large diffs are not rendered by default.

251 changes: 250 additions & 1 deletion .github/changelog/version_20.txt

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,6 @@
- app/design/frontend/*/*/template/authorizenet/*
- app/design/frontend/*/*/template/authorizenet/**/*

'Component: Backup':
- app/code/core/Mage/Backup/*
- app/code/core/Mage/Backup/**/*
- app/design/adminhtml/*/*/template/backup/*
- app/design/adminhtml/*/*/template/backup/**/*

'Component: Bundle':
- app/code/core/Mage/Bundle/*
- app/code/core/Mage/Bundle/**/*
Expand Down
164 changes: 2 additions & 162 deletions .github/phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,6 @@ parameters:
count: 2
path: ../app/code/core/Mage/Adminhtml/Block/Api/User/Edit/Tab/Roles.php

-
message: "#^Cannot call method addJs\\(\\) on Mage_Core_Block_Abstract\\|false\\.$#"
count: 1
path: ../app/code/core/Mage/Adminhtml/Block/Backup/Dialogs.php

-
message: "#^Method Mage_Adminhtml_Block_Widget_Grid\\:\\:setDefaultSort\\(\\) invoked with 2 parameters, 1 required\\.$#"
count: 1
path: ../app/code/core/Mage/Adminhtml/Block/Backup/Grid.php

-
message: "#^Access to an undefined property Mage_Adminhtml_Block_Catalog_Category_Tab_Design\\:\\:\\$_category\\.$#"
count: 1
Expand Down Expand Up @@ -510,11 +500,6 @@ parameters:
count: 1
path: ../app/code/core/Mage/Adminhtml/Block/Notification/Window.php

-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$resourcePath$#"
count: 1
path: ../app/code/core/Mage/Adminhtml/Block/Notification/Window.php

-
message: "#^Method Mage_Adminhtml_Block_Page\\:\\:getLang\\(\\) has invalid return type unknown\\.$#"
count: 1
Expand Down Expand Up @@ -1495,11 +1480,6 @@ parameters:
count: 1
path: ../app/code/core/Mage/Adminhtml/Helper/Dashboard/Abstract.php

-
message: "#^Method Mage_Adminhtml_Helper_Data\\:\\:prepareFilterString\\(\\) has invalid return type data\\.$#"
count: 1
path: ../app/code/core/Mage/Adminhtml/Helper/Data.php

-
message: "#^Method Mage_Adminhtml_Model_Config\\:\\:getSection\\(\\) should return Varien_Simplexml_Element but return statement is missing\\.$#"
count: 1
Expand Down Expand Up @@ -1665,26 +1645,6 @@ parameters:
count: 1
path: ../app/code/core/Mage/Adminhtml/controllers/Cms/PageController.php

-
message: "#^Call to method _saveSessionCurrentPath\\(\\) on an unknown class Mage_Adminhtml_Cms_Page_Wysiwyg_ImagesController\\.$#"
count: 1
path: ../app/code/core/Mage/Adminhtml/controllers/Cms/Wysiwyg/ImagesController.php

-
message: "#^Call to method loadLayout\\(\\) on an unknown class Mage_Adminhtml_Cms_Page_Wysiwyg_ImagesController\\.$#"
count: 1
path: ../app/code/core/Mage/Adminhtml/controllers/Cms/Wysiwyg/ImagesController.php

-
message: "#^Method Mage_Adminhtml_Cms_Wysiwyg_ImagesController\\:\\:_initAction\\(\\) has invalid return type Mage_Adminhtml_Cms_Page_Wysiwyg_ImagesController\\.$#"
count: 1
path: ../app/code/core/Mage/Adminhtml/controllers/Cms/Wysiwyg/ImagesController.php

-
message: "#^Method Mage_Adminhtml_Cms_Wysiwyg_ImagesController\\:\\:_saveSessionCurrentPath\\(\\) has invalid return type Mage_Adminhtml_Cms_Page_Wysiwyg_ImagesController\\.$#"
count: 1
path: ../app/code/core/Mage/Adminhtml/controllers/Cms/Wysiwyg/ImagesController.php

-
message: "#^Method Mage_Adminhtml_CustomerController\\:\\:cartAction\\(\\) should return string but return statement is missing\\.$#"
count: 1
Expand All @@ -1700,11 +1660,6 @@ parameters:
count: 1
path: ../app/code/core/Mage/Adminhtml/controllers/IndexController.php

-
message: "#^Method Mage_Adminhtml_JsonController\\:\\:countryRegionAction\\(\\) should return string but return statement is missing\\.$#"
count: 1
path: ../app/code/core/Mage/Adminhtml/controllers/JsonController.php

-
message: "#^Variable \\$id in isset\\(\\) always exists and is not nullable\\.$#"
count: 1
Expand Down Expand Up @@ -2165,91 +2120,6 @@ parameters:
count: 1
path: ../app/code/core/Mage/Authorizenet/controllers/Directpost/PaymentController.php

-
message: "#^PHPDoc tag @param has invalid value \\(string fileName\\)\\: Unexpected token \"fileName\", expected variable at offset 61$#"
count: 1
path: ../app/code/core/Mage/Backup/Model/Backup.php

-
message: "#^PHPDoc tag @param has invalid value \\(string filePath\\)\\: Unexpected token \"filePath\", expected variable at offset 91$#"
count: 1
path: ../app/code/core/Mage/Backup/Model/Backup.php

-
message: "#^Variable \\$filePath might not be defined\\.$#"
count: 4
path: ../app/code/core/Mage/Backup/Model/Backup.php

-
message: "#^Call to an undefined method Varien_Data_Collection\\:\\:addTargetDir\\(\\)\\.$#"
count: 1
path: ../app/code/core/Mage/Backup/Model/Fs/Collection.php

-
message: "#^Call to an undefined method Mage_Backup_Interface\\:\\:setRootDir\\(\\)\\.$#"
count: 1
path: ../app/code/core/Mage/Backup/Model/Observer.php

-
message: "#^Call to an undefined method Mage_Core_Model_Resource_Helper_Abstract\\:\\:getFooter\\(\\)\\.$#"
count: 1
path: ../app/code/core/Mage/Backup/Model/Resource/Db.php

-
message: "#^Call to an undefined method Mage_Core_Model_Resource_Helper_Abstract\\:\\:getHeader\\(\\)\\.$#"
count: 1
path: ../app/code/core/Mage/Backup/Model/Resource/Db.php

-
message: "#^Call to an undefined method Mage_Core_Model_Resource_Helper_Abstract\\:\\:getPartInsertSql\\(\\)\\.$#"
count: 1
path: ../app/code/core/Mage/Backup/Model/Resource/Db.php

-
message: "#^Call to an undefined method Mage_Core_Model_Resource_Helper_Abstract\\:\\:getTableCreateScript\\(\\)\\.$#"
count: 1
path: ../app/code/core/Mage/Backup/Model/Resource/Db.php

-
message: "#^Call to an undefined method Mage_Core_Model_Resource_Helper_Abstract\\:\\:getTableCreateSql\\(\\)\\.$#"
count: 1
path: ../app/code/core/Mage/Backup/Model/Resource/Db.php

-
message: "#^Call to an undefined method Mage_Core_Model_Resource_Helper_Abstract\\:\\:getTableDataAfterSql\\(\\)\\.$#"
count: 1
path: ../app/code/core/Mage/Backup/Model/Resource/Db.php

-
message: "#^Call to an undefined method Mage_Core_Model_Resource_Helper_Abstract\\:\\:getTableDataBeforeSql\\(\\)\\.$#"
count: 1
path: ../app/code/core/Mage/Backup/Model/Resource/Db.php

-
message: "#^Call to an undefined method Mage_Core_Model_Resource_Helper_Abstract\\:\\:getTableDropSql\\(\\)\\.$#"
count: 1
path: ../app/code/core/Mage/Backup/Model/Resource/Db.php

-
message: "#^Call to an undefined method Mage_Core_Model_Resource_Helper_Abstract\\:\\:getTableForeignKeysSql\\(\\)\\.$#"
count: 1
path: ../app/code/core/Mage/Backup/Model/Resource/Db.php

-
message: "#^Call to an undefined method Mage_Core_Model_Resource_Helper_Abstract\\:\\:turnOnReadCommittedMode\\(\\)\\.$#"
count: 1
path: ../app/code/core/Mage/Backup/Model/Resource/Db.php

-
message: "#^Call to an undefined method Mage_Core_Model_Resource_Helper_Abstract\\:\\:turnOnSerializableMode\\(\\)\\.$#"
count: 1
path: ../app/code/core/Mage/Backup/Model/Resource/Db.php

-
message: "#^Call to method Varien_Db_Adapter_Pdo_Mysql\\:\\:rollback\\(\\) with incorrect case\\: rollBack$#"
count: 1
path: ../app/code/core/Mage/Backup/Model/Resource/Db.php

-
message: "#^Call to an undefined method Mage_Catalog_Model_Product_Type_Abstract\\:\\:getOptionsCollection\\(\\)\\.$#"
count: 1
Expand Down Expand Up @@ -2495,11 +2365,6 @@ parameters:
count: 1
path: ../app/code/core/Mage/Captcha/controllers/Adminhtml/RefreshController.php

-
message: "#^Method Mage_Captcha_Adminhtml_RefreshController\\:\\:refreshAction\\(\\) should return null but return statement is missing\\.$#"
count: 1
path: ../app/code/core/Mage/Captcha/controllers/Adminhtml/RefreshController.php

-
message: "#^Call to an undefined method Mage_Captcha_Model_Interface\\:\\:getImgSrc\\(\\)\\.$#"
count: 1
Expand Down Expand Up @@ -3352,7 +3217,7 @@ parameters:

-
message: "#^Binary operation \"\\*\" between string and 0\\.3 results in an error\\.$#"
count: 2
count: 1
path: ../app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price.php

-
Expand Down Expand Up @@ -3517,7 +3382,7 @@ parameters:

-
message: "#^Binary operation \"\\*\" between string and 0\\.3 results in an error\\.$#"
count: 2
count: 1
path: ../app/code/core/Mage/CatalogInventory/Model/Resource/Indexer/Stock.php

-
Expand Down Expand Up @@ -3760,11 +3625,6 @@ parameters:
count: 1
path: ../app/code/core/Mage/Checkout/Block/Links.php

-
message: "#^PHPDoc tag @param has invalid value \\(\\$item\\)\\: Unexpected token \"\\$item\", expected type at offset 18$#"
count: 2
path: ../app/code/core/Mage/Checkout/Block/Multishipping/Addresses.php

-
message: "#^Call to an undefined method Mage_Core_Helper_Abstract\\:\\:displayCartBothPrices\\(\\)\\.$#"
count: 1
Expand Down Expand Up @@ -5470,11 +5330,6 @@ parameters:
count: 2
path: ../app/code/core/Mage/Newsletter/Model/Resource/Queue.php

-
message: "#^Call to method Zend_Db_Select\\:\\:where\\(\\) with incorrect case\\: Where$#"
count: 1
path: ../app/code/core/Mage/Newsletter/Model/Resource/Subscriber.php

-
message: "#^Call to an undefined method Mage_Customer_Model_Entity_Attribute\\:\\:getAttributeId\\(\\)\\.$#"
count: 3
Expand Down Expand Up @@ -5625,16 +5480,6 @@ parameters:
count: 1
path: ../app/code/core/Mage/Payment/Helper/Data.php

-
message: "#^PHPDoc tag @param has invalid value \\(\\$a\\)\\: Unexpected token \"\\$a\", expected type at offset 18$#"
count: 1
path: ../app/code/core/Mage/Payment/Helper/Data.php

-
message: "#^PHPDoc tag @param has invalid value \\(\\$b\\)\\: Unexpected token \"\\$b\", expected type at offset 35$#"
count: 1
path: ../app/code/core/Mage/Payment/Helper/Data.php

-
message: "#^Comparison operation \"\\<\" between \\(array\\|float\\|int\\) and 0\\.0001 results in an error\\.$#"
count: 1
Expand Down Expand Up @@ -7005,11 +6850,6 @@ parameters:
count: 1
path: ../app/code/core/Mage/Sales/Model/Recurring/Profile.php

-
message: "#^Variable \\$attribute in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: ../app/code/core/Mage/Sales/Model/Resource/Order/Abstract.php

-
message: "#^Cannot call method updateOnRelatedRecordChanged\\(\\) on Mage_Core_Model_Resource_Db_Collection_Abstract\\|false\\.$#"
count: 1
Expand Down
5 changes: 0 additions & 5 deletions .github/phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ parameters:
- %currentWorkingDirectory%/app/code/core/Mage/Api
- %currentWorkingDirectory%/app/code/core/Mage/Api2
- %currentWorkingDirectory%/app/code/core/Mage/Authorizenet
- %currentWorkingDirectory%/app/code/core/Mage/Backup
- %currentWorkingDirectory%/app/code/core/Mage/Bundle
- %currentWorkingDirectory%/app/code/core/Mage/Captcha
- %currentWorkingDirectory%/app/code/core/Mage/Catalog
Expand Down Expand Up @@ -43,7 +42,6 @@ parameters:
- %currentWorkingDirectory%/app/code/core/Mage/Newsletter
- %currentWorkingDirectory%/app/code/core/Mage/Oauth
- %currentWorkingDirectory%/app/code/core/Mage/Page
- %currentWorkingDirectory%/app/code/core/Mage/PageCache
- %currentWorkingDirectory%/app/code/core/Mage/Paygate
- %currentWorkingDirectory%/app/code/core/Mage/Payment
- %currentWorkingDirectory%/app/code/core/Mage/Paypal
Expand Down Expand Up @@ -92,9 +90,6 @@ parameters:
# Class phpseclib\Net\SSH2 not found.
- */Paypal/Model/Report/Settlement.php

# Class backup/db was not found while trying to analyse it
- */Adminhtml/controllers/System/BackupController.php

# Dataflow/Model/Convert/Iterator.php
- */Dataflow/Model/Convert/Iterator.php

Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/xml_validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: XML Validation

on:
push:
pull_request:

jobs:
validate:
runs-on: ubuntu-latest

steps:
- name: "Checkout repository"
uses: actions/checkout@master
- name: "Install xmllint"
run: "sudo apt-get -y install libxml2-utils"
- name: "Validate XMLs"
run: "find . -type f -iname '*.xml' | xargs -I '{}' xmllint --noout '{}'"
61 changes: 51 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,54 @@
# Visual Studio Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets

# Local History for Visual Studio Code
.history/

# Built Visual Studio Code Extensions
*.vsix

# PhpStorm
.idea

# Openmage config
/app/etc/local.xml
/media/catalog
/media/captcha
/media/css
/media/css_secure
/media/email/logo
/media/favicon
/media/js
/media/sales/store/logo
/media/sales/store/logo_html
/media/wysiwyg

# Add a base setup for running unit Tests with code coverage and send them to SonarCloud
# https://github.com/OpenMage/magento-lts/pull/1836
/dev/testfield
/dev/tests/clover.xml
/dev/tests/crap4j.xml
/dev/tests/junit.xml

# Add Gitpod online IDE config
# https://github.com/OpenMage/magento-lts/pull/1836
/dev/gitpod/docker-magento
/dev/gitpod/.env

# Add development environment setup files and README
# https://github.com/OpenMage/magento-lts/pull/1012
/dev/openmage/docker-magento
/dev/openmage/.env
/dev/tests/functional/generated
/dev/tests/functional/vendor

/media/*
!/media/.htaccess
!/media/custom_options/.htaccess
!/media/customer/.htaccess
!/media/dhl/logo.jpg
!/media/downloadable/.htaccess

/var/*
!/var/.htaccess

# composer
/vendor

# ddev
.ddev/config.yaml
Loading