Commit Graph

12 Commits

Author SHA1 Message Date
Joshua T Flowers 3382fb7011 Record refunds separate from order entries (https://github.com/woocommerce/woocommerce-admin/pull/2083)
* Sync refunds on order sync

* Separate order and refund class extensions

* Add customer functions to order and refund classes

* Change products store to work with refund amounts

* Return early for refunds in coupon data store

* Allow refund processing in tax data store

* Remove unused refund amounts from tables and data stores

* Change order counts to parse out refund entries

* Include refunded orders in default queried statuses

* Only process order number filter on shop order post types

* Extract shared order and refund methods to trait

* Fix renamed schedule_single_order_import method

* Bump PHP and WP version requirements
2019-05-10 14:39:25 +08:00
Justin Shreve 7fc70157c9 WC_Admin_Loader/PHP Refactor + Method to publish core ready features (https://github.com/woocommerce/woocommerce-admin/pull/1863)
* Try: Setup plugin to publish core library on npm

* Documentation clean up.

* Handle PR Feedback: Fix notices from happening in WC Core from API usage, fix sidebar dashboard ordering in menu, remove preload function check since we are supporting WP 5+, add a filter for preloading data and move usage to respective feature code, move features to a specific folder for bundiling, fix script translations.

* Fix code comment on analytics preload

* Continue refactoring code, and make it possible to launch 'embedded' features via the process as well.

* Fix note hook

* Fix note load order

* Address PR feedback: Fix class name, load leaderboard endpoint

* Remove example code prior to merge
2019-04-11 14:31:31 -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
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
Jonathan Belcher eddf8bc609 Remove duplicate config
https://github.com/woocommerce/wc-admin/pull/618#issuecomment-441742419
2018-11-26 15:54:50 -05:00
Jonathan Belcher 812d72dd9f Adds php compatibility range for phpcs (https://github.com/woocommerce/woocommerce-admin/pull/618)
* Adds php compatibility range for phpcs

* Change minimun version to 5.2
2018-10-24 09:09:33 -04:00
Jonathan Belcher 7bc2767301 Updates PHPCS rule names (https://github.com/woocommerce/woocommerce-admin/pull/610) 2018-10-22 12:20:34 -04:00
Claudio Sanches c0eadbaabb Merge branch 'master' into feature/438 2018-09-27 12:39:57 -03:00
Peter Fabian eed4b424e6 Updated language domain. 2018-09-24 17:46:41 +02:00
Peter Fabian e956afdeb7 PHPCS updates. 2018-09-21 20:51:41 +02:00
Claudio Sanches 6a8ecd0d54 Updated PHPCS rules 2018-09-21 13:56:45 -03:00
Kelly Dwan 555da60b01 Initial commit of plugin scaffold 2018-04-17 17:04:17 -04:00