Commit Graph

31 Commits

Author SHA1 Message Date
Darren Ethier 33c5b41e3f Align WooCommerce javascript code standards/linting/styles with WordPress core. (https://github.com/woocommerce/woocommerce-admin/pull/3674)
* align code styles with the same configuration as Woo-Blocks

* initial pass of reformat-files

* applies manual fixes to various new linting errors surfaced by the configuration change.

* Fix state mutation in image-upload

* remove unused pre-commit-hook.js

* requestAnimationFrame -> window.requestAnimationFrame

* wc-api eslint changes

* eslint fixes on client/lib and client/settings

* client/header eslint changes

* fixes for client/dashboard part 1

* fixes client/dashboard part 2 of 2

* client/analytics part 1

* client/analytics continued

* client/analytics, last batch

* rename __mock__ directory

* pass in useEffect, useState from React component or function

* remove '+' from sprintf string argument

* use ref instead of findDOMNode

* reformat and repaply package.json changes

* install deps before running linter in Travis

* useGetCountryStateAutofill

* counryStateAutofill

* countryStateAutofill

Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-02-14 15:23:21 +13:00
Timmy Crawford 03274bbe6d Match Woo Core JP Autoloader version (https://github.com/woocommerce/woocommerce-admin/pull/3667) 2020-02-04 15:38:37 -08:00
Ron Rennick 614c5b7cdf add PHP 7.3 to Travis unit tests (https://github.com/woocommerce/woocommerce-admin/pull/3552)
* add PHP 7.3 to Travis unit tests

* add note indicating phpunit version requirement

* add COMPOSER_DEV env variable for composer install
2020-01-22 15:20:27 -04:00
renovate[bot] 7bf0a0e465 Update dependency woocommerce/woocommerce-sniffs to v0.0.9 (https://github.com/woocommerce/woocommerce-admin/pull/3529)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-16 15:31:33 -08:00
Ron Rennick 92af5964fb Update PHPUnit to version 7 (https://github.com/woocommerce/woocommerce-admin/pull/3571)
* add php requirement to composer, update phpunit to 7.5.18

* add random order test run (allowed to fail)
2020-01-16 10:03:44 -04:00
renovate[bot] a7c2d1f5fe Update dependency automattic/jetpack-autoloader to v1.3.7 (https://github.com/woocommerce/woocommerce-admin/pull/3409) 2019-12-11 22:26:20 -05:00
renovate[bot] a259fa03f3 Update dependency automattic/jetpack-autoloader to v1.3.5 (https://github.com/woocommerce/woocommerce-admin/pull/3307) 2019-11-28 13:02:36 +13:00
renovate[bot] 5e1901bb5f Update dependency automattic/jetpack-autoloader to v1.3.4 (https://github.com/woocommerce/woocommerce-admin/pull/3279) 2019-11-25 16:58:49 +13:00
Paul Sealock 790e5f59d3 Allow core inclusion via Package.php (https://github.com/woocommerce/woocommerce-admin/pull/3196)
* Create GH tag release process

Add core to the release

no need to re-run docs

simplify build command

add gh release script

fix errant comment

fix errant comment

force add feature-config.php

gitattributes

moar attributes

add language files

* Make sure initalization via Core is working
2019-11-20 12:23:27 +13:00
Jeff Stieler c8b94836df Update order stats table status index length. (https://github.com/woocommerce/woocommerce-admin/pull/3022)
* Add per-version DB upgrade routine.

Update order stats index length as well.

* Use globally namespaced methods for DB updates.

* Avoid creating duplicate DB update actions.
2019-10-10 13:54:44 -07:00
renovate[bot] 1587d1503c Update dependency woocommerce/woocommerce-sniffs to v0.0.7 (https://github.com/woocommerce/woocommerce-admin/pull/2928) 2019-09-27 14:40:45 -04:00
renovate[bot] c1eac01cd2 Update dependency composer/installers to v1.7.0 (https://github.com/woocommerce/woocommerce-admin/pull/2786) 2019-08-15 14:03:09 +08:00
Jeff Stieler d4d0a31486 Flatten includes/ directory. 2019-08-12 15:03:23 -07:00
Jeff Stieler 54d0768892 PSR-4ify WC_Admin_Order class. 2019-08-12 15:03:07 -07:00
Jeff Stieler 2752356c4d Load all classes with Composer's autoloader. 2019-08-12 15:03:05 -07:00
renovate[bot] d53b48ceff Update dependency woocommerce/woocommerce-sniffs to v0.0.6 (https://github.com/woocommerce/woocommerce-admin/pull/2108) 2019-04-24 15:41:54 -04:00
Jeff Stieler bfe5a75e98 Update text domain. (https://github.com/woocommerce/woocommerce-admin/pull/1795)
* Translation call text domain change from “wc-admin” to “woocommerce-admin”.

* Fix .pot file generation.

* Fix errantly closed array item in /revenue/stats controller.

* Rename plugin zip, main file, and repo name to "woocommerce-admin".
2019-03-13 11:14:02 -06:00
renovate[bot] 1a395fd11f Pin dependency composer/installers to 1.6.0 (https://github.com/woocommerce/woocommerce-admin/pull/1714) 2019-03-06 09:39:04 -06:00
Timmy Crawford 7f35fe7ed1 Update/php sniffs (https://github.com/woocommerce/woocommerce-admin/pull/1016)
* Use WooCommerce Sniffs 0.0.5

* Updated phpcs.xml.dist to use the correct PHPCS rules
2018-12-06 09:31:02 -08:00
Renovate Bot cf008b9e77 Pin dependency phpunit/phpunit to 6.5.13 2018-11-14 16:56:00 +00:00
Jonathan Belcher 0193e73a87 Merge Commit 2018-11-12 14:50:13 -05:00
renovate[bot] 687a728e64 Update dependency wp-coding-standards/wpcs to v1.2.0 (https://github.com/woocommerce/woocommerce-admin/pull/815) 2018-11-12 12:29:36 -05:00
Peter Fabian afee6e7e39 Fixed PHPUnit version to v6 in composer.json. 2018-11-01 15:43:15 +01:00
renovate[bot] 764d0dbb1f Update dependency dealerdirect/phpcodesniffer-composer-installer to v0.5.0 (https://github.com/woocommerce/woocommerce-admin/pull/712) 2018-10-29 11:33:32 -04:00
renovate[bot] bb48e0bc2b Update dependency phpunit/phpunit to v7.4.3 (https://github.com/woocommerce/woocommerce-admin/pull/651) 2018-10-23 14:08:12 -04:00
renovate[bot] d40b0ccc94 Update dependency phpunit/phpunit to v7 (https://github.com/woocommerce/woocommerce-admin/pull/600)
* Update dependency phpunit/phpunit to v7

* Adds composer.lock
2018-10-23 13:56:06 -04:00
renovate[bot] 76a9300b35 Pin dependency composer/installers to ~1.6 (https://github.com/woocommerce/woocommerce-admin/pull/636) 2018-10-23 11:12:17 -04:00
renovate[bot] 4f37d1b776 Update dependency wimg/php-compatibility to v9 (https://github.com/woocommerce/woocommerce-admin/pull/601) 2018-10-19 16:42:45 -04:00
renovate[bot] 4728c7c9d6 Update dependency wp-coding-standards/wpcs to v1 (https://github.com/woocommerce/woocommerce-admin/pull/604) 2018-10-19 16:10:13 -04:00
renovate[bot] 9c147c6e82 Pin dependencies (https://github.com/woocommerce/woocommerce-admin/pull/573) 2018-10-18 12:57:29 -04:00
Peter Fabian 283f3dbd9f Travis test 3. 2018-09-21 15:32:42 +02:00