Commit Graph

124 Commits

Author SHA1 Message Date
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
Chi-Hsuan Huang 90432c612e
Fix "Live Branches" item not shown in the WooCommerce menu (#47691)
* Fix live branch menu not show up

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-05-22 09:56:23 +00:00
Leif Singer 8ee74ede0e
Update Woo.com references to WooCommerce.com (#46259)
* replace capitalized Woo.com with WooCommerce.com

* replace http URLs

* replace https URLs

* replace developer.woo.com

* add missing version in `@since` tag

* unslash the HTTP_REFERER

* WordPress.Security.ValidatedSanitizedInput.InputNotSanitized

* add changelog file

* add more changelog files

* address linter errors

* address more linter errors

* fix test

* more linter errors
2024-04-09 09:50:15 +01:00
Ilyas Foo 6dd96b3e14
Fix beta test plugin deprecated creation dynamic property (#44109)
* Add plugin_name declaration

* Changelog
2024-01-30 16:12:02 +08:00
Leif Singer 808a0fc54f update references to woocommerce.com to now reference woo.com 2023-11-10 15:49:08 +01: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
Sam Seay 235709ebf7
Enable Live Branches feature in WooCommerce Beta Tester (#36407) 2023-01-16 18:31:08 +13:00
Sam Seay 11b46d4f77
Add a new set of CLI commands to WooCommerce Beta Tester (#36339) 2023-01-12 14:16:01 +13:00
Sam Seay 4877e4b36e
Support installing live branches from the manifest (#36072) 2022-12-21 13:58:10 +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
Greg 3f2a0c3508 Lower case string comparison for versions (https://github.com/woocommerce/woocommerce-beta-tester/pull/105)
* Lower case string comparison for versions

* Embolden the installed version text
2021-11-18 13:49:46 +01:00
Ron Rennick c3b610b724 fix conditional logic for enqueuing static resources 2021-09-23 15:26:56 -03:00
Claudio Sanches 91b0e6c0a5 Load assets only inside Woo Beta Tester pages
Fix conflicts with other plugins
2021-02-02 13:45:57 -03:00
Ron Rennick 291c51cfa3 Merge pull request woocommerce/woocommerce-beta-tester#79 from woocommerce/poc/settings-import-export
Add import/export settings functionality
2021-01-07 15:19:06 -04:00
Ron Rennick 14a5e75689 Update includes/class-wc-beta-tester-import-export.php
Fix typo

Co-authored-by: Leif Singer <github.2017@singer.sh>
2021-01-07 15:17:48 -04:00
Ron Rennick df37133e8a revert plugin title changes, update per review feedback 2021-01-05 16:59:15 -04:00
Ron Rennick d6985d8784 Merge pull request woocommerce/woocommerce-beta-tester#73 from woocommerce/fix/67
update bug report url to work with latest WC versions
2020-11-19 14:13:02 -04:00
Ron Rennick 0d83c6a7c2 handle non-existent settings 2020-11-06 15:15:55 -04:00
Ron Rennick a8aefacad8 Clean up proof of concept
- Add nonces where missing
- Add status import messages
- Move multiple menu handling code to menu class
2020-11-06 14:36:02 -04:00
Ron Rennick 7ff1ed04fa add rudimentary settings file import 2020-11-05 14:57:21 -04:00
Ron Rennick 1625d52187 add export settings functionality 2020-11-03 14:27:32 -04:00
Marco Almeida d66cf442d9 Fixes "Notice: Undefined variable: item"
Fixes "Notice: Undefined variable: item" when running the WC_Beta_Tester auto_update_woocommerce method on the wp-admin plugins.php file
2020-09-29 09:42:19 +01:00
Ron Rennick 9d3fa2c5fb remove versions lower than 3.6 from switch to list 2020-09-28 15:28:58 -03:00
Ron Rennick 4cda59f96c Merge pull request woocommerce/woocommerce-beta-tester#71 from woocommerce/fix/61
add right margin to version modal header
2020-09-25 11:27:29 -03:00
Ron Rennick 79784019af Merge pull request woocommerce/woocommerce-beta-tester#72 from woocommerce/fix/62
only show activate WooCommerce button when WC is installed in default location
2020-09-25 11:26:07 -03:00
Ron Rennick 3ac48cda57 fix auto_update_plugin hook reference 2020-09-22 15:50:54 -03:00
Ron Rennick 17f8b35d05 update bug report url to work with latest WC versions 2020-09-22 15:37:39 -03:00
Ron Rennick e8a3a68de7 only show activate WooCommerce button when WC is installed in default location 2020-09-22 14:21:22 -03:00
Ron Rennick d719451ca1 add right margin to version modal header 2020-09-22 13:42:51 -03:00
Rodrigo Primo e7fa240d26 Merge branch 'master' into add-travis 2019-03-14 07:40:16 -03:00
Rodrigo Primo 5e6ae9bfb6 Fix WPCS violations automatically using phpcbf 2019-03-13 16:54:47 -03:00
Rodrigo Primo 60836b698f Check WC version before calling WC_API::rest_api_includes()
When running WC 3.6 or greater it is necessary to call WC_API::rest_api_includes() to manually load the WC REST API classes. The problem is that this method was private before WC 3.6, so this commit adds a check to only call WC_API::rest_api_includes() when the WC version is 3.6 or greater. For WC older versions, loading the classes is not necessary, as they are always loaded by default.

Without this change, the following error happens when using the beta tester plugin with WC < 3.6:

```
Fatal error: Uncaught Error: Call to private method WC_API::rest_api_includes() from context 'WC_Beta_Tester_Admin_Menus' in /srv/www/wc-beta-tester/htdocs/wp-content/plugins/woocommerce-beta-tester/includes/class-wc-beta-tester-admin-menus.php on line 161
```

Related woocommerce/woocommerce-beta-tester#50
2019-03-13 15:28:58 -03:00
Timmy Crawford 45a828cfaa Updates per feedback. 2019-03-13 10:41:26 -07:00
Timmy Crawford 8e8c9157f7 Fix exception when running against master/3.6-dev 2019-03-06 11:32:25 -08:00
claudiulodro a029008a1e Remove requests to GH 2018-07-06 11:01:42 -07:00
claudiulodro 5ea48d1e1c Hard-coded issue template 2018-07-06 10:12:53 -07:00
Mike Jolley 44ae609d7d Error handling
Closes woocommerce/woocommerce-beta-tester#44
2018-06-25 16:04:30 +01:00
Mike Jolley 988d14f64c Hide menus 2018-06-25 15:00:00 +01:00
Mike Jolley ca3fc80aaa Handle version updates
Closes woocommerce/woocommerce-beta-tester#10
2018-06-25 14:35:10 +01:00
Mike Jolley c67e46e8cf Merge branch 'master' of https://github.com/woocommerce/woocommerce-beta-tester 2018-06-25 12:43:47 +01:00
Mike Jolley b81b4e2a6e Text tweaks and styling, phpcs 2018-06-25 12:35:57 +01:00
Peter Fabian aa4554cf42 Sanitization, escaping and PHPCS updates. 2018-06-11 12:14:39 +02:00
Peter Fabian 1d500c1006 Plugin activation switched from redirect to WP function, then redirect to plugin page. 2018-06-08 18:26:56 +02:00
Peter Fabian 70ac4f9536 Fixed wording on Activate button. 2018-06-08 17:36:01 +02:00
Peter Fabian a3d0e5b906 Added basic version switching. 2018-06-08 17:35:16 +02:00
Boro Sitnikovski c0291f04b7 Add handler for version switch button 2018-06-08 12:31:40 +02:00
Mike Jolley 340e7821c7 Merge pull request woocommerce/woocommerce-beta-tester#31 from woocommerce/add/version-picking
Initial code to create a list of versions based on wp.org API.
2018-06-07 15:27:37 +01:00
Mike Jolley 09532920ac Merge pull request woocommerce/woocommerce-beta-tester#42 from woocommerce/tweak/include-theme-plugin-ssr-info
Include information about plugins/theme in the GH issue submission de…
2018-06-07 15:03:34 +01:00