Mike Jolley
dc60ea4c23
Merge branch 'master' into customer-data-store
...
# Conflicts:
# includes/class-wc-data-store.php
# woocommerce.php
2016-11-14 18:21:30 +00:00
Mike Jolley
00ed627b29
Data stores
2016-11-14 18:18:08 +00:00
Justin Shreve
944e5d658b
Handle feedback
2016-11-14 09:08:46 -08:00
Justin Shreve
370166a6b0
Payment Token Data Store
2016-11-14 06:20:41 -08:00
Justin Shreve
4b33f11bf2
Move queries from coupon-functions.php to the coupon data store.
2016-11-14 02:31:04 -08:00
Justin Shreve
8612ce877c
Merge pull request #12284 from woocommerce/system-status-security-section
...
New system status security section
2016-11-10 00:53:48 -08:00
Claudio Sanches
c58bef1fa4
Include tests for security endpoint
2016-11-09 22:29:17 -02:00
Justin Shreve
b41626c555
Implement Coupon Data Store ( #12280 )
...
* Implement a Coupon Data Store using CPTs..
* Handle PR feedback.
2016-11-09 12:21:18 +00:00
Claudio Sanches
8858e74c56
Fixed coding standards and tests
2016-11-08 18:27:21 -02:00
Justin Shreve
1797c76a14
Implement WC_Data_Store and related code & tests.
2016-11-08 01:39:47 -08:00
Mike Jolley
cfbb8d6601
Use meta as a cache for order/spent methods.
...
Closes #12080
2016-10-14 15:11:10 +01:00
Bryce Adams
ea1f9aea65
Remove last order from customers part of the API ( #12081 )
...
Proposed solution to close #12080
* Also removes from tests.
2016-10-14 14:38:35 +01:00
Mike Jolley
a6f4332f89
Remove non-existant field from unit test
2016-10-14 12:22:25 +01:00
Claudio Sanches
8339e9ca25
Introduces wc_get_min_max_price_meta_query() function
2016-10-14 11:19:20 +01:00
Claudio Sanches
657c312cae
Fix strings case ( #12069 )
...
* Fixed case for all _e, esc_attr_e and esc_html_e strings
* Fixed case for all _n_noop strings
* Fixed case for all _x strings
* Fixed case for all __, esc_html__ and esc_attr__ strings
* Fixed a few more strings
* Fixed strings in unit tests
* Fix PayPal Standard case.
* Save Order text
2016-10-12 11:16:30 +01:00
Claudio Sanches
36797a382a
Fixed coding standards for tests
2016-10-04 18:57:01 -03:00
Justin Shreve
ca10cca69b
Merge pull request #11990 from woocommerce/variations-rest-api
...
Implement Variation Endpoints & Tests
2016-09-29 15:48:36 -07:00
Justin Shreve
c1d7111240
Implement separate variation endpoints for managing a product's variations. Also adds tests.
2016-09-29 14:44:14 -07:00
Matty
ae75f8b8cd
Adjusts all references of 'woothemes' to 'woocommerce' in relevant URLs, excluding the Travis CI integration which correctly uses 'woocommerce/woocommerce'.
2016-09-28 12:17:40 +02:00
Claudio Sanches
34784e5dca
Fixed unit tests for wc_get_account_downloads_columns()
...
cc @mikejolley
2016-09-15 19:56:23 -03:00
Mike Jolley
59dcb30928
comments
2016-09-12 21:51:32 +01:00
Mike Jolley
71d99f3434
Fix comment
2016-09-12 17:33:36 +01:00
Mike Jolley
f9b2ed88c2
Merge branch 'pr/11883'
...
# Conflicts:
# includes/class-wc-shortcodes.php
2016-09-12 14:53:04 +01:00
Claudio Sanches
7a4e0da1c1
Update tests for wc_format_postcode()
2016-09-09 15:05:44 -03:00
Aristeides Stathopoulos
230c0398b3
fix failing test from master
2016-09-09 19:39:09 +03:00
Justin Shreve
6fafbe855c
Fix register-wp-admin-settings.php tests based on recent changes to handle email registration
2016-09-08 15:38:58 -07:00
Justin Shreve
a36b25a68f
Add setting validation to the REST API
2016-09-08 15:20:15 -07:00
Justin Shreve
b665f5e1c6
Setting IDs do not need to be unique across the entire system.. just the group.
2016-09-08 15:20:15 -07:00
Justin Shreve
49676d1781
Hook up email settings to the API
...
Add support for option_key when registering settings, so we can also manage settings that are stored in the array of a single option.
2016-09-08 15:20:15 -07:00
Mike Jolley
9cca27f21e
Take out admin check
...
@justinshreve I’m not sure why we had the admin check there, but I’ve
removed it because the setting of WP_ADMIN was breaking unrelated unit
tests. I think we should leave constants alone if possible and just
modify gateways.
2016-09-07 12:37:39 +01:00
Mike Jolley
311c540662
Merge pull request #11833 from aristath/master
...
Coding Standards (2nd pass)
2016-09-07 10:14:17 +01:00
Justin Shreve
fd952e8efa
Payment Gateways API
2016-09-05 14:49:29 -07:00
Aristeides Stathopoulos
5280722f21
Squiz.Commenting.InlineComment.SpacingAfter
2016-09-02 05:47:24 +03:00
Aristeides Stathopoulos
15bec47475
Squiz.Commenting.InlineComment.NoSpaceBefore
2016-09-02 05:42:33 +03:00
Aristeides Stathopoulos
39d4d4bd69
Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar
2016-09-02 05:40:36 +03:00
Aristeides Stathopoulos
d4e3faf014
PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket
2016-09-02 04:51:31 +03:00
Aristeides Stathopoulos
0516e96843
PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket
2016-09-02 04:33:57 +03:00
Aristeides Stathopoulos
fde1037757
fix failing tests.
2016-09-01 23:50:14 +03:00
Mike Jolley
1b2df3dd3b
Merge branch 'pr/11797'
...
# Conflicts:
# includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
# includes/api/class-wc-rest-coupons-controller.php
# includes/class-wc-coupon.php
# tests/unit-tests/api/coupons.php
# tests/unit-tests/coupon/crud.php
2016-09-01 11:46:05 +01:00
Mike Jolley
402d0ff077
Merge branch 'master' into pr/11797
...
# Conflicts:
# includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
# includes/api/class-wc-rest-coupons-controller.php
# includes/class-wc-coupon.php
# tests/unit-tests/api/coupons.php
# tests/unit-tests/coupon/crud.php
2016-09-01 11:43:31 +01:00
Mike Jolley
4e14c4abeb
Merge pull request #11821 from woothemes/customer-exceptions
...
Customer CRUD/API exceptions
2016-09-01 10:58:35 +01:00
Justin Shreve
6cb9e1b613
Since we support WP_Query filtering via the API, make sure post_status filtering works too.
2016-08-31 14:39:37 -07:00
Claudio Sanches
06280a7003
HTTPS for google maps
2016-08-31 14:18:55 -03:00
Mike Jolley
d9a0d0988b
Handle meta data and fix unit tests
2016-08-31 15:43:34 +01:00
Mike Jolley
047242515d
Make API and CRUD use consistent keys and make use of data
2016-08-30 17:50:35 +01:00
Mike Jolley
499e190efb
Merge pull request #11785 from woothemes/coupon-exceptions
...
Coupon Exceptions and REST/CRUD improvements
2016-08-30 11:44:19 +01:00
Justin Shreve
de4296dd15
Add some missing API pieces:
...
* Value was missing from the settings schema (but was still present in the response).
* Added delete endpoint for shipping zones.
* Corrected permissions check/error for shipping zone methods.
2016-08-29 10:22:29 -07:00
Aristeides Stathopoulos
f2730eea02
WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd
2016-08-27 08:57:05 +03:00
Aristeides Stathopoulos
7c589cf7e1
WordPress.WhiteSpace.ControlStructureSpacing.ExtraSpaceAfterCloseParenthesis
2016-08-27 07:53:52 +03:00
Aristeides Stathopoulos
82f3cc221e
WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis
2016-08-27 07:23:02 +03:00