Christopher Allford
8f5ff436a2
Added support for flat parents to simplify calls with them
2020-10-01 17:48:37 -07:00
Christopher Allford
a01da2da93
Updated the lock files
2020-10-01 16:04:03 -07:00
Christopher Allford
e6efbdde34
Merge branch 'master' into packages/api/add/repository-listing
2020-10-01 15:58:48 -07:00
Christopher Allford
8ee89eb85d
Documentation fixes
2020-10-01 15:53:30 -07:00
Christopher Allford
cfa20570c1
Added appropriate HTTP errors to REST repository methods
2020-10-01 15:37:58 -07:00
Christopher Allford
f8574bed56
Added a utility service for updating settings
2020-10-01 15:23:46 -07:00
Christopher Allford
f0ad6e4fc2
Added aliases to make repository types easier to read
2020-10-01 15:00:27 -07:00
Christopher Allford
787040db4c
Adjusted the ModelRepository to make repository methods more type-safe
2020-10-01 14:31:55 -07:00
Christopher Allford
f2dda16c40
Updated lock files
2020-10-01 14:28:14 -07: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
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
Christopher Allford
f6cbab8d07
Added missing static helpers for fetching repositories
2020-09-30 13:16:46 -07:00
Christopher Allford
fccf1fb66e
Added settings and group repositories with some basic functionality
2020-09-30 13:11:31 -07:00
Christopher Allford
4c2637c479
Added a `list` operation to the repository
2020-09-30 07:59:10 -07:00
Christopher Allford
f571324a09
Added better type-safety when distinguishing between resources that are children and those that are not
2020-09-29 18:40:50 -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
Christopher Allford
8c5548d06e
Added @template JSDoc tag to API package for better IDE support
2020-09-29 12:00:09 -07:00
Joshua Flowers
048c43a37f
Add back in activation transient to redirect on install
2020-09-29 14:25:15 -04: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
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
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
Christopher Allford
b962c10cee
Updated the readme for the API package
2020-09-21 12:32:44 -07:00
Claudio Sanches
3391d8c0b0
Merge pull request #27718 from woocommerce/bump-versions-to-4.7.0
...
Bump WC version to 4.7.0
2020-09-21 16:21:09 -03:00
Claudio Sanches
f648cec276
Updated package.json
2020-09-21 16:20:22 -03:00
Claudio Sanches
eb99c1c857
Merge pull request #27719 from woocommerce/preparation/4.6.0-beta
...
Prepare 4.6.0 changelog
2020-09-21 16:19:54 -03:00
Claudio Sanches
d9d62d8bd3
Fixed changelog
2020-09-21 16:19:40 -03:00
Claudio Sanches
0524d5f581
Restored "See changelog for all versions" link
2020-09-21 16:19:17 -03:00
Claudio Sanches
ed4750f97a
Merge pull request #27715 from woocommerce/fix/post-merge-script-exit-status
...
Fix post-merge.sh exit status
2020-09-21 16:15:19 -03:00