Commit Graph

849 Commits

Author SHA1 Message Date
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
Claudio Sanches b61cd62a07 Fixed docblocks for WooCommerce::is_request() 2015-01-23 16:39:49 -02:00
Claudio Sanches 560d7d24ee Fixed the tracking opt-out 2015-01-23 15:20:09 -02:00
Mike Jolley 5ffaf97397 Only load tracking during cron and move notices to notices class 2015-01-23 16:36:52 +00:00
Gerhard d09df4fc0f Merge branch '6711-opt-in-tracking' 2015-01-23 17:31:01 +02:00
Gerhard 8610ca6aef Merge branch 'master' into 6711-opt-in-tracking
Conflicts:
	includes/admin/class-wc-admin-status.php
2015-01-23 17:30:11 +02:00
Mike Jolley 2d707689d9 Add transient cache to webhooks Closes #7184 2015-01-23 13:28:30 +00:00
Mike Jolley e7b4ecfbdc Don't load frontend files during cron Closes #7183 2015-01-23 11:14:30 +00:00
Mike Jolley 1777913741 Readme 2015-01-13 16:12:54 +00:00
Claudio Sanches d3bf31664d Removed var_dump in woocommerce.php
cc @mikejolley
2015-01-05 14:36:54 -02:00
Mike Jolley 4c2ff13f6c api_request_url support for urls containing index.php
Closes #6832
2015-01-05 16:33:12 +00:00
Mike Jolley 56c752ed22 Include geolocation class 2014-12-23 18:50:20 +00:00
Claudio Sanches b247997bd2 Created method to get the webhook statuses 2014-12-16 18:54:48 -02:00
Gerhard a33400db9f Add tracker class to includes. 2014-11-26 21:36:14 +02:00
Mike Jolley 67d899da3a Restore __Get and move template debug mode to template functions 2014-11-26 00:03:00 +00:00
Mike Jolley 0d4d6fdcaf WC class cleanup 2014-11-26 00:03:00 +00:00
Mike Jolley 1c88e35c45 Remove deprecated 2.1 methods from WC class.
@claudiosmweb  :)
2014-11-25 17:35:48 +00:00
Mike Jolley dd53f8e730 Move widget registration to own function/file - avoid register_widget in class files 2014-11-20 20:56:24 +00:00
Mike Jolley 6750e47e0c Naming inconsistency 2014-11-19 22:53:05 +00:00
Mike Jolley 856154b574 Method for defining constants (once) 2014-11-19 22:50:13 +00:00
Mike Jolley fe6796cf30 pointless else clause 2014-11-19 22:42:03 +00:00
Mike Jolley d3dc8be3ec Undo commit which autoloaded widgets
Since they are loaded every time with core, it doesn’t make sense to
autoload them.
2014-11-19 18:08:38 +00:00
Mike Jolley 207e7d899a load_plugin_textdomain - WP_LANG_DIR does not have trailing slash 2014-11-19 18:08:38 +00:00
Nicola Mustone 011bb0a784 Added cancelled order admin email 2014-10-29 15:05:43 +01:00
Mike Jolley d53d61dc03 Split setup_environment() 2014-10-27 15:00:14 +00:00
Kathy Darling 1320f7421b add filter for woocommerce_email_actions 2014-10-21 11:52:07 +02:00
scottdurban f7a23bf127 Add 'woocommerce_order_status_on-hold_to_processing', to $email_actions
This addition would stop users from editing the core, as there is currently no eloquent way to edit the $email_actions array. Especially useful for creating email notifications for confirming payment (BACS).
2014-10-15 16:21:46 +02:00
Barry Kooij 1af26ce928 Moved the wc-logs folder to the WP uploads folder.
Fixes #6509
2014-10-14 14:29:56 +02:00
Mike Jolley 1ed7079472 Bump master version to 2.3-bleeding 2014-10-08 15:07:12 +01:00
Mike Jolley d1de7f42b9 Made template debug mode set WC_TEMPLATE_DEBUG_MODE constant and remove all overrides for all template loading functions.
Closes #6436
2014-10-03 10:52:11 +01:00
Mike Jolley b8bcb5ee6e Removed deprecated methods from WC_Frontend_Scripts and rewrote script registration and localization to run once.
Closes #6338
2014-09-24 10:57:39 +01:00
Mike Jolley 40d73e48d2 Tweak load_plugin_textdomain to be relative - this falls back to WP_LANG_DIR automatically. Can prevent "open_basedir restriction in effect".
@claudiosmweb agree? Load_plugin_textdomain needs a relative path. If
the locale isn’t found, it reverts to WP_LANG_DIR/plugins/ as you coded
it.
2014-09-19 10:29:19 +01:00
Mike Jolley e28cb2bb18 Version bump 2014-09-18 13:39:02 +01:00
Mike Jolley affb65cfa8 2.2.3 version bump 2014-09-16 13:27:12 +01:00
claudiosmweb b04786b18e fixed WC_LOG_DIR path 2014-09-10 19:59:56 -03:00
Mike Jolley 3a4ba6e4c8 For regular products, ensure stock level saves on product creation. 2014-09-10 23:55:40 +01:00
claudiosmweb 17f0168e8b fixed the "open_basedir restriction in effect" error caused by WC_LOG_DIR 2014-09-10 19:36:57 -03:00
Mike Jolley 87c641bcd7 Stop old plugins breaking installer read me
= 2.2.1 - 10/09/2014 =
* Fix - Small tweak to the installer to prevent errors caused by
outdated plugins.
* Tweak - Small tweak to update notification to remind users to update
old plugins prior to install.
2014-09-10 17:42:17 +01:00
Barry Kooij 9d3bcfd8d2 Removing RC1 from version. 2014-09-10 15:37:17 +02:00
Mike Jolley a187d29242 Update support links and read me versions/text 2014-09-08 16:19:25 +01:00
Mike Jolley 177dc3bb51 Tested upto 2014-09-08 12:18:15 +01:00
Mike Jolley c4ef86d44e scrutinizer patches 2014-09-08 00:37:55 +01:00
Mike Jolley 1d13f767b3 Merge pull request #6157 from tamarazuk/coding-standards
Coding standards Part 1
2014-09-03 17:05:42 +01:00
claudiosmweb 54aa162fb4 renamed the simplify "subscriptions" class to "addons" 2014-09-02 10:21:42 -03:00
Tamara Zuk 59424e5fcf Coding Standards: Main plugin file
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 01:41:40 -04:00
shivapoudel a5fdf5aa76 Moved the action_links from final class to WC_INSTALL class 2014-08-29 23:19:01 +05:45
shivapoudel 5151e15da0 WC_PLUGIN_BASENAME Constant define 2014-08-29 23:11:39 +05:45
shivapoudel dad2796b02 Added the use of home_url() 2014-08-28 02:09:45 +05:45
Mike Jolley 7a267d2e31 Simplify Commerce by Mastercard gateway 2014-08-15 11:50:53 +01:00
Alexandru Furculita b5cc17ff1c Update woocommerce.php 2014-08-01 13:49:07 +03:00
Alexandru Furculita bec27af7d2 Update woocommerce.php 2014-08-01 13:43:39 +03:00
Mike Jolley 81d882d34a Include template functions after the theme is loaded, but before init.
Fixes conflicts with plugins (#5884) when they output content before
init.

2.2 has no fatal error as reported in #5884
2014-07-31 07:47:55 +01:00