Commit Graph

254 Commits

Author SHA1 Message Date
Claudio Sanches 3e0e9fee77 Included tests for v3 2019-12-18 19:20:00 -03:00
Claudio Sanches b0da8ca633 Included unit tests 2019-12-18 19:20:00 -03:00
Claudio Sanches 218f1b1edb Fixed prepare_line_items for v1 2019-12-18 19:20:00 -03:00
Claudio Sanches 48fb4433ac Allow edit line items without passing an product ID again 2019-12-18 19:20:00 -03:00
Claudio Sanches 28e046c33e Make product_id non mandatory while updating a line_item in orders endpoint 2019-12-18 19:20:00 -03:00
Csaba Maulis 1d5e1715d6 Fix Products Controller images property type 2019-12-18 19:19:45 -03:00
Claudio Sanches 8d2eb27637 Version 1.0.4 2019-12-05 22:44:20 -03:00
Claudio Sanches 066719a585 Fixed unit tests and updated sniffs 2019-12-05 22:42:43 -03:00
Claudio Sanches ff7cd27886 Fixed unit tests 2019-12-05 22:29:02 -03:00
Claudio Sanches 3e4274acbe Fixed coding standards 2019-12-05 22:29:02 -03:00
Nikhil Chaudhary 8b7b919cca Update class-wc-rest-system-status-v2-controller.php
Added the total post count that is need on the Woocommerce System Status tab.
2019-12-05 22:29:02 -03:00
Mike Jolley 7d8f8163b6 filter empty objects from results before loop 2019-12-05 22:12:21 -03:00
Rodrigo Primo 59a3bc7525 Use WP_UnitTestCase::assertWPError() instead of WC_Unit_Test_Case::assertIsWPError()
See https://github.com/woocommerce/woocommerce/pull/24207
2019-12-05 22:06:54 -03:00
Claudio Sanches 613502e57d Fixed WooCommerce 3.9 support 2019-12-05 22:03:03 -03:00
Claudio Sanches 0b1c1dd422 Fixed date_created and date_created_gmt for customers v2 2019-12-05 22:02:07 -03:00
Claudio Sanches 7d9babf1c2 Fix: check if DB_NAME is defined before using it
Port of https://github.com/woocommerce/woocommerce-rest-api/pull/3 for v2 and v3
2019-07-16 11:27:40 -03:00
Mike Jolley 1b3ea5eef1 Version 2019-07-10 11:11:48 +01:00
Mike Jolley 5170d9f296 Update tests 2019-07-10 11:10:50 +01:00
Claudio Sanches 83da0a2283 Reflect new changes from https://github.com/woocommerce/woocommerce/pull/23093 2019-07-10 11:07:16 +01:00
Claudio Sanches 72c5a6687d Fixed PHP notices when DB receives "ENGINE" instead of "engine" 2019-07-08 15:02:29 -03:00
Mike Jolley 1d0bd12a46 Moved hook like in master v3 2019-06-26 15:29:11 +01:00
Mike Jolley 4ba989a07e Changes from master 2019-06-26 15:27:45 +01:00
Mike Jolley 53fccbbf7d Fix paths 2019-06-25 16:20:26 +01:00
Mike Jolley 370d6c1a04 remove v4 for 1.0 release 2019-06-25 16:18:35 +01:00
Mike Jolley 8b82b84013 Autoload version 2019-06-25 16:17:22 +01:00
Mike Jolley 48b9ff0695 Versions 2019-06-25 16:16:58 +01:00
Mike Jolley a6db14ba38 Update test paths 2019-06-25 16:12:47 +01:00
Mike Jolley 09ef1e74cf Rename tests dir 2019-06-24 16:17:02 +01:00
Mike Jolley a703749a46 Fixed tests 2019-06-24 16:06:26 +01:00
Mike Jolley 1c82fd60f8 Fix some strings which should not be replaced 2019-06-24 15:47:00 +01:00
Mike Jolley 854ac947d8 Unique text domains 2019-06-24 13:01:21 +01:00
Mike Jolley a518b9cfd1 Package file for entry point 2019-06-21 19:58:20 +01:00
Mike Jolley 2943708bb1 Comments 2019-06-21 14:57:26 +01:00
Mike Jolley 46453550e8 Update dist file and namespaces 2019-06-21 10:40:39 +01:00
Mike Jolley 13fb3ea2db Use package autoloader 2019-06-21 10:17:22 +01:00
Mike Jolley 97bf084d81 Test without init code - just an autoloader 2019-06-20 16:51:47 +01:00
Mike Jolley 3be0213828 Revert "Test version without custom autoloader and allow core to generate this after install"
This reverts commit 9283910e11.
2019-06-20 13:47:04 +01:00
Mike Jolley 9283910e11 Test version without custom autoloader and allow core to generate this after install 2019-06-20 13:37:59 +01:00
Mike Jolley acfaf1a284 Update autoload handling and build 2019-06-20 11:30:19 +01:00
Mike Jolley 6b8bc5a1e0 Moved utilities 2019-06-19 15:55:39 +01:00
Mike Jolley fa0560f4ed config 2019-06-19 15:50:52 +01:00
Mike Jolley e7d232b785 config 2019-06-19 15:49:46 +01:00
Mike Jolley 767719c329 Improve pagination header generation 2019-06-19 15:35:05 +01:00
Mike Jolley 3a6de36db7 Update singleton class comment 2019-06-19 14:48:23 +01:00
Mike Jolley 3e3d2f3f85 Update registration 2019-06-19 14:48:11 +01:00
Mike Jolley bd3828e727 wrong comments 2019-06-18 16:30:38 +01:00
Mike Jolley 71a32c96b6 Tidy up permission checks 2019-06-18 16:06:04 +01:00
Mike Jolley 1f6455807d Improve hook suffix 2019-06-18 13:00:04 +01:00
Mike Jolley a4e89f89ce Consistent responses across all classes 2019-06-18 12:45:34 +01:00
Mike Jolley d2e4c199f4 Standardisation of prepare_item and prepare_links 2019-06-18 10:44:41 +01:00