Nestor Soriano
97618d8fad
Reintroduce the League's Container package, and prefix it.
...
All the classes in the package are re-namespaced from
"Leage\Container" to "Automattic\WooCommerce\Vendor\League\Container"
to prevent conflicts with extensions using the same plugin.
The re-namespacing is done by using a simple text substitution
on all the code files (see prefix-vendor-namespaces.sh), for this
particular case this approach is enough.
2020-10-08 09:28:01 +02:00
Néstor Soriano
3e6861189e
Merge pull request #27848 from woocommerce/php8/remove-useless-test-assertion
...
[PHP 8] Remove a useless test assertion that fails in PHP 8
2020-10-08 09:06:39 +02:00
Ron Rennick
2380e9d376
Merge pull request #27432 from woocommerce/fix/e2e-url-no-port
...
Add support for URLs without a port to test:e2e
2020-10-07 15:51:45 -03:00
Ron Rennick
577494796c
Merge pull request #27736 from woocommerce/fix/27681
...
Update taxonomy template file names to `-`
2020-10-07 15:23:11 -03:00
Ron Rennick
67a54b3aa3
Merge pull request #27289 from woocommerce/fix/27222
...
use first gallery image on single product when image not assigned
2020-10-07 15:06:30 -03:00
Claudio Sanches
a0648fb52c
Merge pull request #27890 from Knyazevich/fix/24136
...
Fixed: Draft post set as shop page causes trouble
2020-10-07 14:12:30 -03:00
Ron Rennick
3a980a1241
merge current master
2020-10-07 03:17:38 -03:00
Ron Rennick
84fdfb6769
merge master
2020-10-07 03:05:04 -03:00
Julia Amosova
aac4db94b2
Merge pull request #27679 from woocommerce/packages/e2e/config-functions
...
add eslint & babel config functions to e2e-environment
2020-10-06 14:15:56 -04:00
Knyazevich
ce59afb2b9
Simplify drafts excluding logic (ref #24136 )
2020-10-06 18:11:58 +03:00
Knyazevich
f551c6c792
Exclude drafts from the "Shop page" select (ref #24136 )
2020-10-06 06:42:56 +03:00
Ron Rennick
df60bfb054
Merge pull request #27276 from woocommerce/fix/docker-ssh
...
Fix e2e docker:ssh command to work in any repo
2020-10-05 09:51:56 -03:00
Ron Rennick
ab4a46e32e
Merge pull request #27299 from woocommerce/fix/27116
...
allow variation image to be removed via REST API
2020-10-05 09:33:50 -03:00
Nestor Soriano
ed33a607a7
Remove a useless test assertion that fails in PHP 8
...
The assertion is useless (the constant is already tested a few Lines
above), and it was failing in PHP 8 because 'auto' < 2 is evaluated
as false, while it's evaluated to true in PHP 7.
2020-10-02 15:27:26 +02:00
Rodrigo Primo
788969d2bb
Merge pull request #27832 from woocommerce/update/woocommerce-admin/1.6.0-rc.3
...
Update woocommerce-admin to 1.6.0-rc.3
2020-10-01 15:41:59 -03:00
Rodrigo Primo
7d5ac90ff0
Merge pull request #27822 from woocommerce/fix/set-activation-redirect-transient-for-new-installs-only
...
Update the activation transient to only get added on new installs
2020-10-01 15:06:44 -03:00
Ron Rennick
c17b6b5ad0
Update expected industry count
2020-10-01 14:46:04 -03:00
Ron Rennick
4af90518da
lock file maintenance
2020-10-01 14:21:40 -03:00
Timmy Crawford
7efccce126
Update woocommerce-admin to 1.6.0-rc.3
2020-10-01 06:39:57 -07:00
Jonathan Sadowski
e540b4820e
Rename maybe_enable_setup_wizard to maybe_set_activation_transients
2020-09-30 17:27:43 -05:00
Jonathan Sadowski
83238ec1d7
Move maybe_enable_setup_wizard abode update_wc_version so new install is detected
2020-09-30 17:01:43 -05:00
Jonathan Sadowski
95755cb59d
Update the activation transient to only get added on new installs
2020-09-30 16:00:45 -05:00
Christopher Allford
d245a60c6e
Merge pull request #27739 from woocommerce/packages/factories-to-api-refactor
...
Transform @woocommerce/model-factories into @woocommerce/api
2020-09-30 13:46:04 -07:00
jonathansadowski
2c1fe4235d
Merge pull request #27806 from woocommerce/fix/wca-install-redirect
...
Add back in activation transient to redirect on install
2020-09-29 16:23:10 -05:00
Joshua Flowers
048c43a37f
Add back in activation transient to redirect on install
2020-09-29 14:25:15 -04:00
Ron Rennick
802b364b05
Merge branch 'master' into fix/27681
2020-09-28 16:17:51 -03:00
Ron Rennick
fd60f7052a
Merge branch 'master' into fix/e2e-url-no-port
2020-09-28 16:15:22 -03:00
Christopher Allford
ef93f22321
Moved the product model for consistency with other model types
2020-09-25 14:08:19 -07:00
Christopher Allford
789773c65c
Fixed E2E test
2020-09-25 14:05:11 -07:00
Christopher Allford
44c7428358
Updated package lock files and fixed test error
2020-09-25 13:49:54 -07:00
Christopher Allford
760b0e4cdb
Merge branch 'master' into packages/factories-to-api-refactor
2020-09-25 13:19:36 -07:00
Christopher Allford
73deab28a5
Merge pull request #27785 from woocommerce/fix/onboarding-flow-4-6
...
Update onboarding flow for 4.6
2020-09-25 13:16:19 -07:00
Christopher Allford
c09d91f6ce
Finished adding appropriate documentation to the API package
2020-09-25 11:11:17 -07:00
Ron Rennick
6b7d67e587
update onboarding flow for 4.6
2020-09-25 12:06:45 -03:00
Peter Fabian
51029986b5
Merge pull request #27759 from rodrigoprimo/fix/pre-push-hook
...
Fix pre-push hook used by husky
2020-09-25 12:52:44 +02:00
Christopher Allford
ca0ea88e52
Updated the JSDoc and type-safety of repositories to better document the implemented operations
2020-09-24 14:22:38 -07:00
Ron Rennick
2ab59149ad
revert testing change to default.json
2020-09-24 12:27:35 -03:00
Julia Amosova
dcd0c46ab5
Merge pull request #27714 from woocommerce/fix/headless-flag-e2e-dev-mode
...
Add missing headless flag for running e2e tests in dev mode + README updates
2020-09-23 17:05:45 -04:00
Ron Rennick
bde41799af
merge master
2020-09-23 17:20:43 -03:00
Ron Rennick
a80dc37684
merge master
2020-09-23 16:26:17 -03:00
Ron Rennick
3fbdf46192
always remove the trailing slash from the base URL
2020-09-23 16:22:15 -03:00
Rodrigo Primo
6e61398c83
Fix pre-push hook used by husky
...
The pre-push hook uses sh but contained syntax that is only supported by
bash. `=` in sh should be used instead of `==` to check for string
equality. Before this change, we were getting the following error when
pushing to any branch:
```
git push
husky > pre-push (node v10.22.1)
./bin/pre-push.sh: 7: [: refs/heads/master: unexpected operator
```
This error didn't block the push, but meant that the message asking
developers to confirm if they wanted to push to master was never
displayed. This problem was introduced in commit
8c25557bf5
added in PR #27028 .
2020-09-23 10:42:23 -03:00
Rodrigo Primo
4dd4230931
Merge pull request #27747 from woocommerce/fix/setup-wizard-deprecated-version-number
...
Fix two minor issues related with the setup wizard deprecation
2020-09-22 11:49:35 -03:00
Rodrigo Primo
c3a72b994a
Fix version in which the setup wizard was deprecated
...
The setup wizard is going to be deprecated in WC 4.6.0 which should be
released soon. Some functions were marked as if they were deprecated in
WC 4.5.0 which is not the case.
2020-09-22 11:20:33 -03:00
Rodrigo Primo
51fd4af1b2
Remove call to __() from deprecation messages
...
Doing this as AFAIK we don't typically support traslation for
deprecation messages.
2020-09-22 11:18:43 -03:00
Rodrigo Primo
469101519a
Remove WC 4.6 from changelog.txt as this version is yet to be released
2020-09-22 10:04:17 -03:00
Christopher Allford
a7175c5ad4
Adjusted create method signature to better replicate TypeScript behavior
2020-09-21 13:44:45 -07:00
Christopher Allford
1674c05b66
Fixed the package.json files array to exclude development content
2020-09-21 13:33:57 -07:00
Christopher Allford
5297b27c79
Moved the factories from the @woocommerce/api package into the @woocommerce/e2e-utils package
2020-09-21 13:14:26 -07:00
Claudio Sanches
0d42a0419e
Update changelog.txt
2020-09-21 16:36:41 -03:00