Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/wp-graphql/wp-graphql-smart-cache

Smart Caching & Cache Invalidation for WPGraphQL
https://github.com/wp-graphql/wp-graphql-smart-cache

Merge commit 'ae8398b4d46e4eeab35ecee5b4a60c87da597ede' into release/v0.1.1

# Conflicts:
# readme.txt

6a24257d1ae8e0a020aac29b934bb68e990c56ac authored over 2 years ago by Jason Bahl <[email protected]>
- update versions for release

2eaf09cc6791b69036909e438e0366802fd593a0 authored over 2 years ago by Jason Bahl <[email protected]>
Merge pull request #150 from wp-graphql/feature/add-extension-output-when-response-is-cached

Add message to extensions when response is returned from object cache

ae8398b4d46e4eeab35ecee5b4a60c87da597ede authored over 2 years ago by Jason Bahl <[email protected]>
no message

d18e6f8929baae6d499e43235f3a490512e8305e authored over 2 years ago by Jason Bahl <[email protected]>
- code sniffer fix

3b116fb50795e9b83c119009a7629af4d92398f6 authored over 2 years ago by Jason Bahl <[email protected]>
- update README

- update post type labels
- update response to show for cached and uncached queries

5717020deee74fb22ff94147bf687eb53414ce2e authored over 2 years ago by Jason Bahl <[email protected]>
- update extension message

d4701a15cd1bbb773be3bbcad4c73bf99f285914 authored over 2 years ago by Jason Bahl <[email protected]>
- code sniffer fixes

a95e3628ae9704e5be68e2c41cbebc18afd11f18 authored over 2 years ago by Jason Bahl <[email protected]>
- this adds an output message to the extensions payload when a response is returned from the object cache

4ddf034dec0c400299fe881bde7da4d985dcd493 authored over 2 years ago by Jason Bahl <[email protected]>
Merge pull request #149 from wp-graphql/feature/graphql-document-not-publicly-queryable

Make the GraphQL Document Post Type private

ab47d08455af252e58fa27e354edf4cd7a7888ba authored over 2 years ago by Jason Bahl <[email protected]>
- remove the publicly_queryable=>true statement from the graphql_document post_type

ee4cc6aad3d408e9e7c6090e588784be60975921 authored over 2 years ago by Jason Bahl <[email protected]>
Merge pull request #147 from wp-graphql/feature/rename-to-wp-graphql-smart-cache

Rename to "WPGraphQL Smart Cache"

fefe1c3c9fac71404bc7f3181dfc0dd015ab8805 authored over 2 years ago by Jason Bahl <[email protected]>
Merge commit '83779e90f38fd393eb888186051c748d5984d28c' into feature/rename-to-wp-graphql-smart-cache

# Conflicts:
# src/Admin/Settings.php

fabf2bc6a1ab6b122c7e75c446dcd2068877cfc0 authored over 2 years ago by Jason Bahl <[email protected]>
- rename from wp-graphql-labs to wp-graphql-smart-cache

- update class names, file names, namespaces, etc

13af3d844028448f76ec15b27100b077966bf34a authored over 2 years ago by Jason Bahl <[email protected]>
Merge pull request #146 from wp-graphql/admin/update-settings-text

Move max-age to cache tab, settings

83779e90f38fd393eb888186051c748d5984d28c authored over 2 years ago by Jason Bahl <[email protected]>
Fix global_ttl setting section and tests

43e9fca0def1da77e73463e00c5b55fe06de6fa0 authored over 2 years ago by Mark Kelnar <[email protected]>
Move max-age to cache tab, settings

22b6a4024760b46b4fa4c31c8b42b691e8be3fc1 authored over 2 years ago by Mark Kelnar <[email protected]>
Merge pull request #145 from wp-graphql/admin/update-settings-text

Clarify some text on the admin settings page

82eb06eaaf769ef9db83f239529f49808b18df57 authored over 2 years ago by Jason Bahl <[email protected]>
Code sniff errors on sprintf args

9ff57dfd19dacc0dc5d4d1c560d9f8859105bbd2 authored over 2 years ago by Mark Kelnar <[email protected]>
Adjust adming settings text

22522ddb6b8a57376be05d02a0294623e018bb24 authored over 2 years ago by Mark Kelnar <[email protected]>
Merge pull request #144 from wp-graphql/feature/remove-graphiql-extension

Remove GraphiQL Extension

ced4b32468c1cd38f3cdf8ff86b50a2a43711948 authored over 2 years ago by Mark Kelnar <[email protected]>
Clarify some text on the admin settings page

dd8895ff1cad6c12772fbb6a45622b6e80dd33b6 authored over 2 years ago by Mark Kelnar <[email protected]>
- remove GraphiQL as it's not ready for users yet

1b61ee3180851c2d99da9df8fe2e9eaaadf3dc16 authored over 2 years ago by Jason Bahl <[email protected]>
- update tests to reflect changes to error messages

8c1633ca017576d5ded8ed8ca3e95360059a7a82 authored over 2 years ago by Jason Bahl <[email protected]>
- update messages returned when a denied document is blocked during validation

5971167d0684af4d6c6b29952fab651ec031732b authored over 2 years ago by Jason Bahl <[email protected]>
Merge pull request #142 from wp-graphql/fix/wp-cache-save-to-array

Explicit convert to array

867923c9d0d3371b3d77450b04317e7d319a463e authored over 2 years ago by Jason Bahl <[email protected]>
Explict convert to array

b7cf1304403581e7f6e6b92e52c414a14fe48594 authored over 2 years ago by Mark Kelnar <[email protected]>
Merge pull request #137 from wp-graphql/bugfix/evict-caches-after-delete-user-and-reassign

Bugfix/ delete user and re-assign invalidation

b9da8a6986886e72ff951a92427e8cfd238b97a4 authored over 2 years ago by Jason Bahl <[email protected]>
- update some docblocks

- update purge nodes call after users are re-assigned to use the databaseId instead of the relay id

3465f5c784a886c63dc9996c9d198721e6a363b2 authored over 2 years ago by Jason Bahl <[email protected]>
Merge branch 'main' into bugfix/evict-caches-after-delete-user-and-reassign

40c8f685ec8ccc30b2b0e22fb3c3a32539ec0067 authored over 2 years ago by Jason Bahl <[email protected]>
Merge pull request #141 from wp-graphql/add/gh-action-zip

Upload release asset zip

9ce8fd3c12d506ac15b92e26a3343c1351b8bcc1 authored over 2 years ago by Mark Kelnar <[email protected]>
Upload release asset zip

255410c29aeae2331dc1068b2be18bb077858212 authored over 2 years ago by Mark Kelnar <[email protected]>
Merge pull request #140 from wp-graphql/add/gh-action-zip

Test zip file on PR

40ea871a7e5680af61612e37dec1d9a1c94fde98 authored over 2 years ago by Jason Bahl <[email protected]>
Merge pull request #138 from wp-graphql/refactor/purge_nodes_cb

Refactor purge_nodes_cb to function for usability

9f4f5f1d87034c60c860f402ff560d29aaafb140 authored over 2 years ago by Jason Bahl <[email protected]>
Test zip file on PR

75020a59daf1cfbf2ab4c8f8e985dcc2014e3bc9 authored over 2 years ago by Mark Kelnar <[email protected]>
Merge pull request #139 from wp-graphql/add/gh-action-zip

On release publish, build zip file

7be986b58fbf508eef3aec8389a7f1e9dc40dafb authored over 2 years ago by Jason Bahl <[email protected]>
On releasee publish, build zip file

a05d657a8ce9e24d6a2450d7d7910706a3218f31 authored over 2 years ago by Mark Kelnar <[email protected]>
Add docblock explanation of purge invalidation functions

b56f0c3299607f75b726b861cab78fcfb662fe28 authored over 2 years ago by Mark Kelnar <[email protected]>
Fix a post id purge

a7e1a5b13d2c22055cb4b579f7eed37f8f65523f authored over 2 years ago by Mark Kelnar <[email protected]>
remove local docker thing

a670ae95ce0fe50b00e02f1c2d1f8b57426c93a4 authored over 2 years ago by Mark Kelnar <[email protected]>
Refactor purge_nodes_cb to function for usability

b3f01790978e319cc1f3a4bc04e9fa370e7c3fcd authored over 2 years ago by Mark Kelnar <[email protected]>
- fix test

5a8685e94512a3c2d10750f392e6c683d4bf03e5 authored over 2 years ago by Jason Bahl <[email protected]>
- code formatting updates, per cs

5956ebcbcaf3d476425abeb3bfad8c9bf16f95ab authored over 2 years ago by Jason Bahl <[email protected]>
- updates invalidation for when a user is deleted and re-assigned to evict caches related to posts that were re-assigned

- updates test to better reflect the caches that should be evicted when a user is deleted and re-...

b7b2c4d02d74dad1fc2b69a91597457944c7297a authored over 2 years ago by Jason Bahl <[email protected]>
Merge pull request #135 from wp-graphql/feature/tests/post-tests

Add tests for menus

577a1e240e782042e339530224b266f0cca68d37 authored over 2 years ago by Jason Bahl <[email protected]>
- add public scope to callback

05baae6f3d9d58f16312cbc79853185d89ecb2f6 authored over 2 years ago by Jason Bahl <[email protected]>
Merge commit '9d2dc875a8641dd741c670978bab7caff2f229dd' into feature/tests/post-tests

# Conflicts:
# composer.lock

09f034ebd7daf8cf8afaab6bb5b60840f0dc6212 authored over 2 years ago by Jason Bahl <[email protected]>
- composer upgrade

691f7dc94c431b78e7aa965f6c5ff6ea9843e091 authored over 2 years ago by Jason Bahl <[email protected]>
- code sniffer fixes

67f175bdc2870b56e124559f34ae3eea9ee3c2c8 authored over 2 years ago by Jason Bahl <[email protected]>
Merge pull request #134 from wp-graphql/fix/list-invalidation-ids

On post update/create specify the node identifier

9d2dc875a8641dd741c670978bab7caff2f229dd authored over 2 years ago by Jason Bahl <[email protected]>
Merge commit '9084efceecef4c3ff98cacf4aa2ddbd9bc2cd765' into feature/tests/post-tests

ae15dbb3f66b9aa1fb58d4e1a7b820ca6101ae95 authored over 2 years ago by Jason Bahl <[email protected]>
- add actions to listen to changes to media

- fix singleMediaItem query
- scaffold tests for comments
- add tests for media item evictions

562616decd73618433b94a15fec93c934ece53fc authored over 2 years ago by Jason Bahl <[email protected]>
Merge pull request #136 from wp-graphql/update/editor-content-text

Update/editor content text

9084efceecef4c3ff98cacf4aa2ddbd9bc2cd765 authored over 2 years ago by Jason Bahl <[email protected]>
Skip grant restriction if user logged in

d296e3b1085f99c6431ff26a26f772f4b6fa7db0 authored over 2 years ago by Mark Kelnar <[email protected]>
Remove tinymce editor on saved queries.

59abe895e6eaab5cce39887e8034c9ca7e7bec6f authored over 2 years ago by Mark Kelnar <[email protected]>
- add WPGRAPHQL_LABS_PLUGIN_DIR constant

- add actions to listen to media item changes
- add image file for testing
- add seed data/querie...

75a1c97fc7e09158177090d4f655416bc550de12 authored over 2 years ago by Jason Bahl <[email protected]>
- set graphql document post type to be public=>false/publicly_queryable=>true

- set default value for the max age text field
- fix name of listMenuItem query

146a71aa4e40a17f17b326baaafb72875b17c018 authored over 2 years ago by Jason Bahl <[email protected]>
- add menu tests

- fix post test with missing id

1f709ba37d40304c441b009ce227aa93258729e7 authored over 2 years ago by Jason Bahl <[email protected]>
On post update/create specify the node identifier

0c62fc3659acc85bff4fb8636176e717c2cfd5b3 authored over 2 years ago by Mark Kelnar <[email protected]>
- ignore storing map if the type starts with a __ as those are reserved internal types

1d45426f21be50db61539684aa5ffecf43130b48 authored over 2 years ago by Jason Bahl <[email protected]>
Merge pull request #131 from wp-graphql/feature/tests/post-tests

Add some reusable functions to generic test class

3d63e0a2d5805092ffd0f75893c903e57756de57 authored over 2 years ago by Jason Bahl <[email protected]>
composer update --optimize-autoloader

e44affffd615ca4157066db4a4ce542d91069e65 authored over 2 years ago by Jason Bahl <[email protected]>
- code sniffer fixes

37c4b127132a1694a1406aa2e3244f1db33c7fd0 authored over 2 years ago by Jason Bahl <[email protected]>
- add more seed data for terms

- add more tests for categories, tags and custom taxonomies

15b68c2b46e691679d546e4bdbc4b329c8462397 authored over 2 years ago by Jason Bahl <[email protected]>
Merge pull request #133 from wp-graphql/bug/fix-apollo-client-error

Return persisted query not found expected by apollo client

ceaf9c1f68ba0602c51ad0d2892e25ee447749c2 authored over 2 years ago by Jason Bahl <[email protected]>
Return persisted query not found expected by apollo client

b1291745223aeead1b5b77609daa3c5b8975e344 authored over 2 years ago by Mark Kelnar <[email protected]>
- add support for term actions

- add tests for term creation, deletion, association with posts

7cd7a2261e05df4c878f6dbe6d170f85cb34a081 authored over 2 years ago by Jason Bahl <[email protected]>
- update Settings::cache_enabled() to not check if the user is logged in

- update Results.php to check if cache is enabled and if the request is public before storing/ret...

9281eafec1f8665b6c220665da60d997b4d432ba authored over 2 years ago by Jason Bahl <[email protected]>
- update `caching_enabled` to only return true if the user is not logged in. Authenticated responses should not be cached.

- update checks for post callbacks to only run if the post type is a publicly queryable post type...

a0194cc2837794d7ebdb6e80d9669256306142d8 authored over 2 years ago by Jason Bahl <[email protected]>
- fix broken test by limiting `on_transition_post_status_cb` to run if the post type is public

d5bcb7ea3d6d6397722b1232a2b1e488ff273521 authored over 2 years ago by Jason Bahl <[email protected]>
- remove redundant tests from CacheCollectionTest.php (these scenarios are more accurately tested in PostCacheInvalidationTest.php now)

79ce7fee727dc272d68702c280be5ba6ca989647 authored over 2 years ago by Jason Bahl <[email protected]>
- update assertions for UserCacheInvalidationTest.php to compensate for the newly added seed queries

08ae1974faa36264fbb990156f687842ed4e515f authored over 2 years ago by Jason Bahl <[email protected]>
- remove redundant tests from CacheCollectionTest.php (these scenarios are more accurately tested in PostCacheInvalidationTest.php now)

ea6f61af64b012c406ef8bcf8db06c694e1467ff authored over 2 years ago by Jason Bahl <[email protected]>
- add additional seed queries for listUser, singlePostByEditor, adminUserByDatabaseId, generalSettings, writingSettings, discussionSettings, allSettings

- remove queries for the email field from settings (currently returns an error, which should be f...

48a201e2ac6832f3d1b7606d7e81a53c58a38e02 authored over 2 years ago by Jason Bahl <[email protected]>
- update mapping of GraphQL Types to their respective models (this should make its way to WPGraphQL core)

- code sniffer updates
- add actions to listen to user changes (updated_user_meta, added_user_met...

330c67f79878e7878070d361571702dacce713ba authored over 2 years ago by Jason Bahl <[email protected]>
- move Invalidation into its own class, responsible for tracking actions and invalidating caches

203bc4f61f0d0ab7b7d3210b487e9a0a84c2fd4f authored over 2 years ago by Jason Bahl <[email protected]>
- add filters to map Models to Types

- add get_query_list_types utility
- comment out codecept_debug calls

887997716c703e7084121ebaae576749ed8a99a4 authored over 2 years ago by Jason Bahl <[email protected]>
Add mapping of the model name

59c768440f3b667a079357e9374a0f665039a9d3 authored over 2 years ago by Mark Kelnar <[email protected]>
Merge remote-tracking branch 'origin/feature/tests/post-tests' into feature/tests/user-tests

de33355679953b603dc672ab4a7c1c2289c70f11 authored over 2 years ago by Mark Kelnar <[email protected]>
- update to use assertEqualSets instead of individual assertions

e8f66a07e03cc665a92649a36d006bd6d6f1528e authored over 2 years ago by Jason Bahl <[email protected]>
- codesniffer tweaks

4ec22cdb111b02788a66d5d0c07cfa4b5d035f2a authored over 2 years ago by Jason Bahl <[email protected]>
- codesniffer tweaks

369f67d850405a491b1ead8559b2b892a0d337ee authored over 2 years ago by Jason Bahl <[email protected]>
- added event to listen for deleted postmeta

- added more tests
- refactored tests to use assertEqualSets instead of individual asserts. This ...

9c6b426738413585d5cc7843736c2d3e6554d08e authored over 2 years ago by Jason Bahl <[email protected]>
Add user specific cacne eviction tests

1de798870c9e0c734eaa4b7abcf2a945d6f7a7ae authored over 2 years ago by Mark Kelnar <[email protected]>
- add code to pass the failing test. When meta is updated, if it doesn't exist yet, it's considered an add and fires a different action we weren't listening to

5ac494122271fe4e79c093f50f4369a3c03a3bfa authored over 2 years ago by Jason Bahl <[email protected]>
- Adds new tests including a failed test for "testUpdateAllowedPostMetaOnPost"

30f795a2d86ff58e1dbf701f82e7d2ac8097a5b1 authored over 2 years ago by Jason Bahl <[email protected]>
- code sniffer tweaks

4f5b277172fcc9054b0d68c7c14c515bc6f5b307 authored over 2 years ago by Jason Bahl <[email protected]>
- update docblocks

- fix argument on the "on_edited_term_taxonomy_cb" to expect a string instead of WP_Taxonomy

71289abb0c465c6f1cbaeb55103ca92c6cf2076f authored over 2 years ago by Jason Bahl <[email protected]>
- move the callbacks into their own functions

- run composer fix-cs

5da6697c20c4bdd25c8d3d4f8e43ca7789a082e4 authored over 2 years ago by Jason Bahl <[email protected]>
- update code standards workflow to run on main instead of master

ccd087ad2ad0f62af90254bc60d32f7e72e4c639 authored over 2 years ago by Jason Bahl <[email protected]>
- move codesniffer into its own workflow outside of the tests workflow

3dd3e7d2f8fc42557bff32d8c8ab462fc298ae74 authored over 2 years ago by Jason Bahl <[email protected]>
- code formatting changes

53bbe4306018b543781402da04519c0698868a70 authored over 2 years ago by Jason Bahl <[email protected]>
- add action to Collection.php to track when the author of a post has changed so we can invalidate list queries. This gets the previous failing test to pass.

728cff45b93d40eec52c215848b45d77ef60d8b2 authored over 2 years ago by Jason Bahl <[email protected]>
- add editor user to seed data

- add published_post_by_editor to seed data
- add adminUserWithPostsConnection and editorUserWith...

978b52785276ab7f0fcf76871b05f1980e4b15f3 authored over 2 years ago by Jason Bahl <[email protected]>
- add test for changing a page to draft

- add test for changing a page to private
- add test for trashing a page
- add test for force del...

529f83dceb97ae8c019422e448e1013a8848b934 authored over 2 years ago by Jason Bahl <[email protected]>
- add draft page to seed data

- add test for when a page is created as a draft
- add test for when a draft page is published

74283adf184e3916bf4dd5d176748c9d70470312 authored over 2 years ago by Jason Bahl <[email protected]>
- comment out the assertions in the setup functions. I don't want to remove them as they can be helpful when debugging

- add test for when a draft post is force deleted
- add test for when a trashed post is restored

1993e45eb8fcef2484fe6068cba5e63cc21bcf61 authored over 2 years ago by Jason Bahl <[email protected]>
- add action to track post deletions which should purge caches for the deleted post (failing tests now pass)

62b739f085aabcfa7b2c7e87a4a94ef943ce8308 authored over 2 years ago by Jason Bahl <[email protected]>
- rename WPGraphQLLabsTestCase to WPGraphQLLabsTestCaseWithSeedDataAndPopulatedCaches

- add tests for:
- published post changed to draft
- published post with category changed to draf...

781f12694554120439702b3bfab96c9af045608e authored over 2 years ago by Jason Bahl <[email protected]>
- add action to listen to taxonomy terms being edited and purge related caches

- add WPGraphqLLabsTestCaseWithSeedDataAndPopulatedCaches.php
- add PostCacheInvalidationTest ini...

1369823a4e702444bbb0850005e6b1e06b24ce5b authored over 2 years ago by Jason Bahl <[email protected]>