Skip to content

feat(settings): add big file upload setup checks - #49372

Merged
skjnldsv merged 1 commit into
masterfrom
feat/php-setup-file-upload
Nov 19, 2024
Merged

feat(settings): add big file upload setup checks#49372
skjnldsv merged 1 commit into
masterfrom
feat/php-setup-file-upload

Conversation

@skjnldsv

@skjnldsvskjnldsv commented Nov 19, 2024

Copy link
Copy Markdown
Member

@skjnldsvskjnldsv added this to the Nextcloud 31 milestone Nov 19, 2024
@skjnldsv
skjnldsv requested review from a team, come-nc and nickvergessenNovember 19, 2024 11:43
@skjnldsvskjnldsv self-assigned this Nov 19, 2024
@skjnldsv
skjnldsv requested review from icewind1991 and nfebe and removed request for a teamNovember 19, 2024 11:43
@skjnldsv
skjnldsvforce-pushed the feat/php-setup-file-upload branch from 106e651 to 3e8149eCompareNovember 19, 2024 11:43
@skjnldsv

Copy link
Copy Markdown
MemberAuthor

/backport to stable30

@skjnldsv

Copy link
Copy Markdown
MemberAuthor

/backport to stable29

@skjnldsv

Copy link
Copy Markdown
MemberAuthor

/backport to stable28

@skjnldsv
skjnldsvforce-pushed the feat/php-setup-file-upload branch from 3e8149e to 3d988aeCompareNovember 19, 2024 11:51
Comment threadapps/settings/lib/SetupChecks/PhpMaxFileSize.php

@szaimenszaimen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice idea!! 🤩

LGTM but didnt test

@szaimen

szaimen commented Nov 19, 2024

Copy link
Copy Markdown
Contributor

@skjnldsv Just an idea: can we also somehow check web server body limits and timeouts? (These are also important to test afaik)

@skjnldsv

Copy link
Copy Markdown
MemberAuthor

@skjnldsv Just an idea: can we also somehow check web server body limits and timeouts? (These are also important to test afaik)

Those variables are not accessible from php

come-nc

This comment was marked as resolved.

Comment threadapps/settings/lib/SetupChecks/PhpMaxFileSize.php Outdated
Comment threadapps/settings/lib/SetupChecks/PhpMaxFileSize.php Outdated
@skjnldsv

Copy link
Copy Markdown
MemberAuthor

Is that not crashing when the ini settings are missing?

No, there is always a fallback by php defaults if the value is not defined

@skjnldsv
skjnldsvforce-pushed the feat/php-setup-file-upload branch from 3d988ae to 96daddbCompareNovember 19, 2024 14:08
@skjnldsv
skjnldsvforce-pushed the feat/php-setup-file-upload branch from 96daddb to fb62fc2CompareNovember 19, 2024 14:11
Comment threadapps/settings/lib/SetupChecks/PhpMaxFileSize.php Outdated
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
@skjnldsv
skjnldsvforce-pushed the feat/php-setup-file-upload branch from fb62fc2 to 4a88848CompareNovember 19, 2024 15:43
@ThibautPlg

ThibautPlg commented Dec 18, 2024

Copy link
Copy Markdown
Contributor

Hi,
I've just talked to the NC support about this subject last month and we came to the conclusion that chunking was used across Nextcloud (excluding public shares in old NC versions) so big values were not required anymore.
Do I miss something here?
Best regards,

EDIT: just saw this was disabled now (#49633)

@skjnldsv

Copy link
Copy Markdown
MemberAuthor

We're discussing this internally :)

@skjnldsvskjnldsv mentioned this pull request Jan 7, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@skjnldsv@szaimen@ThibautPlg@come-nc