Commit Graph

900 Commits

Author SHA1 Message Date
Jon Surrell 144ea5d5ab Include WC_Logger_Interface on startup 2017-01-14 17:58:24 +01:00
Jon Surrell 78e6cb31a7 Include WC_Log_Handler with other abstracts 2016-12-29 11:58:43 +01:00
Claudio Sanches 0da2f70e13 Fixed coding standards 2016-12-15 15:11:08 -02:00
Mike Jolley 3d26820374 Readme and version 2016-12-15 16:45:02 +00:00
Justin Shreve da1e14c087 Add WC CLI commands powered by the REST API. 2016-12-08 10:59:07 -08:00
Mike Jolley 9f85aa3869 Merge pull request #12489 from woocommerce/add/twenty-seventeen-support-new-method
Add/twenty seventeen support new method
2016-12-07 12:46:36 +00:00
Mike Jolley 6d908cfba2 Code cleanup and move class into subdirectory 2016-12-07 12:45:54 +00:00
James Koster 4daa5d133b Add a utility function to check the active theme.
And check active theme before loading integration class
2016-12-06 12:14:00 +00:00
Justin Shreve a94acad387 Fix title, enabled, and description updates for payment gateways. Add missing readonly on method title and description.
Bump WC version.
2016-11-29 11:57:56 -08:00
James Koster 20507f0944 Adds a new class for 2017 integration, removes core wrappers, adds .scss file. #12038 2016-11-25 15:17:13 +00:00
Mike Jolley d7dfdd3d10 Wrap all deprecation calls. 2016-11-23 16:15:00 +00:00
Mike Jolley 885dad605a Interface naming 2016-11-22 13:54:51 +00:00
Justin Shreve 174aa38be6 Start moving meta to normal stores, instead of a separate meta store. 2016-11-22 04:05:05 -08:00
Justin Shreve f3140889d5 Move meta handling saving/getting logic to a data store, and fix cache handling for meta to reduce queries. 2016-11-22 04:03:57 -08:00
Justin Shreve 9b08f4b32d Move order-item-functions queries to a data store. Rebase & update to use download data store. 2016-11-21 11:38:07 -08:00
Justin Shreve 51a55b6782 Add interface, renaming main order item data store to abstract. Various fixes. 2016-11-21 10:57:33 -08:00
Justin Shreve b20b3590c8 First pass at order items 2016-11-21 10:56:21 -08:00
Mike Jolley ac3be6ba50 Order stores complete 2016-11-18 14:07:21 +00:00
Mike Jolley 5d9a9b4dec Fix tests 2016-11-18 11:14:09 +00:00
Mike Jolley c933f82961 Refunds 2016-11-17 16:53:13 +00:00
Mike Jolley 52c866c57b Main order interface 2016-11-17 14:37:29 +00:00
Mike Jolley d387afbba3 Added data store 2016-11-17 10:53:22 +00:00
Justin Shreve 564098f26a Handle feedback 2016-11-16 04:54:42 -08:00
Justin Shreve 61d1b29789 Shipping Zone Data Store 2016-11-16 04:53:23 -08:00
Mike Jolley 76b32c9aa5 WIP - Product CRUD (#12065)
* Created function to get the catalog visibility options

* First methods for WP_Product crud

* Product set methods

* Fixed several erros while setting data

* First methods for WP_Product crud

* Product set methods

* Fixed several erros while setting data

* Hardcode the get_type per product class

* Initial look through getters and setters and abstract data

* Missing var

* Add related product functions and deprecate those in class.

* No need to exclude ID

* Fixed coding standards and improved the docblocks

* Get cached terms from wc_get_related_terms()

* Fixed wrong variable in wc_get_related_terms

* Use count() instead of sizeof()

* Sanitize ids later

* Remove unneeded comments

* wc_get_product_term_ids instead of related wording and use in other places.

get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.

* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.

* Bump template version

* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function

* Made abstract function useful

* External Product CRUD

* _virtual meta should be 'no', not taxable, in product unit test helper

* Grouped product class

* Tests

* Move children to meta and update test

* Use get_upsell_ids

* Spacing in query

* Moving and refactoring methods

* Availability html

* Tidy/add todos

* Rename method

* Put back review functions (still todo)

* missing $this

* get_price_including_tax/excluding_tax functions

* wc_get_price_to_display

* Price handling

* [Product CRUD] Variable (#12146)

* [Product CRUD] Variable Products

* Handle PR feedback.

* [Product CRUD] Grouped Handling (#12151)

* Handle grouped product saving

* Update routine

* [Product CRUD] Product crud terms (#12149)

* Category and tag id handling

* Replace template functions

* Remove todo

* Handle default name in save function

* Product crud admin save routine (#12174)

* Initial props

* Work on admin saving

* Set/get attributes

* Atom was moaning about this before but no longer.

* Update get_shipping_class

* WC_Product_Attribute

* Use getter in admin panel

* Fix attribute saving

* Spacing

* Fix comment

* wc_implode_text_attributes helper function

* [Product CRUD] Product crud admin use getters (#12196)

* Initial props

* Work on admin saving

* Set/get attributes

* Atom was moaning about this before but no longer.

* Update get_shipping_class

* WC_Product_Attribute

* Use getter in admin panel

* Fix attribute saving

* Move settings into new files

* Refactor panels and use getters

* Use getters for variation panel

* Revert save variation changes for now

* Add todos

* Fix downloads

* REST API CRUD Updates

* Additional API updates/fixes. Added some todos

* Fix final failing tests and implementing setters/getters and attributes functionality.

* Fix comparison for is_on_sale and remove download_type from WC_Product.

* Add a wc_get_products wrapper.

* Remove the download type input from the product data metabox for downloadable products. (#12221)

* [Product CRUD] Variations - setters, getters and admin. (#12228)

* Started on variation changes

* Stock functions

* Variation class

* Bulk change ->id to get_id() to fix variation form display

* Missing status

* Fix add to cart

* Start on stored data save

* save variation

* Save_variations

* Variation edit panel

* Save variations code works.

* Remove stored data code and fix save

* Improve legacy class

* wc_bool_to_string

* prepare_set_attributes

* Use wc_get_products

* More feedback fixes

* Feedback fixes

* Implement CRUD in the legacy REST API

* Handle PR feedback

* [Product CRUD] Getter setter proxy methods (#12236)

* Started on variation changes

* Stock functions

* Variation class

* Bulk change ->id to get_id() to fix variation form display

* Missing status

* Fix add to cart

* Start on stored data save

* save variation

* Save_variations

* Variation edit panel

* Save variations code works.

* Remove stored data code and fix save

* Improve legacy class

* wc_bool_to_string

* prepare_set_attributes

* Use wc_get_products

* More feedback fixes

* get_prop implementation in abstract and data classes

* Implement set_prop

* Change handling

* Array key exists

* set_object_read

* Use get_the_terms() instead of wp_get_post_terms()

wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.

get_the_terms() however can use data from the object cache if present.

* Allow WP_Query to preload post data, and meta in wc_get_products()

Allow WP_Query to bulk query for post data and meta if more than
just IDs are requested from wc_get_products(). Reduces query count
significantly.

* [Product CRUD] Variable, variation, notices, and stock handling (#12277)

* No longer needed

* Remove old todos

* Use getters in admin list

* Related and upsells update for CRUD

* Fix notice in gallery

* Variable fixes and todos

* Context

* Price sync

* Revert variation attributes change

* Return parent data in view context

* Defer term counting

* wc_find_matching_product_variation

* Stock manage tweaks

* Stock fixes

* Correct id

* correct id

* Better sync

* Data logic setter fix

* feedback

* First methods for WP_Product crud

* Product set methods

* Fixed several erros while setting data

* Hardcode the get_type per product class

* Initial look through getters and setters and abstract data

* Missing var

* Fixed coding standards and improved the docblocks

* Get cached terms from wc_get_related_terms()

* Fixed wrong variable in wc_get_related_terms

* Use count() instead of sizeof()

* Add related product functions and deprecate those in class.

* No need to exclude ID

* Sanitize ids later

* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.

* Remove unneeded comments

* wc_get_product_term_ids instead of related wording and use in other places.

get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.

* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function

* External Product CRUD

* _virtual meta should be 'no', not taxable, in product unit test helper

* Bump template version

* Made abstract function useful

* Grouped product class

* Tests

* Move children to meta and update test

* Use get_upsell_ids

* Spacing in query

* Moving and refactoring methods

* Availability html

* Tidy/add todos

* Rename method

* Put back review functions (still todo)

* missing $this

* get_price_including_tax/excluding_tax functions

* wc_get_price_to_display

* Price handling

* [Product CRUD] Variable (#12146)

* [Product CRUD] Variable Products

* Handle PR feedback.

* [Product CRUD] Grouped Handling (#12151)

* Handle grouped product saving

* Update routine

* [Product CRUD] Product crud terms (#12149)

* Category and tag id handling

* Replace template functions

* Remove todo

* Handle default name in save function

* Product crud admin save routine (#12174)

* Initial props

* Work on admin saving

* Set/get attributes

* Atom was moaning about this before but no longer.

* Update get_shipping_class

* WC_Product_Attribute

* Use getter in admin panel

* Fix attribute saving

* Spacing

* Fix comment

* wc_implode_text_attributes helper function

* [Product CRUD] Product crud admin use getters (#12196)

* Initial props

* Work on admin saving

* Set/get attributes

* Atom was moaning about this before but no longer.

* Update get_shipping_class

* WC_Product_Attribute

* Use getter in admin panel

* Fix attribute saving

* Move settings into new files

* Refactor panels and use getters

* Use getters for variation panel

* Revert save variation changes for now

* Add todos

* Fix downloads

* REST API CRUD Updates

* Additional API updates/fixes. Added some todos

* Fix final failing tests and implementing setters/getters and attributes functionality.

* Fix comparison for is_on_sale and remove download_type from WC_Product.

* Add a wc_get_products wrapper.

* Remove the download type input from the product data metabox for downloadable products. (#12221)

* [Product CRUD] Variations - setters, getters and admin. (#12228)

* Started on variation changes

* Stock functions

* Variation class

* Bulk change ->id to get_id() to fix variation form display

* Missing status

* Fix add to cart

* Start on stored data save

* save variation

* Save_variations

* Variation edit panel

* Save variations code works.

* Remove stored data code and fix save

* Improve legacy class

* wc_bool_to_string

* prepare_set_attributes

* Use wc_get_products

* More feedback fixes

* Feedback fixes

* Implement CRUD in the legacy REST API

* Handle PR feedback

* [Product CRUD] Getter setter proxy methods (#12236)

* Started on variation changes

* Stock functions

* Variation class

* Bulk change ->id to get_id() to fix variation form display

* Missing status

* Fix add to cart

* Start on stored data save

* save variation

* Save_variations

* Variation edit panel

* Save variations code works.

* Remove stored data code and fix save

* Improve legacy class

* wc_bool_to_string

* prepare_set_attributes

* Use wc_get_products

* More feedback fixes

* get_prop implementation in abstract and data classes

* Implement set_prop

* Change handling

* Array key exists

* set_object_read

* Use get_the_terms() instead of wp_get_post_terms()

wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.

get_the_terms() however can use data from the object cache if present.

* [Product CRUD] Variable, variation, notices, and stock handling (#12277)

* No longer needed

* Remove old todos

* Use getters in admin list

* Related and upsells update for CRUD

* Fix notice in gallery

* Variable fixes and todos

* Context

* Price sync

* Revert variation attributes change

* Return parent data in view context

* Defer term counting

* wc_find_matching_product_variation

* Stock manage tweaks

* Stock fixes

* Correct id

* correct id

* Better sync

* Data logic setter fix

* feedback

* Prevent notices

* Handle image_id from parent

* Fix error

* Remove _wc_save_product_price

* Remove todo

* Fixed wrong variation URLs

* Fixed undefined $image_id in WC_Product_Variation::get_image_id()

* Allow wc_rest_prepare_date_response() handle timestamps

* Updated get methods on REST API for variations

* Use variations CRUD to save variations metadata

* [Product CRUD] Abstract todos (#12305)

* Get dimensions and weights, with soft deprecation

* Product attributes

* Ratings

* Fix read method

* Downloads

* Feedback

* Revert "[Product CRUD] Abstract todos (#12305)"

This reverts commit 9a6136fcf8.

* Remove deprecated get_variation_id()

* New default attributes method

* [Product CRUD] Product Datastore (#12317)

* Fix up tests in the product/* folder.

* Handle data store updates for grouped, variable, external, simple, and general data store updates for products.

* Variations & variable changes.

* Update -functions.php calls to use data store.

* Add an interface for the public product data store methods.

* Finished product factory tests

* Correctly delete in the api, fix up some comments, and implement an interface for the public variable methods.

* Fix up delete in all versions of the api

* Handle feedback

* Match protected decloration to parent

* Product crud abstract todos (#12316)

* Get dimensions and weights, with soft deprecation

* Product attributes

* Ratings

* Fix read method

* Downloads

* Feedback

* Fix up store

* Fixed method returning in write context

* Fix error in variation admin

* Check for parent value - fixes tax class

* Remove old/complete todos

* Allow set tax class as "parent"

* Removed duplicated sync

* Fixed wrong variation URLs

* Fixed undefined $image_id in WC_Product_Variation::get_image_id()

* Allow wc_rest_prepare_date_response() handle timestamps

* Updated get methods on REST API for variations

* Use variations CRUD to save variations metadata

* Remove deprecated get_variation_id()

* New default attributes method

* Fixed method returning in write context

* Allow set tax class as "parent"

* Removed duplicated sync

* Fixed coding standards

* TODO is not accurate.

* Should pass WC_Product instancies to WC_Comments methods (#12327)

* Use new method in abstract order class to prevent headers sent issue in tests

* Fixed variable description in REST API

* Updated how create initial product variation

* Fixed a few fatal errors and warnings in Products CRUD (#12329)

* Fixed a few fatal errors and warnings in Products CRUD

* Fixed sync functions

* Add variations CRUD to legacy API (#12331)

* Apply crud to variable products in legacy API v1

* New REST API do not need fallback for default attributes

* Apply variations CRUD to legacy API v2

* Legacy v2 - save default attributes

* Variations in legacy API v2 do not have descriptions

* Fixed legacy API v2 variations params

* Applied variations CRUD to legacy API v3

* Sync before save in legacy apis

* Punc

* Removed API todos

* Removed test

* Products endpoint tweaks (#12354)

* Var type already normalized on CRUD

* Let Product CRUD handle with validation, sanitization and conditional checks

* Set downloads using WC_Product_Download

* Stop try catch exceptions more than one time

* Handle WC_Data_Exception in legacy API

* Complete remove products when fails on creating

* On creating I mean!

* Already have a method to complete delete products

* Fixed standards using WP CodeSniffer

* get_the_terms() returns false when empty

* get_manage_stock returns boolean

@claudiosanches

* Merge conflict

* Variations API endpoint fixes

* Product CRUD improvements (#12359)

* args is not used any more - remove todo

* Added test for attributes

* wc_get_price_excluding_tax usage

* parent usage

* Fix rating counts

* Test fixes

* Cleanup after tests

* Make sure status transition code runs even during API calls, not just in admin.

* Default visibility

* Fix attribute setting in API

* Use get name instead of get title

* variation id usage

* Improved cross sell templates

* variation_data

* Grouped product sync

* Notices

* Sync is not needed in API

* Delete

* Rename interfaces

* Update counts in data store
2016-11-16 12:38:24 +00:00
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 d986d1bba1 Rename interface file 2016-11-14 09:13:55 -08:00
Justin Shreve 370166a6b0 Payment Token Data Store 2016-11-14 06:20:41 -08:00
Justin Shreve 365a834d92 Remove CLI from WooCommerce. Moving to a new package. 2016-11-14 02:42:40 -08: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
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
Claudio Sanches db23f5faa0 Create initial WC_Auth class and endpoint 2015-04-17 17:41:25 -03:00
Mike Jolley ad6c173757 WC_DISCOUNT_ROUNDING_MODE half down 2015-04-10 10:28:30 +01:00
Mike Jolley 21c5513526 Added endpoint for faster ajax requests 2015-03-20 12:28:26 +00:00
Mike Jolley e7429e24de This branch is 2.4.0-dev 2015-03-16 12:17:13 +00:00
Mike Jolley f4ebee3fd0 Version bump 2015-03-13 10:45:37 +00:00
Mike Jolley 2335b413c4 include_template_functions at all times
Fixes #7581

Adds little to no overhead.
2015-03-02 13:31:55 +00:00
Mike Jolley ec81ed8312 Version bumps 2015-02-20 16:19:39 +00:00
Mike Jolley e1b844e449 Readme 2015-02-13 17:08:08 +00:00
Mike Jolley accdf17f3c Version bump 2015-02-12 16:41:13 +00:00
Mike Jolley a80d069a21 Version bump 2015-02-12 00:39:58 +00:00
Mike Jolley 9330f8ccd6 Readme + version 2015-02-11 18:10:37 +00:00
Mike Jolley 8c4ae7e43a Changelog + date 2015-02-11 12:32:02 +00:00
Claudio Sanches b625097fec Version 2.3.0 2015-02-11 10:23:57 -02:00
Mike Jolley 57b8d6c700 Version bump + pot 2015-02-03 16:43:05 +00:00
Mike Jolley 92fb6a4915 version bump 2015-01-30 16:08:14 +00:00
Claudio Sanches 9e3135528f POT files to 2.3-beta-3 2015-01-30 14:06:22 -02:00
Mike Jolley 64775e92f1 Someone forgot to bump the version 2015-01-28 19:46:09 +00:00
Mike Jolley 74e44b55c7 Revert plugins_loaded idea (@725d5e2) until 2.4 so devs can be warned. #blameclaudio
Keeping the methods and small tidyup.
2015-01-28 18:01:30 +00:00
Mike Jolley 725d5e28d8 Additional tweaks to @b2c573ed8a04a8d425a73e018a450179514cbdc7
- Load API with other includes
- Register activation hook early
- Include autoloader early

cc @claudiosmweb
2015-01-28 17:50:58 +00:00
Mike Jolley b2c573ed8a Rather than include all files on construct, include files after plugins_loaded
This ensures functions intended to be pluggable actually are, and
prevents race conditions. Seen some authors mess with the plugin load
order to work around this and it’s horrible.

This hook has priority 5 to ensure existing plugins using WC
functionality on plugins_loaded do not break.

cc @claudiosmweb @barrykooij
2015-01-28 17:15:48 +00:00