Commit Graph

307 Commits

Author SHA1 Message Date
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
Claudio Sanches 6dfa92760f Merge pull request woocommerce/woocommerce-beta-tester#49 from woocommerce/wp50-compat
Compatibility update for WP 5.1
2019-03-13 14:56:51 -03:00
Claudio Sanches c79d5dabfb Update readme.txt 2019-03-13 14:56:06 -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
Claudio Sanches 3848a9a442 Updated dependencies 2019-02-13 12:23:20 -02:00
Boro Sitnikovski 4024b39357 Compatibility update for WP 5.0
Friendly reminder, this needs to go out together with WP 5.0. cc @claudiulodro
2018-11-19 13:54:51 +01: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
Mike Jolley 4a6a892a45 Plugin desc 2018-06-25 12:05:54 +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
Mike Jolley fc2dfd4f4a .org assets 2018-06-07 15:01:32 +01:00
Boro Sitnikovski aac0f30a2a Use correct textdomain 2018-06-07 15:40:48 +02:00
Boro Sitnikovski 384fe9b954 Add minified file 2018-06-07 15:39:42 +02:00
Boro Sitnikovski c053eded70 Merge branch 'master' into add/version-picking 2018-06-07 15:34:52 +02:00
Boro Sitnikovski e345e1bb54 Include information about plugins/theme in the GH issue submission description 2018-06-07 15:16:27 +02:00
Boro Sitnikovski cd42593bc4 Merge pull request woocommerce/woocommerce-beta-tester#41 from woocommerce/tweak/plugin-row-actions
Introduce row actions for the plugin
2018-06-07 14:47:40 +02:00
Boro Sitnikovski 0e1410590d Update class-wc-beta-tester.php 2018-06-07 14:47:30 +02:00
Boro Sitnikovski 66e78a47d8 Introduce row actions for the plugin 2018-06-07 14:18:29 +02:00
Mike Jolley 3a31bd10fd Edit text nodes 2018-06-07 12:55:40 +01:00
Peter Fabian cc2368a763 Code review updates. 2018-06-07 13:12:53 +02:00
Mike Jolley 96e612ebdd Update readme file 2018-06-07 12:11:40 +01:00
Boro Sitnikovski e7ae24135e Merge pull request woocommerce/woocommerce-beta-tester#36 from woocommerce/tweak/pre-release-information
Initial implementation for including additional pre-release information
2018-06-07 12:10:24 +02:00
Boro Sitnikovski 8e8f2389aa Wrap notes in autop and make_clickable 2018-06-07 12:10:11 +02:00
Boro Sitnikovski 0862d365e7 Use hour in seconds 2018-06-07 11:24:38 +02:00
Boro Sitnikovski b27c5022ab Don't invoke singleton on the very same class 2018-06-07 11:17:45 +02:00
Boro Sitnikovski b9f15ac1f6 Still include new tab in case description is not set 2018-06-07 10:55:37 +02:00
Boro Sitnikovski 8447cdbf3d Initial implementation for including additional pre-release information 2018-06-07 10:52:33 +02:00
Peter Fabian e01792d90a Fixed a mistake in merge. 2018-06-06 23:21:58 +02:00
Peter Fabian 80b19f5a47 Switched from raw wp options to settings from beta tester class. 2018-06-06 23:20:40 +02:00
Peter Fabian 3e75307f33 Merge branch 'master' into add/version-picking 2018-06-06 23:19:25 +02:00
Peter Fabian 68d1f3898f Fixed formatting error introduced by editing on GitHub. 2018-06-06 18:32:19 +02:00
Peter Fabian 06e92b78e9 Merge branch 'master' into add/version-picking 2018-06-06 18:30:41 +02:00
Peter Fabian 45a7658c1f Added Backbone modal to switching versions. 2018-06-06 18:26:48 +02:00
Mike Jolley ac0b56e6cc auto_update_plugin filter 2018-06-06 16:18:34 +01:00
Mike Jolley 04946ed0a4 Add settings 2018-06-06 16:14:32 +01:00
Claudio Sanches 7a17bc4a01 Merge pull request woocommerce/woocommerce-beta-tester#33 from woocommerce/update/channel-settings-radio
Use radio inputs for settings
2018-06-06 11:27:31 -03:00
Mike Jolley 814b587ad7 Use radio inputs 2018-06-06 15:14:27 +01:00
Peter Fabian ee0b9a6db1 Merge branch 'master' into add/version-picking 2018-06-06 15:52:26 +02:00
Boro Sitnikovski 42033eefd7 Merge pull request woocommerce/woocommerce-beta-tester#32 from woocommerce/tweak/version-switch-modal
Initial implementation for version switch modal
2018-06-06 15:35:23 +02:00
Boro Sitnikovski feda5ad5d2 Get WC version programmatically by using the constant 2018-06-06 15:35:00 +02:00
Mike Jolley 1fd5e7aa7f Merge pull request woocommerce/woocommerce-beta-tester#30 from woocommerce/feature/18
Display notices to install and enable WooCommerce
2018-06-06 14:34:01 +01:00
Mike Jolley 8e028c3b6c Update translation string 2018-06-06 14:33:41 +01:00
Boro Sitnikovski 3040c55667 Correct docblock 2018-06-06 14:32:49 +02:00
Peter Fabian a5775ba5e8 PHPCS updates and wording update. 2018-06-06 14:30:25 +02:00
Boro Sitnikovski 384f1cfc98 Merge branch 'tweak/version-switch-modal' of github.com:woocommerce/woocommerce-beta-tester into tweak/version-switch-modal 2018-06-06 14:28:42 +02:00
Boro Sitnikovski 56a5827451 Address PR comments 2018-06-06 14:28:24 +02:00
Peter Fabian 8614a8d33e Added link to version pick from admin toolbar. 2018-06-06 14:10:50 +02:00
Boro Sitnikovski b31d24aadf Merge branch 'master' into tweak/version-switch-modal 2018-06-06 13:29:52 +02:00
Peter Fabian 264055dfe2 Merge branch 'master' into add/version-picking 2018-06-06 13:02:22 +02:00
Peter Fabian 199d34a32a Moved version picker to its own class, added to Tools menu. 2018-06-06 12:58:57 +02:00
Peter Fabian fe3f84b313 Merge pull request woocommerce/woocommerce-beta-tester#19 from woocommerce/tweak/use-wporg-for-download
Use WordPress.org for downloading WooCommerce
2018-06-06 12:53:55 +02:00
Boro Sitnikovski d5c4f794c6 Fix another TODO to include admin styles for the modal 2018-06-06 10:25:27 +02:00
Boro Sitnikovski 35ad51456c Fix TODO for minification 2018-06-06 10:21:10 +02:00
Boro Sitnikovski 2f59a976d5 Move JS file 2018-06-06 10:16:28 +02:00
Boro Sitnikovski d5814c118d Fix code styles 2018-06-06 10:07:45 +02:00
Boro Sitnikovski a8f7279dfd Initial implementation for version switch modal 2018-06-06 10:02:45 +02:00
Peter Fabian b2e7016735 Initial code to create a list of versions based on wp.org API. 2018-06-06 00:46:22 +02:00
Boro Sitnikovski 845279a1d3 Remove unnecessary ob_start call 2018-06-05 23:52:31 +02:00
Boro Sitnikovski b750c96c2a Don't check against versions higher than latest version 2018-06-05 23:46:34 +02:00
Boro Sitnikovski b0bae55ce1 Don't break as we need to return the latest beta/rc candidate (assume the versions array is ordered) 2018-06-05 23:22:45 +02:00
Boro Sitnikovski c1c73611fd Get latest pre-release by comparing against (beta/rc) versions higher than latest release 2018-06-05 23:18:07 +02:00
Claudio Sanches 832ee72eaf Display notices to install and enable WooCommerce 2018-06-05 16:45:06 -03:00
Claudio Sanches add146aee1 Typo 2018-06-05 16:04:11 -03:00
Claudio Sanches 9f55a1d8b2 Merge branch 'master' into improve/github-ticket-content 2018-06-05 16:02:47 -03:00
Claudio Sanches 2a8e7eda19 Fixed wrong variable 2018-06-05 15:22:51 -03:00
Claudio Sanches ab186e05f2 Improve how environment data is generated 2018-06-05 15:15:16 -03:00
Claudio Sanches 2da5e342e0 Fixed coding standards 2018-06-05 14:36:09 -03:00
Claudio Sanches 2f4c497913 Check if WC_Admin_Status exists before load admin bar 2018-06-05 14:21:23 -03:00
Claudio Sanches 6f95040c5e Removed GitHub URL 2018-06-05 14:08:06 -03:00
Claudio Sanches 1a74266309 Fixed coding standards 2018-06-05 14:06:21 -03:00
Claudio Sanches b1fccabe36 Merge branch 'master' into tweak/use-wporg-for-download 2018-06-05 14:04:53 -03:00
Boro Sitnikovski 10a3a8877d Use correct download URL 2018-06-05 15:31:53 +02:00
Boro Sitnikovski 29b0c483b8 Use WPorg API to get data instead of GitHub 2018-06-05 15:26:59 +02:00
Gerhard Potgieter 1a3799a4e6 Merge pull request woocommerce/woocommerce-beta-tester#20 from woocommerce/tweak/feedback-bar
Feedback bar implementation
2018-06-05 14:19:16 +02:00
Gerhard Potgieter 4a8140e5f9 Merge pull request woocommerce/woocommerce-beta-tester#25 from woocommerce/tweak/submit-gh-ticket
Initial implementation for submitting ticket to GH
2018-06-05 14:17:34 +02:00
Boro Sitnikovski ddd764f2a5 Use esc_js on the javascript part 2018-06-05 14:14:01 +02:00
Gerhard Potgieter 3f702999c2 Lookup version when adding to GH ticket 2018-06-05 14:10:55 +02:00
Gerhard Potgieter bcac545022 Stable, not RC by default 2018-06-05 13:46:34 +02:00
Gerhard Potgieter 5fbefe30c3 Fetch current_channel programatically 2018-06-05 13:45:09 +02:00
Boro Sitnikovski d40391237f Use correct Settings URL 2018-06-05 13:16:58 +02:00
Gerhard Potgieter 9c2346e68b Settings 2018-06-05 13:11:39 +02:00
Boro Sitnikovski cadd814916 Initial implementation for submitting ticket to GH 2018-06-05 12:46:55 +02:00
Gerhard Potgieter 2514f9dd0a Merge pull request woocommerce/woocommerce-beta-tester#17 from woocommerce/add/dev-tools
Dev tools
2018-06-05 11:20:46 +02:00
Boro Sitnikovski ab3c1b1ec3 Update correct text domain and add another todo 2018-06-05 10:49:28 +02:00
Boro Sitnikovski a9b5c8917d Initial commit for feedback bar 2018-06-05 10:37:08 +02:00
Boro Sitnikovski 387b3cf3ea Use WordPress.org for downloading WooCommerce 2018-06-05 10:01:38 +02:00
Claudio Sanches 4ea4c0298b Tidy readme.txt 2018-06-04 16:24:37 -03:00
Claudio Sanches 7f681244b6 Clean up code and fixed PHPCS violations 2018-06-04 16:21:02 -03:00
Claudio Sanches d32db88b45 Composer dependencies 2018-06-04 16:06:43 -03:00
Claudio Sanches 333fac5e56 Introduced .editorconfig 2018-06-04 16:06:33 -03:00
Mike Jolley cb3dcf5eae Fix URls and folder naming
Closes woocommerce/woocommerce-beta-tester#6
Closes woocommerce/woocommerce-beta-tester#7
2017-06-19 15:28:17 +01:00
Mike Jolley 9e81908d52 Updated API URL. 2017-03-17 14:52:43 +00:00
Mike Jolley 0eff9df60f Get latest prerelease 2016-01-06 11:32:10 +00:00
Mike Jolley f4bb640d0a 4.4 is fine 2015-11-26 15:44:00 +00:00
Caleb Burks 69bdf85d2f Contributors update 2015-08-27 06:38:06 -05:00
Allen Snook 773425e7bc Test for woocommerce installation before attempting anything 2015-07-22 15:34:43 -07:00
Claudio Sanches c75307a785 Updated the readme.txt 2015-07-15 16:53:30 -03:00
Mike Jolley 3915c1e29f And its alive! Working with new tag names. 2015-07-15 13:31:06 +01:00
Mike Jolley ad1e91545b More work - does not work yet due to version names 2015-07-14 19:31:22 +01:00
Mike Jolley fbb3c906c2 WooCommerce Beta Tester first bunch of code (untested) 2015-07-14 18:35:57 +01:00