-
Notifications
You must be signed in to change notification settings - Fork 87
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
[stable27] fix(sync): push local changes on reconnect #5285
Commits on Jan 29, 2024
-
fix(sync): push local changes on reconnect
When an editing session is interrupted steps that were already pushed to the server may be cleared alongside the sync service session. Make sure to push all local state that is not part of the document state when (re-)connecting. Tests Yjs relies on a browser environment. Therefore we test it in a cypress test. Move these tests into component tests to separate them from 'normal' e2e tests. Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 456f218 - Browse repository at this point
Copy the full SHA 456f218View commit details -
fix(sync): keep yjs file during sync session cleanup
Even if all sessions have expired and been removed there may still be disconnected clients that hold state from the last editing session. When they reconnect they will send their yjs updates based on the old state they had. Preserve the yjs state accross editing sessions so updates send after a reconnect can still be processed. Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for c9a1ee2 - Browse repository at this point
Copy the full SHA c9a1ee2View commit details -
Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for b553586 - Browse repository at this point
Copy the full SHA b553586View commit details -
enh(log): debug log when sending updateMessage
Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for a473b1e - Browse repository at this point
Copy the full SHA a473b1eView commit details -
docs(js): add return type annotations
Signed-off-by: Max <max@nextcloud.com>
Configuration menu - View commit details
-
Copy full SHA for 28701ff - Browse repository at this point
Copy the full SHA 28701ffView commit details -
fix(sync): yjs messages are Uint8Arrays in the queue
Remove duplicate encoding for updateMessage Signed-off-by: Max <max@nextcloud.com> Signed-off-by: Jonas <jonas@freesources.org>
Configuration menu - View commit details
-
Copy full SHA for c363ffd - Browse repository at this point
Copy the full SHA c363ffdView commit details -
chore: update relativeci workflow and webpack usage
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for b9be515 - Browse repository at this point
Copy the full SHA b9be515View commit details -
chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5d00396 - Browse repository at this point
Copy the full SHA 5d00396View commit details