2580 Commits
Author SHA1 Message Date
Milen Pivchev d68cf195cc feat: user friendly error messages (#4397)
* WIP

Signed-off-by: Milen Pivchev <[email protected]>

* WIP

Signed-off-by: Milen Pivchev <[email protected]>

* WIP

Signed-off-by: Milen Pivchev <[email protected]>

* WIP

Signed-off-by: Milen Pivchev <[email protected]>

* WIP

Signed-off-by: Milen Pivchev <[email protected]>

* WIP

Signed-off-by: Milen Pivchev <[email protected]>

* WIP

Signed-off-by: Milen Pivchev <[email protected]>

* refactor: persist NKError kind and simplify user-friendly error messages

Signed-off-by: Milen Pivchev <[email protected]>

* refactor: detect virus-blocked uploads via NKError kind

Signed-off-by: Milen Pivchev <[email protected]>

* WIP

Signed-off-by: Milen Pivchev <[email protected]>

* WIP

Signed-off-by: Milen Pivchev <[email protected]>

---------

Signed-off-by: Milen Pivchev <[email protected]>
2026-11-03 17:00:55 +01:00
Marino Faggiana 394a7dc02b chore: bump marketing version to 35.2.2
Signed-off-by: Marino Faggiana <[email protected]>
2026-10-28 11:55:41 +01:00
Marino Faggiana 48d27f2ca9 refactor: migrate app passcode flows to SwiftUI (#4419)
* feat: add shared SwiftUI passcode component

Support passcode authentication, creation, changes and removal with biometrics and shared lockout protection. Keep the existing passcode flow active until callers are migrated.

Signed-off-by: Marino Faggiana <[email protected]>

* feat: migrate settings to SwiftUI passcode flow

Update lock settings after passcode completion and handle reset results. Add toolbar dismissal and require the current passcode when changing it.

Signed-off-by: Marino Faggiana <[email protected]>

* fix: authenticate E2EE actions with the shared passcode view

Require authentication in Debug builds and verify the account before executing E2EE actions. Present cancellable passcode flows as sheets and handle completion during dismissal.

Signed-off-by: Marino Faggiana <[email protected]>

* refactor: migrate app passcode flows to NCPasscodeView

Use the shared passcode view for app unlock and enforced setup. Scope lifecycle handling to the presenting window scene and cancel optional operations when backgrounded.

Signed-off-by: Marino Faggiana <[email protected]>

* refactor: migrate passcode flows to shared SwiftUI components

Replace TOPasscode in the main app and Share Extension, remove the legacy implementation, and add passcode UI tests.

Signed-off-by: Marino Faggiana <[email protected]>

* Acknowledgements update

Signed-off-by: Marino Faggiana <[email protected]>

* fix

Signed-off-by: Marino Faggiana <[email protected]>

* fix: preserve passcode reset threshold across lockouts

Clear only the retry counter and lockout deadline when the delay expires. Add UI coverage verifying app reset after ten failures across lockouts.

Signed-off-by: Marino Faggiana <[email protected]>

* fix: keep app passcode lock above sheets and alerts

Present the mandatory lock in a dedicated window per scene and preserve underlying UI after unlocking.

Add UI regression coverage, improve authentication test handling, and enforce CI test timeouts with retained diagnostics.

Signed-off-by: Marino Faggiana <[email protected]>

* fix: wait for HTTP fallback in UI test login

Allow the initial HTTPS request to time out before expecting the localhost authentication page, and skip UI queries against authentication services that are not running.

Signed-off-by: Marino Faggiana <[email protected]>
Assisted-by: Codex:GPT-6

* CI

Signed-off-by: Marino Faggiana <[email protected]>

* CI

Signed-off-by: Marino Faggiana <[email protected]>

* CI

Signed-off-by: Marino Faggiana <[email protected]>

* CI

Signed-off-by: Marino Faggiana <[email protected]>

* size button

Signed-off-by: Marino Faggiana <[email protected]>

* fix: avoid redundant transfer and auto-upload state updates

Preserve the auto-upload suspension message until all reads finish, and discard cancelled or stale refreshes.

Signed-off-by: Marino Faggiana <[email protected]>

* added NCPasscodeView.embed

Signed-off-by: Marino Faggiana <[email protected]>

* fix: correct share extension passcode layout

Embed the passcode view in the content controller while hiding the enclosing navigation bar, and constrain its width to the available space.

Signed-off-by: Marino Faggiana <[email protected]>

* fix: enforce app lock after failed passcode attempts

Preserve mandatory authentication across scenes and relaunches after lockout. Require biometric authorization before enabling Touch ID or Face ID, add passcode error feedback, and update lockout UI tests.

Signed-off-by: Marino Faggiana <[email protected]>

* fix: stabilize passcode UI tests and run them for relevant changes

Shorten reset-test lockouts and let XCTest terminate the app after observing completed cleanup to avoid TSan exit issues. Run passcode UI tests when related files change and increase CI test timeouts.

Signed-off-by: Marino Faggiana <[email protected]>

---------

Signed-off-by: Marino Faggiana <[email protected]>
2026-10-28 07:57:01 +01:00
dependabot[bot] 7568e344bd fix(deps): Bump github.com/apple/swift-nio-ssl (#4401)
Bumps the swift-packages group with 1 update in the / directory: [github.com/apple/swift-nio-ssl](https://github.com/apple/swift-nio-ssl).


Updates `github.com/apple/swift-nio-ssl` from 2.37.4 to 2.37.5
- [Release notes](https://github.com/apple/swift-nio-ssl/releases)
- [Commits](https://github.com/apple/swift-nio-ssl/compare/2.37.4...322f3c2a4a21df31c84ca416bf65ee5e9059e440)

---
updated-dependencies:
- dependency-name: github.com/apple/swift-nio-ssl
  dependency-version: 2.37.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: swift-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-23 20:12:30 +02:00
Marino Faggiana faf9617904 fix: unify navigation overflow and organize file action menus (#4412)
* refactor: use native navigation overflow menus

Move screen options into UIKit's shared overflow menu, guard asynchronous updates against navigation changes, and expose the media date picker as an overflow action.

Signed-off-by: Marino Faggiana <[email protected]>

* feat: add view in folder to media and recommendation menus

Signed-off-by: Marino Faggiana <[email protected]>

* refactor: group context menu actions into consistent sections

Signed-off-by: Marino Faggiana <[email protected]>

* chore: bump version to 35.2.1 and reset build number to 0

Signed-off-by: Marino Faggiana <[email protected]>

---------

Signed-off-by: Marino Faggiana <[email protected]>
2026-10-22 09:45:52 +02:00
Marino Faggiana 869ffa6a23 closed version
Signed-off-by: Marino Faggiana <[email protected]>
2026-10-21 09:00:56 +02:00
Marino Faggiana 0b9c7598fa fix: use consistent 20-point spacing for the add button
Bump the build number to 2.

Signed-off-by: Marino Faggiana <[email protected]>
2026-10-20 15:52:14 +02:00
Marino Faggiana 216746ae6e fix: load older filtered media and keep navigation bars visible (#4407)
* fix: load older filtered media and keep navigation bars visible

Continue fetching images and videos together while a media filter is active, and skip deletion checks for partial history pages. Keep navigation controls visible while scrolling on iOS 27.

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>

* fix: keep activity navigation visible while scrolling

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>

* chore: bump project build number to 1

Signed-off-by: Marino Faggiana <[email protected]>

* fix: keep transfers navigation visible while scrolling

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>

---------

Signed-off-by: Marino Faggiana <[email protected]>
2026-10-20 10:10:36 +02:00
Marino Faggiana 841d44ea08 feat: enable adaptive media viewer and improve navigation consistency (#4403)
* feat: enable adaptive media layout and remove filename logo

Signed-off-by: Marino Faggiana <[email protected]>

* fix: unify navigation loading indicators and preserve Browse state

Show loading indicators in the navigation bar for files, albums and trash while keeping cached albums visible during refresh.

Preserve the sidebar destination, personal filter and folder stack when switching tabs.

Signed-off-by: Marino Faggiana <[email protected]>

* fix: keep sidebar notification badge within bounds before iOS 26

Signed-off-by: Marino Faggiana <[email protected]>

* fix: use opaque media date picker background before iOS 26

Signed-off-by: Marino Faggiana <[email protected]>

* fix: refresh search navigation layout on iOS versions before 26

Signed-off-by: Marino Faggiana <[email protected]>

* fix: use waveform icon for video audio track menus

Signed-off-by: Marino Faggiana <[email protected]>

* fix: allow media viewer filenames to span two lines

Signed-off-by: Marino Faggiana <[email protected]>

* build 3

Signed-off-by: Marino Faggiana <[email protected]>

* new version

Signed-off-by: Marino Faggiana <[email protected]>

---------

Signed-off-by: Marino Faggiana <[email protected]>
2026-10-16 16:10:25 +02:00
Marino Faggiana b7853ed4b0 feat: add experimental adaptive media viewer
Add independent adaptive controls for images, audio, AVPlayer and VLC while
keeping the experiment disabled for normal-mode TestFlight regression checks.
Include shared playback progress styling, information fixes, viewer tests
and the required project resources.

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>
2026-10-14 12:05:11 +02:00
Marino Faggiana 7d82fefdc9 chore(deps): update resolved Swift package versions
Signed-off-by: Marino Faggiana <[email protected]>
2026-10-13 18:43:22 +02:00
Marino Faggiana c50342357a Adaptive sidebar navigation (#4381)
* chore: bump version to 35.2.0 and require iOS 18

Reset the build number to 0 and remove test target deployment overrides to inherit the project setting.

Signed-off-by: Marino Faggiana <[email protected]>

* feat: add SwiftUI sidebar overlay with Settings access

Keep the existing five-tab navigation and add a leading sidebar button in Files, Media, Favorites, More, and the Albums list. Present a glass sidebar overlay with Settings and animated opening and closing.

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>

* iOS 17

Signed-off-by: Marino Faggiana <[email protected]>

* refactor: move assistant, notifications and transfers to sidebar

Signed-off-by: Marino Faggiana <[email protected]>

* fix: keep media calendar visible and respect safe area

Use a persistent calendar button with separate loading state and navigation groups. Constrain the media grid horizontally to the safe area when the available width changes.

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>

* fix: recalculate collection cell widths on resize

Update the stored list item size and invalidate flow layout metrics when collection bounds change. Refresh the first header layout alongside the collection.

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>

* feat: integrate iPad sidebar with native split view

Host the existing tabs in the secondary split column on iPad while retaining the sidebar overlay on phones. Resolve the contained tab controller for account, login, transfer and video presentation flows. Refresh sidebar actions from cached capabilities on account changes and server updates.

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>

* fix: improve sidebar dismissal and header alignment

Toggle the sidebar closed from its navigation button and retain an accessible close action when needed. Align header controls with the navigation bar while respecting safe areas and iPad window corners.

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* refactor: simplify sidebar helpers and document split setup

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>

* fix: refresh media permissions when etags are unchanged

Request permissions in media queries and update cached metadata when permissions change. Preserve known permissions when responses omit them.

Signed-off-by: Marino Faggiana <[email protected]>

* refactor: align albums with shared UIKit navigation

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* fix: open settings and transfers as sidebar destinations

Tie transfer observation to view visibility so updates resume on subsequent visits.

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* feat: add app shortcuts and storage quota to sidebar

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* refactor: replace More navigation with dedicated sidebar controllers

Remove the More view and model, preserve section-specific menus in dedicated navigation controllers, and route deep links through sidebar destinations.

Signed-off-by: Marino Faggiana <[email protected]>

* fix: improve sidebar layout and navigation

Respect the landscape safe area and widen the overlay sidebar. Present auto-upload settings in a dismissible sheet and configure the Activity tab in the storyboard.

Signed-off-by: Marino Faggiana <[email protected]>

* fix: keep recommendations carousel within list safe area

Signed-off-by: Marino Faggiana <[email protected]>

* fix: use overlay sidebar on iPad and preserve navigation controls

Remove the iPad split view container and share the overlay sidebar across devices. Keep sidebar and account controls accessible through navigation item groups and overflow menus.

Signed-off-by: Marino Faggiana <[email protected]>

* fix: refresh destination folders after cross-account uploads

Fetch each affected folder after drag-and-drop uploads so all windows discover the new files.

Signed-off-by: Marino Faggiana <[email protected]>

* feat: add swipe gestures to open and close the sidebar

Signed-off-by: Marino Faggiana <[email protected]>

* feat: add experimental folded video layout

Add separate normal and adaptive video controls for AVPlayer and VLC, with video above the fold and playback controls below. Keep the experiment disabled by default and preserve the original normal layout constraints without creating adaptive controls.

Group playback controls under Controls, add layout regression tests, and require Xcode 27.1 for the reserved-region APIs.

Validation: SwiftLint and static project checks passed. Builds and tests remain for manual verification under the project instructions.

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>

* fix: present sidebar as a full-screen modal overlay

Keep the sidebar outside the tab bar controller's child hierarchy and dismiss it through UIKit. Remove the sidebar header close button and its visibility checks.

Signed-off-by: Marino Faggiana <[email protected]>

* fix: extend sidebar background beneath landscape camera margin

Signed-off-by: Marino Faggiana <[email protected]>

* fix

Signed-off-by: Marino Faggiana <[email protected]>

* Update Master

Signed-off-by: Marino Faggiana <[email protected]>

* duo fix

Signed-off-by: Marino Faggiana <[email protected]>

* feat: enhance sidebar status indicators and navigation

Show transfer status, notification counts and an animated auto-upload icon. Improve sidebar scrolling and restore All files when tapping Browse.

Signed-off-by: Marino Faggiana <[email protected]>

* ci: use Xcode 27.1 for additional targets

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>

---------

Signed-off-by: Marino Faggiana <[email protected]>
2026-10-13 17:32:16 +02:00
dependabot[bot] 38478cc391 fix(deps): Bump the swift-packages group with 5 updates (#4394)
Bumps the swift-packages group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [github.com/firebase/firebase-ios-sdk](https://github.com/firebase/firebase-ios-sdk) | `12.19.2` | `13.0.1` |
| [github.com/krzyzanowskim/openssl](https://github.com/krzyzanowskim/OpenSSL) | `3.6.3000` | `3.6.5000` |
| [github.com/exyte/popupview](https://github.com/exyte/PopupView) | `5.0.6` | `5.0.8` |
| [github.com/apple/swift-collections](https://github.com/apple/swift-collections) | `1.7.1` | `1.7.2` |
| [github.com/apple/swift-nio](https://github.com/apple/swift-nio) | `2.103.0` | `2.104.0` |


Updates `github.com/firebase/firebase-ios-sdk` from 12.19.2 to 13.0.1
- [Release notes](https://github.com/firebase/firebase-ios-sdk/releases)
- [Commits](https://github.com/firebase/firebase-ios-sdk/compare/12.19.2...1c35b9453868cea1ecdf9f112b5b23b8b6343854)

Updates `github.com/krzyzanowskim/openssl` from 3.6.3000 to 3.6.5000
- [Release notes](https://github.com/krzyzanowskim/OpenSSL/releases)
- [Commits](https://github.com/krzyzanowskim/OpenSSL/compare/3.6.3000...0a6149bff4fb00921ce0ec1811f726b166638095)

Updates `github.com/exyte/popupview` from 5.0.6 to 5.0.8
- [Commits](https://github.com/exyte/PopupView/compare/5.0.6...99695337ce9e965b70e4aa14b49b1a9920017333)

Updates `github.com/apple/swift-collections` from 1.7.1 to 1.7.2
- [Release notes](https://github.com/apple/swift-collections/releases)
- [Commits](https://github.com/apple/swift-collections/compare/1.7.1...3b69cedbaa49957e97c092ae400bb57602ef941f)

Updates `github.com/apple/swift-nio` from 2.103.0 to 2.104.0
- [Release notes](https://github.com/apple/swift-nio/releases)
- [Commits](https://github.com/apple/swift-nio/compare/2.103.0...6db9d9abd92ad7399b8a564cafbb87d3507245fa)

---
updated-dependencies:
- dependency-name: github.com/firebase/firebase-ios-sdk
  dependency-version: 13.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: swift-packages
- dependency-name: github.com/krzyzanowskim/openssl
  dependency-version: 3.6.5000
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: swift-packages
- dependency-name: github.com/exyte/popupview
  dependency-version: 5.0.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: swift-packages
- dependency-name: github.com/apple/swift-collections
  dependency-version: 1.7.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: swift-packages
- dependency-name: github.com/apple/swift-nio
  dependency-version: 2.104.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: swift-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-13 15:50:16 +02:00
Marino Faggiana 7ab5ebf959 feat: add GRDB state for background auto upload (#4392)
* feat: add GRDB state for background auto upload

Track photo and video progress per asset, destination and upload session,
preserving confirmed components and assigned pair names on repeated writes.
Add the SQLite table and unit tests, and normalize the PhotoLibraryAsset
source filename. Integration with background upload discovery follows later.

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* version

Signed-off-by: Marino Faggiana <[email protected]>

* Fix Test

Signed-off-by: Marino Faggiana <[email protected]>

---------

Signed-off-by: Marino Faggiana <[email protected]>
2026-10-13 07:26:29 +02:00
Marino Faggiana dc214c4c92 fix: prevent auto-upload summary truncation in More view (#4379)
* fix: prevent auto-upload summary truncation in More view

Signed-off-by: Marino Faggiana <[email protected]>

* version closed

Signed-off-by: Marino Faggiana <[email protected]>

* version closed

Signed-off-by: Marino Faggiana <[email protected]>

---------

Signed-off-by: Marino Faggiana <[email protected]>
2026-10-07 16:15:51 +02:00
Marino Faggiana 3ebda4f3b4 fix: preserve whole-library auto upload selection across restarts (#4376)
* fix: preserve whole-library auto upload selection across restarts

Store the selected scope separately from incremental progress. Preserve the restart date when switching options and reset it only when starting a whole-library upload. Migrate existing accounts and preserve compatibility with older account backups.

Signed-off-by: Marino Faggiana <[email protected]>

* build 13

Signed-off-by: Marino Faggiana <[email protected]>

---------

Signed-off-by: Marino Faggiana <[email protected]>
2026-10-06 18:17:38 +02:00
Marino Faggiana 4ac2f0d797 fix: add fullscreen video menus and improve playback transitions (#4375)
* fix: share video viewer menus and activate audio asynchronously

Expose the cover menu during AVPlayer and VLC playback, update renamed titles, and present delete confirmations from the active viewer. Restore immediate engine switching with safe dismissal and presentation state cleanup.

Share asynchronous video audio session activation, gate playback and replay on readiness, and cancel pending starts when the viewer closes.

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>

* fix: reposition video controls after navigation bar transitions

Refresh top action positions when showing or hiding the navigation bar and after its transition completes. Keep the action row within the safe area during automatic video advance.

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>

* new build

Signed-off-by: Marino Faggiana <[email protected]>

---------

Signed-off-by: Marino Faggiana <[email protected]>
2026-10-06 16:26:06 +02:00
Marino Faggiana b600a93d5e update lib (#4374)
Signed-off-by: Marino Faggiana <[email protected]>
2026-10-06 10:27:12 +02:00
Marino Faggiana 961ff24106 style: compact media viewer function signatures (#4373)
* style: compact media viewer function signatures

Use single-line signatures where practical and activate audio sessions without blocking the main thread.

* prj

Signed-off-by: Marino Faggiana <[email protected]>

---------

Signed-off-by: Marino Faggiana <[email protected]>
2026-10-05 18:19:49 +02:00
dependabot[bot] 5a968289d3 fix(deps): Bump github.com/google/app-check from 11.3.2 to 12.0.0 (#4357)
Bumps [github.com/google/app-check](https://github.com/google/app-check) from 11.3.2 to 12.0.0.
- [Release notes](https://github.com/google/app-check/releases)
- [Changelog](https://github.com/google/app-check/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google/app-check/compare/11.3.2...c7eb17e5545f36e43dc50e70da09c2e999714e16)

---
updated-dependencies:
- dependency-name: github.com/google/app-check
  dependency-version: 12.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-05 16:53:24 +02:00
dependabot[bot] d9c4441238 fix(deps): Bump github.com/google/abseil-cpp-binary (#4358)
Bumps [github.com/google/abseil-cpp-binary](https://github.com/google/abseil-cpp-binary) from 1.2024072200.0 to 1.2025051202.0.
- [Release notes](https://github.com/google/abseil-cpp-binary/releases)
- [Commits](https://github.com/google/abseil-cpp-binary/compare/1.2024072200.0...26509120768c4add61cc1a63059f15f4fb49edb4)

---
updated-dependencies:
- dependency-name: github.com/google/abseil-cpp-binary
  dependency-version: 1.2025051202.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-05 16:53:05 +02:00
dependabot[bot] ac9c9ce929 fix(deps): Bump github.com/google/grpc-binary from 1.69.1 to 1.83.1 (#4359)
Bumps [github.com/google/grpc-binary](https://github.com/google/grpc-binary) from 1.69.1 to 1.83.1.
- [Release notes](https://github.com/google/grpc-binary/releases)
- [Changelog](https://github.com/google/grpc-binary/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google/grpc-binary/compare/1.69.1...9d5e9f05670c9eab8d8c22731ddd5d4d9cf867a8)

---
updated-dependencies:
- dependency-name: github.com/google/grpc-binary
  dependency-version: 1.83.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-05 16:52:46 +02:00
dependabot[bot] 6007ae4d8f fix(deps): Bump github.com/google/googleappmeasurement (#4360)
Bumps [github.com/google/googleappmeasurement](https://github.com/google/GoogleAppMeasurement) from 12.19.2 to 13.0.0.
- [Release notes](https://github.com/google/GoogleAppMeasurement/releases)
- [Commits](https://github.com/google/GoogleAppMeasurement/compare/12.19.2...33f4d83faebca7dc908ecee956eb195cfc4a87d0)

---
updated-dependencies:
- dependency-name: github.com/google/googleappmeasurement
  dependency-version: 13.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-05 16:52:27 +02:00
Marino Faggiana f7b129a37b fix: unify disabled auto upload settings and remove unused English strings (#4364)
Remove 79 unused localization keys and one unused plural while preserving keys used by NextcloudKit. Apply a shared disabled appearance to auto-upload settings and update the build number to 10.


Signed-off-by: Marino Faggiana <[email protected]>
2026-10-05 08:11:41 +02:00
Marino Faggiana a157232cf3 fix: clean up PhotoKit auto uploads on stop and prevent log viewer freezes (#4356)
* fix: clean up PhotoKit upload jobs when auto upload stops

Cancel queued jobs from the host app and preserve successful upload records before acknowledgement. Stop extension discovery and scheduling when auto upload is disabled.

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>

* fix: explicitly capture database in PhotoKit change closure

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>

* fix: isolate PhotoKit auto upload sessions across restarts

Invalidate stale discovery and retry passes across start/stop transitions. Reconcile outstanding PhotoKit jobs before restarting, preserve discovery date advancement, and save the new-photos cutoff before enabling Start. Bump the Realm schema to 418.

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>

* fix: preview log snapshots without blocking the interface

Move logger flushes and log file operations off the main actor. Present an immutable temporary copy in Quick Look and prevent overlapping preview preparation.

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>

* build 9

Signed-off-by: Marino Faggiana <[email protected]>

* fix: preserve PhotoKit upload cancellation during job updates

Prevent stale job updates from recreating deleted transfers or clearing cancellation. Require the active auto-upload session before requeueing acknowledged failures.

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>

* fix: use view dimensions for media previews

Remove global screen dependencies from preview and avatar sizing, make media callback captures consistently weak, and raise the SwiftLint function body warning to 500 lines.

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>

* lint

Signed-off-by: Marino Faggiana <[email protected]>

* fix: separate auto upload cutoff from discovery progress

Replace the new-photos switch with whole-library and explicit-date choices, remove the intermediate reset confirmation, and preserve the selected cutoff across restarts.

Persist discovery progress independently, retain unfinished upload restart points, and guard legacy queue insertion and extraction against stopped sessions. Add date policy and account backup compatibility tests and migrate Realm to schema 420.

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>

* fix: refine auto upload date settings and defaults

Initialize new accounts with a saved current-date cutoff and preserve existing account settings on re-registration. Simplify range selection styling, group date controls, and dim them while auto upload is active.

Assisted-by: Codex:GPT-6
Signed-off-by: Marino Faggiana <[email protected]>

* revert

Signed-off-by: Marino Faggiana <[email protected]>

---------

Signed-off-by: Marino Faggiana <[email protected]>
2026-10-02 10:58:35 +02:00
Marino Faggiana 00fe5b2800 Fix: Live Photo restoration and Office routing, improve logs and notifications (#4354)
* fix crash notification

Signed-off-by: Marino Faggiana <[email protected]>

* improved Log view

Signed-off-by: Marino Faggiana <[email protected]>

* https://github.com/nextcloud/ios/issues/2164

Signed-off-by: Marino Faggiana <[email protected]>

* fix: improve Office editor routing and prevent download fallback

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 <[email protected]>

* Build 8

Signed-off-by: Marino Faggiana <[email protected]>

---------

Signed-off-by: Marino Faggiana <[email protected]>
2026-10-01 08:57:31 +02:00
Marino Faggiana d9d464c6af feat: Track uploaded PhotoKit assets independently from Realm (#4352)
* feat: add persistent photo library asset tracking

Signed-off-by: Marino Faggiana <[email protected]>

* extension connection

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* WIP

Signed-off-by: Marino Faggiana <[email protected]>

* fix: serialize background upload job processing

Signed-off-by: Marino Faggiana <[email protected]>

---------

Signed-off-by: Marino Faggiana <[email protected]>
2026-09-30 16:04:20 +02:00
Marino Faggiana 5a8712fa41 feat: add GRDB-backed local database (#4351)
Add the initial photo library asset schema and a debug settings action for exporting the database.

Signed-off-by: Marino Faggiana <[email protected]>
2026-09-30 10:28:13 +02:00
Marino Faggiana 91dda27c89 fix: defer large auto uploads to chunked pipeline (#4349)
Keep oversized Live Photo resources together and reserve paired filenames while the host app handles chunked uploads.

Update resolved Google binary package versions.

Signed-off-by: Marino Faggiana <[email protected]>
2026-09-29 16:28:16 +02:00
Marino Faggiana 0b3b16b62c fix: recover interrupted PhotoKit background uploads (#4348)
* fix: recover interrupted background upload jobs

Reconnect PhotoKit jobs to pending metadata and treat valid server file IDs as successful uploads to prevent duplicate retries.

Signed-off-by: Marino Faggiana <[email protected]>

* refactor: centralize background upload metadata state transitions

Apply complete upload lifecycle states through a single persistence helper to keep related metadata fields consistent.

Signed-off-by: Marino Faggiana <[email protected]>

---------

Signed-off-by: Marino Faggiana <[email protected]>
2026-09-29 15:47:56 +02:00
dependabot[bot] 32411824bb fix(deps): Bump github.com/google/grpc-binary from 1.69.1 to 1.83.1 (#4338)
Bumps [github.com/google/grpc-binary](https://github.com/google/grpc-binary) from 1.69.1 to 1.83.1.
- [Release notes](https://github.com/google/grpc-binary/releases)
- [Changelog](https://github.com/google/grpc-binary/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google/grpc-binary/compare/1.69.1...9d5e9f05670c9eab8d8c22731ddd5d4d9cf867a8)

---
updated-dependencies:
- dependency-name: github.com/google/grpc-binary
  dependency-version: 1.83.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-29 12:32:07 +02:00
dependabot[bot] 6854da3512 fix(deps): Bump github.com/google/abseil-cpp-binary (#4337)
Bumps [github.com/google/abseil-cpp-binary](https://github.com/google/abseil-cpp-binary) from 1.2024072200.0 to 1.2025051202.0.
- [Release notes](https://github.com/google/abseil-cpp-binary/releases)
- [Commits](https://github.com/google/abseil-cpp-binary/compare/1.2024072200.0...26509120768c4add61cc1a63059f15f4fb49edb4)

---
updated-dependencies:
- dependency-name: github.com/google/abseil-cpp-binary
  dependency-version: 1.2025051202.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-29 12:31:52 +02:00
Marino Faggiana 26f21f2bdd feat: link Live Photos in background uploads (#4346)
Process completed Live Photo pairs in bounded batches, retain transient failures for retry, and suspend uploads on authentication errors.

Signed-off-by: Marino Faggiana <[email protected]>
2026-09-29 09:23:53 +02:00
Marino Faggiana 72fd5b2f8a feat: harden experimental PhotoKit background uploads (#4343)
* fix: stop background uploads on database schema mismatch

Validate the Realm schema version before opening the database and fail background upload jobs when the database is unavailable.

Signed-off-by: Marino Faggiana <[email protected]>

* fix: require manual retry for background upload auth failures

Avoid falling back to the Camera Roll when selected albums are unavailable and document the background upload extension workflow.

Signed-off-by: Marino Faggiana <[email protected]>

* fix: suspend background uploads after repeated failures

Limit each upload to three attempts and pause an account after consecutive asset failures. Resume suspended queues through explicit user actions and surface the blocking error in Auto Upload status.

Signed-off-by: Marino Faggiana <[email protected]>

* perf: bound auto-upload asset discovery memory

Lazily merge sorted PhotoKit results and scope duplicate checks to active or relevant uploads.

Signed-off-by: Marino Faggiana <[email protected]>

* feat: add experimental background upload opt-in

Limit the PhotoKit extension to Debug and TestFlight builds on Nextcloud 35 or later.

Signed-off-by: Marino Faggiana <[email protected]>

* fix: clarify PhotoKit HEIC upload behavior

Signed-off-by: Marino Faggiana <[email protected]>

* fix: improve background upload diagnostics

Log processing stages and detailed errors, and promote extension diagnostics to notice level.

Signed-off-by: Marino Faggiana <[email protected]>

* fix: mark background PhotoKit uploads

Add the X-NC-PhotoKit-Upload header to background upload requests.

Signed-off-by: Marino Faggiana <[email protected]>

* Clean up background upload metadata when PhotoKit assets are missing

Signed-off-by: Marino Faggiana <[email protected]>

* Log

Signed-off-by: Marino Faggiana <[email protected]>

* Log

Signed-off-by: Marino Faggiana <[email protected]>

* feat: add log file browser to advanced settings

List, preview, and share active and rotated log files.
Limit upload diagnostics to failures and redact sensitive response headers.
Update NextcloudKit and Realm dependencies.

Signed-off-by: Marino Faggiana <[email protected]>

* feat: document Apache setup for PhotoKit uploads

Mark the background upload extension as experimental and show the required Apache rewrite rules.

Update NextcloudKit and bump the project build number.

Signed-off-by: Marino Faggiana <[email protected]>

---------

Signed-off-by: Marino Faggiana <[email protected]>
2026-09-29 08:18:02 +02:00
Marino Faggiana 7f9a72463d fix: hide top scroll edge effects on iOS 27 (#4339)
* fix: hide top scroll edge effects on iOS 27

Apply the behavior consistently across UIKit and SwiftUI scrollable views, and adjust the activity layout to extend beneath the navigation area.

Bump the project build number to 3.

Signed-off-by: Marino Faggiana <[email protected]>

* fix: forward direct editing paste to first responder

Signed-off-by: Marino Faggiana <[email protected]>

---------

Signed-off-by: Marino Faggiana <[email protected]>
2026-09-25 17:20:13 +02:00
Marino Faggiana e0a3570121 refactor: remove redundant networking task registry (#4336)
* fix: manage favorite listing task locally

Signed-off-by: Marino Faggiana <[email protected]>

* fix: manage recent listing task directly

Signed-off-by: Marino Faggiana <[email protected]>

* fix: track notification requests locally

Cancel the active notification data source task when leaving the view and prevent duplicate in-flight requests.

Signed-off-by: Marino Faggiana <[email protected]>

* fix: manage group folder request cancellation locally

Signed-off-by: Marino Faggiana <[email protected]>

* fix: manage data source tasks on the main actor

Track and cancel trash loading directly through its URL session task.

Signed-off-by: Marino Faggiana <[email protected]>

* fix: cancel shares request when leaving the view

Signed-off-by: Marino Faggiana <[email protected]>

* fix: cancel NCSelect data source task on dismissal

Track the folder request directly and prevent duplicate reads while it is running or suspended.

Signed-off-by: Marino Faggiana <[email protected]>

* fix: track activity requests per view controller

Signed-off-by: Marino Faggiana <[email protected]>

* fix: cancel file data source requests directly

Signed-off-by: Marino Faggiana <[email protected]>

* fix: cancel active metadata sync network task

Track the current metadata sync request directly and cancel it when metadata synchronization stops.

Signed-off-by: Marino Faggiana <[email protected]>

* refactor: remove redundant network task tracking

Signed-off-by: Marino Faggiana <[email protected]>

* refactor: remove unused networking task tracker

Signed-off-by: Marino Faggiana <[email protected]>

---------

Signed-off-by: Marino Faggiana <[email protected]>
2026-09-25 16:24:14 +02:00
Marino Faggiana 768a5e85ec fix: correct BackgroundUploadExtension build paths - Archive build
Include inherited and additional Realm header search paths and remove duplicate slashes from plist and entitlement paths.

Signed-off-by: Marino Faggiana <[email protected]>
2026-09-25 16:22:57 +02:00
Marino Faggiana abc071d9ae feat: persist albums and photo references in Realm (#4331)
* feat: persist albums and photo references in Realm

Cache albums and photos for offline access, preserve references across renames, and invalidate stale refresh requests after changes. Bump the database schema and add persistence tests.

Signed-off-by: Marino Faggiana <[email protected]>

* fix: refresh albums when view reappears

Defer initial album loading to viewWillAppear and sync the currently displayed account on subsequent appearances.

Signed-off-by: Marino Faggiana <[email protected]>

* feat: enhance album covers and metadata

Add a featured album cover with photo count, improve localized media counts and date ranges, and refine album subtitle layout.

Signed-off-by: Marino Faggiana <[email protected]>

* fix: improve album grid layout responsiveness

Use square album thumbnails, adapt column count to available width, and preserve consistent spacing for subtitles and photo sections.

Signed-off-by: Marino Faggiana <[email protected]>

* feat: improve album grid layout and cover transitions

Signed-off-by: Marino Faggiana <[email protected]>

* fix: refine album actions and name validation

Signed-off-by: Marino Faggiana <[email protected]>

* refactor: standardize album sheet toolbar actions

Use standard cancel and confirmation icons with shared accessibility labels, and remove an unused album localization.

Signed-off-by: Marino Faggiana <[email protected]>

* fix: show album errors using descriptions

Signed-off-by: Marino Faggiana <[email protected]>

---------

Signed-off-by: Marino Faggiana <[email protected]>
2026-09-23 15:03:10 +02:00
Marino Faggiana 2014d05ddb Build 2
Signed-off-by: Marino Faggiana <[email protected]>
2026-09-22 10:41:43 +02:00
Marino Faggiana c4754aba1a update gitignore
Signed-off-by: Marino Faggiana <[email protected]>
2026-09-21 11:27:50 +02:00
Milen Pivchev 669b597d9d chore: add REUSE compliance (#4268)
* chore: add REUSE compliance

Signed-off-by: Milen Pivchev <[email protected]>

* WIP

Signed-off-by: Milen Pivchev <[email protected]>

* WIP

Signed-off-by: Milen Pivchev <[email protected]>

* Fix icon

Signed-off-by: Milen Pivchev <[email protected]>

* Remove unused fonts

Signed-off-by: Milen Pivchev <[email protected]>

* Apply suggestion from @mpivchev

Signed-off-by: Milen Pivchev <[email protected]>

---------

Signed-off-by: Milen Pivchev <[email protected]>
2026-09-21 11:19:52 +02:00
Marino Faggiana d28f26a31c Fix/album api validation (#4320)
* fix: validate album photo metadata and wait for all copies

Skip photos with missing metadata and show an error. Keep the album details loading indicator visible until all copies finish.

Switch NextcloudKit to main and update App Check and SwiftNIO.

Signed-off-by: Marino Faggiana <[email protected]>

* package

Signed-off-by: Marino Faggiana <[email protected]>

---------

Signed-off-by: Marino Faggiana <[email protected]>
2026-09-21 09:39:47 +02:00
dependabot[bot] d9dac6830e fix(deps): Bump github.com/1024jp/gzipswift from 6.0.0 to 7.0.0 (#4263)
Bumps [github.com/1024jp/gzipswift](https://github.com/1024jp/GzipSwift) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/1024jp/GzipSwift/releases)
- [Changelog](https://github.com/1024jp/GzipSwift/blob/main/CHANGELOG.md)
- [Commits](https://github.com/1024jp/GzipSwift/compare/6.0.0...41d37421fe2cbbfae4a5593dc29d12999fb73cd7)

---
updated-dependencies:
- dependency-name: github.com/1024jp/gzipswift
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-19 17:31:49 +02:00
dependabot[bot] 651a0ff71a fix(deps): Bump github.com/google/app-check from 11.3.1 to 11.3.2 (#4303)
Bumps [github.com/google/app-check](https://github.com/google/app-check) from 11.3.1 to 11.3.2.
- [Release notes](https://github.com/google/app-check/releases)
- [Changelog](https://github.com/google/app-check/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google/app-check/compare/11.3.1...97f7d74dd0e8f3d0fe5fc75cc8957aa73bdc948a)

---
updated-dependencies:
- dependency-name: github.com/google/app-check
  dependency-version: 11.3.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-19 17:27:21 +02:00
Marino Faggiana de054206b4 UI fix ios27 (#4310)
* wip

Signed-off-by: Marino Faggiana <[email protected]>

* fix menu media

Signed-off-by: Marino Faggiana <[email protected]>

* fix upload

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* lint

Signed-off-by: Marino Faggiana <[email protected]>

* deletePhotoFromAlbum

Signed-off-by: Marino Faggiana <[email protected]>

* build 1

Signed-off-by: Marino Faggiana <[email protected]>

* Albums wip

Signed-off-by: Marino Faggiana <[email protected]>

* fix: process Live Photos before removing uploaded camera roll assets

Allow Live Photo processing while transfers remain queued, without blocking it on failed or declined deletion attempts.

Signed-off-by: Marino Faggiana <[email protected]>

---------

Signed-off-by: Marino Faggiana <[email protected]>
2026-09-19 11:12:23 +02:00
Marino Faggiana 8684364a18 Albums - metadata (internal) - NextcloudKit (#4302)
* wip

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

* wip

Signed-off-by: Marino Faggiana <[email protected]>

---------

Signed-off-by: Marino Faggiana <[email protected]>
2026-09-18 10:12:14 +02:00
Marino Faggiana 032606d86f wip
Signed-off-by: Marino Faggiana <[email protected]>
2026-09-17 16:36:32 +02:00
Marino Faggiana e6cd4cab42 fix: safely clean up uploaded camera roll assets
Allow cleanup while unrelated transfers remain queued, requiring all asset transfers and Live Photo components to be complete. Throttle deletion prompts, require the app to be active, and clear asset identifiers only after successful deletion.

Add unit tests for cleanup eligibility.

Signed-off-by: Marino Faggiana <[email protected]>
2026-09-17 06:52:49 +02:00
Marino Faggiana 01d96f773f fix
Signed-off-by: Marino Faggiana <[email protected]>
2026-09-15 11:32:09 +02:00
Marino Faggiana 3567d1e191 WIP
Signed-off-by: Marino Faggiana <[email protected]>
2026-09-15 11:03:07 +02:00