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

increase allowed file size in onlyoffice #5720

Merged
merged 1 commit into from
Mar 8, 2023
Merged

increase allowed file size in onlyoffice #5720

merged 1 commit into from
Mar 8, 2023

Conversation

wkloucek
Copy link
Contributor

@wkloucek wkloucek commented Mar 2, 2023

Description

increase allowed file size in onlyoffice

Related Issue

Motivation and Context

How Has This Been Tested?

  • open large file in onlyoffice

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

@update-docs
Copy link

update-docs bot commented Mar 2, 2023

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@wkloucek wkloucek requested review from dj4oC and micbar March 2, 2023 15:17
@wkloucek wkloucek marked this pull request as ready for review March 2, 2023 15:18
Copy link
Contributor

@dj4oC dj4oC left a comment

Choose a reason for hiding this comment

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

Increase decompressed file size to 1GB allows to open 50MB xlsx file.

@wkloucek wkloucek requested review from C0rby, rhafer and kobergj March 8, 2023 10:46
Copy link
Collaborator

@kobergj kobergj left a comment

Choose a reason for hiding this comment

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

Comment not critical, just stating the obvious 😉

#!/bin/sh
set -e

# we can't mount it directly because the run-document-server.sh script wants to move it
Copy link
Collaborator

Choose a reason for hiding this comment

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

I assume it wasn't possible to change run-document-server.sh script? This will get very messy when we have a lot of sh scripts that all do "something"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We would need to vendor the complete run-document-server.sh script in our repository. It's coming from here and can change depending on the OnlyOffice version.

The proper fix from my POV would be to fix the Json library to edit the file inplace instead of moving it around.

@wkloucek wkloucek merged commit 1a6f432 into owncloud:master Mar 8, 2023
@wkloucek wkloucek deleted the onlyoffice-file-size branch March 8, 2023 13:10
ownclouders pushed a commit that referenced this pull request Mar 8, 2023
Merge: c1deb98 77dae5a
Author: Willy Kloucek <[email protected]>
Date:   Wed Mar 8 14:10:30 2023 +0100

    Merge pull request #5720 from wkloucek/onlyoffice-file-size

    increase allowed file size in onlyoffice
@micbar micbar mentioned this pull request May 3, 2023
89 tasks
@ScharfViktor ScharfViktor mentioned this pull request May 4, 2023
86 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants