-
Notifications
You must be signed in to change notification settings - Fork 84
Implement FEP-8fcf followers collection synchronization #2297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
98 commits
Select commit
Hold shift + click to select a range
7888ccf
Implement FEP-8fcf followers collection synchronization
pfefferle 19439c3
Add FEP-8fcf to supported FEPs in FEDERATION.md
pfefferle 0d8125a
Merge branch 'trunk' into add/fep-8fcf
pfefferle d89ffba
Refactor and generalize collection synchronization logic
pfefferle 00565cb
Merge branch 'trunk' into add/fep-8fcf
pfefferle 53a0600
Merge branch 'trunk' into add/fep-8fcf
pfefferle d02675a
Update followers sync endpoint path to /followers/sync
pfefferle cdac645
Merge branch 'trunk' into add/fep-8fcf
pfefferle adadf02
Remove unnecessary class name prefixes in method calls
pfefferle f19c792
Merge branch 'trunk' into add/fep-8fcf
pfefferle 06a8c1e
Merge branch 'trunk' into add/fep-8fcf
pfefferle 35301c5
Refactor Collection-Synchronization handling to new handler
pfefferle 81eacf9
Add pagination and ordering to followers sync endpoint
pfefferle bff1ba6
Remove unused get_authority method
pfefferle 7a78346
Fix followers collection type detection regex
pfefferle 7786423
Update Playwright webServer command for rewrite structure
pfefferle 1cc3217
Flush rewrite rules in Playwright webServer command
pfefferle ced40ba
Replace FEP-8fcf implementation doc with collection sync doc
pfefferle a05075f
Simplify webServer command in Playwright config
pfefferle 79ba390
Merge branch 'trunk' into add/fep-8fcf
pfefferle 4ba9db6
Unindent tests in followers-controller.test.js
pfefferle d840498
Flush rewrite rules after setting permalink structure
pfefferle 6e60479
Remove unused Collection trait from Inbox_Controller
pfefferle 0e65a4c
Update rewrite structure command and remove testDir config
pfefferle 6ac4ed9
Update rewrite structure command for test environment
pfefferle c1f5ba7
Update Playwright webServer command in config
pfefferle 1c7b2f3
Set permalink structure in CI and remove theme activation
pfefferle da39b82
Fix CLI container name in Playwright workflow
pfefferle 5f57952
Flush WordPress rewrite rules in Playwright workflow
pfefferle b2e9978
Set up pretty permalinks in global E2E setup
pfefferle 17dd50a
Refactor E2E tests to use params for REST requests
pfefferle f885ea5
Add missing followers to local database
pfefferle 04c05af
Add changelog
matticbot b46aed6
Update docs/collection-synchronization.md
pfefferle 53ff24c
Merge branch 'trunk' into add/fep-8fcf
pfefferle af7fdea
Add Collection-Synchronization header to signature components
pfefferle 9b4b866
Refactor collection sync and update FEP-8fcf handling
pfefferle 4e8c081
Filter out null values from followers and pending lists
pfefferle e28140d
Remove redundant collection-synchronization header checks
pfefferle 5f78d3a
Refactor Followers sync header usage in HTTP class
pfefferle 1278792
Move collection sync logic to Signature class
pfefferle c5df052
Move Collection-Synchronization header logic to filter
pfefferle 799a3e3
Add user_id to signature test cases
pfefferle 7861db7
Update REST API endpoints to use 'actors' instead of 'users'
pfefferle acc08c5
Adjust filter priorities and signature header handling
pfefferle 960ae63
Improve header addition logic in maybe_add_headers
pfefferle 5553b62
Remove redundant assignment in request body handling
pfefferle d1d924d
Clarify docblocks for Create activities header
pfefferle 5caf4e9
Move get_authority to functions.php and refactor usage
pfefferle 39b4b3c
Refactor digest computation to use Signature class
pfefferle bd3f0bf
Refactor followers collection ID validation logic
pfefferle 3b91c81
Refactor collection sync to use action hook
pfefferle 3e4490e
Remove HTTP_SIGNATURE_INPUT from signature check
pfefferle 62a5f59
Remove outdated comment from signature test
pfefferle ca29f68
Clarify comment about filter priority in Signature class
pfefferle 23cbd76
Refactor collection sync handling and scheduler
pfefferle ea2783b
Refactor followers and following collection methods
pfefferle 5c34dfc
Use get_by_authority for partial followers retrieval
pfefferle af93122
Merge branch 'trunk' into add/fep-8fcf
pfefferle 3fc1b60
Refactor follower authority filtering logic
pfefferle 930d587
Merge branch 'trunk' into add/fep-8fcf
pfefferle e748f50
Refactor follower sync logic for authority filtering
pfefferle 96c4c8c
Refactor followers handling to use WP_Post objects
pfefferle 51b3e48
Refactor followers sync to use authority filtering
pfefferle e7e7fa4
Merge branch 'trunk' into add/fep-8fcf
pfefferle 248ba43
Fix followers reconciliation and add unit tests
pfefferle be501cf
Update includes/rest/class-followers-controller.php
pfefferle 58b777f
Update includes/collection/class-followers.php
pfefferle d052dcd
Update includes/scheduler/class-collection-sync.php
pfefferle 6b55dd8
Update includes/scheduler/class-collection-sync.php
pfefferle 86de28a
Add comment clarifying header addition timing
pfefferle a86ddf0
Update authority argument description in REST controller
pfefferle d26cfc8
Update includes/handler/class-collection-sync.php
pfefferle adf620d
Merge branch 'trunk' into add/fep-8fcf
pfefferle 0630dc7
Send sync header to authority only once per day
pfefferle ef4a3e9
Add filter for collection sync header frequency
pfefferle 3883c99
Add default value note to collection sync header filter
pfefferle 86f3b5f
Update docblock for collection sync frequency filter
pfefferle c057799
Add caching and refactor sync frequency logic
pfefferle 420efb1
Refactor follower digest computation to use Signature class
pfefferle 249a664
Merge branch 'trunk' into add/fep-8fcf
pfefferle b64e28c
Merge branch 'trunk' into add/fep-8fcf
pfefferle 9952740
Update includes/rest/class-followers-controller.php
pfefferle 59d0a59
Rename compute_collection_digest to get_collection_digest
pfefferle abb32d8
Remove collection synchronization documentation
pfefferle d93d009
Remove port from get_url_authority output
pfefferle b3007f2
Fix user_id default and check in collection sync
pfefferle be08572
Merge branch 'trunk' into add/fep-8fcf
pfefferle 7e9c736
Update includes/rest/class-followers-controller.php
pfefferle 29ce6d9
Update includes/collection/class-followers.php
pfefferle 5d101d7
Update includes/scheduler/class-collection-sync.php
pfefferle e67745b
Update includes/handler/class-collection-sync.php
pfefferle 9c319bd
Update includes/handler/class-collection-sync.php
pfefferle 55954c7
Merge branch 'trunk' into add/fep-8fcf
pfefferle 8e559f0
Merge branch 'trunk' into add/fep-8fcf
pfefferle e2b202d
Merge branch 'trunk' into add/fep-8fcf
pfefferle d39c6a6
Merge branch 'trunk' into add/fep-8fcf
pfefferle 772e0b7
Merge branch 'trunk' into add/fep-8fcf
pfefferle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| Significance: minor | ||
| Type: added | ||
|
|
||
| Added support for FEP-8fcf follower synchronization, improving data consistency across servers with new sync headers, digest checks, and reconciliation tasks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.