Geoffrey K Taylor and GitHub
6b0c798f91
feat: collectionStats query added ( #785 )
...
* feat: collectionStats query added
* fix: `collectionStats` query completed and tested.
* chore: Linter and PHPStan compliance met
* chore: ProductTaxonomy values fixed.
* chore: CollectionStatsQueryTest tweaked for CI
2023-09-23 03:50:17 -04:00
Geoffrey K Taylor and GitHub
134dc5eaf7
feat: "found" field added to the Products Connection types ( #804 )
2023-09-15 23:31:24 -04:00
Geoffrey K Taylor and GitHub
9ca2f48b8c
fix: VariationAttribute now sourcing value as Term slug for global attributes ( #800 )
2023-09-14 20:23:28 -04:00
Geoffrey K Taylor and GitHub
81502f9d43
fix: ProductUnion interface added ( #797 )
...
* fix: ProductUnion interface added
* chore: Linter and PHPStan compliance met
2023-09-11 17:42:26 -04:00
Geoffrey K Taylor and GitHub
277cef0be2
fix: Cart_Mutation:prepare_attributes made public ( #796 )
...
* fix: Cart_Mutation:prepare_attributes made public
* devops: Dockerfile updated.
2023-09-11 17:19:31 -04:00
Geoffrey K Taylor and GitHub
993f8aa86d
chore: Fatal debug code removed ( #791 )
2023-08-23 11:09:38 -04:00
Geoffrey K Taylor and GitHub
44c27174b6
fix: WP User core field support fixed in updateCustomer mutation ( #789 )
...
* devops: CustomerMutationsTest refactored heavily
* fix: `updateCustomer` mutation patched
2023-08-22 20:18:47 -04:00
Geoffrey K Taylor and GitHub
87d7a7b1a9
fix: ProductVariation type made to inherit the Product interface. ( #788 )
...
* devops: WP theme during e2e locked to TwentyTwentyOne
* fix: "Product Connection Resolver" restored
* chore: Linter/PHPStan compliance met
* devops: CustomerProceedsToCheckoutCept updated.
* chore: Linter compliance met
2023-08-22 17:14:39 -04:00
dedecd04de
docs: More docs drafted. ( #774 )
...
* docs: Pro docs drafted.
* feat: billingEmail added to OrderConnectionWhereArgs
* feat: More drafts added.
* docs: More documentation introduced.
* docs: page meta added to each new section
* chore: Linter compliance met
* docs: page meta added to each new section
* docs: Some revision and screenshots added.
* docs: More revisions
* feat: more revisions and images added.
* updated docs after proofreading
* chore: HPOS compatibility declared.
* docs: Some word consistency issues fixed.
* docs: Introductions and conclusions added.
* chore: Linter compliance met
---------
Co-authored-by: Craig Wilcox <craig@simplur.com >
2023-07-31 15:28:39 -04:00
Geoffrey K Taylor and GitHub
e6be30ebcd
fix: Several minor obscured syntax errors fix ( #771 )
...
* fix: Several minor obscured syntax errors fix
* fix: more fixes.
* fix: attribute "name" and "label" inconsistencies resolved.
2023-07-19 19:13:51 -04:00
Dovid Levine and GitHub
920d0b22af
dev: remove deprecated get_offset() use ( #760 )
2023-07-19 18:06:41 -04:00
Geoffrey K Taylor and GitHub
d09ce7df6f
fix: Fixed shipping address getting skipped unnecessary ( #752 )
2023-07-19 17:16:00 -04:00
Dovid Levine and GitHub
a4597db901
fix: remove codecept_debug() call from production code ( #759 )
2023-07-19 17:15:25 -04:00
f583628199
chore: implement WPGraphQL Coding Standards ( #769 )
...
* chore: avoid magic constants [PHPCS]
* chore: change ruleset to wp-graphql-cs and lint
* devops: HPOS added back to CI with the release of WC 3.9
---------
Co-authored-by: Geoff Taylor <geoff@axistaylor.com >
2023-07-19 17:11:25 -04:00
Dovid Levine and GitHub
4502bcd1a4
fix: initialize arrays before using ( #765 )
...
* fix!: update deps to required versions
* fix; initialize arrays before using
2023-07-19 16:12:36 -04:00
Dovid Levine and GitHub
58fbce7c57
fix: clean up unnecessary variables and ternaries ( #766 )
2023-07-19 16:10:23 -04:00
Dovid Levine and GitHub
4ed9cb94da
chore: use fully-qualified class names for PHPDoc types ( #767 )
...
* fix!: update deps to required versions
* chore: use fqcn for PHPDoc types
* chore: cleanup use statements
2023-07-19 16:01:50 -04:00
Dovid Levine and GitHub
d4927b9637
fix: use static closures when possible ( #764 )
...
* fix!: update deps to required versions
* fix: use static closures when possible
2023-07-19 15:56:42 -04:00
Andres and GitHub
fedde04f2b
fix: localAttributes and globalAttributes filtering and returned wrong values. ( #757 )
...
* fix: Localattribute and globalAttribute filtering.
* fixup! fix: Localattribute and globalAttribute filtering.
* fixup! fixup! fix: Localattribute and globalAttribute filtering.
* fixup! fixup! fixup! fix: Localattribute and globalAttribute filtering.
2023-07-04 18:51:03 -04:00
Geoffrey K Taylor and GitHub
60711aaa1b
feat: Account URL added to Auth URLs. ( #755 )
...
* feat: Account URL added to Auth URLs.
* fix: Account URL issues resolved + Variation Attribute connections refactored.
2023-07-03 03:34:58 -04:00
Geoffrey K Taylor and GitHub
e3e16e2a0f
chore: Pre-release v0.14.0 ( #751 )
...
* chore: CHANGELOG.md and README.md updated.
* chore: README.md updated.
2023-06-21 14:41:43 -04:00
57800b46f3
feat: HPOS support added. ( #748 )
...
* feat: HPOS support added.
* fix: Refund connections and connection permission fixed
* chore: Linter compliance met.
* devops: CI script updated.
* devops: CI script updated.
* fix: Syntax error fixed.
* devops: CI script updated.
* devops: CI script updated.
* devops: CI script updated.
* chore: PHPStan fixes started.
* chore: linter compliance met.
* chore: fix scanning and type-hinting for non-stubbed classes
* dev: refactor Order model around WC_Abstract_Order
* chore: update dev deps
* devops: PHPStan and Linter compliance met.
* devops: HPOS test temporarily suppressed.
---------
Co-authored-by: David Levine <david@axepress.dev >
2023-06-21 13:21:29 -04:00
4ef46acd15
chore: setup PHPStan ( #746 )
...
* chore: setup PHPStan
* chore: General code cleanup for PHPStan
* chore: PHPStan to level 2
* chore: PHPStan to level 2
* fix: Syntax error fixed.
* devops: PHPStan level 2 reached.
* devops: PHPStan level 3 passed
* devops: PHPStan level 4 passed
* chore: fix bad typehints from jwt-auth [phpstan]
* chore: simplify conditional logic in WC_Terms::register_connections()
* chore: add stubs for WP type properties.
* fix: check for valid WC_Order_Item before caching order.
* chore: lint
* devops: PHPStan level 6 passed.
* chore: Linter compliance met.
* chore: simplify logic and check for valid term.
* fix: ensure valid types (partial)
* chore: [phpcs] allow inline type annotations
* devops: PHPStan level 8 reached.
* devops: More stability fixes.
* fix: general bugfixes and improvements
* devops: Code Quality GA script added.
* devops: Linter compliance met & 2 "phpstan-ignore" statements set.
* devops: PHPStan config and CI script fixed.
* fix: "cartItem" query resolution refactored
* devops: GA scripts updated.
* chore: Simple copy changes
---------
Co-authored-by: Geoff Taylor <geoff@axistaylor.com >
2023-06-13 16:17:02 -04:00
Scott Bolinger and GitHub
c5cf6b6b35
fix case sensitive apply coupon mutation ( #729 )
...
The applyCoupon mutation is case sensitive, but coupons are not. This fixes trying to add a coupon code with lower case letters, such as `10off`. Previously you would get an error that the coupon doesn't exist because of mismatch in the case.
2023-04-18 23:12:06 -04:00
Geoffrey K Taylor and GitHub
c068671d93
feat: WooGraphQL settings tab added. ( #726 )
...
* feat: WooGraphQL settings tab added.
* chore: WPCS compliance met
* bugfix: Order Item Node ID implemented.
* chore: Deprecated "AppContext::getLoader" calls replaced.
* chore: WPCS compliance met.
* fix: DownloadableItem "id" field implemented
2023-04-04 12:02:25 -04:00
Geoffrey K Taylor and GitHub
b7c7b2d299
fix: Cart emptied after checkout ( #649 )
...
* fix: Cart emptied after checkout
* chore: WPCS compliance met.
2022-08-26 20:32:37 -04:00
Geoffrey K Taylor and GitHub
9073793e86
chore: WPGraphQL v1.9.x connection resolver support added and autoloader removed. ( #647 )
...
* chore: WPGraphQL v1.9x + WP Bedrock support added.
* chore: lint compliance met.
* chore: composer/installers added back to allow-plugins
2022-08-26 14:53:36 -04:00
Krystian and GitHub
531f60d077
add return array to get_query_args because without this endpoint show error ( #610 )
2022-03-01 14:24:10 -05:00
Geoffrey K Taylor and GitHub
6dbdcb5ae8
fix: Product Attribute naming conventions changed ( #603 )
...
* fix: Product Attribute naming conventions changed
* devops: dev dependencies updated
* devops: dev dependencies updated
* devops: dev dependencies updated
* devops: Dockerfile updated
* devops: dev dependencies updated
* devops: dev dependencies updated
* devops: dev dependencies updated
* devops: Dockerfile updated
* chore: Docker composer configurations updated
* chore: Coding standards met.
2022-02-04 15:00:44 -05:00
Scott Kennedy and GitHub
d4177ced76
Fix Fee name not showing ( #602 )
...
Fix Fee name not showing on the order when using the createOrder mutation.
2022-02-02 09:47:10 -05:00
Geoffrey K Taylor and GitHub
8bd01823c7
fix: order item connection cursor fixed. ( #574 )
2021-10-26 01:47:29 -04:00
Oskar Modig and GitHub
e844a39ef9
make order processing methods static ( #566 )
2021-10-15 15:04:10 -04:00
Brian Johnson and GitHub
69ee73b9d5
Fix: pass expected checkout validation WP_Error instance ( #531 )
2021-09-01 19:08:33 -04:00
a7714d0cd2
Updates to be compatible with WPGraphQL v1.6.1 ( #537 )
...
* fix: Huge refactor across schema and unit tests
* - add shipping_method loader in class-core-schema-filters.php
* - Update class-wc-db-loader.php to respect the new SHIPPING_METHOD loader with a `load_shipping_method_from_id()` function
* - Convert Shipping_Method_Connection_Resolver to extend AbstractConnectionResolver
* - Replace resolver for Shipping Methods connection. Remove use of `resolveNode` and replace the resolver with the new connection class `get_connection()` call
* chore: Factory class refactored.
* - update the function that registers Product Types to the Schema to use the value from the `get_enabled_product_types()` as the Type name and the key as the fieldName
* chore: PaymentGatewayQueriesTest refactored.
* chore: WPCS compliance met
* chore: Syntax error fixed.
Co-authored-by: Jason Bahl <jasonbahl@mac.com >
2021-08-11 14:26:09 -04:00
Geoffrey K Taylor and GitHub
f59872ae89
Coupon mutations added. ( #510 )
...
* Coupon mutations implemented and tested
* Vendor files no longer versioned and package workflow implemented
2021-07-05 13:51:52 -04:00
79c6035ade
Checkout mutation: Add or Update order metas ( #484 )
...
* Checkout mutation: Add or Update order metas
* Checkout mutation: Update order metas
Co-authored-by: Geoff Taylor <geoff@axistaylor.com >
2021-06-14 14:56:43 -04:00
manuelsampl and Geoff Taylor
85de652693
Update class-checkout-mutation.php
...
Static Keyword missing
2021-06-14 12:14:50 -04:00
Geoff Taylor
83c8aed558
WPCS compliance met
2021-06-14 11:56:22 -04:00
Geoff Taylor
66690f03ff
"Customer_Connection_Resolver" deprecated.
2021-06-14 11:40:42 -04:00
Geoff Taylor
22bbc38765
WPCS compliance met.
2021-06-12 22:18:41 -04:00
Geoff Taylor
9e31f47e51
Cart item connection pagination refactored.
2021-06-12 22:06:44 -04:00
Geoff Taylor
8215901e93
Order connections refactored.
2021-06-03 21:37:09 -04:00
Geoff Taylor
a37e22480b
Order Connection logic/tests heavily refactored.
2021-05-30 14:59:45 -04:00
Geoffrey K Taylor and GitHub
2d45d6db51
Merge pull request #497 from kidunot89/feature/coupon-connection-upgrade
...
"Coupon_Connection_Resolver" deprecated.
2021-05-30 14:57:13 -04:00
Geoff Taylor
da2cbdf484
"Coupon_Connection_Resolver" deprecated.
2021-05-19 19:45:02 -04:00
Geoff Taylor
41be17c16f
Product connections now resolved thru "PostObjectConnectionResolver" class. "Product_Connection_Resolver" class deprecated.
2021-05-15 17:56:16 -04:00
Geoff Taylor
c264114daa
"Product=>reviews" resolver re-implemented
2021-03-17 19:10:06 -04:00
Geoffrey K Taylor and GitHub
1e799ccd48
"woographql_db_loader_func" hook updated.
2021-03-17 11:22:48 -04:00
Geoff Taylor
73d6418b9d
"fillCart" mutation implemented and tested.
2021-02-24 09:17:12 -05:00
Geoff Taylor
aa780cf2e7
"AddCartItems" mutation implemented and tested.
2021-02-22 21:17:39 -05:00