Commit Graph
471 Commits
Author SHA1 Message Date
Geoff Taylor a5b01be5a0 chore: Linter & PHPStan compliance met 2024-07-09 15:04:00 -04:00
Geoff Taylor 4be35f27ef chore: Linter & PHPStan compliance met 2024-07-09 15:01:53 -04:00
Geoff Taylor 299783e385 devops: Tests updated and coupon "salt" restored 2024-07-09 14:56:52 -04:00
Jason Bahl 75e3ef3261 - remove several fields that are already registered by core when the post type is mapped to the schema 2024-07-03 11:06:01 -06:00
Geoff TaylorandGitHub 895b040953 chore: version numbers and changelog updated (#858) 2024-05-21 00:57:56 -04:00
Geoff TaylorandGitHub 2543f33475 fix: Bug in Session_Transaction_Manager::pop_transaction_id() fixed (#852)
* fix: bug in Session_Transaction_Manager::pop_transaction_id fixed

* chore: Linter and PHPStan compliance met

* devops: tests updated

* devops: WPBrowser upgraded to v4.x.x

* devops: Some unit testing configurations updated

* devops: WPBrowser updated and tests passing

* chore: PHPStan and linter compliance met

* devops: WP_CORE_DIR fixed

* devops: More docker config changes

* devops: CartMutationsTest updated

* devops: CI env vars fixed

* devops: More CI fixes

* devops: More CI fixes

* devops: More CI fixes

* devop: Docker env removed

* devops: Codeception configs updated

* devops: configurations tweaked heavily
2024-05-21 00:48:16 -04:00
Geoff TaylorandGitHub 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 TaylorandGitHub 6028061a50 fix: TaxonomyToProduct connections fixed and tested (#857) 2024-05-16 23:09:46 -04:00
Geoff TaylorandGitHub 539f5145f7 fix: Potential Infinite loop caused by nested pre_get_posts hooks patched (#853)
* fix: Potential Infinite loop caused by nested `pre_get_posts` hooks patched

* fix: syntax error fixed
2024-05-16 21:34:16 -04:00
Geoff TaylorandGitHub 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 TaylorandGitHub 8ba35cd50f Fix: WPGraphQL v1.24.x support implemented (#850)
* fix: WPGraphQL v1.24.x support added + WC 3.6 support

* chore: Linter and PHPStan compliance met

* devops: CI config updated

* devops: docker config updated.

* devops: Docker configs updated.
2024-05-07 16:50:42 -04:00
Geoff TaylorandGitHub ea49c90382 chore: README and CHANGELOG updated (#835) 2023-12-27 12:11:26 -05:00
Geoff TaylorandGitHub 2d07eb075b fix: Support for product variations added to CPT resolution (#834) 2023-12-27 12:05:44 -05:00
Geoff TaylorandGitHub 17b59fb7ae fix: DownloadableItem "product" field type changed to ProductUnion (#833) 2023-12-27 12:02:22 -05:00
Geoff TaylorandGitHub 6f80c4c98a fix: Session transaction queue fix (#832)
* fix: Session transaction queue pop relocated to earlier occurrence in request

* chore: Linter and PHPStan compliance met
2023-12-27 12:01:48 -05:00
Geoff TaylorandGitHub ffd1430e04 chore: OrderIdTypeEnum value "ORDER_NUMBER" renamed to "ORDER_KEY" (#831) 2023-12-27 11:30:03 -05:00
Geoff TaylorandGitHub bb03103316 fix: Adds slight shim to give support for multiple category or tags by slug (#830)
* fix: regression in complex filtering by taxonomy slug fixed

* chore: Linter and PHPStan compliance met
2023-12-27 11:29:44 -05:00
Geoff TaylorandGitHub ca5dac0abd fix: currency input field fixed for createOrder mutation (#829) 2023-12-27 11:28:24 -05:00
Geoff TaylorandGitHub 753a0fac5d fix: Bug fixed in Product_Connection_Resolver::add_tax_query (#820)
* fix: Bug fixed in Product_Connection_Resolver::add_tax_query

* fix: some product connection resolver hooks restored
2023-12-22 18:06:12 -05:00
Dovid LevineandGitHub e96236696f chore: bump deps to meet actual requirements and lint for WPCS 3.0 (#816)
* chore: bump min versions to actual and update deps

* chore: fix multiple empty lines at EOF

* chore: preincrement when standalone (phpcs)

* fix: use `printf` instead of `echo sprintf` [phpcs]

* chore: avoid lonely `if()` in `else{}` [phpcs]

* chore: avoid reserved keywords as param names [phpcs]

* chore: remove unused callback params [phpcs]

* chore: remove more unused callback params [phpcs]

* chore: apply lints to tests

* chore: update ruleset for PHPCS 3.0

* texts: restore $last_request_headers
2023-11-30 08:41:32 -05:00
Geoffrey K TaylorandGitHub 228284d0f5 fix: ProductAttributeEnum given default value, if no product attributes exist (#814)
* fix: ProductAttributeEnum no longer registered if no attribute exist

* fix: ProductAttributeEnum default value provided
2023-10-31 20:21:55 -04:00
Geoffrey K TaylorandGitHub 3cf05bd195 fix: JWT Auth hooks now support WPGraphQL Headless Login (#812)
* fix: JWT Auth hooks now support WPGraphQL Headless Login

* chore: PHPStan compliance met

* fix: Proper TokenManager function in use for auth token resolution
2023-10-16 18:55:16 -04:00
Geoffrey K TaylorandGitHub d0db73af67 fix: paymentMethod fields no longer throw for guest users (#809)
* fix: paymentMethod fields no longer throw for guest users

* chore: CollectionStatsQueryTest reverted
2023-10-05 01:21:39 -04:00
Geoffrey K TaylorandGitHub 966ab37dee chore: version numbers set and CHANGELOG updated. (#807) 2023-09-23 04:10:21 -04:00
Geoffrey K TaylorandGitHub 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 TaylorandGitHub 356d705e19 feat: Hooks added to Authorizing URL functionality (#806) 2023-09-23 03:17:16 -04:00
Geoffrey K TaylorandGitHub ac5fa6b9ab chore: version numbers set and readmes updated. (#805) 2023-09-18 13:55:00 -04:00
Geoffrey K TaylorandGitHub 134dc5eaf7 feat: "found" field added to the Products Connection types (#804) 2023-09-15 23:31:24 -04:00
Geoffrey K TaylorandGitHub 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 TaylorandGitHub 481c12c7f9 feat: Several product interfaces added. (#801) 2023-09-15 00:21:00 -04:00
Geoffrey K TaylorandGitHub 9ca2f48b8c fix: VariationAttribute now sourcing value as Term slug for global attributes (#800) 2023-09-14 20:23:28 -04:00
Geoffrey K TaylorandGitHub 5701fb1144 fix: Old trouble code removed. (#799) 2023-09-14 13:13:23 -04:00
Geoffrey K TaylorandGitHub 628816f807 feat: CartItem converted to WPInterface type (#798) 2023-09-13 12:35:42 -04:00
Geoffrey K TaylorandGitHub 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 TaylorandGitHub 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 TaylorandGitHub 993f8aa86d chore: Fatal debug code removed (#791) 2023-08-23 11:09:38 -04:00
Dovid LevineandGitHub c59aec7b20 fix: default the customer to the current user (#787) 2023-08-22 20:19:05 -04:00
Geoffrey K TaylorandGitHub 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 TaylorandGitHub 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
8690ede673 dev!: namespace Composer dependencies with strauss (#762)
* dev!: namespace Composer dependencies with strauss

* chore: include vendor-prefixed when stanning

* Strauss configurations properly applied. Contribution docs restored.

* Linter and PHPStan compliance met

* `platform` removed from `composer.json`

* devops: PHP7.3 removed from CI matrix

---------

Co-authored-by: Geoff Taylor <geoff@axistaylor.com>
2023-08-02 16:54:46 -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 TaylorandGitHub 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 LevineandGitHub 920d0b22af dev: remove deprecated get_offset() use (#760) 2023-07-19 18:06:41 -04:00
Geoffrey K TaylorandGitHub d09ce7df6f fix: Fixed shipping address getting skipped unnecessary (#752) 2023-07-19 17:16:00 -04:00
Dovid LevineandGitHub 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 LevineandGitHub 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 LevineandGitHub 58fbce7c57 fix: clean up unnecessary variables and ternaries (#766) 2023-07-19 16:10:23 -04:00
Dovid LevineandGitHub 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 LevineandGitHub 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