Commit Graph

261 Commits

Author SHA1 Message Date
Roy Ho 98cf4e7160
Add PR numbers to changelog entries on code freeze process (#33627)
* Add PR numbers to changelog entries on code freeze process

* Add markdown links to PR
2022-06-28 11:15:39 -07:00
Paul Sealock a80462d594
Beta Tester: Prep for release (#33463) 2022-06-22 07:26:15 +12:00
Christopher Allford 6d0fc0d6ac
Expand Repository Development Documentation (#33423)
This commit reworks some of the documentation in the monorepo to better represent how to get started and develop projects in it.
2022-06-15 21:55:25 -07:00
Paul Sealock 4fa634ee0e merge changes 2022-06-10 12:26:26 +12:00
Paul Sealock 5054105972 try manual rebase conflict fix 2022-06-10 12:21:48 +12:00
Christopher Allford b7931409f2
Migrate From Nx to Turborepo (#33079)
This replaces all `nx` commands with `turbo` commands and removes Nx from the repository. All of the `project.json` files have been removed and any commands that broke with Turborepo have been adjusted.
2022-06-09 14:40:07 -07:00
Paul Sealock ce796e1cd7 build zip for release 2022-06-08 14:14:45 +12:00
Paul Sealock 734cfebd8c Clean up eslintrc in favour of defaults 2022-06-08 14:03:16 +12:00
Paul Sealock 1aec706943 Run linter on all js files 2022-06-08 13:58:25 +12:00
Paul Sealock bab0bf8298 Run lint:fix on js 2022-06-08 13:39:59 +12:00
Paul Sealock 8a30e307b6 changelog 2022-06-08 13:33:59 +12:00
Paul Sealock 2dce7b5bba Remove duplicated src folder/ 2022-06-08 13:31:16 +12:00
Paul Sealock 979fa45627 downgrade to @wordpress/scripts 19.2.4 2022-06-08 09:14:50 +12:00
Paul Sealock 0ed7c90d1b remove temp admin folder 2022-06-07 15:55:52 +12:00
Paul Sealock 475521ea0b Move plugin.php and readme 2022-06-07 15:55:26 +12:00
Paul Sealock b17e51fde8 Split build step into two 2022-06-07 15:37:58 +12:00
Paul Sealock c70e9e1333 Update wp-scripts 2022-06-07 15:33:20 +12:00
Paul Sealock 6ded9053b6 Move admin tester folders to root 2022-06-07 15:18:37 +12:00
Paul Sealock 54c847abb6 Copy git ignores to beta-tester 2022-06-07 15:14:21 +12:00
Paul Sealock dd712f4911 Copy eslint ignores to beta-tester 2022-06-07 15:13:14 +12:00
Paul Sealock bedd27a2eb Declare and install beta-tester dependencies 2022-06-07 15:10:36 +12:00
Paul Sealock 87005ff9ba Move beta tester temp files to Beta Tester plugin 2022-06-07 14:53:01 +12:00
Christopher Allford 3f5c3b2039 Added Changelog 2022-05-06 15:00:00 -07:00
Christopher Allford dc6bd75984 Fixed Beta Tester Uglification
PNPM does not run "pre" and "post" scripts
for user-defined scripts. This commit
removed the "preuglify" script from the
beta tester plugin so that it builds correctly.
2022-05-06 12:11:51 -07:00
Roy Ho 30846cb8b4
Update woocommerce sniffs to latest 0.1.3 (#32886) 2022-05-06 12:48:46 +12:00
Christopher Allford 9a22c62505 Added Changelogs 2022-05-02 12:55:48 -07:00
Christopher Allford 000f14be4a Fixed Tabs 2022-05-02 12:55:48 -07:00
Christopher Allford bd0ff96960 Fixed WooCommerce Beta Tester PHPUnit
Like Core's `composer.json`, we need to override
the platform in order to get a consistent version
for dependencies out of Composer.
2022-05-02 12:55:48 -07:00
Christopher Allford 8862efb570 Run `composer install` On `pnpm install`
This commit adds a `postinstall` script for
the WooCommerce and WooCommerce Beta
Tester plugins. This makes it easier to get
started since `pnpm install` will ensure all
dependencies in every project are ready.
2022-05-02 12:55:48 -07:00
Paul Sealock f4fab80b18 changelog 2022-04-28 11:31:37 +12:00
Paul Sealock b06b34dd31 beta tester fix scripts 2022-04-28 11:04:20 +12:00
Paul Sealock 03beccc5f2 add build to project.json 2022-04-21 11:47:49 +12:00
Paul Sealock 1be4162466 add changelogger and changelog entry 2022-04-21 11:39:41 +12:00
Paul Sealock dab7e60971 Standardize Beta Tester build scripts 2022-04-21 11:17:59 +12:00
Chi-Hsuan Huang 2b1f54b09d Set up lint-staged configuration for each package 2022-04-06 17:31:32 +08:00
Chi-Hsuan Huang a4ece1b7b9 Remove husky lint-staged from plugins/* 2022-04-06 17:31:32 +08:00
Christopher Allford d67041f0a7 Updated Composer to v2 2022-03-18 09:56:28 -07:00
Christopher Allford efbc635e32 Added Beta Tester Plugin To Nx
This commit adds the project file and makes the
necessary changes to the workspace to support
the new plugin.
2022-03-18 09:46:10 -07:00
Tam Mullen 74445e23d5 Add GitHub templates for issues and PRs 2021-12-24 16:45:52 +00:00
Ron Rennick 669fcef988 Product version bump update 2021-12-17 14:13:06 -04:00
Ron Rennick 5bd9f109b5 add change log header for 2.0.5 2021-12-17 14:11:16 -04:00
Greg 0c6964822d Update gitignore (https://github.com/woocommerce/woocommerce-beta-tester/pull/107) 2021-11-18 13:54:08 +01: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 a5d495906c merge with generated changelog 2021-09-29 13:40:33 -03:00
Ron Rennick 33a19dcf47 add changelog entries 2021-09-29 13:37:56 -03:00
Ron Rennick 2e61ad6382 Product version bump update 2021-09-29 10:50:43 -03:00
Ron Rennick 85349215dc bump tested to plugin headers 2021-09-23 21:26:34 -03:00
Ron Rennick c3b610b724 fix conditional logic for enqueuing static resources 2021-09-23 15:26:56 -03:00
Ron Rennick 293fab8c4e Product version bump update 2021-09-22 16:18:32 -03:00
Ron Rennick e1c412220d add changelog header to readme.txt 2021-09-22 16:01:17 -03:00
Ron Rennick 8fbf96655e add svn authorization configuration entry 2021-09-21 16:36:23 -03:00
dependabot[bot] 98e337de5b Bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-13 00:50:49 +00:00
dependabot[bot] 4396304255 Bump hosted-git-info from 2.7.1 to 2.8.9 (https://github.com/woocommerce/woocommerce-beta-tester/pull/97)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.7.1 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.7.1...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 14:45:37 +02:00
dependabot[bot] 86d237273a Bump lodash from 4.17.11 to 4.17.21 (https://github.com/woocommerce/woocommerce-beta-tester/pull/96)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 14:45:28 +02:00
dependabot[bot] f453e4538a Bump acorn from 6.1.1 to 6.4.2 (https://github.com/woocommerce/woocommerce-beta-tester/pull/95)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.1.1 to 6.4.2.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.1.1...6.4.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 14:45:19 +02:00
dependabot[bot] 577efa0416 Bump js-yaml from 3.13.0 to 3.14.1 (https://github.com/woocommerce/woocommerce-beta-tester/pull/94)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.13.0 to 3.14.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.13.0...3.14.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 14:45:07 +02:00
dependabot[bot] 3695098097 Bump eslint-utils from 1.3.1 to 1.4.3 (https://github.com/woocommerce/woocommerce-beta-tester/pull/93)
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.3.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](https://github.com/mysticatea/eslint-utils/compare/v1.3.1...v1.4.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 14:44:31 +02:00
dependabot[bot] af92edca27 Bump mixin-deep from 1.3.1 to 1.3.2 (https://github.com/woocommerce/woocommerce-beta-tester/pull/92)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 14:43:45 +02:00
Claudio Sanches 6ce34ae126 Fixed conflicts 2021-03-13 02:11:01 -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 0765962fe7 Add support for Woorelease (https://github.com/woocommerce/woocommerce-beta-tester/pull/88)
* add .distignore to exclude package files from zip

* add empty changelog.txt

* update build script to create zip

* add build files to git/distignore
2021-01-19 13:56:37 +01: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 4cee38c875 update stable tag in readme 2020-11-26 16:14:51 -04:00
Ron Rennick 8410e7b417 Merge pull request woocommerce/woocommerce-beta-tester#82 from woocommerce/tag/version-2.0.2
tag version 2.0.2
2020-11-26 15:20:32 -04:00
Ron Rennick 9339497c3b tag version 2.0.2 2020-11-20 14:07:13 -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 cf98523b75 bump tested to version 2020-11-19 14:07:05 -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
Peter Fabian 6348f0422c Updated 'tested up to' for WP 5.2. 2019-10-07 18:10:43 +02:00
Brent Shepherd 832de765ce Remove newlines from readme
To fix FAQs and improve display on WordPress.org:

* Before: https://cld.wthms.co/Ko5Rmk
* After: https://cld.wthms.co/w316sb
2019-09-24 15:16:12 +10:00
Claudio Sanches 29287ab10c Revert "Add release script based on WooCommerce release script" 2019-04-02 16:33:43 -03:00
Claudio Sanches a489628af2 Updated dependencies to match with WooCommerce
Also updated PHPCS to support PHP 7.3.

Included better pre-commit process, covering JS too.
And removed copy/paste dealing with .less files, we never had any .less
file in this project.
2019-04-02 16:28:24 -03:00
Claudio Sanches a9416a7173 Fixed multiple modals after click in "Release x.x.x information"
Closes woocommerce/woocommerce-beta-tester#47
2019-03-14 12:27:10 -03:00
Claudio Sanches 51f1f23e53 Merge pull request woocommerce/woocommerce-beta-tester#52 from woocommerce/add-travis
Add Travis configuration file to the repository
2019-03-14 12:02:43 -03:00
Rodrigo Primo a1625a8136 Merge pull request woocommerce/woocommerce-beta-tester#54 from woocommerce/release-script
Add release script based on WooCommerce release script
2019-03-14 08:53:38 -03:00
Rodrigo Primo 12701047c5 Add release script based on WooCommerce release script 2019-03-14 08:52:25 -03:00
Rodrigo Primo 19dae4fe90 Merge pull request woocommerce/woocommerce-beta-tester#53 from woocommerce/prepare-release
Prepare 2.0.1 release
2019-03-14 08:18:05 -03:00
Rodrigo Primo 7c83440f97 Prepare 2.0.1 release 2019-03-14 08:17:04 -03:00
Rodrigo Primo 062878a5bd Add rodrigosprimo to the list of contributors 2019-03-14 08:15:22 -03:00
Rodrigo Primo e7fa240d26 Merge branch 'master' into add-travis 2019-03-14 07:40:16 -03:00
Rodrigo Primo 503773a800 Fix remaining WPCS violations manually 2019-03-13 16:55:11 -03:00
Rodrigo Primo 5e6ae9bfb6 Fix WPCS violations automatically using phpcbf 2019-03-13 16:54:47 -03:00
Rodrigo Primo dca1f3d4d7 Install composer packages on Travis build to be able to use phpcs 2019-03-13 16:42:52 -03:00
Rodrigo Primo 2098ad0516 Travis should create branch builds only for master 2019-03-13 16:32:20 -03:00
Rodrigo Primo ca10240397 Add Travis configuration file to the repository
For now, using it only to run PHPCS.
2019-03-13 16:30:16 -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
Claudio Sanches f6aef3e3f8 Merge pull request woocommerce/woocommerce-beta-tester#50 from woocommerce/fix/3.6-dev-exception
Fix exception when running against master/3.6-dev
2019-03-13 14:56:57 -03:00