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
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
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
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
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
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
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
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
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
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
aacb6bf2bf
Workflow badges updated.
2021-01-22 11:37:18 -05:00
Geoff Taylor
71d0f4454b
Remote tests removed from codecoverage.
2021-01-22 11:37:18 -05:00
Geoff Taylor
b7a14f95a1
Session Handler upgraded.
2020-10-01 01:45:26 -04:00
Geoff Taylor
c6b8321d81
some tests updated.
2020-06-12 16:50:21 -04:00
Geoff Taylor
bb14f18712
WPCS compliance fix
2020-03-27 13:07:09 -04:00
Geoff Taylor
f5f3de1de8
Deprecated "By" queries removed. More connection resolver cleanup.
2020-03-27 12:18:06 -04:00
Geoff Taylor
8ad2723fb6
Documentation cleanup
2020-03-26 14:52:10 -04:00
Geoff Taylor
60ef3cde3b
WPGraphQL v0.8.x support added
2020-03-24 20:55:13 -04:00
Geoff Taylor
f14a9478d0
wc-db-loader created
2020-03-20 23:12:04 -04:00
Geoff Taylor
bd4f35e4a8
"Testing Integration" + "WPCS" workflows created and passed.
2020-02-20 12:35:42 -05:00
Geoff Taylor
b366aeea0d
Refund connection resolver fixed
2020-01-12 00:24:56 -05:00
Geoff Taylor
22deb98fe9
Namespaces refactored.
2019-10-25 19:13:36 -04:00
Geoff Taylor
ad82310c0a
crud loader refactored
2019-07-09 03:55:55 -04:00
Geoff Taylor
c581d6f71e
"src" directory renamed to "includes"
2019-05-11 01:10:05 -04:00