Commit Graph

820 Commits

Author SHA1 Message Date
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
Justin Stern a3e371e0d7 Make WooCommerce core play nice with Codeception (#11845)
If is_blog_installed() is false then skip some installation steps that
are performed on the 'init' action and which require the database to be
available
2016-11-09 11:53:39 +00:00
Justin Shreve 1797c76a14 Implement WC_Data_Store and related code & tests. 2016-11-08 01:39:47 -08:00
Claudio Sanches 68b864313a Fixed conflicts 2016-10-13 16:58:20 -03:00
Claudio Sanches e972c1aac2 Change woothemes.com to woocommerce.com, closes #11966 2016-09-27 12:44:48 -03:00
opportus af26ab6f3d improved structured data - valids TCI checks 2016-09-21 16:37:54 +02:00
opportus 53a257bb91 improved structured data - merge conflict fix 2016-09-01 14:15:15 +02:00
Aristeides Stathopoulos b063bcfe4c last item in a multiline-array should end in a comma 2016-08-27 04:46:45 +03:00
opportus f0af39a0fa improved structured data - branch update 2016-08-26 17:01:01 +02:00
Mike Jolley 2dc3e5252f Made WC_TEMPLATE_DEBUG_MODE a constant only 2016-08-24 16:46:07 +01:00
opportus 9001f094ff improved structured data - branch update 2016-08-23 15:49:20 +02:00
Mike Jolley 0b9a5998cc Exception class 2016-08-17 11:44:56 +01:00
opportus 6f3974d0e2 improved structured data - fixes fatal error with grouped products, thanks @leewillis77 2016-08-15 22:05:06 +02:00
Mike Jolley 77edd79eef Tested up to 4.6 2016-08-15 17:44:37 +01:00
Mike Jolley e1318d9175 Stop WP core meta data being removed for customers
@justinshreve
2016-08-15 13:17:43 +01:00
opportus 39dce5a450 improved structured data - tabulation fix 2016-08-11 11:17:14 +02:00
opportus 93088f45ac improved structured data - merge conflict fix 2016-08-11 00:49:20 +02:00
opportus b61aae01bf improved structured data - email order structured data integration +
WC_Structured_Data refactor + coding standards tweaks
2016-08-11 00:23:26 +02:00
opportus 79ef06b6ad improved structured data - added div into short description template 2016-08-06 00:49:31 +02:00
Mike Jolley 1bc9da3e91 Merge branch 'master' into WC-CRUD
# Conflicts:
#	includes/class-wc-coupon.php
2016-08-04 12:10:04 +01:00
Mike Jolley 674e00ea55 [2.6] Prevent notice in wpdb_table_fix if termmeta table is not used 2016-08-02 14:09:56 +01:00
opportus 0c5b11802b improved structured data - patch9 - merge conflict fix 2016-07-27 13:28:20 +02:00
Mike Jolley 66c61eebc8 Define full path for includes
Closes #11087
2016-07-27 11:58:43 +01:00
Justin Shreve 02915e6056 Rename helper class from 'legacy' to be more descriptive of whats happening. Registering wp-admin settings to the REST API. 2016-07-26 11:08:29 -07:00
Justin Shreve 97e7c293d5 Rename classic settings file to legacy settings 2016-07-26 10:24:15 -07:00
Justin Shreve 3de423b5c2 Wrap up settings api 2016-07-26 10:24:15 -07:00
Manos Psychogyiopoulos 17c6108832 ensure WC_ROUNDING_PRECISION is defined and use it as a low precision boundary in wc_get_rounding_precision() 2016-07-21 12:14:12 +03:00
Mike Jolley c4cc23afef Master branch is now 2.7.0-dev 2016-07-20 13:23:08 +01:00
opportus b59d512774 improved structured data - patch2 - merge conflict fix 2016-07-19 22:42:24 +02:00
opportus d89cbbec23 improved structured data - patch2 2016-07-19 21:36:52 +02:00
Mike Jolley 1db6da14c0 Readme and version 2016-07-19 18:08:45 +01:00
opportus d74a3408b3 improved structured data 2016-07-17 04:57:03 +02:00
Claudio Sanches 7778583340 Fixed wrong number of decimal precision, closes #11368 2016-07-11 17:26:54 +02:00
Claudio Sanches c59a5c0c31 Say hello to woocommerce.com 2016-07-05 19:52:16 -03:00
Claudio Sanches 37a666edc7 2.6.2 2016-06-28 13:54:12 -03:00
Mike Jolley 2019cdf108 Version bumps and POT file 2016-06-16 18:17:50 +01:00
Mike Jolley 572b8c28c2 Version bump 2016-06-14 14:38:46 +01:00
Mike Jolley 78142a8ebb Merge branch 'master' into WC-CRUD
# Conflicts:
#	includes/class-wc-checkout.php
#	includes/class-wc-coupon.php
#	includes/class-wc-customer.php
#	tests/unit-tests/cart/cart.php
#	tests/unit-tests/cart/functions.php
#	tests/unit-tests/coupon/coupon.php
#	woocommerce.php
2016-06-13 15:01:58 +01:00
Claudio Sanches bd2342a0a5 2.6.0-RC1 2016-06-07 12:45:45 -03:00
Mike Jolley 1185333b56 Move legacy API code into WC_Legacy_API
@claudiosmweb to keep legacy api separated from the new REST API code.
2016-06-07 11:03:16 +01:00
Mike Jolley 00cd6f7f2a merge table fixes 2016-06-06 19:29:47 +01:00
Claudio Sanches e4736402dd 2.6.0 beta 4 2016-06-02 19:50:34 -03:00
Mike Jolley 78ca4a2e74 version 2016-05-27 15:52:35 +01:00
Claudio Sanches e39274e753 HTTPS for everybody 2016-05-26 22:48:49 -03:00
Mike Jolley ead4742d02 Merge pull request #10938 from shivapoudel/docblock
Fix - Docblock for is_request() method
2016-05-18 10:51:41 +01:00
Shiva Poudel 2b5f26eab1 Fix - Docblock for is_request() method 2016-05-18 15:27:48 +05:45
Claudio Sanches 1f2cda5a49 Version 2.6.0-beta-2 2016-05-13 14:40:21 -03:00
Claudio Sanches 0f801ed701 Say Hello to 2.6.0-beta-1 2016-04-22 14:32:31 -03:00
Mike Jolley e2139a5c5e Clear prices transient for variable products after scheduled sale. 2016-03-31 12:03:03 +01:00
Mike Jolley ae36ff71fa For PayPal requests, set CURL ssl version
@claudiosmweb another for 2.5 consideration
2016-03-29 14:28:15 +01:00
Mike Jolley c4fc2ffcc6 4.4 min 2016-03-23 10:15:52 +00:00
Justin Shreve 626ab000f5 WC_Data needs to be loaded before the customer class is loaded. 2016-03-17 10:35:25 -07:00
Justin Shreve 25430afd33 Make session loading work correctly, add an alias for address_1 and shipping_address_1, fix total spent and order count 2016-03-17 09:41:12 -07:00
Justin Shreve aa590f3845 Implement remaining customer get/setters, and start on tests. 2016-03-17 09:41:12 -07:00
Justin Shreve 97c0edf445 Start on tests for testing CRUD meta.
Includes Mock object for testing against the abstract WC_Data.
2016-03-14 11:12:47 -07:00
Mike Jolley 32acec8477 Load session handler and abstract together 2016-03-10 09:31:25 +00:00
Justin Shreve c0b74296ff * Remove WC_Payment_Gateway_Form in favor of having a Payment_Gateway_CC and Payment_Gateway_eCheck
* Fix up some comments to match other comments in the WC code base
* Add some missing esc_* functions
* Add a gateway filter to get_customer_tokens + a test for it
2016-03-01 11:49:42 -08:00
Justin Shreve 5d8967c7d7 Prepare a list of payment methods for output on the payment methods "my account" page. 2016-03-01 11:49:40 -08:00
Justin Shreve c5aec06a8a First pass at a payment token API 2016-03-01 11:49:37 -08:00
Mike Jolley 352184cc06 Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	i18n/languages/woocommerce.pot
#	includes/abstracts/abstract-wc-payment-gateway.php
#	includes/abstracts/abstract-wc-shipping-method.php
#	includes/admin/settings/class-wc-settings-shipping.php
#	includes/wc-core-functions.php
#	uninstall.php
2016-02-05 14:58:48 +00:00
Mike Jolley d4dfec797c WC Data Interface
To be used by zones etc.

cc @claudiosmweb @justinshreve
2016-02-05 14:33:20 +00:00
Claudio Sanches e75a4b300c dev 2016-01-18 16:45:14 -02:00
Mike Jolley c505b37ec5 Master branch is now 2.6 :) 2016-01-18 14:42:01 +00:00
Mike Jolley aa66f282fa Changelog and stable tags 2016-01-18 10:39:29 +00:00
Claudio Sanches 64a176920d RC3 tag and POT 2016-01-15 13:54:52 -02:00
Mike Jolley bedfa7fc62 RC2 version 2016-01-11 16:31:00 +00:00
Mike Jolley 1076854608 Merge branch 'master' into shipping-zones
# Conflicts:
#	assets/css/admin.css
#	includes/abstracts/abstract-wc-shipping-method.php
#	includes/class-wc-shipping.php
#	includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
#	includes/shipping/flat-rate/includes/class-wc-eval-math.php
#	includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
#
includes/shipping/legacy-international-delivery/class-wc-shipping-legacy
-international-delivery.php
#
includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-d
elivery.php
2016-01-11 11:48:18 +00:00
Mike Jolley 56d303f4d3 woocommerce_api_request_url filter
Closes #10040
2016-01-08 15:01:55 +00:00
Fredrik Forsmo 089ccdd504 Improve docblock comments in WooCommerce class
* Added better properties comments.
* Bumped version tag to 2.5, did says 2.4 when version property said
2.5.
2016-01-06 17:15:20 +01:00
Claudio Sanches 2607e68c82 2.5.0-RC1 2016-01-05 13:52:19 -02:00
Mike Jolley 62ca37f651 Merge branch 'master' into shipping-zones
# Conflicts:
#	includes/admin/class-wc-admin-assets.php
#	includes/class-wc-install.php
2016-01-04 14:35:45 +00:00
Mike Jolley 901db7b0f8 zone tweaks 2015-12-18 17:10:58 +00:00
Mike Jolley 5784bb5c43 readme 2015-12-16 13:09:08 +00:00
Mike Jolley 14eeb9f936 Zones first draft with backbone saving of zone names 2015-12-10 11:55:03 +00:00
Claudio Sanches e811120a40 Beta 2 2015-12-07 15:51:37 -02:00
Patrick Rauland 8284bb3319 changing how WooCommerce products display when theyre embedded 2015-11-25 17:03:37 -07:00
Mike Jolley cf972273c4 Version 2015-11-09 11:44:43 +00:00
Shiva Poudel e31dd2a687 I don't think periodic ending is needed here 2015-11-03 22:59:17 +05:45
Claudio Sanches efa19f799d Fixed some coding standards for docblocks 2015-11-03 10:28:01 -02:00
Ahmad Awais c3fdb948da Better Documentation
In accordance with the [WordPress PHP Coding Standards](https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/). This commit adds
- Short descriptions
- Period endings for comments, short descriptions, and long descriptions.
2015-10-29 19:06:28 +05:00
Mike Jolley 68cb6b11ee Removed welcome page
2.5 release doesn’t have enough user-facing features to justify a
full-blown welcome page, and translation credits are no longer
obtainable after translate.wordpress switch. Removed the page to keep
things streamlined.
@claudiosmweb @mattyza
2015-10-09 11:56:13 +01:00
Mike Jolley b27635409c New Session Handler
This merges and adapts
https://github.com/kloon/woocommerce-large-sessions for core. Closes
#6846.

Differences:
- Rather than delete each cache key individually, this invalidates all
at once (idea from https://core.trac.wordpress.org/ticket/4476)
- Removes ‘replace’ which increments session_id keys unnecessarily.
- Fixes remove/restore cart sessions from making it dirty each page load

Kudos to @kloon for the bulk of the work and testing on Woo.com.

cc @claudiosmweb
2015-10-07 14:47:29 +01:00
Claudio Sanches c53fe24c20 Removed our own language packs manager 2015-10-06 10:27:17 -03:00
Akeda Bagus 274eede1f6 Initial works on WP-CLI support. 2015-10-01 09:34:03 +02:00
Mike Jolley 7af7f1f6da Master branch is now 2.5.0-dev 2015-09-15 16:08:17 +01:00
Mike Jolley f03be47e86 Handle non standard decimals in flat rate costs. 2015-08-24 15:26:08 +01:00
Mike Jolley 0c76845c31 Version 2015-08-20 17:38:15 +01:00
Claudio Sanches 2da4ea0084 Version 2.4.4 2015-08-13 23:53:19 -03:00
Mike Jolley f490071374 Version bumps 2015-08-12 19:04:19 +01:00
Claudio Sanches f16468c33c Version 2.4.2 2015-08-11 14:23:50 -03:00
Claudio Sanches b1f0da9d76 Version 2.4.1 2015-08-10 18:44:32 -03:00
Mike Jolley 257010695e Readme, versions, develop blog links 2015-08-10 10:39:08 +01:00
Claudio Sanches a314726c3c 2.4.0-RC1 2015-07-30 21:54:35 -03:00
Claudio Sanches 2c12c3de24 2.4.0-beta-4 2015-07-27 18:55:08 -03:00
Mike Jolley 3e8228161d Load session during cron, but not other frontend classes
Closes #7183 @claudiosmweb
2015-07-16 17:32:31 +01:00
Claudio Sanches 873dc202a0 Beta 3 2015-07-15 16:40:40 -03:00
Mike Jolley 626b6c68ae Correct version 2.4.0-beta-2 2015-07-15 11:31:20 +01:00
Mike Jolley 622b11ae9f Add version check to prevent pre-2.4 logic kicking in when not needed
@claudiosmweb
2015-06-16 15:10:53 +01:00
Mike Jolley 68974655d6 Tweak visible child product query and cache 2015-06-08 13:18:23 +01:00
Claudio Sanches 95a4133bb7 Removed WooCommerce::fix_server_vars, closes #14 2015-06-01 13:37:33 +01:00