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

Fix /checkup/ false positive when OnlyOffice is not installed #1731

Open
wants to merge 2 commits into
base: staging
Choose a base branch
from

Conversation

AAAMON
Copy link

@AAAMON AAAMON commented Dec 6, 2024

This fixed the issue described here: #1702.

@AAAMON AAAMON added Deployment Containers, automation scripts, etc. OnlyOffice Relates to OnlyOffice integration in CryptPad labels Dec 6, 2024
@davidbenque davidbenque changed the base branch from main to staging December 6, 2024 11:00
@davidbenque davidbenque added this to the Spring Release (2025.3.0) milestone Dec 6, 2024
@@ -720,12 +725,11 @@ define([
});

assert(function (cb, msg) { // FIXME possibly superseded by more advanced CSP tests?
var url = `/common/onlyoffice/dist/${OOCurrentVersion.currentVersion}/web-apps/apps/spreadsheeteditor/main/index.html`;
msg.appendChild(CSP_WARNING(url));
msg.appendChild(CSP_WARNING(sheetURL));
Copy link
Contributor

Choose a reason for hiding this comment

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

Is no if (ooEnabled) { needed here?

Copy link
Author

Choose a reason for hiding this comment

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

Fixed! Typo from when i reverted the Prettier formatting.

Copy link
Contributor

@wginolas wginolas left a comment

Choose a reason for hiding this comment

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

Ah, and another thing. How did the changes to docker-compose.yml and .github/ISSUE_TEMPLATE/bug_resolution.yml make it into your PR? Can you remove these changes from you PR?

@mathilde-cryptpad
Copy link
Contributor

Ah, and another thing. How did the changes to docker-compose.yml and .github/ISSUE_TEMPLATE/bug_resolution.yml make it into your PR? Can you remove these changes from you PR?

Screenshot 2024-12-11 at 10 28 46

It's because the PR wasn't created from staging but main, it indeed needs to be rebased.

@AAAMON AAAMON force-pushed the fix-onlyoffice-checkup branch from 4ce0191 to b5176fa Compare December 12, 2024 07:42
@AAAMON
Copy link
Author

AAAMON commented Dec 12, 2024

Fixed

@wginolas
Copy link
Contributor

I also tested the fix and found no problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deployment Containers, automation scripts, etc. OnlyOffice Relates to OnlyOffice integration in CryptPad
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants