Commit Graph

32 Commits

Author SHA1 Message Date
Chi-Hsuan Huang 2cbb9d59bc
Deprecate unsupported Inbox note banner layout (#51275)
* Deprecate note banner layout

* Update doc

* Add changelog
2024-09-13 01:11:11 +00:00
Chi-Hsuan Huang 7971df1d28
Enhance WooCommerce version checking for remote logging reliability (#51009)
* Enhance WooCommerce version checking using get_plugin_updates()

* Update remote logger tool to toggle remote logging feature properly

* Add changelog
2024-08-30 20:25:52 +08:00
Chi-Hsuan Huang 4dbc8aa74b
Refactor WooCommercePayments task to use woo payment gateway from`WC()->payment_gateways->payment_gateways()` (#50953)
* Fake woopayments gateway is_account_partially_onboarded return false

* Refactor WooCommercePayments class to use get_woo_payments_gateway() function

* Add changefile(s) from automation for the following project(s): woocommerce-beta-tester, woocommerce

* Remove changelog

* Add unit tests

* Update changelog

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-08-28 10:44:28 +08:00
Chi-Hsuan Huang b04f535a54
[Beta tester] Add fake WooPayments completion tool (#50699)
* Add woocommerce beta tester fake wcpay tool

* Add changelog
2024-08-22 10:27:35 +08:00
Paul Sealock 17c6fb9b0f
[Beta Tester] Add tool to force wccom endpoint errors or timeout (#50654) 2024-08-19 20:35:59 +12:00
Chi-Hsuan Huang 9bc69246ff
[Beta Tester] Flush cache after deleting option and resetting PHP rate limit (#50512)
* Flush cache after deleting option and resetting PHP rate limit

* Add changelog
2024-08-12 18:05:01 +08:00
Chi-Hsuan Huang 450a4ce3bb
Add remote logging tool to beta tester (#50425)
* Add remote logging beta tester tool

* chore: Update log method return type to Promise<boolean>

* Update pnpm-lock.yaml

* Reformat

* Check window.wcSettings?.isRemoteLoggingEnabled

* Add changelogs

* Fix test

* Update toggle_remote_logging

* Fix toggle_remote_logging

* Improve message

* Fix lint
2024-08-08 11:12:51 +08:00
Chi-Hsuan Huang 8d23ac11a9
Add beta tester tool to force the coming soon landing pages to display on the front-end (#49341)
* Add tool to force the coming soon landing pages to display on the front-end

* Add changelog

* Revert line change

* Add doc comments and remove unnecessary check

* Invalidate caches

* Fix tools invalid json errors

* Set default value

* Call wc_beta_tester_override_coming_soon_options out of init
2024-07-16 11:55:38 +00:00
Moon dfc40ff775
Beta tester - fix lint errors (#48825)
* Fix lint errors

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-06-25 21:09:14 -07:00
Moon a09522df1c
WCA Test helper - add remote inbox notification staging importer (#48735)
* Add Remote inbox notifications management

* Remove admin notes section -- replaced by remote inbox notifications

* Add import from staging and production

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

* WIP - change test to run

* Display failed rules on error

* Change run to test

* Add changefile(s) from automation for the following project(s): woocommerce-beta-tester, woocommerce

* Retire Remote Spec Ruel Validation -- use test action from Remote Inbox Notifications

* Run spec when all rules have passed

* Fix typo

* Change btn text to Run

* Update copy text

* Place delete all button on the left side

* Update plugins/woocommerce-beta-tester/api/remote-inbox-notifications/class-wca-test-helper-remote-inbox-notifications.php

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

* Update plugins/woocommerce/src/Admin/RemoteSpecs/RuleProcessors/RuleEvaluator.php

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

* Update plugins/woocommerce-beta-tester/api/remote-inbox-notifications/class-wca-test-helper-remote-inbox-notifications.php

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

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

* Separate remote inbox notification heler functions into a class and fix DELETE method errors

* Fix typo

* Display all errors

* Fix errors

* Fix error with test

* Add import from URL

* Change func name to importFromUrl

* Rename 48735-feature-remote-notiifcation-importer to 48735-feature-remote-notification-importer

Fix filename typo

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

* Fix changelog filename typo

Fix changelog filename typo

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

* Revert adding new changelog

It seems the new CI is automatically creating a changelog based on branch name 43d6abe3e7

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2024-06-24 23:32:36 -07:00
Moon 15d146fa84
Fix lint errors with remote spec validator endpoint (#47520)
* Fix lint errors

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-05-16 15:25:59 -07:00
Chi-Hsuan Huang c3142773f5
Add missing `live-branches/install.php` require to API.php (#46159)
* Add live-branches/install.php to API

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-04-05 08:47:47 +08:00
Ilyas Foo 5485665727
Refactor remote specs structure and naming (#45547)
* Deprecate DataSourcePoller

* Deprecate and move all rule processors and transformers

* Lint

* More deprecation

* Remove extra line

* Update deprecated class to not produce too many messages by limiting to unique messages

* Changelog

* Update all dependency uses, move TransformerService and TransformerInterface to Transformers package

* More dependency update

* Changelog

* Fix wrong file reference

* Lint markdown

* Lint markdown

* Add unsaved file

* Delete unused file and more lint

* More lint

* Ugh ignore faulty lint rule

* Rename variables for lint
2024-03-19 22:15:05 +08:00
Moon 839ea67577
Add remote spec rule validator UI (#45099)
* Add Remote Spec Rule validator

* Add changelog

* Remove unused var

* Add remote spec validator

* Load composer autoload

* Remove remote spec validation
2024-02-28 15:47:15 -08:00
RJ a32e1a3922
dev: fix wca test helper option search wildcards (#41503)
fix wca test helper option search wildcards
2023-11-21 11:18:45 +08:00
Matt Sherman 6e9a5fa04e Update default threshold to WARNING 2023-11-14 16:23:00 -05:00
Matt Sherman 451e73f9f9 Update default threshold to NOTICE 2023-11-14 16:23:00 -05:00
Matt Sherman e159e7ff4f API for updating the block template logging threshold 2023-11-14 16:22:59 -05:00
Luigi Teschio 762f6847e5
WooCommerce Beta Tester - CYS: implement removing patterns_ai_data post type (#41285)
* WooCommerce Beta Tester - CSY: implement removing patterns_ai_data post type

* add changelog

* Update changelog
2023-11-08 12:07:30 +01:00
jonathansadowski d27c3941ea
Allow print_r in beta tester logger (#41101) 2023-10-30 12:35:54 -05:00
Chi-Hsuan Huang 61a68131bd
Add wca test tool to reset Customize Your Store task (#40728)
* Add reset cys tool

* Add changelog

* Reset style

* Fix reset template

* Update actions.js

Co-authored-by: RJ <27843274+rjchow@users.noreply.github.com>

---------

Co-authored-by: RJ <27843274+rjchow@users.noreply.github.com>
2023-10-12 09:05:58 -05:00
Moon 00fb7dab11
WooCommerce Beta Tester tracks -- Support array property (#39922)
* Support array property

* Add changelog
2023-08-28 12:44:27 -07:00
Christopher Allford 4549bc82c5
Applied PHPCS To Beta Tester (#39476) 2023-08-08 17:20:34 -07:00
Sam Seay d64e1c24dd
Beta Tester: Do not run code in tracks debug unless WC_ABSPATH is defined. (#39486)
* Do not run code in tracks debug unless WC_ABSPTAH is defined.

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

* Also avoid registering scripts if Woo is not installed.

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-04 12:29:07 +08:00
Sam Seay 924b29fd92
Add support to install master branch when using WooCommerce Beta Tester (#38536) 2023-06-20 18:54:49 +12:00
Chi-Hsuan Huang 6f5b7fd359
Fix rest api filter to allow any strings in replacement (#37468)
* Fix beta tester api filter replacement value

* Add changelog

* Fix lint

* Add doc comments
2023-03-30 09:13:09 +08:00
Sam Seay 4877e4b36e
Support installing live branches from the manifest (#36072) 2022-12-21 13:58:10 +13:00
Sam Seay ef746eae1e
WC Beta Tester - Don't run WC code if WC is not installed (#35742)
* Always check if wc_get_logger is available before calling it.
* Guard against other WooCommerce specific code.
2022-12-07 07:18:52 +13:00
Sam Seay 978604d0f1
Introduce live branches UI page to WooCommerce Beta Tester (#35643)
* Add basic classes to register the Live Branches page
* Add API endpoint to load live branch manifest
* TS/JS tooling, prettier tooling
2022-11-30 14:17:27 +13:00
Sam Seay 63242cfa62
Remove duplicated API code folder in woocommerce-beta-tester (#35549) 2022-11-15 13:58:45 +13:00
Joshua T Flowers 345b8886e5
Log tracks events after they have been validated (#34030)
* Log events after they have been validated

* Add changelog entry

* Remove old tracks file

* Fix lint errors
2022-07-27 14:01:18 -04:00
Paul Sealock 6ded9053b6 Move admin tester folders to root 2022-06-07 15:18:37 +12:00