Commit Graph

28670 Commits

Author SHA1 Message Date
Claudiu Lodromanean 6e8f995426
Merge pull request #21424 from thenbrent/update_action_scheduler
Update Action Scheduler to v2.1.0
2018-09-25 10:58:24 -07:00
Claudiu Lodromanean d7090929e2
Merge pull request #21434 from woocommerce/update/template-versions
Template version updates
2018-09-25 10:53:17 -07:00
Gerhard Potgieter e92256309e Update template version number for template changes in efe06cb147 2018-09-25 12:09:01 +02:00
Claudiu Lodromanean b424213554
Merge pull request #21416 from pierrebuet/master
Show the right size of placeholder image on single product page
2018-09-24 13:03:20 -07:00
pierrebuet 4bed2ddeea Correct spaces 2018-09-24 21:45:55 +02:00
Claudiu Lodromanean 3c6ce3ffcb
Merge pull request #21409 from woocommerce/update/obw-disable-payment-email-when-opted-out
OBW: Disable (not hide) payment email input when opted out
2018-09-24 11:31:01 -07:00
Claudiu Lodromanean 2008b8e2b2
Merge pull request #21384 from woocommerce/fix/rest-api-order-statuses
[REST API] Updated order statuses slugs
2018-09-24 11:28:56 -07:00
Claudiu Lodromanean e597e16e33
Merge pull request #21346 from Spreeuw/patch-6
Fixes #21345
2018-09-24 11:28:01 -07:00
Brent Shepherd 6eddeaec50 PHPCS fixes 2018-09-24 11:43:46 +10:00
Claudiu Lodromanean 60fafd821d
Merge pull request #21414 from woocommerce/update/obw-shipstation-plugin-slug
OBW: update to official ShipStation plugin slug.
2018-09-21 13:06:24 -07:00
pierrebuet db3270a390 Show the right size of placeholder image on single product page
in the template for the product image, wc_placeholder_img_src() returns the thumbnail size of the image.
In order to use 'woocommerce_single' as size, the function needs to be corrected, so the function use the size and not a calculated array of sizes.  wc_get_image_size doesn't return an height for the woocommerce_single size. Further and since the image sizes are declared, there is no need to translate the size to an array.
2018-09-21 19:33:04 +02:00
Jeff Stieler 5fbbd38728 OBW: update to official ShipStation plugin slug. 2018-09-21 10:48:10 -06:00
Paul Dechov 5eea29eb31 OBW: Disable (not hide) payment email input when opted-out 2018-09-20 16:48:43 -04:00
Claudio Sanches 13b265a076 Fixed unit tests 2018-09-20 17:48:31 -03:00
Gerhard Potgieter 0566708744
Merge pull request #21400 from wayheming/master
New function hooked
2018-09-20 14:55:57 +02:00
unknown f4c418fa72 New function hooked 2018-09-20 09:23:42 +03:00
Brent Shepherd 0c27837b2b Add cancel_all() to WC_Queue_Interface
And the WC_Action_Queue implementation of WC_Queue_Interface.

This avoids ambiguity between the behaviour of cancel(), which can
be confusing given it technically unschedules all actions for cron
or recurring actions, but only the next instance of a single action.
2018-09-20 15:42:24 +10:00
Brent Shepherd 32d3de3aa8 Use new as_ prefixed Action Scheduler functions 2018-09-20 15:39:56 +10:00
Brent Shepherd e45824a8c3 Update Action Scheduler to v2.1.0
Merge commit '3c610aec4ad1ebef9de8df1f4dae0097fcbf8469'
2018-09-20 12:16:26 +10:00
Brent Shepherd 3c610aec4a Squashed 'includes/libraries/action-scheduler/' changes from bd0277d..963b006
73e9082 Merge pull request #196 from Prospress/version_2_1_0
d9d2a29 Merge pull request #202 from Prospress/issue_179_redux
b876d8c Convert DateTime to ActionScheduler_DateTime
3f90172 Use ActionScheduler_DateTime objects rather than DateTime
5843134 Add test for a DateTime object
b095094 Merge pull request #201 from Prospress/as_unschedule_all_actions
70e76ab Improve unit tests for as_unschedule_action()
c934f4f Add as_unschedule_all_actions()
d693b02 Return a value from as_unschedule_action()
fb7c07f Update docblock on as_unschedule_action()
aef2fce Remove test_local_timezone_offsets_utc()
2d35840 Deprecate get_local_timezone() APIs
3512ad9 Add TimezoneHelper::set_local_timezone()
5024f5c Add TimezoneHelper::get_local_timezone_string()
8e8bffb Add TimezoneHelper::get_local_timezone_offset()
a73ccfe Merge pull request #152 from Prospress/handle_bad_args
f539880 Add more helper methods to ActionScheduler_DateTime class
7485262 Include last-ditch attempt to find correct timezone mapping
c3fb3e5 Update timezone string check
b452722 Add Timezone unit tests
a6dd57d Handle args that cannot be decoded properly
d940ec5 Create Exception interface and InvalidAction exception
959c951 Merge pull request #198 from Prospress/docs_followup
3619fab Fix typos and minor wording tweaks
682bd47 Merge pull request #197 from Prospress/install_docs
09ecfd1 Add Usage docs
3ee8fed Update version to 2.1.0
e8d9073 Merge pull request #194 from Prospress/issue_193
bf377e1 Fix calls to remove_action()
29f5901 Merge pull request #191 from Prospress/issue_176
2ca3735 Merge pull request #192 from Prospress/issue_184
f48341e Only process pending actions
b509c89 Add Compatibility::raise_memory_limit()
53ee32c Restore batch processing loop
b0347fe Add memory APIs to Abstract_QueueRunner
324e734 Improve ActionScheduler_Logger abstraction
be43437 Add Compatibility::convert_hr_to_bytes()
0b33c26 Merge pull request #190 from Prospress/issue_189
00b1d06 Use var_export() for admin list table args column
84ba9b3 Move timing methods to Abstract_QueueRunner
7a93e55 Merge pull request #187 from Prospress/issue_185
e9c3e01 Add ActionScheduler_wpPostStore::validate_action
8dcc262 Merge pull request #186 from Prospress/remove_composer_version
439a1c3 Remove the version from composer.json
2c3c555 Merge pull request #183 from Prospress/issue_182
a57830d Use sanitize_text_field() instead of wc_clean()
354e74c Merge pull request #181 from Prospress/change_function_prefix
93b4ded Use as_ prefix not wc_ prefix for public APIs
350f3ac Merge pull request #177 from Prospress/mention_dependencies_in_readme
850e4d5 Add cautionary note on action dependencies
771e34c Minor readme tweaks

git-subtree-dir: includes/libraries/action-scheduler
git-subtree-split: 963b00614af83a047724f48bea7d4ee787b48d5b
2018-09-20 12:16:26 +10:00
Claudiu Lodromanean 3d2b0ab72b
Merge pull request #21333 from ediamin/conditional_check_for_float_type_product_meta
Ignore converting float meta value for registered post meta
2018-09-19 09:42:06 -07:00
Claudiu Lodromanean 9fe91bd2a1
Merge pull request #21247 from nikhilbarar/21214
Fix for 21214 - Regions text field not in line.
2018-09-19 08:44:49 -07:00
Claudiu Lodromanean 9df1ded20f
Merge pull request #21353 from ediamin/fix/cron_interval_property_in_WP_Background_Process
Fix cron_interval property support in WP_Background_Process
2018-09-19 08:04:21 -07:00
Claudiu Lodromanean 2dad30c151
Merge pull request #21381 from woocommerce/fix/21264
Should check AND NOT IN array
2018-09-19 07:43:53 -07:00
Claudiu Lodromanean f70abd06b0
Merge pull request #21386 from woocommerce/fix/rest-api-reports-typo
[REST API] Fixed typo in reports results
2018-09-19 07:41:02 -07:00
Claudio Sanches 4ce8544478 [REST API] Fixed reports results 2018-09-18 12:14:17 -03:00
Claudio Sanches bd7a73696a [REST API] Updated order statuses slugs
All REST API does not include "wc-" prefix, removing here makes easy to
work with all endpoint without care about any prefix.
2018-09-18 11:27:26 -03:00
Claudio Sanches 48a0045373 [REST API] Fixed endpoints registered in /reports 2018-09-18 11:23:35 -03:00
Gerhard Potgieter 9849228442 Logical not bitwise operator 2018-09-18 15:11:26 +02:00
Trafikbyran b27980dae7 Update wc-template-functions.php
it's supposed to check if it isn't (&!) in the array of taxonomies that are stated on the following rows not if it is (&&)... before rows 623 to 630 did nothing..
one could argue that it should be possible to set the taxonomies in the array it checks "( 'product_cat', 'product_tag' )" in the filter but i haven't thought that through
2018-09-18 15:10:50 +02:00
Gerhard Potgieter 2f9ca949f7
Merge pull request #21336 from woocommerce/fix/21335
Triggering woocommerce_order_edit_status on single order status edit.
2018-09-18 12:43:33 +02:00
Claudiu Lodromanean 54401eac5d
Merge pull request #21373 from woocommerce/fix/21360
Shipping totals should show even if calculator is disabled.
2018-09-17 13:42:41 -07:00
Gerhard Potgieter e69900a4d6 Shipping totals should show even if calculator is disabled. 2018-09-17 13:43:32 +02:00
Nikhil Barar efe110c19b 21214 - Adding padding for better alignment of selected options.. 2018-09-15 00:21:54 +05:30
Claudiu Lodromanean ea9aa8cd59
Merge pull request #21344 from Chouby/fix_testcase
setUpBeforeClass must always call its parent
2018-09-14 10:53:04 -07:00
Claudiu Lodromanean daa36434fd
Merge pull request #21355 from woocommerce/fix/21334
Sanitize endpoints before saving
2018-09-14 10:44:33 -07:00
Gerhard Potgieter 9a15f422c3 Add unit test for wc_sanitize_endpoint_slug 2018-09-14 09:42:19 +02:00
Gerhard Potgieter c22c92b838 Introduce wc_sanitize_endpoint_slug and run all endpoint sanitization before saving through it to ensure that only valid slugs can be used for endpoints. 2018-09-14 09:35:49 +02:00
Gerhard Potgieter ed06fc5d01 Revert "Do not use camel case for password reset request subject and heading"
This reverts commit bd7f1a6a4d.
2018-09-14 09:23:06 +02:00
Gerhard Potgieter bd7f1a6a4d Do not use camel case for password reset request subject and heading 2018-09-14 09:15:23 +02:00
Edi Amin f1f03928f9 Fix cron_interval property support in WP_Background_Process 2018-09-14 09:29:48 +06:00
Ewout Fernhout 9c411dc532
Fixes #21345 2018-09-13 15:23:00 +02:00
Frédéric Demarle 620008d46a setUpBeforeClass must always call its parent 2018-09-13 13:35:22 +02:00
Chris Shultz 2506ff250b Triggering woocommerce_order_edit_status on single order status edit. 2018-09-12 10:07:02 -07:00
claudiulodro 8fd34983a5 Recompile assets 2018-09-12 08:28:32 -07:00
claudiulodro b53f706c15 Update versions 2018-09-12 08:20:31 -07:00
Claudiu Lodromanean fb41362931
Beta changelog
Rolling 3.5 readme
2018-09-12 08:05:56 -07:00
Claudiu Lodromanean 7b1344e567
Merge pull request #21327 from woocommerce/feature/21119
[REST API] Allow apply and remove coupons in orders endpoint
2018-09-12 08:04:00 -07:00
Claudiu Lodromanean c3170b423b
Merge pull request #21328 from woocommerce/fix/21321
wc-checkout js params use is_checkout
2018-09-12 07:53:32 -07:00
Claudiu Lodromanean 28d8eec341
Update readme.txt 2018-09-12 07:52:52 -07:00