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
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
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
Claudiu Lodromanean
07351d5e11
Merge pull request #21288 from woocommerce/update/humanize-emails
...
Humanize emails
2018-09-12 07:51:07 -07:00
Claudiu Lodromanean
bf88491660
Update readme.txt
2018-09-12 07:50:59 -07:00
Edi Amin
4725bb3e72
Ignore converting float meta value for registered post meta
2018-09-12 20:39:24 +06:00
Gerhard Potgieter
0dd12e0d05
Merge pull request #21243 from woocommerce/update/20991
...
Send emails for cancelled_to_* orders
2018-09-12 12:49:51 +02:00
Gerhard Potgieter
55b188ad8f
Merge pull request #21111 from woocommerce/fix/structured-data-breadcrumbs
...
Include URL for the last element in breadcrumb list
2018-09-12 12:45:23 +02:00
Gerhard Potgieter
5f7b833844
Add missing # before order numbers and escape properly
2018-09-12 12:24:27 +02:00
Gerhard Potgieter
d7cb15c8f8
Update email copy based on https://github.com/woocommerce/woocommerce/pull/21288#issuecomment-420251277
2018-09-12 11:30:53 +02:00
Gerhard Potgieter
43e4ef85e0
Use is_checkout conditional instead of is_page for the wc-checkout js paramaters.
2018-09-12 08:38:54 +02:00
Claudio Sanches
ac47cd6394
Test if coupon is invalid
2018-09-11 18:31:02 -03:00
Claudio Sanches
bfdd758bd4
Improve coupons logic and throw errors for invalid coupons
2018-09-11 18:26:32 -03:00
Claudio Sanches
0d49421239
Fixed coding standards
2018-09-11 18:11:31 -03:00
Claudio Sanches
d4b1089150
Fixed unit tests
2018-09-11 18:11:11 -03:00
Claudio Sanches
8d9da1cb94
Created method to apply and remove coupons
2018-09-11 18:10:58 -03:00
Claudio Sanches
fda3f6890c
Fixed allow to remove coupons when using line item ID.
2018-09-11 17:18:59 -03:00
Claudiu Lodromanean
92c5c4e54e
Merge pull request #21326 from woocommerce/fix/rest-api-settings-schema
...
[REST API] Updated Settings schema since now we allow batch update
2018-09-11 13:16:36 -07:00
Claudiu Lodromanean
6667b7413f
Merge pull request #21325 from woocommerce/fix/rest-api-order-notes-schema
...
[REST API] Fixed order notes schema
2018-09-11 13:12:39 -07:00
Claudio Sanches
2b7e5121f2
[REST API] Allow apply and remove coupons in orders endpoint
...
Closes #21119
2018-09-11 16:53:55 -03:00
Claudio Sanches
ccd1e1ced6
Fixed coding standards
2018-09-11 16:53:41 -03:00