Skip to content
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

[stable26] fix: Use Close_Session post message to properly end the Collabora editing before opening locally #3597

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

juliushaertl
Copy link
Member

@juliushaertl juliushaertl commented Apr 15, 2024

stable26 variant of #3601
If we edit locally we want to ensure that the document is saved and all sessions are removed before handing over the file to the desktop client. The previous approach was somewhat flaky and could lead to opening the file locally too early. The Close_Session post message will ensure that the file is properly terminated on the Collabora side and the lock on it is removed.

Further we can use the Session_Closed post message on other editing sessions to show a hint to the user why the document was auto-closed.

@juliushaertl juliushaertl changed the title fix: Use Close_Session post message to properly end the Collabora editing before opening locally [stable26] fix: Use Close_Session post message to properly end the Collabora editing before opening locally Apr 15, 2024
@juliushaertl juliushaertl added bug Something isn't working backport-request labels Apr 15, 2024
Copy link

cypress bot commented Apr 15, 2024

Passing run #826 ↗︎

0 25 0 0 Flakiness 0

Details:

[stable26] fix: Use Close_Session post message to properly end the Collabora edi...
Project: Richdocuments Commit: 2b2bbfdf9e
Status: Passed Duration: 02:11 💡
Started: Apr 19, 2024 9:44 AM Ended: Apr 19, 2024 9:46 AM

Review all test suite changes for PR #3597 ↗︎

Copy link
Contributor

@max-nextcloud max-nextcloud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just did a quick pass over the code. Let me know if this needs more testing etc.

…ting before opening locally

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliushaertl juliushaertl merged commit b2973a5 into stable26 Apr 19, 2024
40 of 42 checks passed
@juliushaertl juliushaertl deleted the fix/local-locking-stable26 branch April 19, 2024 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants