Commit Graph

29228 Commits

Author SHA1 Message Date
Claudio Sanches 13b265a076 Fixed unit tests 2018-09-20 17:48:31 -03:00
claudiulodro fdef6b4c73 Dont modify attributes orderby when ordering by name 2018-09-20 12:32:06 -07:00
claudiulodro d7afce5f4c Update routine to set reviews comment type 2018-09-20 09:28:39 -07:00
claudiulodro 67d80c35d8 Update cache key to consistently work with all types of chars 2018-09-20 08:21:39 -07: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
claudiulodro 178f98ff65 Fix attribute saving 2018-09-19 11:35:46 -07: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 fcff81f3b3
Update readme.txt 2018-09-19 09:42:00 -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 beaa86cb03
Update readme.txt 2018-09-19 08:44:30 -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 81c44bc6b6
Update readme.txt 2018-09-19 08:04:17 -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
Dominik Krebs 64399b65b9 fixes an issue with additional payment select fields having 'disabled selected' 2018-09-19 13:35:00 +02: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
Birgir E 62e3418267 init 2018-09-16 12:09:50 +00: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
Claudiu Lodromanean e941579f8b
Update readme.txt 2018-09-14 10:44:28 -07:00
Claudiu Lodromanean d4881c7f98
Update readme.txt 2018-09-14 10:07:48 -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
claudiulodro 61523a76b5 Begin new readme PR 2018-09-12 10:36:20 -07: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