Commit Graph

7296 Commits

Author SHA1 Message Date
Mike Jolley 9cf0758d3f Add logging and notices 2016-05-11 14:22:31 +01:00
Mike Jolley 44bca2633e Notice HTML 2016-05-11 14:22:21 +01:00
Mike Jolley bba4bab8e1 Save notices during shutdown 2016-05-11 14:22:06 +01:00
Mike Jolley 511e8c3146 Handle updates in install class 2016-05-11 12:44:23 +01:00
Mike Jolley 67fa79b1a4 Move updaters to functions 2016-05-11 12:44:12 +01:00
Mike Jolley f896d7a040 Background updater class 2016-05-11 12:44:00 +01:00
Mike Jolley 8e0d7d7bb7 Include libs for background processing 2016-05-11 12:43:54 +01:00
Mike Jolley a8bd4bc6e1 Updating/updated notices 2016-05-11 12:43:35 +01:00
Mike Jolley 8ba2da9820 Store instance ID transitions to option and fire action
Closes #10883 @franticpsyx
2016-05-11 11:30:10 +01:00
Mike Jolley cd01218ee9 this is a legacy update 2016-05-11 11:10:25 +01:00
Mike Jolley 63675c87dc Merge pull request #10891 from woothemes/add/shipping-zone-method-hooks
Add action hooks for shipping zone method actions
2016-05-11 11:07:40 +01:00
Mike Jolley d3b450139b Merge branch 'pr/10893' 2016-05-11 10:58:09 +01:00
Mike Jolley 96cb47e037 escape 2016-05-11 10:58:04 +01:00
Mike Jolley e54a0479fa Merge branch 'pr/10895' 2016-05-11 10:55:38 +01:00
Mike Jolley a0b792625d Adjust action args 2016-05-11 10:55:33 +01:00
Caleb Burks 2fd455769d Make customer download links available for admins 2016-05-10 23:52:18 -05:00
Claudio Sanches cae8056172 [REST API] Fixed a conflict with authentication and our old API
This make authentication avaiable only on the WP REST API for the wc/v1
namespace.

Closes #10890
2016-05-10 18:27:28 -03:00
Joey Kudish 7f71376418 add action hooks for shipping zone method actions
Adds action hooks for shipping zone methods added, deleted and status
toggled
2016-05-10 11:43:47 -07:00
Mike Jolley e552c3c916 Remove filter to hide variations with no prices in get_children()
#10854
2016-05-10 18:23:16 +01:00
Mike Jolley bc3b9a04b7 Do not add field names when tokenizing 2016-05-10 18:23:16 +01:00
Claudio Sanches 5d47875eed [REST API] Allow save post_name/slug for products in v3
Closes #10888
2016-05-10 13:46:53 -03:00
Claudio Sanches ad94a25e5e Merge branch 'master' of github.com:woothemes/woocommerce 2016-05-10 13:41:28 -03:00
Claudio Sanches d7e874324a [REST API] Fixed some schema contexts 2016-05-10 13:41:15 -03:00
Mike Jolley d8620c1504 Merge pull request #10889 from ryross/master
Fixing typo in comment
2016-05-10 17:31:02 +01:00
Claudio Sanches eaa0e6884c Merge pull request #10771 from danielhuesken/master
WooCommerce API: Add sort order fields for product attributes and categories
2016-05-10 13:28:56 -03:00
Claudio Sanches 26fd51ac79 [REST API] Stop load legacy API classes into the WP REST API, closes #10887 2016-05-10 13:26:39 -03:00
Ryder Ross 9a9dd7faf4 Fixing typo in comment 2016-05-10 09:17:28 -07:00
Claudio Sanches 7b3ff6fcf9 Merge pull request #10886 from shoheitanaka/patch-5
Japanese post code validation
2016-05-10 13:09:59 -03:00
Mike Jolley 0927cbee8d Tweaks saved card markup and styling to improve CC form. 2016-05-10 15:43:39 +01:00
Steve 2da25a7708 Update class-wc-admin-attributes.php 2016-05-10 13:13:30 +12:00
Steve ff03ca81ac Add 'woocommerce_before_attribute_delete' action
Adding an action so 3rd party plugin developers can prevent attributes essential for plugin functionality from being deleted while their plugin is active.
2016-05-10 13:11:53 +12:00
Shohei Tanaka 4c45e995d7 Fix again
Fix again, sorry.
2016-05-10 10:05:09 +09:00
Shohei Tanaka e9c8b8b526 Error fixed
Fixed it.
2016-05-10 08:46:38 +09:00
Shohei Tanaka 2d5d7d1494 Japanese post code validation
Set Japanese post code validation.
Please check following site.
https://en.wikipedia.org/wiki/Postal_codes_in_Japan
2016-05-10 07:33:47 +09:00
Claudio Sanches 857471843a Merge pull request #10874 from allendav/master
Add filtering for system status page tabs and actions too
2016-05-09 18:37:32 -03:00
Claudio Sanches 0918a6b6bc Fixed batch errors response 2016-05-09 18:21:36 -03:00
Claudio Sanches 068b77cc43 Created WC_REST_Controller to allow batch create, update and delete items 2016-05-09 18:16:48 -03:00
Allen Snook 98a15d52d7 Changed action name to avoid potential filter collision 2016-05-09 13:42:27 -07:00
Claudio Sanches 17ccd60365 Merge pull request #10880 from shivapoudel/backbone-modal
Tweak - Use of single backbone modal script for shipping and order panel
2016-05-09 17:11:53 -03:00
Mike Jolley 7a723a8263 woocommerce_payment_token_set_default action 2016-05-09 18:05:34 +01:00
Mike Jolley 167df8acce Tokens: Get cards on any screen 2016-05-09 17:36:40 +01:00
Mike Jolley 3db3f3796e Clear item meta cache when adding new meta 2016-05-09 10:01:15 +01:00
Shiva Poudel 4c7a78ab31 Tweak - Use of single backbone modal script for shipping and order panel 2016-05-08 21:34:05 +05:45
Allen Snook 920f2a7809 Check against tabs list before considering action 2016-05-06 11:38:10 -07:00
Allen Snook 58a04a1922 Add filtering for system status page tabs and actions too 2016-05-06 11:27:56 -07:00
Mike Jolley 15402c2c3d Store separate cache per package_key
Fixes #10872
2016-05-06 17:00:01 +01:00
Harald Rosberg 84887409a0 added a filter to make it possible to override if an attribute is variation by default, #10869 2016-05-06 13:22:32 +02:00
Claudio Sanches 02b74fc474 Keep consistent 2016-05-05 13:58:28 -03:00
Claudio Sanches 1a1c336468 [REST API] Check if tax exists before try to update
@mikejolley
2016-05-05 13:56:32 -03:00
Claudio Sanches 8fa6733a04 [REST API] Fixed missing variable 2016-05-05 13:34:28 -03:00
Claudio Sanches af443ba831 [REST API] Fixed coding standards and docblocks in taxes controller
@mikejolley
2016-05-05 12:28:53 -03:00
Mike Jolley edbb03a5d8 Only exclude variations with no price if filter is set
Closes #10854
2016-05-05 16:05:40 +01:00
Mike Jolley ebf487f6c8 Fix key names 2016-05-05 13:44:48 +01:00
Mike Jolley cb6f6e2adf Filter out empty requests 2016-05-05 12:43:52 +01:00
Mike Jolley 407421ef22 Taxes bulk endpoint naming and handling
@claudiosmweb Added helper for create or update (handles both cases)
and renamed endpoint to update_items.
2016-05-05 11:19:35 +01:00
Mike Jolley 44b0059a06 Order by downloads remaining when getting permission so orders with same products over multiple lines links work 2016-05-05 09:28:36 +01:00
Claudio Sanches 65e7737956 Ignore trunk when showing update notice 2016-05-04 17:42:53 -03:00
Claudio Sanches ebd4614b5d [REST API] Less conditional code for bulk taxes 2016-05-04 17:19:09 -03:00
Claudio Sanches ad0743efa5 [REST API] Added method to bulk update or create items 2016-05-04 17:14:23 -03:00
Mike Jolley b39ec6b2d6 Fix undo on storefront
Closes #10816
2016-05-03 17:03:46 +01:00
Mike Jolley fce8dc0868 Ensure alt text is set for product attachments
@claudiosmweb Fixes #10822
2016-05-03 16:41:51 +01:00
Mike Jolley 0782b869f5 Remove double filter on meta_key label
Fixes #10845
2016-05-03 16:01:16 +01:00
Mike Jolley fd001669fe woocommerce_email_order_items_args filter
Closes #10812
2016-05-03 15:40:34 +01:00
Mike Jolley 85faaf8b77 Remove old permissions when generating new download permissions
Closes #10839
2016-05-03 15:22:49 +01:00
Mike Jolley e5bbd9c092 Check wc_get_shipping_zone does not exist
Closes #10843
2016-05-03 15:16:20 +01:00
Mike Jolley f5e9875548 Allows stock status to be considered for availability and stock status on frontend.
Refactors code which make it so stock status was actually ignored if on
backorder. Fixes #10834

@claudiosmweb
2016-05-03 15:10:31 +01:00
Mike Jolley c6975fa7d5 Merge branch 'pr/10750' 2016-05-03 12:01:09 +01:00
Mike Jolley a0faffec85 Lang tweak 2016-05-03 12:01:03 +01:00
Mike Jolley f35d874ede Merge pull request #10838 from woothemes/issues/10837/fix-data-updater
Fixed fatal error caused by wrong class name to instantiate.
2016-05-03 11:55:18 +01:00
Mike Jolley dea212b883 wc_round_tax_total filter 2016-05-03 11:34:27 +01:00
Akeda Bagus 098bc57947 Fixed fatal error caused by wrong class name to instantiate.
Class WC_Shipping_International_Delivery got renamed to
WC_Shipping_Legacy_International_Delivery per 119f19a.

Fixes #10837.
2016-05-02 23:32:38 +07:00
Mike Jolley ad3f9d0754 Show payment date on order screen
Closes #10828
2016-05-02 12:02:07 +01:00
Mike Jolley e53704431d Don't use abstract
Fixes #10815
2016-04-29 15:28:09 +01:00
Mike Jolley 6a4a6d8471 Fix refund shipping 2016-04-29 11:44:28 +01:00
Claudio Sanches 552b40ad02 [REST API] Defined coupons default values 2016-04-28 18:38:35 -03:00
Claudio Sanches c061d93d87 Added X-WC-Webhook-Source header in webhooks 2016-04-28 14:45:13 -03:00
Claudio Sanches e7a632d489 Rename wc_sanitize_postcode() to wc_normalize_postcode()
cc @mikejolley
2016-04-28 13:51:43 -03:00
Matheus Lopes f0c26b7439 Refatoring main code 2016-04-28 13:37:30 -03:00
Claudio Sanches 84f91cad76 Merge branch 'master' of github.com:woothemes/woocommerce 2016-04-28 13:24:36 -03:00
Claudio Sanches 3fc2c82aaf [API] Fixed variations backorders 2016-04-28 13:24:20 -03:00
Lee Willis e5b4932495 Fix typo 2016-04-28 13:35:11 +01:00
Mike Jolley 43af207558 Output buffering and redirects after turning off legacy
Closes #10806
2016-04-28 12:36:51 +01:00
Claudio Sanches fb62b9d511 Removed woocommerce_sanitize_postcode filter 2016-04-27 20:59:48 -03:00
Claudio Sanches 83c470987f Sanitize postcodes before comparisons, closes #10808 2016-04-27 20:43:48 -03:00
Claudio Sanches 9a4dae158f Introduces woocommerce_format_postcode filter 2016-04-27 19:20:24 -03:00
Claudio Sanches 133c904d1a Remove product SKU if is not unique while untrashing products, closes #10807 2016-04-27 16:06:32 -03:00
Mike Jolley d6a085b5ae Improve lost password flow
@claudiosmweb Fixes #10785

Add confirmation and explanation after initial reset.

Also splits template files into lost password, reset password, and
confirmation for clarity.
2016-04-27 16:00:30 +01:00
Mike Jolley 020b8c92c6 Fix URLs with quot; characters
Fixes #10795
2016-04-27 15:24:10 +01:00
Mike Jolley e21313a237 Check for is_mysql
Closes #10793
2016-04-27 12:03:52 +01:00
Fredrik Forsmo 398ab8a016 Add `public` keyword to public various methods 2016-04-26 19:26:56 +02:00
Fredrik Forsmo 81bc211c57 Add `public` keyword to public email methods 2016-04-26 18:26:58 +02:00
Manos Psychogyiopoulos a203c34474 fix undefined package notice in legacy flat rate method 2016-04-26 16:21:42 +03:00
Matheus Lopes 71a46df6b0 Editing titles 2016-04-25 13:51:40 -03:00
Mike Jolley 2b1442c3f0 Added get_rate_id() method for consistent rate nams 2016-04-25 17:06:38 +01:00
Mike Jolley 693a5ab34a Missing script dependencies 2016-04-25 14:40:08 +01:00
Mike Jolley 9aace06536 Cheques for 'murica
Closes #10779
2016-04-25 14:25:39 +01:00
Mike Jolley 6f42514afb Pass false for product in attribute label filter
Closes #10773
2016-04-25 14:11:07 +01:00
Mike Jolley 87dc31ffac Force name to be set
Closes #10782
2016-04-25 13:25:15 +01:00
Mike Jolley 4468d34548 Show invoice email in dropdown 2016-04-25 13:22:31 +01:00
Mike Jolley 29c6acf767 Used positional placeholders in strings where the order of strings may require modification in the locale.
Closes #10775
2016-04-25 13:07:41 +01:00