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