Geoff Taylor and GitHub
edbd31c3bd
devops: Name officially changed to "WPGraphQL for WooCommerce" ( #900 )
...
* devops: Name officially changed to "WPGraphQL for WooCommerce"
* devops: GA workflow environment updated
* devops: GA workflow environment updated
* devops: composer-git-hooks downgraded to "2.8.5"
* devops: Unstable session manager tests skipped
* chore: cleanup applied
* devops: Docker configurations updated
* devops: Docker configurations updated
* devops: Docker configurations updated
* devops: Docker configurations updated
* devops: Docker configurations updated
2024-11-06 19:23:36 -05:00
Geoff Taylor and GitHub
76e8db510e
feat: QL Session Handler refactored to handle non-GraphQL requests ( #870 )
...
* feat: QL Session Handler functionality expanded to support cookies on non-GraphQL requests
* chore: Linter and PHPStan compliance met
* devops: QLSessionHandlerTest patched for suite testing
* chore: Linter and PHPStan compliance met
* fix: More cart session save triggered implemented
* fix: More cart session save triggered implemented
* chore: Linter compliance met
* chore: Linter compliance met
* feat: forgetSession mutation added
* feat: forgetSession mutation added
2024-08-07 12:39:45 -04:00
Alex Lykesas and GitHub
1424f57ff8
feat: Add Product_Attributes_Connection_Orderby_Enum with MENU_ORDER ( #876 )
...
* Add Product_Attributes_Connection_Orderby_Enum with MENU_ORDER
* Fix description
* Add namespace
* Lint fix
* Make minor commit
* Lint fix
2024-07-29 17:15:49 -04:00
Geoff Taylor and GitHub
f686e743b0
feat: Queries and mutations for shipping zones, tax classes, and tax rates. ( #856 )
...
* fix: General bugfixes and improvements
* devops: New mutations and types tested and compliance with Linter and PHPStan
* chore: hooks added to the mutation resolvers
* feat: permission checks added
* chore: Linter and compliance met
* chore: Linter and compliance met
2024-05-17 00:03:10 -04:00
Geoff Taylor and GitHub
f1d96bead4
collectionStats query fully implemented (#849 )
...
* fix: WPGraphQL v1.24.x support added
* fix: WPGraphQL v1.24.x support added
* chore: Linter and PHPStan compliance met
* chore: composer.json fixed
* fix: Unnecessary type check restored
* chore: Linter and PHPStan compliance met
* devops: CollectionStatsQueryTest patched
2024-05-16 21:27:54 -04:00
Geoff Taylor and GitHub
ca5dac0abd
fix: currency input field fixed for createOrder mutation ( #829 )
2023-12-27 11:28:24 -05:00
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
c526a5b527
feat: ProductWithAttributes and ProductVariation interfaces added ( #803 )
...
* feat: ProductWithAttributes and ProductVariation interfaces added
* chore: Unused files removed
2023-09-15 21:03:55 -04:00
Geoffrey K Taylor and GitHub
481c12c7f9
feat: Several product interfaces added. ( #801 )
2023-09-15 00:21:00 -04:00
Geoffrey K Taylor and GitHub
628816f807
feat: CartItem converted to WPInterface type ( #798 )
2023-09-13 12:35:42 -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
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
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
Geoffrey K Taylor and GitHub
ba13b2ec0a
feat: Authorizing URLs implemented and tested. ( #745 )
...
* feat: Authorizing URLs implemented and tested.
* feat: More woographql_*_nonce functions implemented.
* chore: linting changes made.
* chore: linting changes made.
* fix: woographql_*_ functions tested.
* chore: WPCS compliance met.
* devops: lint-code script updated to PHP v8.0
* chore: WPCS compliance met
* devops: TransferSessionHandlerTest & QLSessionHandlerTest updated
* devops: codeclimate.yml added.
* chore: Linter compliance met
* devops: Harmonizing WordPress doc written and Settings doc updated.
* chore: Typo fixed in docs.
* fix: General bugfixes and improvements related to Auth URLs
* devops: More docs.
* chore: Linter compliance met
* chore: small change made to docs.
2023-05-22 13:43:10 -04:00
Geoffrey K Taylor and GitHub
80252b0998
feat: Country queries implemented. ( #736 )
...
* feat: Country queries implemented.
* chore: WPCS compliance met and late-minute renames.
2023-04-20 19:59:25 -04:00
Geoffrey K Taylor and GitHub
27d9297494
feat: payment method mutations and fields implemented. ( #735 )
...
* feat: payment method mutation implemented.
* devops: Unit test updated.
* chore: WPCS compliance met.
2023-04-20 17:33:58 -04:00
0b8ce4f634
fix: Connections need to connect to Types that implement the Node interface ( #675 )
...
* - implement Node on different Types
* - update class-customers to return arrays for edges and nodes
- move id resolver from product-attribute interface to the specific types
* - return empty arrays for edges/nodes for coupon connections
- update test to check for falsy vs null
* - remove manual registration of the `Product` Interface
- register the fields to the Product Interface
* - fix code style
* - fix code style
* - no longer pass type registry to Product::register_interface()
* - use post type registry to register the Product type as an Interface
* WPGraphQL v1.13.x support added.
* WPGraphQL v1.13.x support added.
* fix: filter corrected.
* fix: Needed code restored
* fix: Needed code restored
* parent field no longer overwritten
* chore: WPCS compliance met.
Co-authored-by: Geoff Taylor <geoff@axistaylor.com >
2022-12-07 17:04:39 -05: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
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
cb970f36ed
CartItem Product edge field "simpleAttributes" implemented and tested. ( #521 )
2021-07-05 18:18:52 -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
Geoff Taylor
86c7fb8b4e
Refund connections refactored.
2021-06-04 00:12:35 -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
6c633bec51
CartError interface implemented and tested.
2021-02-24 12:54:29 -05: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
Geoff Taylor
589cede136
Support for some node interfaces added to the product and order models.
2020-09-07 16:42:59 -04:00
Geoff Taylor
87eb81db0b
"Root_Query" class implemented.
2020-08-11 19:18:19 -04:00
Geoff Taylor
c64c09483c
Two new fields added to the "ProductCategory" type.
2020-08-06 14:51:49 -04:00
Geoff Taylor and Geoff Taylor
a72c512c0d
Product review mutations implemented and tested.
2020-05-11 21:23:46 -04:00
Renato Alves and Geoff Taylor
c8865a832a
Code improvements to the mutations (removing unused classes, fixing textdomain, etc)
2020-02-19 17:29:16 -05:00
Geoff Taylor
43d529f78f
"idType" implemented.
2020-01-24 23:40:50 -05:00
Geoff Taylor
b57ec1c34a
"DownloadableItem" type and connection implemented.
2020-01-22 03:07:39 -05:00
Geoff Taylor
c1239d0863
"ProductAttribute" re-designed.
2020-01-15 20:24:38 -05:00
Geoff Taylor
487a538593
"Product" to "Review(Comment)" connection implemented.
2020-01-15 17:43:38 -05:00
Geoff Taylor
ed3556067e
initial commit
2019-11-28 21:30:51 -05:00
Geoff Taylor
22deb98fe9
Namespaces refactored.
2019-10-25 19:13:36 -04:00
Geoff Taylor
52ceafce03
"ProductUnion" to "Product"
2019-10-24 22:11:04 -04:00
Geoff Taylor
f8c527727d
Merge branch 'release-v0.3.0' into feature/product-interface
2019-10-24 17:34:58 -04:00
Geoff Taylor
ad033fd7a7
centralizes "resolve_node*" hooks
2019-10-24 13:56:12 -04:00
Geoff Taylor
971f4eaf0f
""ProductUnion" type implemented.
2019-10-17 21:39:38 -04:00
Geoff Taylor
df4947e596
Several new WPEnumType and WPInputObject types implemented.
2019-09-29 15:11:02 -04:00
Geoffrey K Taylor and GitHub
f5237b30a6
Merge pull request #126 from kidunot89/feature/new-product-connection-args
...
Adds "taxonomyFilter" to product connections
2019-08-22 16:14:11 -04:00
Geoff Taylor
05019140f8
Product connection field "taxonomyFilter" where arg implemented and tested.
2019-08-22 15:31:34 -04:00
Geoff Taylor
fa736107c4
CartItem field "extraData" implemented and tested.
2019-08-21 11:17:23 -04:00
Geoff Taylor
df92511c0c
PaymentGateway implemented and tested.
2019-07-29 19:01:42 -04:00
Geoff Taylor
158e7ff64d
Unnecessary "use" statements removed.
2019-07-11 18:08:02 -04:00
Geoff Taylor
74bb15f84e
"Actions" and "Filters" classes renamed and refactored.
2019-07-11 16:43:36 -04:00