Commit Graph

55108 Commits

Author SHA1 Message Date
Leif Singer d638cc44a9 tweak email subject 2023-11-27 16:09:14 +01:00
Leif Singer 488084d7ce use the gateway ID to make gateway_settings_url a direct link to the enabled gateway's settings page 2023-11-27 16:09:14 +01:00
Leif Singer d6f1adb4cf pass the gateway instance into the wc_payment_gateway_enabled_notification_email_addresses hook 2023-11-27 16:09:14 +01:00
Leif Singer ee04b60a83 pass the whole gateway instance into notify_admin_payment_gateway_enabled 2023-11-27 16:09:14 +01:00
Leif Singer e3c2c79389 make on_payment_gateways_initialized private 2023-11-27 16:09:14 +01:00
Leif Singer bbdbb026ea pass WC_Payment_Gateways instance to wc_payment_gateways_initialized hook 2023-11-27 16:09:14 +01:00
Leif Singer 665a6ce721 once more, appease the linter 2023-11-27 16:09:14 +01:00
Leif Singer 86fa398d5a allow adding email addresses to the notification via a filter 2023-11-27 16:09:14 +01:00
Leif Singer e23839294f guard against unset array key 2023-11-27 16:09:14 +01:00
Leif Singer 26b664f29f add logging 2023-11-27 16:09:14 +01:00
Leif Singer 20cd022334 document all the things 2023-11-27 16:09:14 +01:00
Leif Singer 3cd4b5078c appease the linter 2023-11-27 16:09:14 +01:00
Leif Singer 6b12ffb5f5 use AccessiblePrivateMethods, a single callback for both added and updated options, and subscribe to gateway-specific hooks 2023-11-27 16:09:14 +01:00
Leif Singer 7254e99ec8 move things into the WC_Payment_Gateways class 2023-11-27 16:09:14 +01:00
Leif Singer a0304bedef ensure gateway title is set 2023-11-27 16:09:14 +01:00
Leif Singer d1fc46e658 cover both update_option and add_option 2023-11-27 16:09:14 +01:00
Leif Singer 7faf9b9f3b indent assignments correctly 2023-11-27 16:09:14 +01:00
Leif Singer 71ec30268a use proper sprintf for placeholders 2023-11-27 16:09:14 +01:00
Leif Singer 247bf534e3 optimize the checks a bit 2023-11-27 16:09:14 +01:00
Leif Singer 82f1bddaa5 add changelog file 2023-11-27 16:09:14 +01:00
Leif Singer e4c6d9a532 invert the conditional so we can remove the nesting and go for an early return instead 2023-11-27 16:09:14 +01:00
Leif Singer 7bda29426b ensure the value key is set 2023-11-27 16:09:14 +01:00
Leif Singer 3352891794 ensure the option values are arrays 2023-11-27 16:09:14 +01:00
Leif Singer 81e7fce52a appease the linter 2023-11-27 16:09:14 +01:00
Leif Singer 79831e0bbf Email the site admin when a payment gateway is enabled 2023-11-27 16:09:14 +01:00
nigeljamesstevenson 67d4e058ee
skip newly added test as appears to be flaky (#41700) 2023-11-27 14:48:34 +00:00
nigeljamesstevenson cb43ae8bc1 Merge branch 'update/e2e-skip-flaky-test-downloads-revenue-report-as-CSV' of github.com:woocommerce/woocommerce into update/e2e-skip-flaky-test-downloads-revenue-report-as-CSV 2023-11-27 13:36:20 +00:00
nigeljamesstevenson f8928ecc85 skip newly added tests as they appeas to be flaky 2023-11-27 13:35:58 +00:00
github-actions 2af871747e Add changefile(s) from automation for the following project(s): woocommerce 2023-11-27 11:53:24 +00:00
nigeljamesstevenson 2896a4a4bd skip newly added test as appears to be flaky 2023-11-27 11:47:45 +00:00
Albert Juhé Lluveras 2f7bd83ae2
Fix link to e2e tests documentation from WooCommerce Admin directory (#41631)
* Fix link to e2e tests documentation from WooCommerce Admin directory

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-11-27 09:53:22 +01:00
Maikel David Pérez Gómez 3d6c2b637e
Improved variations table header (#41550)
* Add header row to the variations table and fix a11y table issues

* Fix TableRowSkeleton styles

* Add changelog files

* Fix compilation errors

* Fix linter errors

* Fix unit tests

* Fix downloads table
2023-11-24 12:54:45 -05:00
Alba Rincón b6657403f8
[Store Customization] Update the store title with an AI generated one (#41632)
* Make the call to update the store title with an AI generated one

* Add changelog
2023-11-24 14:40:37 +01:00
github-actions[bot] 853ba527d2
Delete changelog files based on PR 41660 (#41669)
Delete changelog files for 41660

Co-authored-by: WooCommerce Bot <no-reply@woo.com>
2023-11-24 18:14:04 +08:00
rodelgc 597e2ed269
Update WooCommerce Core WP.org product page readme (#41660)
* update readme.txt for Woo Copy update on WP.org product page

* Transform to sub-header texts

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: nigeljamesstevenson <nigeljamesstevenson@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
2023-11-24 17:35:46 +08:00
Brent MacKinnon c10f1100b3
Add plugin API callback documentation (#41588)
* Create woocommerce-plugin-api-callback.md

* Update woocommerce-plugin-api-callback.md

* Update docs/extension-development/woocommerce-plugin-api-callback.md

Co-authored-by: Leif Singer <leif@automattic.com>

* Update docs/extension-development/woocommerce-plugin-api-callback.md

Co-authored-by: Leif Singer <leif@automattic.com>

* Update docs/extension-development/woocommerce-plugin-api-callback.md

Co-authored-by: Leif Singer <leif@automattic.com>

* Update woocommerce-plugin-api-callback.md

---------

Co-authored-by: Leif Singer <leif@automattic.com>
2023-11-24 10:03:16 +01:00
Barry Hughes bedb4db309
Add legacy wc_format_postcode tests along with new tests for IE and PT postcodes (#31787) 2023-11-23 11:23:15 -08:00
Maikel David Pérez Gómez 55485012e5
[Grouped products] Inventory tab (#41640)
* The Track inventory toggle is not visible in the Inventory tab for grouped product types

* Add changelog file
2023-11-23 12:16:10 -05:00
Maikel David Pérez Gómez 829ca23326
[Grouped products] Create product-grouped feature flag (#41639)
* Create product-grouped feature flag

* Add support to the product editor to handle grouped product types as well

* Add changelog file
2023-11-23 11:24:51 -05:00
Fernando Marichal 4a0db06321
Modify notice for legacy local attributes (#41646)
* Modify notice for legacy local attributes

* Rename variable

* Add changelogs

* Rename local_attributes_notice_dismissed_ids
2023-11-23 12:00:17 -03:00
nigeljamesstevenson 2fc7057e16
Update deciding-pr-high-impact.md 2023-11-23 11:30:20 +00:00
Jonathan Lane 595f99d933
Run daily smoke tests on wp-env (#41560)
* Run daily smoke tests on wp-env

* Add changelog

* Add step to install playwright to e2e tests

* Run k6 containers as e2e

* Get build first for k6

* Tweak for API report

* Change k6 tests back to non-local

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-11-23 12:41:27 +08:00
barryhughes e3d1a3c7b9 Convert comments to assertion messages. 2023-11-22 15:14:08 -08:00
barryhughes cd32a5a087 Changelog. 2023-11-22 15:13:06 -08:00
Saggre 74e27e6f26 Remove duplicate tests. 2023-11-22 15:09:37 -08:00
Damián Suárez 488c74b472
[Product Blocks editor]: add tooltip help to Organization/Product catalog and Attributes (#41644) 2023-11-22 18:07:55 -03:00
Damián Suárez 7a98a38399 fix eslint issue 2023-11-22 17:06:52 -03:00
Damián Suárez c9a211c6fb move changelog file to the proper place 2023-11-22 16:38:06 -03:00
Damián Suárez 4faa12de99 changelog 2023-11-22 16:38:06 -03:00
Damián Suárez de1b1c89cf add tooltip helo to Organization/Attributes title 2023-11-22 16:38:06 -03:00