Skip to content

IONOS(assistant): NC33 fork release (NSW-1069) - #5

Open
printminion-co wants to merge 5 commits into
ionos-dev-v33from
mk/dev/NSW-1069-assistant-nc33
Open

printminion-co wants to merge 5 commits into
ionos-dev-v33from
mk/dev/NSW-1069-assistant-nc33

Conversation

@printminion-co

@printminion-co printminion-co commented Oct 1, 2026 •

Copy link
Copy Markdown

Summary

NC33 IONOS assistant line: upstream v3.5.0 + rebased IONOS patches (previous base: v2.12.0).

Reconciliation against v3.5.0

Source commit New commit Outcome
fa7cca1 IONOS(assistant): feat: add filteredShape computed property to exclude numberOfImages field 8b63e08 kept; applies unchanged on the v2→v3 jump; inputs still render through TaskTypeFields (AssistantFormInputs), so the numberOfImages hide still takes effect
e522f3c fix: avoid mime_content_type warning on wrapped streams 7e533bc folded from #4 (NSW-1017), applies unchanged
cc750bd fix: use finfo buffer instead of mime_content_type on streams 268cc58 folded from #4 (NSW-1017), applies unchanged
201d6ce fix: improve mimetype detection when serving a task output file b3d22c9 folded from #4 (NSW-1017), applies unchanged
ffec400 use the appData file extension if there is one f23d180 folded from #4 (NSW-1017), applies unchanged

None of the #4 commits are in v3.5.0 (checked with git cherry). The resulting lib/ diff is identical to #4's.

Commit hashes are unformatted so GitHub auto-links them.

Consumed by IONOS-Productivity/ncw-server#382 via a submodule bump after merge + tag.

Jira: NSW-1069 (folds NSW-1017)

Arsalanulhaq and others added 5 commits October 1, 2026 08:52
…e numberOfImages field

(cherry picked from commit fa7cca1)
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
mime_content_type() requires stream_cast() support to operate on a
stream resource directly. Streams returned by File::fopen() can be
wrapped in Icewind\Streams\CallbackWrapper, which does not implement
stream_cast(), causing a PHP warning to be logged on every
preview/output-file request even though the mime type is still
detected correctly.

This drains the stream into a temporary file first, then calls
mime_content_type() against the file path instead. No behavior change;
only removes log noise.

Signed-off-by: Simon Holzman <simon.holzman@verizon.net>
(cherry picked from commit 3ece3ab)
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
(cherry picked from commit e522f3c)
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
Avoids copying the whole file to disk for mime detection.
Reads only the first 4096 bytes into a buffer and uses
finfo::buffer() to detect the mime type, which does not
require stream_cast() support.

Addresses maintainer feedback on nextcloud#592.

Signed-off-by: Simon Holzman <simon.holzman@verizon.net>
(cherry picked from commit 2be918a)
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
(cherry picked from commit cc750bd)
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
… like when saving and generating a preview)

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
(cherry picked from commit 66e2ad4)
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
(cherry picked from commit 201d6ce)
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
(cherry picked from commit 5cde2e7)
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
(cherry picked from commit ffec400)
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
printminion-co added a commit to IONOS-Productivity/ncw-server that referenced this pull request Oct 1, 2026
…S fork, pre-tag)

Pre-release pin for build artifact evaluation: upstream v3.5.0 + IONOS delta (incl. NSW-1017 mimetype fix). Replaced by the prerelease tag once the fork PR is merged.

PR: IONOS-Productivity/nc-assistant#5
SHA: f23d180e4b1ecf4c56050704613c9d7c7d259f62
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
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.

4 participants