Repository navigation
Evaluate text app HPB sync options #2669
Description
Activity
We also need to look into authentication - both of the clients connecting to the hokuspokus server as well as the auth of the write from the hokuspokus server to storage backends - especially if those are special backends such as shares or external storages.
As discussed, let's focus on the following in order:
- plugging in hocuspocus as as an optional component for syncing the steps
- first make general collaboration work
- save process
- still save the document on the client
- Concurrent saving could be avoided by having one client that pre-announces the save process through web socket so that others won't save in the meantime
- authentication
- maybe use JWT with a shared secret to verify access of sessions
- Explore options to use y.js with our existing php backend
- plugging in hocuspocus as as an optional component for syncing the steps
- addedenhancementNew feature or requestNew feature or request
on Jul 12, 2022 https://discuss.yjs.dev/t/stateless-server-broadcasting-implementation-in-go/393 Is an interesting read for the option to reuse our php backend as a fallback with y.js, so this should work while having no compression of the previous steps (which we don't have anyways with the current approach) so y.js would even be more lightweight by not using json for the steps.
https://github.com/nextcloud/text/tree/experiment/yjs has a minimal working tiptap2 collaboration based on tiptaps public websocket server.
- moved this from 📄 To do (5-20 entries) to 🏗️ In progress in 📝 Productivity team
on Jul 13, 2022 https://github.com/nextcloud/text/tree/experiment/minimal-yjs keeps more of our current session handling.
I'll close this as we have notify_push support for editing sesssion sync since quite some time.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fields☑️ Done
Initial Experiments
Drop in Replacement
#2847
Use the yjs based collaboration extension with the existing server API (+small modifications).
Turn the sync service provider experiment into a working solution.
Explore combining with other providers
During company week:
Combine with Hocuspocus
Use Hocuspocus to send steps and awareness messages between clients more efficiently.
Awareness (user presence and authorship)
Fully integrate
Combine the various providers seamlessly and make use of their strength.