Commit Graph

34775 Commits

Author SHA1 Message Date
Christopher Allford 4aa9360ba7 Added an adapter to support creating models via the API 2020-06-30 12:50:15 -07:00
Christopher Allford ddbbbbc078 Adjusted the TypeScript configuration to use the --build flag 2020-06-24 16:08:28 -07:00
Christopher Allford 6ad8b57f2e Added formatting requirements to the code style 2020-06-24 14:47:46 -07:00
Christopher Allford 4e02ce7afd Moved the Axios response/error transformations into an interceptor 2020-06-24 11:35:04 -07:00
Christopher Allford 9908a84d0e Added a service for interacting with the WordPress API
We've hid the use of Axios behind a service so that we're able to easily mock it out in factories as well as handle the creation and configuration of the client. This will make it easier on consumers in that they won't have to worry about things like authentication when using the API.
2020-06-23 13:15:26 -07:00
Christopher Allford 031bb6593f Fixed the usage of baseURL with the APIAuthInterceptor 2020-06-23 11:53:00 -07:00
Christopher Allford 323d06744c Adjusted the APIAuthInterceptor to be more explicitly Axios-specific 2020-06-22 12:10:45 -07:00
Christopher Allford dd74c3db45 Removed build artifact 2020-06-20 18:46:59 -07:00
Christopher Allford 2a3b1b3780 Adjusted the package to better support NPM distribution 2020-06-20 18:25:19 -07:00
Christopher Allford 9f1decd4c6 Added an interceptor to handle WooCommerce API authentication 2020-06-19 12:08:48 -07:00
Christopher Allford 5e15271f95 Excluded test files from the TypeScript build 2020-06-18 09:43:11 -07:00
Christopher Allford 1418b68910 Initial configuration for e2e-factories package 2020-06-17 15:51:28 -07:00
Ron Rennick 0265e027ef
Merge pull request #26637 from woocommerce/fix/wc_timezone_string
use wp_timezone_string when available
2020-06-03 15:41:47 -03:00
Claudio Sanches 3701f0a82b
Merge pull request #26542 from woocommerce/tweak/add-shipping-actions
Add actions before/after shipping calculation
2020-06-03 11:25:10 -03:00
Claudio Sanches bf042a428d
Merge pull request #25321 from grey-rsi/status_widget_stock_rows
Add filters for status_widget_stock_rows queries
2020-06-03 11:22:20 -03:00
Claudio Sanches 4922c34180
Merge pull request #26136 from woocommerce/feature/code-hacker-for-unit-tests
Code hacker for unit tests
2020-06-03 08:41:28 -03:00
Nestor Soriano 32dac2486f Update autoload-dev in composer.json to add tests/tools directory
The mapping of the "Automattic\WooCommerce\Testing\Tools\" namespace
to the "tests/tools" directory is moved from manual registration
inside the tests bootstrap constructor to a declaration inside the
autload-dev section in composer.json.
2020-06-03 09:28:54 +02:00
Claudio Sanches 6ddc3beb43
Merge pull request #26624 from woocommerce/fix/ignore-packages-renovate
Removed feature plugin packages from renovate updated
2020-06-02 22:11:10 -03:00
Claudio Sanches 7ad0b63d14
Merge pull request #26676 from woocommerce/fix/distignore-2
Fixed paths in .distignore
2020-06-02 21:03:06 -03:00
Claudio Sanches cfe022c20a Fixed paths in distignore 2020-06-02 19:44:35 -03:00
Claudio Sanches 919276fd90
Merge pull request #26403 from woocommerce/update/add-contributors-from-pkgs
Added packages to list of contributors.
2020-06-02 19:00:42 -03:00
Claudio Sanches e566949dac
Merge pull request #26674 from woocommerce/fix/destignore
Updated .distignore to exclude directories only from root
2020-06-02 17:39:21 -03:00
Claudio Sanches 6be6613293 Updated .distignore to exclude directories only from root
Also excludes "webpack.config.js" file now.
2020-06-02 17:19:14 -03:00
Julia Amosova 8fe149d56d
Merge pull request #26670 from woocommerce/tweak/26123
Add note to Products Importer description that TXT files are also supported.
2020-06-02 15:00:36 -04:00
Claudio Sanches adca2cb73d
Merge pull request #26644 from tivnet/patch-6
class-wc-shortcode-products.php - fix spelling in a comment
2020-06-02 15:56:16 -03:00
Nestor Soriano bfda3f9938 Code hacker resdesign for single-load of code files.
The code hacker as originally designed, as a mechanism that allowed
to enable hacks at the individual test level, is flawed because it
assumes that code files are loaded before each test, but actually
the PHP engine loads code files only once.

Therefore this commit redesigns it so that the two existing main hacks,
the functions mocker and the static methods hacker, are applied
to all the relevant functions and classes at bootstrap time, and
mocks for each individual function/method can be registered at the
beginning of each test. See README for the full details.
2020-06-02 19:06:53 +02:00
Julia Amosova 479cac4fc0 Add note to Products Importer that TXT files are also supported. 2020-06-02 12:55:06 -04:00
Julia Amosova 437d442f4c
Merge pull request #26666 from woocommerce/fix/26664
Correct grammar mistake in the help tip of the `Connected to WooCommerce.com` field of System Status Report
2020-06-02 11:50:36 -04:00
Claudio Sanches 5bf9a83e58
Fixed docblock 2020-06-02 12:17:59 -03:00
Claudio Sanches 2267dcfe7e
Updated since tags 2020-06-02 12:16:54 -03:00
Julia Amosova f929bacfc6 Correct grammar mistake in the help tip of the `Connected to WooCommerce.com` field of SSR. 2020-06-02 11:12:47 -04:00
Sergey Ratushnuy ec91a7c3fc Small fix 2020-06-02 15:05:44 +03:00
Claudio Sanches 41ff8ec073
Merge pull request #26639 from woocommerce/fix/26273
Removed "Avannaata Kommunia" from Ghanaian regions
2020-06-01 16:10:16 -03:00
Claudio Sanches 063ed4f062
Merge pull request #26645 from tivnet/patch-7
wc-template-functions.php - Fix variable name in docblock
2020-06-01 16:09:50 -03:00
Claudio Sanches 855b1d3b6b Added docblocks and removed $this 2020-06-01 14:35:31 -03:00
Boro Sitnikovski dd512c6f40 Move filter out of abstract class and into the manager class 2020-06-01 19:25:18 +02:00
Gregory Karpinsky 3d02da9a03
Update wc-template-functions.php
Fix variable name in docblock
2020-05-31 08:43:44 -04:00
Gregory Karpinsky 42bc3d3bf3
Update class-wc-shortcode-products.php
Spelling in a comment
2020-05-31 08:27:14 -04:00
Claudio Sanches 5db7e0f3f3 Removed "Avannaata Kommunia" from Ghanaian regions 2020-05-29 11:09:44 -03:00
Ron Rennick 1215844b05 update timezone unit tests to support WP 5.3/5.4 2020-05-29 08:29:35 -03:00
Ron Rennick 7fbe912e19 use wp_timezone_string when available 2020-05-29 07:54:43 -03:00
Peter Fabian fabebd9c6a
Merge pull request #26614 from spacedmonkey/patch-1
Add requires headers in plugin
2020-05-28 09:55:51 +02:00
Jonny Harris 3a9f8875c5
Update woocommerce.php 2020-05-27 23:44:30 +01:00
Christopher Allford efebb4058d Marked all of the feature plugin packages as ignored in the renovate config
Since we're going to require package updates to follow a specific PR template, it doesn't make much sense to automatically submit a PR for this through renovate.
2020-05-27 13:49:54 -07:00
Peter Fabian 137cc4f150
Merge pull request #26615 from woocommerce/update/readme-sync-pre4.2
Updated readme: stable version to 4.1.1 and changelog for 4.2
2020-05-27 19:10:14 +02:00
Peter Fabian d71f223bb2 Readme bumped to 4.3
As it's past the point of creating release/4.2 branch.
2020-05-27 16:58:11 +02:00
Peter Fabian bd2130c425 Merge branch 'update/readme-sync-pre4.2' of https://github.com/woocommerce/woocommerce into update/readme-sync-pre4.2 2020-05-27 16:55:28 +02:00
Peter Fabian 70cfd12f0e Updated readme: stable version to 4.1.1 and changelog for 4.2 2020-05-27 19:42:56 +05:30
vedanshujain 8f9bf9042d Update changelog till 4.1.1 2020-05-27 19:38:23 +05:30
vedanshujain d1052621a3 Update stable tag 2020-05-27 19:38:09 +05:30