Commit Graph

261 Commits

Author SHA1 Message Date
Paul Sealock 7ae8bd53d0 Bump wc-admin to 1.3.0-rc.1 2020-06-23 21:49:59 +12:00
IanDelMar bff2cab4c0
Fix typo 2020-06-21 13:26:51 +02:00
Albert Juhé Lluveras 55fba0e79b Update woocommerce/woocommerce-blocks to v2.7.1 2020-06-16 16:24:40 +02:00
Peter Fabian 418d95298a Merge branch 'master' into update/wc-admin-1.3.0-beta-1
# Conflicts:
#	composer.lock
2020-06-16 14:58:43 +02:00
vedanshujain ff18dfccc9 Update rest API to 1.0.10 2020-06-16 15:30:37 +05:30
Paul Sealock 3c83db4c4a Version bump wc-admin 1.3.0-beta.1 2020-06-16 19:52:36 +12:00
Albert Juhé Lluveras 0bd26f3615 Update woocommerce/woocommerce-blocks to v2.7.0 2020-06-09 12:19:29 +02:00
Claudio Sanches 4922c34180
Merge pull request #26136 from woocommerce/feature/code-hacker-for-unit-tests
Code hacker for unit tests
2020-06-03 08:41:28 -03:00
Nestor Soriano 32dac2486f Update autoload-dev in composer.json to add tests/tools directory
The mapping of the "Automattic\WooCommerce\Testing\Tools\" namespace
to the "tests/tools" directory is moved from manual registration
inside the tests bootstrap constructor to a declaration inside the
autload-dev section in composer.json.
2020-06-03 09:28:54 +02:00
Renovate Bot 4d4e327df6
Update dependency woocommerce/woocommerce-admin to v1.2.3 2020-05-22 19:24:14 +00:00
Christopher Allford 326d8feb92 Updated the Jetpack Autoloader
Jetpack made a change that requires some extra ignore entries from the latest release of the autoloader, otherwise debug logging warnings are thrown.
2020-05-19 16:16:50 -07:00
Claudio Sanches eea062f9fa
Merge pull request #26519 from woocommerce/fix/csv-import-special-columns
Fixed the case conversion for meta key column mapping in product CSV imports
2020-05-18 11:33:50 -03:00
Néstor Soriano eab8920a07
Merge pull request #26314 from woocommerce/add/build-workflow
Build release workflow
2020-05-15 10:36:34 +02:00
Christopher Allford 63ba6f7ee0 Moved the PSR-4 namespaced test directory to the correct folder
I know this probably doesn't belong in this PR, but it has been thoroughly discussed and I don't think anyone will mind :)
2020-05-14 21:20:47 -07:00
Ron Rennick 229841b9b5 fix merge conflicts take 2 2020-05-12 14:32:59 -03:00
Ron Rennick db7d86f4f5 fix merge conflicts 2020-05-12 13:46:10 -03:00
Ron Rennick f5a7f727f3 update Action Scheduler to 3.1.6 2020-05-12 13:41:13 -03:00
Renovate Bot c4bb82eafc
Update dependency woocommerce/woocommerce-admin to v1.2.0 2020-05-12 16:24:15 +00:00
vedanshujain 253cf5b5d9 Update WC-REST API version to 1.0.8 2020-05-11 23:54:19 +05:30
Ron Rennick 0f2fb4f8d5 fix merge conflicts 2020-05-06 14:05:00 -03:00
Christopher Allford c0ecb79ba2
Merge pull request #26345 from woocommerce/refactor/phpunit-suite
Restructure PHPUnit Suite
2020-04-30 13:51:16 -07:00
Ron Rennick 105cea27c5 fix merge conflicts 2020-04-30 13:34:29 -03:00
Renovate Bot 276c293edc
Update dependency woocommerce/woocommerce-admin to v1.1.1 2020-04-29 18:04:08 +00:00
Renovate Bot 70ad0d0954
Update dependency woocommerce/action-scheduler to v3.1.5 2020-04-29 16:50:56 +00:00
Christopher Allford 04ec11e90b Added a PSR-4 namespaced tests/php folder for tests written against new code in the src directory 2020-04-28 15:41:04 -07:00
Ron Rennick da494be615 merge master 2020-04-28 16:13:30 -03:00
Claudio Sanches 7750a44da0 Allow generate pot as a root user 2020-04-27 20:08:08 -03:00
vedanshu.jain 894f26b39c Update wc-adminv version to 1.1.0 2020-04-21 16:16:33 +05:30
Christopher Allford caa1a6d475 Merge remote-tracking branch 'origin/master' into fix/update-minimum-version 2020-04-16 14:46:17 -07:00
Jeff Stieler dfb3057d12 Update woocommerce-admin to latest 1.1.0 version. 2020-04-15 11:18:08 -06:00
Renovate Bot 65ae94bd4d
Update dependency woocommerce/woocommerce-sniffs to v0.0.10 2020-04-09 13:01:24 +00:00
vedanshu.jain a47c02678a Bump wc-admin version to use latest 1.1.0.
Using commit to force travis to clear build cache.
2020-04-09 16:08:37 +05:30
Peter Fabian 2de06827e6 Updated jetpack-autoloader and woocommerce-blocks
Dependencies updated in one go as Blocks bumped version for JP autoloader.
2020-04-07 14:19:35 +02:00
Christopher Allford 09df1205de Updated the minimum PHP version to 7.0 2020-04-06 17:07:33 -07:00
Renovate Bot 69256e7b89
Update dependency woocommerce/woocommerce-admin to v1.1.0 2020-04-06 20:40:26 +00:00
Renovate Bot c2002976af
Update dependency woocommerce/woocommerce-blocks to v2.5.15 2020-03-31 14:12:53 +00:00
Renovate Bot 2a7cb16ab6
Update dependency woocommerce/woocommerce-admin to v1.0.3 2020-03-19 17:40:15 +00:00
Renovate Bot 75d07e9064
Update dependency woocommerce/action-scheduler to v3.1.4 2020-03-18 15:23:38 +00:00
Paul Sealock 7213ddb3f7 wc-admin: bump version to 1.0.2 2020-03-18 11:58:14 +13:00
Peter Fabian 968e9c6527 Update Action Scheduler to version 3.1.2
This is a trick to avoid function conflict with MailChimp 2.3.4 and how it hooks its own version of Action Scheduler during the autoloader function.
2020-03-10 16:02:37 +01:00
Renovate Bot 3968c31466
Update dependency woocommerce/woocommerce-admin to v1 2020-03-05 02:07:09 +00:00
Renovate Bot ec0b9412ef
Update dependency woocommerce/woocommerce-blocks to v2.5.14 2020-03-03 14:59:04 +00:00
Peter Fabian 0c0a7b0355 Update slug for generating the i18n file.
When running from the release directory, slug is auto-detected incorrectly, so specify it explicitly.
2020-03-02 19:09:29 +01:00
Paul Sealock 27504e8bd5 bump wc-admin to 0.26.1 2020-02-26 10:02:01 +13:00
Ron Rennick 25ab5596a2 fix composer.lock conflict 2020-02-25 15:00:55 -04:00
Renovate Bot 0f317108cf
Update dependency woocommerce/woocommerce-blocks to v2.5.13 2020-02-25 10:25:02 +00:00
Ron Rennick 22d5dce682 change the namespace of the WC Admin Package class 2020-02-24 22:56:32 -04:00
Ron Rennick 2d70a48361 bump action scheduler version, add queue unit tests 2020-02-24 21:45:19 -04:00
Renovate Bot 4d682b6cdc
Update dependency woocommerce/woocommerce-admin to v0.25.1 2020-02-08 11:24:16 +00:00
Renovate Bot 2242c20409
Update dependency woocommerce/woocommerce-blocks to v2.5.12 2020-02-06 11:17:31 +00:00
Claudio Sanches 805d499649 Merge branch 'master' into try/add-wc-admin 2020-02-05 14:09:03 -03:00
Claudio Sanches 5b9937ad48 Merge branch 'master' into try/add-wc-admin 2020-02-05 13:02:51 -03:00
Claudio Sanches 2d71041726 Removed old repository entry from composer.json 2020-02-05 11:43:48 -03:00
Claudio Sanches 2b30c3179b Merge branch 'master' into update/makepot 2020-02-05 10:52:50 -03:00
Rodrigo Primo f539d3e04b Merge branch 'master' into update/emogrifier 2020-02-05 10:01:38 -03:00
Rodrigo Primo ff05b06e6b Merge branch 'master' into update/emogrifier 2020-02-05 09:56:03 -03:00
Peter Fabian 87e42acd56
Merge branch 'master' into try/add-wc-admin 2020-02-05 13:02:20 +01:00
Peter Fabian b0f6efebbb
Merge pull request #25566 from woocommerce/update/action-scheduler-3
Updated AS to version 3.0.1
2020-02-05 11:29:37 +01:00
Jeff Stieler 213c7e0569 Use release version of WooCommerce Admin. 2020-02-04 16:07:32 -08:00
Jeff Stieler d78c045ac6 Alias a branch of wc-admin instead. 2020-02-04 16:03:15 -08:00
Paul Sealock 4380087608 wc-admin: Include package 2020-02-04 16:01:57 -08:00
Christopher Allford 57734ca8ce Merge branch 'master' into refactor/add-jetpack-constants 2020-02-04 14:36:35 -08:00
Claudio Sanches 24fd993ded Included descriptions for scripts 2020-02-04 17:44:20 -03:00
Claudio Sanches a94746e4aa Use WP-CLI to generate .pot file 2020-02-04 17:37:35 -03:00
Peter Fabian ef8498a5e5 Updated AS to version 3.0.1. 2020-02-04 11:42:37 +01:00
Ron Rennick 9b99f3b9ae use action scheduler dist package 2020-01-31 10:13:50 -04:00
Ron Rennick e242d84877 fix merge conflicts 2020-01-31 10:11:01 -04:00
Christopher Allford 53e0087318 Merge remote-tracking branch 'origin/master' into refactor/add-jetpack-constants 2020-01-29 12:31:29 -08:00
Claudio Sanches d4ea170cf0 Added Emogrifier as a composer package 2020-01-29 15:48:49 -03:00
Christopher Allford 9c8a6d78d9 Added automattic/jetpack-constants package to make testing constants easier 2020-01-28 16:28:40 -08:00
Renovate Bot 4389ef5b40
Update dependency woocommerce/woocommerce-rest-api to v1.0.7 2020-01-28 21:55:26 +00:00
Renovate Bot 3ccefeb8db
Update dependency woocommerce/woocommerce-blocks to v2.5.11 2020-01-20 21:39:43 +00:00
Renovate Bot f81afa0794
Update dependency phpunit/phpunit to v7.5.20 2020-01-16 00:58:45 +00:00
Claudio Sanches 28718614d7 Version 3.9.0-rc.3 2020-01-15 21:17:57 -03:00
Ron Rennick fda63f4536 move action scheduler to external via composer 2020-01-15 10:31:04 -04:00
Christopher Allford 300064187b Moved the MaxMind DB Reader library into composer and pinned the latest version 2020-01-07 15:25:58 -08:00
Renovate Bot e64d687066
Update dependency woocommerce/woocommerce-blocks to v2.5.7 2019-12-20 16:40:18 +00:00
Renovate Bot dee631a71e
Update dependency woocommerce/woocommerce-rest-api to v1.0.5 2019-12-18 23:02:51 +00:00
Claudio Sanches 3f87c1b6f7
Merge pull request #25213 from woocommerce/renovate/woocommerce-woocommerce-blocks-2.x
Update dependency woocommerce/woocommerce-blocks to v2.5.6
2019-12-18 12:45:43 -03:00
Renovate Bot 9fc6a048a2
Pin dependency phpunit/phpunit to 7.5.18 2019-12-18 12:06:29 +00:00
Renovate Bot b8e9fd5dac
Update dependency woocommerce/woocommerce-blocks to v2.5.6 2019-12-17 19:40:53 +00:00
Rodrigo Primo 4bd6156bbb Lock PHPUnit version to 7.x
This is necessary as WordPress unit tests currently don't work with
PHPUnit 8.x. We will be able to update the PHPUnit version when the
following WP ticket is resolved: https://core.trac.wordpress.org/ticket/46149
2019-12-13 09:44:32 -03:00
Claudio Sanches ab2c455783 Merge branch 'master' into update/packages 2019-12-10 11:40:56 -03:00
Claudio Sanches cd241e691c Updated packages 2019-12-10 11:29:15 -03:00
Renovate Bot 1aeb69585d
Update dependency phpunit/phpunit to v7.5.18 2019-12-06 06:00:04 +00:00
Claudio Sanches 4980f8537c Updated Blocks and REST API packages 2019-12-05 22:50:13 -03:00
Renovate Bot caa00ac6f5
Update dependency woocommerce/woocommerce-sniffs to v0.0.9 2019-11-18 11:38:41 +00:00
Renovate Bot 5130aa3319
Update dependency phpunit/phpunit to v7.5.17 2019-11-04 13:39:09 +00:00
Renovate Bot 20e6d34b1d
Update dependency woocommerce/woocommerce-blocks to v2.4.5 2019-11-02 13:57:27 +00:00
Renovate Bot 250de90491
Update dependency woocommerce/woocommerce-sniffs to v0.0.8 2019-10-16 18:56:42 +00:00
Renovate Bot b97bc6b03a
Update dependency woocommerce/woocommerce-blocks to v2.4.3 2019-10-14 13:41:40 +00:00
vedanshujain 285287fa46 Update `woocommerce-blocks` to `2.4.2` and `composer/installers` to 1.7.0
woocommerce-blocks update was blocked by jetpack-autoloader conflict between woocommerce core and woocommerce-blocks. Now that this has been resolved in an earlier commit, woocommerce-blocks can be updated.
2019-10-01 19:00:08 +05:30
Mike Jolley 98461cbf4e Update autoloader version to use ranges 2019-10-01 14:17:46 +01:00
Renovate Bot f3f0b27d39
Update dependency automattic/jetpack-autoloader to v1.3.2 2019-09-24 07:34:17 +00:00
Renovate Bot e0a0054f2d
Update dependency phpunit/phpunit to v7.5.16 2019-09-14 10:31:58 +00:00
Renovate Bot 2c8cb5bd2f
Update dependency woocommerce/woocommerce-sniffs to v0.0.7 2019-08-23 21:48:46 +00:00
Rodrigo Primo 557e9aae95 Remove myclabs/deep-copy from the list of Composer dev dependencies
myclabs/deep-copy was added to composer.json directly as a workaround an issue in
the Travis build when running PHP 5.6 (#24079). Removing it in this commit to
check if the issue in Travis has been fixed as we don't really use this
package for WooCommerce development.
2019-08-21 15:55:18 -03:00
Renovate Bot 4a7bd9dee9
Update dependency phpunit/phpunit to v7.5.15 2019-08-21 07:37:52 +00:00
Renovate Bot 67abaef097
Update dependency woocommerce/woocommerce-blocks to v2.3.0 2019-08-12 11:52:22 +00:00
Renovate Bot fb7dbd451b
Update dependency woocommerce/woocommerce-blocks to v2.3.0-rc.1 2019-08-01 15:11:11 +00:00
Renovate Bot 7bf9353d21
Update dependency woocommerce/woocommerce-blocks to v2.3.0-beta.3 2019-07-29 16:42:16 +00:00
Renovate Bot f4bfc15ef2
Update dependency woocommerce/woocommerce-blocks to v2.3.0-beta.2 2019-07-25 15:28:48 +00:00
Claudio Sanches 67212d1303 Updated PHPUnit to 7.5.14 2019-07-18 22:02:58 -03:00
Claudio Sanches 65a32cfc2f REST API package version 1.0.3 2019-07-16 11:36:10 -03:00
Steve Grunwell 5fa06c6287 Merge remote-tracking branch 'upstream/master' into fix/composer-platform-version 2019-07-10 16:34:41 -04:00
Mike Jolley 1b132157ed bump package version to beta 2019-07-10 12:43:43 +01:00
Steve Grunwell 9a43f4728f Explicitly declare PHP version requirements and platform defaults
When running `composer update` on anything more recent than PHP 7.0, doctrine/instantiator version 1.2.0 is installed and tracked in the `composer.lock` file. Unfortunately, this causes some rather cryptic errors when running the WooCommerce test suite in PHP 7.0, as doctrine/instantiator version 1.1.0 dropped support for PHP < 7.1 (see https://github.com/doctrine/instantiator/releases/tag/1.1.0).

This commit adds two things to the `composer.json` file:

1. Explicit platform requirements ("php": "^5.6|^7.0")
2. A `config.platform` value, which essentially tells Composer "when you're installing/updating dependencies, assume it's on a machine running PHP 7.0".

My assumption is the current `composer.lock` file was generated in an environment running PHP 7.0, which is why current Travis runs are working but running `composer update` on anything higher than PHP 7.0 causes the tests to start failing within the PHP 7.0 test runner.
2019-07-09 21:15:13 +00:00
Claudio Sanches 862771f504 Use stable version of REST API 2019-07-08 15:33:12 -03:00
Claudio Sanches 802f23d76d Leave pot file for build before release 2019-07-08 15:19:48 -03:00
Claudio Sanches da99bc8ca0 Merge branch 'master' into feature/feature-plugin-packages 2019-07-08 14:33:21 -03:00
Peter Fabian b3b41ff2a7 Add pinned deep-copy pkg as dev dependency.
This way, (I hope) updating composer.lock would not overwrite pinned version that is compatible with PHP 5.6.
2019-07-04 13:44:53 +02:00
Claudio Sanches ea63bb6c7b Removed ApiGen build process and requirements 2019-06-25 22:36:03 -03:00
Mike Jolley 6439f2a170 Include src in autoloader 2019-06-25 13:12:02 +01:00
Mike Jolley 5bf69132ba Update jetpack autoloader to 1.2.0 2019-06-25 11:01:03 +01:00
Mike Jolley fcf06e97a3 Tweak script to add POT generation on update 2019-06-24 15:29:26 +01:00
Mike Jolley 69c2cbf6e4 Text domain replacement 2019-06-24 12:40:20 +01:00
Mike Jolley a6a3761778 Update blocks to use dev build 2019-06-21 19:23:43 +01:00
Mike Jolley e3dc79481d Init the blocks library using autoloading 2019-06-21 15:03:28 +01:00
Mike Jolley 7a61883c30 Update composer file to include packages 2019-06-21 13:40:34 +01:00
Claudio Sanches f7c1b71ce7 Updated woocommerce-sniffs to 0.0.6 2019-03-11 12:34:57 -03:00
Renovate Bot 6937f231da
Pin dependency composer/installers to 1.6.0 2019-02-28 13:59:42 +00:00
Renovate Bot f609f713db
Update dependency phpunit/phpunit to v6.5.14 2019-02-01 05:57:51 +00:00
Claudio Sanches 2efe077678 Ignore warnings from PHPCS in pre-commit 2019-01-14 18:04:44 -02:00
Claudio Sanches b25665add9 Merge branch 'master' into update/pre-commit 2019-01-14 18:01:34 -02:00
Renovate Bot f6825731f1
Update dependency nette/utils to v2.5.3 2019-01-08 14:34:15 +00:00
renovate[bot] 82397c2f7f Pin dependencies (#21842) 2019-01-08 11:07:32 +00:00
Claudio Sanches bf1d11e734 Updated WooCommerec Sniffs to 0.0.5 2018-11-20 19:37:28 -02:00
Claudio Sanches e57342e9db Removed old pre-commit hook 2018-11-19 19:16:04 -02:00
Claudio Sanches 86725c4f8c Updated WooCommerce Sniffs 2018-11-19 16:52:33 -02:00
Claudio Sanches 9cb219d92b Updated WooCommerce Sniffs to 0.0.3
- Now wp-coding-standards/wpcs and wimg/php-compatibility are dependencies of WooCommerce Sniffs.
- Updated wp-coding-standards/wpcs to 1.1.
- Updated wimg/php-compatibility to 9.0.
2018-11-06 20:58:50 -02:00
Rodrigo Primo fef08f6e16 Revert "Add phpunit-speedtrap"
This reverts commit 5cd7326881.
2018-05-17 14:52:07 +01:00
Rodrigo Primo 5cd7326881 Add phpunit-speedtrap
phpunit-speedtrap (https://github.com/johnkary/phpunit-speedtrap) includes a report of slow-running unit tests to the PHPUnit output and it will help identify WC core tests that need to be changed to run faster.
2018-05-10 10:39:26 -03:00
Claudio Sanches 811cefe940 Updated composer dependencies 2018-02-27 14:50:39 -03:00
Mike Jolley 453ca3907e Fix api docs generation 2018-02-02 13:47:55 -02:00
Claudio Sanches 61fc67b867 Fixed composer license syntax 2018-01-24 14:13:45 -02:00
Claudio Sanches 61b5c7a445 Added WooCommerce-Core sniffs 2017-12-21 21:29:49 -02:00
Gareth Allison 29cc03c798 Updates the word `e-commerce` to `eCommerce` in the plugin description to be in line with the Woo and Automattic language & writing style. 2017-12-19 16:12:07 +02:00
Claudio Sanches 2d06a08cfe Updated pre-commit hook 2017-12-18 15:03:11 -02:00
Rodrigo Primo bf052c14c7 Use default name for PHPCS configuration file
This commit renames PHPCS configutarion file to `phpcs.xml`. With the default name, it is not necessary to use the argument `--standard=phpcs.ruleset.xml` anymore when calling `phpcs`.
2017-12-18 11:49:44 -02:00
Claudio Sanches fec1997029 Fixed composer script for phpcbf 2017-12-04 14:44:39 -02:00
Claudio Sanches d9da796f11 Introduces a few composer scripts for PHPUnit and PHP_CodeSniffer 2017-11-29 18:10:54 -02:00
Claudio Sanches 163c73ba97 Updated wp-coding-standards/wpcs version 2017-11-21 10:41:43 -02:00
Claudio Sanches c62c394ed3 Autoload PHPCS dependencies 2017-11-13 19:18:21 -02:00
Claudio Sanches 2d6ee25d5f Removed extra composer scripts to configure PHPCS
All configuration is done by phpcs.ruleset.xml now
2017-11-09 16:40:40 -02:00
Claudio Sanches 3062dba4e5 Integrated PHPCompatibility with PHPCS
- Updated phpcs.ruleset.xml to exclude patterns and set installed_paths.
- Updated woocommerce/woocommerce-git-hooks to version 1.0.3
2017-11-09 16:32:04 -02:00
Claudio Sanches 9d0f33e78e Updated WPCS 2017-10-17 13:32:23 -02:00
Claudio Sanches f4054e66ee Use only one ruleset file 2017-09-27 13:07:41 -03:00
Claudio Sanches f89d84e3e8 Merge branch 'fix/15760' of github.com:woocommerce/woocommerce into fix/15761 2017-07-20 19:05:27 -03:00
Claudio Sanches 7d6c356c11 Updated woocommerce-git-hooks to 1.0.1 2017-07-20 18:58:36 -03:00
Claudio Sanches 62388a9bc6 Merge branch 'master' into fix/15761 2017-07-20 18:57:00 -03:00