Commit Graph

33876 Commits

Author SHA1 Message Date
TimBHowe d377f002aa Added pattern attribute to the flat rate cost input field to only allow US and EU currency formating 2020-01-28 10:44:37 -05:00
TimBHowe 8b71dc0abb Updated the wc_setup_shipping_save() function to sanitize the flatrate cost input 2020-01-28 10:44:36 -05:00
Tim Howe 3b5e44ccf1 Added a call to the evaluate_cost function in the sanitize_cost function to throw an exception if there is an illegal character in the input. 2020-01-28 10:44:35 -05:00
Peter Fabian 30dde8f53c The JS might still be needed as merchants can manage/change settings even for a disabled gateway. 2020-01-28 14:13:03 +01:00
Peter Fabian 217c9d2adc Fix incorrect comment. 2020-01-28 14:10:10 +01:00
Peter Fabian 8600987591 Functions are not needed when the gateway is disabled. 2020-01-28 14:07:50 +01:00
Peter Fabian dc9d4496e9 Require order object to prevent error. 2020-01-28 14:06:02 +01:00
Rodrigo Primo 47d6311d1e
Merge pull request #25484 from woocommerce/fix/25478
Prevent empty notices to get added
2020-01-27 18:04:47 -03:00
Timmy Crawford 9bfc7db3fb Remove wc-admin install nudge. 2020-01-27 09:24:46 -08:00
Timmy Crawford 081afa256c Change a/b test size of new onboarding to 50 percent. 2020-01-27 09:01:27 -08:00
gerdneuman 8057946904
Fix wrong context help for translators
I found this very confusing at https://translate.wordpress.org/projects/wp-plugins/woocommerce/stable/de/default/?filters%5Bterm%5D=ending+in&filters%5Buser_login%5D=&filters%5Bstatus%5D=current_or_waiting_or_fuzzy_or_untranslated&filter=Filter&sort%5Bby%5D=priority&sort%5Bhow%5D=desc that the comment is wrong for translator.

Here's a fix.
2020-01-26 17:55:17 +01:00
Claudio Sanches e109258583 Check if wp_delete_user() exists before use 2020-01-24 18:49:21 -03:00
Claudio Sanches 42864cdfdb Fixed coding standards 2020-01-24 15:01:12 -03:00
Claudio Sanches 86d59257f4 Introduced woocommerce_download_product_filepath filter 2020-01-24 15:00:55 -03:00
Julia Amosova 0a5c866bc4 Remove taking screenshots sent to AWS on failed tests 2020-01-24 17:17:52 +00:00
Julia Amosova d4c8719d1f Remove the process of building legacy e2e test site 2020-01-24 17:05:18 +00:00
Julia Amosova eb92d35d96 Remove DB (used for the initial setup) that is no longer needed 2020-01-24 17:05:17 +00:00
Claudio Sanches 30e0c6ad87 Prevent empty notices to get added 2020-01-24 13:31:05 -03:00
Julia Amosova 2415cf1952 Fix setup wizard logic if new onboarding is presented 2020-01-24 14:37:27 +00:00
Rodrigo Primo 99d957dd2d
Merge pull request #25477 from woocommerce/fix/25475
Added @version flag in updated notice functions
2020-01-24 10:39:11 -03:00
Claudio Sanches 9d8dd197b5 Added @version flag in updated notice functions 2020-01-23 16:46:01 -03:00
Rodrigo Primo 8de3e9e839 Merge branch 'master' of github.com:woocommerce/woocommerce 2020-01-23 15:25:48 -03:00
Rodrigo Primo 2cd4ae6fd4 Fix typo 2020-01-23 15:25:12 -03:00
Rodrigo Primo b7aee86b2c Remove hash_equals() polyfill that is no longer needed
This polyfill was added back in 2015
(1f62a53e0e). WP includes the same polyfill
since version 3.9.2 and WC requires WP >= 5.0
(7d672c38a4). So we don't need to maintain our own version of this function anymore.
2020-01-23 14:36:37 -03:00
Rodrigo Primo 1078b4fe87
Merge pull request #25320 from grey-rsi/top-rated-widget-args
Add `woocommerce_top_rated_widget_args` filter for WC_Widget_Top_Rate…
2020-01-23 12:31:38 -03:00
Peter Fabian 1f9cd9eae9
Merge pull request #24066 from malviyaritesh/fix/24062
Filter meta value even if key not found
2020-01-23 14:59:39 +01:00
vedanshujain d768fcb139 Apply rounding only if value is integer to display "-" when needed. 2020-01-23 17:36:49 +05:30
Claudio Sanches b96792ceec
Merge pull request #25469 from woocommerce/disable-codecov-comments
Disable Codecov in PRs
2020-01-22 17:37:47 -03:00
Rodrigo Primo 777e8fa6ba Disable Codecov checks for each PR
This commit disables the Codecov notification whenever a commit is added
to the PR reporting if the change passed or not Codecov checks for code
coverage. Doing this after discussion with the rest of the team as we
feel there are a significant number of false positives in Codecov
failures.
2020-01-22 16:17:45 -03:00
Rodrigo Primo bd39a69c26 Disable Codecov comment in PRs
This commit disables the comment that Codecov leaves in each PR
reporting on code coverage status. We decided to do this because those
comments included a lot of information that is not useful for our
project and often included false positives reports of reduction in the
code coverage.
2020-01-22 15:49:42 -03:00
Rodrigo Primo b948545283
Merge pull request #25466 from woocommerce/update/25464
Trim whitespaces and strip slashes from MaxMind License Key
2020-01-22 15:45:06 -03:00
Rodrigo Primo da40b7c17f
Merge pull request #25468 from woocommerce/fix/e2e-variations-test
Fix randomly failing variations product test: add 1 second wait time between 2 UI blocks / AJAX calls
2020-01-22 15:35:42 -03:00
Rodrigo Primo 82cf437e6e
Merge pull request #25457 from woocommerce/renovate/major-jest-monorepo
Update jest monorepo to v25 (major)
2020-01-22 15:15:29 -03:00
Julia Amosova 26ade8bb1f Add 1 second wait time between 2 UI blocks / AJAX calls 2020-01-22 16:52:35 +00:00
Claudio Sanches 8ee6337aea Move validation to the top 2020-01-22 12:39:19 -03:00
Claudio Sanches d9cc0910ef Trim whitespaces and strip slashes from MaxMind License Key 2020-01-22 12:38:10 -03:00
Renovate Bot 2ce3d1106d
Update jest monorepo to v25 2020-01-22 01:36:42 +00:00
Claudio Sanches d3351d4949
Merge pull request #25455 from woocommerce/update/tag-3.9
Version 3.9.0
2020-01-21 21:14:39 -03:00
Claudio Sanches d8bb034425 Version 3.9.0 2020-01-21 21:13:54 -03:00
Claudio Sanches 4434c4706e
Merge pull request #25446 from woocommerce/fix/default-custom-location
Fixed default value for wc_get_customer_default_location()
2020-01-21 15:09:22 -03:00
Sergey Ratushnuy bd647cd9cf Small fix 2020-01-21 18:03:01 +02:00
Sergey Ratushnuy 2d1ce22e25 Changed filter name 2020-01-21 17:29:58 +02:00
Claudio Sanches 5c169bf54c Fixed default value for wc_get_customer_default_location() 2020-01-21 11:53:45 -03:00
Claudio Sanches 0436d8637f
Merge pull request #25440 from woocommerce/fix/dont-golocate-when-missing-db
Fixed warning notice when missing MaxMind database
2020-01-21 11:14:51 -03:00
Christopher Allford a6981fc1c0 Added a file existence check to the MaxMind country lookup method to prevent warnings 2020-01-20 21:20:32 -08:00
Claudio Sanches 73387d1181
Merge pull request #25436 from woocommerce/update/3.9-rc.4
3.9.0-rc.4
2020-01-20 19:54:02 -03:00
Claudio Sanches 2847322008 3.9.0-rc.4 2020-01-20 19:53:08 -03:00
Claudio Sanches 826f69289c
Merge pull request #25435 from woocommerce/renovate/woocommerce-woocommerce-blocks-2.x
Update dependency woocommerce/woocommerce-blocks to v2.5.11
2020-01-20 19:19:30 -03:00
Renovate Bot 3ccefeb8db
Update dependency woocommerce/woocommerce-blocks to v2.5.11 2020-01-20 21:39:43 +00:00
Rodrigo Primo 2e61321e2a
Merge pull request #25289 from rafdizzle86/feature/add-checkout-place-order-success-triggerhandler
Add a triggerHandler called "checkout_place_order_success" so plugin developers can hook into AJAX order success event.
2020-01-20 15:25:46 -03:00