Skip to content

Fix: Live Photo restoration and Office routing, improve logs and notifications - #4354

Merged
marinofaggiana merged 5 commits into
masterfrom
GUI-log
Oct 1, 2026
Merged

marinofaggiana merged 5 commits into
masterfrom
GUI-log

Conversation

@marinofaggiana

@marinofaggiana marinofaggiana commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

Summary

Preserve original Live Photo resources, improve Office editor routing, and update log management and notification loading.

Live Photos

  • Save the original image and paired video directly through PhotoKit, without converting HEIC to JPEG or re-encoding the MOV.
  • Request add-only Photos authorization.
  • Remove the obsolete Live Photo generation helper.

Office documents

  • Improve MIME type matching, including generic types, Apple type identifiers and optional editor formats.
  • Extend “Open in Office” to available Collabora, OnlyOffice and EuroOffice editors.
  • Keep the local viewer as the default when tapping a PDF.
  • Stop editor errors from falling back to native download or sharing.
  • Preserve offline preview of downloaded documents and restrict HTML compatibility exceptions to Nextcloud Text.
  • Add regression tests for MIME type recognition and editor compatibility.

Logs and notifications

  • Move “Clear log” into the log viewer and add swipe-to-delete with coordinated file access and error reporting.
  • Replace the notification list after loading finishes, reload it once, and guard against invalid row indexes.
  • End notification refresh when loading fails.

Validation

SwiftLint and project file checks passed for the Office routing changes. Builds and tests were not run locally. Device verification is still needed for Live Photo restoration, Office editors and secure-view documents.

Refs #2164 and #4347.

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI (N/A)

Signed-off-by: Marino Faggiana <marino.faggiana@nextcloud.com>
Signed-off-by: Marino Faggiana <marino.faggiana@nextcloud.com>
Signed-off-by: Marino Faggiana <marino.faggiana@nextcloud.com>
Improve document MIME type matching, including generic server types, Apple type identifiers and optional editor formats. Restrict the HTML compatibility exception to Nextcloud Text.

Extend “Open in Office” to available Collabora, OnlyOffice and EuroOffice editors, with a submenu when multiple editors are available. Keep the local PDF viewer as the default when tapping a PDF.

Propagate editor errors instead of falling back to native preview or download. Preserve local preview for downloaded documents while offline.

Add MIME type and editor compatibility regression tests.

Validation: SwiftLint and project file checks passed. Builds, tests and Collabora/secure-view verification have not been run locally.

Refs #4347.

Signed-off-by: Marino Faggiana <marino.faggiana@nextcloud.com>
@marinofaggiana marinofaggiana changed the title G UI log Fix: Live Photo restoration and Office routing, improve logs and notifications Oct 1, 2026
Signed-off-by: Marino Faggiana <marino.faggiana@nextcloud.com>
@marinofaggiana
marinofaggiana merged commit 00fe5b2 into master Oct 1, 2026
5 checks passed
@marinofaggiana
marinofaggiana deleted the GUI-log branch October 1, 2026 06:57
@marinofaggiana marinofaggiana self-assigned this Oct 3, 2026
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.

1 participant