* 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]>
* 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]>
* 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]>
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]>
* 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]>
* 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]>
* 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]>
* 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]>
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]>
* 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]>
* 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]>
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]>
* 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]>
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]>
* 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]>
* 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]>
Include inherited and additional Realm header search paths and remove duplicate slashes from plist and entitlement paths.
Signed-off-by: Marino Faggiana <[email protected]>
* 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]>
* 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]>
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]>