Commit Graph

23406 Commits

Author SHA1 Message Date
Claudio Sanches 0c6392eeef Display error message when it's impossible to get a sample of the file.
When the file is empty or using an incorrect charset will display just an empty screen, since we output errors before check if the file is valid.

I included the error output inside the mapping step in order to fix this issue, and added a new option to display buttons after the error  message.

Closes #16928
2017-09-26 17:48:37 -03:00
Claudio Sanches a792ee2676 Merge pull request #16948 from woocommerce/improve/16941
Make parse_date_for_wp_query public
2017-09-26 16:11:25 -03:00
claudiulodro 3723b95d7e Make parse_date_for_wp_query public 2017-09-26 12:03:11 -07:00
Claudio Sanches 0eee99a508 Merge pull request #16945 from woocommerce/fix/16932
Save order paid date as GMT+0
2017-09-26 15:46:31 -03:00
Claudiu Lodromanean 64d7c6b1bc Merge pull request #16944 from woocommerce/fix/16937
Handle full refunds in tax report by date
2017-09-26 11:29:38 -07:00
Claudiu Lodromanean 8d27180c02 Merge pull request #16943 from woocommerce/fix/16933
[REST API] Return empty result when there is no on_sale products
2017-09-26 11:07:25 -07:00
Claudio Sanches 4887f7c5be Save order paid date as GMT+0
All dates should be saved as GMT+0 in order to make `WC_DateTime` work
correct.

Fixes #16932
2017-09-26 14:58:35 -03:00
Mike Jolley 120a39efd5 Handle full refunds in tax report by date
Fixes #16937
2017-09-26 18:27:53 +01:00
Claudio Sanches ab1b100a36 [REST API] Return empty result when there is no on_sale products
This forces return an empty array as result when using `on_sale=true`.

By default `WP_Query` will return all results when `post__in` is equal
to `array()`, so changing to `array( 0 )` will force the expected
behavior.

Closes #16933
2017-09-26 14:02:33 -03:00
Mike Jolley a9c5640dee Merge pull request #16942 from woocommerce/fix/16936
Fixed WC_Emails::wrap_message hooks
2017-09-26 17:48:54 +01:00
Claudio Sanches 2dd5288659 Fixed WC_Emails::wrap_message hooks
Included `null` instead of instances of `WC_Email`, fixing fatal error
for extensions that expects all params from both hooks.

Closes #16936
2017-09-26 13:27:50 -03:00
Mike Jolley 500ff22270 external_code_coverage time out 2017-09-26 17:17:16 +01:00
Mike Jolley 1b8a955353 tweak travis script 2017-09-26 16:27:27 +01:00
Mike Jolley 30e4e1b7bf Update README.md 2017-09-26 15:43:47 +01:00
Mike Jolley 39ce4875fa external_code_coverage 2017-09-26 15:38:22 +01:00
Mike Jolley bf82c769e7 scrutinizer 2017-09-26 15:21:05 +01:00
Claudio Sanches 966dd0d3be Merge pull request #16939 from woocommerce/update/16909
Added screen reader text to quantity input template
2017-09-26 10:40:23 -03:00
Mike Jolley c59b122299 Merge pull request #16929 from woocommerce/fix/16802
Load up gateways on ajax order status transitions
2017-09-26 14:39:31 +01:00
Mike Jolley 49b3e7da78 Gen coverage only on latest stable 2017-09-26 14:38:50 +01:00
Mike Jolley e81f5e5d88 whitelist 2017-09-26 14:24:49 +01:00
Mike Jolley 212449f391 Only generate coverage on 7.x 2017-09-26 14:09:27 +01:00
Mike Jolley 66f253e4a3 phpunit tweak 2017-09-26 13:29:13 +01:00
Mike Jolley be014346f1 Travis 2017-09-26 13:24:11 +01:00
Mike Jolley 80748089c4 Travis 2017-09-26 13:18:56 +01:00
Mike Jolley a028bcaec3 Codecov config 2017-09-26 12:59:15 +01:00
Mike Jolley 9c327f09db Sale logic only applies to simple products - fixes tests 2017-09-26 12:53:38 +01:00
Mike Jolley 919643af56 Allow report to select 1D into the future to workaround timezone issues.
Closes #16935
2017-09-26 12:29:25 +01:00
Mike Jolley 3a17d48af2 Added screen reader text to quantity input template
Closes #16909
2017-09-26 12:05:09 +01:00
Mike Jolley 00ae606381 Merge pull request #16924 from woocommerce/fix/wistia
Replace wistia videos with youtube
2017-09-26 11:32:45 +01:00
claudiulodro a74ccdb4d1 https the oembed url 2017-09-25 14:48:05 -07:00
claudiulodro 4f5356160b Dont load gateways unless we really need them 2017-09-25 14:37:13 -07:00
claudiulodro c889908ac8 Load up gateways on ajax order status transitions 2017-09-25 14:34:43 -07:00
Claudiu Lodromanean 5427d0993b Merge pull request #16927 from woocommerce/fix/16843
Removed new translatable string introduced in #16843
2017-09-25 10:43:18 -07:00
Claudio Sanches b68b4eeb6b Fixed 'Download %d URL' string 2017-09-25 14:14:55 -03:00
Claudio Sanches 9fc6615909 Removed new translatable string introduced in #16843
Fixes #16843
2017-09-25 14:13:50 -03:00
Mike Jolley 42ca7e9e31 Merge pull request #16923 from JimmyAppelt/patch-1
Bump template version single-product-reviews.php
2017-09-25 16:28:13 +01:00
Mike Jolley c325ebfb2e Tweak branding in embed code 2017-09-25 15:15:41 +01:00
Claudio Sanches b174ecf8af Merge pull request #16922 from woocommerce/fix/16921
Include loader mixin in 2017 theme
2017-09-25 08:09:44 -06:00
Mike Jolley 4ea80ffa9e Youtube videos 2017-09-25 15:07:02 +01:00
Jim f30b0573c9 Bump template version single-product-reviews.php 2017-09-25 16:01:54 +02:00
Claudio Sanches 6164be51d3 Escape classes in data panel 2017-09-25 10:56:14 -03:00
Mike Jolley 71890624d7 Include loader mixin in 2017 theme
Closes #16921
2017-09-25 14:52:29 +01:00
Claudio Sanches 9b528678b0 Merge pull request #16920 from woocommerce/fix/16907
Handle sale dates on the fly in case of missed cron schedule.
2017-09-25 07:43:46 -06:00
Mike Jolley 4695d7a251 Handle sale dates on the fly in case of missed cron schedule.
Closes #16907
2017-09-25 14:19:20 +01:00
Claudio Sanches 8338baa594 Merge pull request #16916 from woocommerce/fix/16905
Reverse image logic in get_attachment_id_from_url
2017-09-25 07:08:51 -06:00
Claudio Sanches 76ac9e45c9 Merge pull request #16917 from woocommerce/fix/16902
Do not apply ordering to feeds
2017-09-25 07:07:55 -06:00
Claudio Sanches 4f6a3afc2a Merge pull request #16918 from woocommerce/update/16911
If sorting by date in the REST API, fallback to ID
2017-09-25 07:06:00 -06:00
Mike Jolley 25337b21ce If sorting by date in the REST API, fallback to ID
Ref: #16911
2017-09-25 13:31:25 +01:00
Mike Jolley 83a64c048d Do not apply ordering to feeds
Closes #16902
2017-09-25 13:08:08 +01:00
Mike Jolley a8ab4860ca Reverse image logic in get_attachment_id_from_url
Closes #16905
2017-09-25 12:58:25 +01:00