Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Try] HTTP based PHP signaling server for colaborative editing (#53922)
* in progress (+9 squashed commits) Squashed commits: [0e51c10685] In progress. [fdecb78889] new base copy [0cd4b10502] package lock [401a7b415a] php lint fixes [62c4829170] endpoint updates [8c95d06ba2] fixes and remove unlimited connection [05d5134c0b] package lock & lint fixes [9a85abdd68] Working signaling server using wp ajax admin [f5f13f7d57] Base y-webrtc copied * Update lib/sync/endpoint.php Co-authored-by: Anton Vlasenko <[email protected]> * Update lib/sync/endpoint.php Co-authored-by: Anton Vlasenko <[email protected]> * Update lib/sync/endpoint.php Co-authored-by: Anton Vlasenko <[email protected]> * Refactor to a class. * Use fetch instead of XMLHttpRequest. * Fixed possible race condition and added file access error handling. * Refactor to createWebRTCConnection. * Rename unique to subscriber_id. And improve code sending messages. * Remove use of an hack for multiple messages. * Use fetch instead of XMLHttpRequest * Add documentation for the signalling server * Add signalling server loading back * Remove hardcoded url from the docs. * Updated sync readme. * Fix undefined error on test. * Update package lock. * Document the Event stream format * Update docs for signaling server * Update lib/experimental/sync/class-gutenberg-http-signaling-server.php Co-authored-by: André <[email protected]> * refactor in progress * tmp * fix some bugs after refactoring * Added retry mechanism with error events. * Document clean_up_old_connections. * Make parameter order consistent. * Document remaining parameters. * Follow y-webrtc room name convention * Conditionally enable endpoint depending if setting is set or not. * Remove debug code. * Fix rebase: remove no longer existing file * Update docs --------- Co-authored-by: Anton Vlasenko <[email protected]> Co-authored-by: André Maneiro <[email protected]>
- Loading branch information
04e1738
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flaky tests detected in 04e1738.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.
🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6576700608
📝 Reported issues:
/test/e2e/specs/editor/blocks/navigation-colors.spec.js