Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reenabled build on macOS #109

Merged
merged 2 commits into from
Nov 25, 2024
Merged

Reenabled build on macOS #109

merged 2 commits into from
Nov 25, 2024

Conversation

i2h3
Copy link
Contributor

@i2h3 i2h3 commented Nov 25, 2024

Certain APIs used were not available on macOS in general or the currently supported version per package manifest. I added necessary code switches to make the code at least build again.

I also checked whether the package builds with Xcode 16 for all the other platforms listed as supported (tvOS, visionOS and watchOS) and it does.

@i2h3 i2h3 self-assigned this Nov 25, 2024
@i2h3 i2h3 changed the title Reenabled build on macOS. Reenabled build on macOS Nov 25, 2024
@i2h3
Copy link
Contributor Author

i2h3 commented Nov 25, 2024

I just saw that #85 relates to it at first glance because it also is about multi path support which caused the build errors here in the first place. Just to mention.

@marinofaggiana
Copy link
Member

This branch is out-of-date with the base branch

Certain APIs used were not available on macOS in general or the currently supported version per package manifest. I added necessary code switches to make the code at least build again.
@i2h3 i2h3 force-pushed the reenable-macos-build branch from 7335e5b to c15fd8b Compare November 25, 2024 14:06
@marinofaggiana marinofaggiana merged commit fcfc5c7 into develop Nov 25, 2024
3 of 4 checks passed
@i2h3 i2h3 deleted the reenable-macos-build branch November 25, 2024 15:13
marinofaggiana added a commit that referenced this pull request Dec 14, 2024
* nextcloud/ios#2390

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

* add async/await searchMedia

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

* Livephoto detect (#51)

* Update NKModel.swift

* cleaning

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

* Fix build on macOS broken by freeDisk change (#53)

Signed-off-by: Claudio Cambra <[email protected]>

* livePhotoFile -> fileId

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

* rollback

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

* rollback

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

* Fix error description chunk

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

* chunk error fix

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

* errorDescription

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

* added description

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

* Change to markdown

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

* Added e2ee options versionApi

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

* change variable name

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

* endpoint update

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

* Fix chunk S3 (#56)

* cod

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

* fix

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

---------

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

* public func

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

* lint

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

* remove description

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

* fix

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

* fix

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

* fix log

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

* Resolution - GPS (#59)

* fix resolution-gps

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

---------

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

* set h, w to Double

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

* coding (#61)

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

* normalized taskHandler
            taskHandler(task)
        }.

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

* add filename in trash (#63)

* add filename

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

* disable Build and test

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

---------

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

* Nextcloud Assistant (#66)

* getTextProcessingTaskTypes

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

* getTextProcessingTaskTypes

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

* NKTextProcessingTaskTypes

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

* coding

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

* coding

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

* coding

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

* coding

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

* fix

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

* WIP

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

* WIP

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

* Add init

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

* Change model

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: Marino Faggiana <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
Co-authored-by: Milen Pivchev <[email protected]>

* Add support for visionOS, fix tvOS and watchOS support (#67)

* Add CoreServices import for visionOS

Signed-off-by: Claudio Cambra <[email protected]>

* Fix screen scaling calculation when UIScreen is not available (for visionOS)

Signed-off-by: Claudio Cambra <[email protected]>

* Fix availability of UIImage.resizeImage on non iOS platforms

Signed-off-by: Claudio Cambra <[email protected]>

* Add visionOS target support to NextcloudKit

Signed-off-by: Claudio Cambra <[email protected]>

* Bump watchOS version up, per dependency requirements

Signed-off-by: Claudio Cambra <[email protected]>

* Remove reachability observation on watchOS, as this is unsupported in Alamofire

Signed-off-by: Claudio Cambra <[email protected]>

* Remove free disk calculation on watchOS which cannot be done

Signed-off-by: Claudio Cambra <[email protected]>

* Bump up tvOS version per dependencies

Signed-off-by: Claudio Cambra <[email protected]>

* Also restrict free space calculation on tvOS, as unavailable

Signed-off-by: Claudio Cambra <[email protected]>

---------

Signed-off-by: Claudio Cambra <[email protected]>

* Task description (#70)

* coding

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

* task.taskDescription

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

* DownloadingFinish

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

* fix

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

* improvements

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

* fix

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

---------

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

* change TypeIconFile (#71)

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

* Core Preview Improvements and use only fileId

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

* fix

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

* improvements

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

* Improvements

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

* added compressionQuality

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

* Improvements (#76)



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

* improved code

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

* fix paramenters default

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

* fix paramenters default

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

* improvements

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

* cod

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

* improvements

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

* downloadPreview

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

* added downloadPreview url

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

* httpCookieStorage (#80)


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

* new getUserProfile()

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

* change paramenter name

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

* Account (#82)

* cod

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

* cod

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

* cod

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

---------

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

* cod

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

* Revert "cod"

This reverts commit 83b75a1.

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

* Filename validator (#83)

* WIP

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

* WIP

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

* cleanup

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

* WIP

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

* WIP

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

* Make singleton

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]>

* 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]>

---------

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

* fix session delegate

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

* fix

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

* Filename validator (#92)

* WIP

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

* WIP

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

* cleanup

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

* WIP

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

* WIP

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

* Make singleton

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]>

* 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]>

* WIP

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

---------

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

* WIP

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

* NextcloudKit Version 5 - Multisession  (#94)


---------

Signed-off-by: Marino Faggiana <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
Co-authored-by: Milen Pivchev <[email protected]>

* NextcloudKit V 5

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

* fix

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

* requestCachePolicy

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

* cache

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

* cache

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

* cache

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

* Add optional spaces and periods - WCF

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]>

* Response (#97)

* API

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

* assistant

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

* comments

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

* dashboard

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

* e2ee

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

* groupfolders

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

* hovercard

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

* login

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

* nctext

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

* pn

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

* richdocuments

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

* search

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

* share

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

* userstatus

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

* webdav

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

* upload

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

* API

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

* download

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

* upload

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

* NextcloudKitSessionDelegate

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

* normalized

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

---------

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

* ThreadSafeArray

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

* logger delegate

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

* fix message 503

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

* public

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

* fix error

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

* Add reuse compliance (#96)

* Auto rename (#99)

* 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]>

* License

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

* Licenses

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

* WIP

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

* Swiftlint fixes

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

* WIP

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

* Fix lint issue

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

* Fix ordering

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

* Refactor

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]>

* WIP

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

* License

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

* Licenses

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

* WIP

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

* Swiftlint fixes

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

* WIP

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

* Fix lint issue

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

* Fix ordering

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

* Refactor

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]>
Co-authored-by: Marino Faggiana <[email protected]>

* Keep original extension

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

* Refactor

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

* License (#102)

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

* ( multipathServiceType )

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

* Add more extensive test for AutoRenamer (#101)

* Add more extensive test

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

* Force check

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

* Revert "Force check"

This reverts commit b7fadf6.

* 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]>

* 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]>

* 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]>

---------

Signed-off-by: Milen Pivchev <[email protected]>
Co-authored-by: Marino Faggiana <[email protected]>

* Split NKModel.swift into designated source code files for every contained type.

Signed-off-by: Iva Horn <[email protected]>

* Update README.md (#106)

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

* Prettier Landing Page (#108)

- Replaced logo with an self-created image based on the Apple symbol design for frameworks.
- Removed the "V 2" in the top level heading because it contradicts the current major version 5.
- Corrected alt text of image which appears to be copied and pasted from Nextcloud iOS app README.
- Improved orthography on testing headings.
- Added syntax definitions to some code fences.
- Minor formatting improvements.

* Reenabled build on macOS. (#109)

Certain APIs used were not available on macOS in general or the currently supported version per package manifest. I added necessary code switches to make the code at least build again.

Co-authored-by: Marino Faggiana <[email protected]>

* Track ocId in NKTrash items (#110)

Signed-off-by: Claudio Cambra <[email protected]>

* Dav pagination (#111)

* add paginate

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

* StandardHeaders

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

* code

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

* fix

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

---------

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

* Terms of Service (#112)

* tos

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

* getTermsOfService

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

* getTermsOfService

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

* cod

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

* code

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

* cod

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

* signTermsOfService

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

* cod

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

* cod

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

* cod

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

* cleaning

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

---------

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

---------

Signed-off-by: Marino Faggiana <[email protected]>
Signed-off-by: Marino Faggiana <[email protected]>
Signed-off-by: Claudio Cambra <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
Signed-off-by: Iva Horn <[email protected]>
Co-authored-by: Marino Faggiana <[email protected]>
Co-authored-by: Claudio Cambra <[email protected]>
Co-authored-by: Milen Pivchev <[email protected]>
Co-authored-by: Andy Scherzinger <[email protected]>
Co-authored-by: Iva Horn <[email protected]>
marinofaggiana added a commit that referenced this pull request Jan 16, 2025
* nextcloud/ios#2390

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

* add async/await searchMedia

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

* Livephoto detect (#51)

* Update NKModel.swift

* cleaning

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

* Fix build on macOS broken by freeDisk change (#53)

Signed-off-by: Claudio Cambra <[email protected]>

* livePhotoFile -> fileId

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

* rollback

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

* rollback

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

* Fix error description chunk

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

* chunk error fix

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

* errorDescription

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

* added description

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

* Change to markdown

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

* Added e2ee options versionApi

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

* change variable name

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

* endpoint update

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

* Fix chunk S3 (#56)

* cod

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

* fix

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

---------

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

* public func

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

* lint

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

* remove description

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

* fix

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

* fix

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

* fix log

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

* Resolution - GPS (#59)

* fix resolution-gps

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

---------

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

* set h, w to Double

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

* coding (#61)

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

* normalized taskHandler
            taskHandler(task)
        }.

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

* add filename in trash (#63)

* add filename

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

* disable Build and test

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

---------

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

* Nextcloud Assistant (#66)

* getTextProcessingTaskTypes

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

* getTextProcessingTaskTypes

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

* NKTextProcessingTaskTypes

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

* coding

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

* coding

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

* coding

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

* coding

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

* fix

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

* WIP

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

* WIP

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

* Add init

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

* Change model

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: Marino Faggiana <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
Co-authored-by: Milen Pivchev <[email protected]>

* Add support for visionOS, fix tvOS and watchOS support (#67)

* Add CoreServices import for visionOS

Signed-off-by: Claudio Cambra <[email protected]>

* Fix screen scaling calculation when UIScreen is not available (for visionOS)

Signed-off-by: Claudio Cambra <[email protected]>

* Fix availability of UIImage.resizeImage on non iOS platforms

Signed-off-by: Claudio Cambra <[email protected]>

* Add visionOS target support to NextcloudKit

Signed-off-by: Claudio Cambra <[email protected]>

* Bump watchOS version up, per dependency requirements

Signed-off-by: Claudio Cambra <[email protected]>

* Remove reachability observation on watchOS, as this is unsupported in Alamofire

Signed-off-by: Claudio Cambra <[email protected]>

* Remove free disk calculation on watchOS which cannot be done

Signed-off-by: Claudio Cambra <[email protected]>

* Bump up tvOS version per dependencies

Signed-off-by: Claudio Cambra <[email protected]>

* Also restrict free space calculation on tvOS, as unavailable

Signed-off-by: Claudio Cambra <[email protected]>

---------

Signed-off-by: Claudio Cambra <[email protected]>

* Task description (#70)

* coding

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

* task.taskDescription

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

* DownloadingFinish

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

* fix

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

* improvements

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

* fix

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

---------

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

* change TypeIconFile (#71)

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

* Core Preview Improvements and use only fileId

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

* fix

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

* improvements

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

* Improvements

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

* added compressionQuality

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

* Improvements (#76)



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

* improved code

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

* fix paramenters default

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

* fix paramenters default

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

* improvements

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

* cod

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

* improvements

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

* downloadPreview

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

* added downloadPreview url

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

* httpCookieStorage (#80)


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

* new getUserProfile()

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

* change paramenter name

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

* Account (#82)

* cod

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

* cod

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

* cod

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

---------

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

* cod

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

* Revert "cod"

This reverts commit 83b75a1.

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

* Filename validator (#83)

* WIP

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

* WIP

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

* cleanup

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

* WIP

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

* WIP

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

* Make singleton

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]>

* 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]>

---------

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

* fix session delegate

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

* fix

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

* Filename validator (#92)

* WIP

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

* WIP

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

* cleanup

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

* WIP

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

* WIP

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

* Make singleton

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]>

* 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]>

* WIP

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

---------

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

* WIP

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

* NextcloudKit Version 5 - Multisession  (#94)


---------

Signed-off-by: Marino Faggiana <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
Co-authored-by: Milen Pivchev <[email protected]>

* NextcloudKit V 5

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

* fix

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

* requestCachePolicy

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

* cache

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

* cache

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

* cache

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

* Add optional spaces and periods - WCF

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]>

* Response (#97)

* API

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

* assistant

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

* comments

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

* dashboard

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

* e2ee

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

* groupfolders

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

* hovercard

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

* login

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

* nctext

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

* pn

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

* richdocuments

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

* search

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

* share

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

* userstatus

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

* webdav

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

* upload

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

* API

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

* download

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

* upload

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

* NextcloudKitSessionDelegate

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

* normalized

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

---------

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

* ThreadSafeArray

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

* logger delegate

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

* fix message 503

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

* public

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

* fix error

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

* Add reuse compliance (#96)

* Auto rename (#99)

* 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]>

* License

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

* Licenses

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

* WIP

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

* Swiftlint fixes

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

* WIP

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

* Fix lint issue

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

* Fix ordering

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

* Refactor

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]>

* WIP

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

* License

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

* Licenses

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

* WIP

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

* Swiftlint fixes

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

* WIP

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

* Fix lint issue

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

* Fix ordering

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

* Refactor

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]>
Co-authored-by: Marino Faggiana <[email protected]>

* Keep original extension

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

* Refactor

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

* License (#102)

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

* ( multipathServiceType )

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

* Add more extensive test for AutoRenamer (#101)

* Add more extensive test

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

* Force check

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

* Revert "Force check"

This reverts commit b7fadf6.

* 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]>

* 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]>

* 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]>

---------

Signed-off-by: Milen Pivchev <[email protected]>
Co-authored-by: Marino Faggiana <[email protected]>

* Split NKModel.swift into designated source code files for every contained type.

Signed-off-by: Iva Horn <[email protected]>

* Update README.md (#106)

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

* Prettier Landing Page (#108)

- Replaced logo with an self-created image based on the Apple symbol design for frameworks.
- Removed the "V 2" in the top level heading because it contradicts the current major version 5.
- Corrected alt text of image which appears to be copied and pasted from Nextcloud iOS app README.
- Improved orthography on testing headings.
- Added syntax definitions to some code fences.
- Minor formatting improvements.

* Reenabled build on macOS. (#109)

Certain APIs used were not available on macOS in general or the currently supported version per package manifest. I added necessary code switches to make the code at least build again.

Co-authored-by: Marino Faggiana <[email protected]>

* Track ocId in NKTrash items (#110)

Signed-off-by: Claudio Cambra <[email protected]>

* Dav pagination (#111)

* add paginate

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

* StandardHeaders

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

* code

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

* fix

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

---------

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

* Terms of Service (#112)

* tos

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

* getTermsOfService

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

* getTermsOfService

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

* cod

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

* code

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

* cod

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

* signTermsOfService

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

* cod

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

* cod

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

* cod

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

* cleaning

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

---------

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

* Added capabilities to manage share download limits. (#107)

- Requesting share download limit capability of files_downloadlimit app.
- Augmented WebDAV metadata requests and responses with optional share download limits.
- Extended NextcloudKit with methods to manage share download limits via OCS.

Signed-off-by: Iva Horn <[email protected]>

* Recommended files (#115)

* cod

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

* cod

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

* cod

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

---------

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

* improvements

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

* Allow setting custom destinations in chunked upload (#116)

* Allow setting a different destination file name from local file name in chunked upload

Using macOS File Provider APIs we rely on the system to provide us with
a URL pointing the an item's local modified contents. This URL last path
component is a UUID and does not represent the expected file name of the
item.

The current API of uploadChunk presents a problem because it assumes the
local content file's filename is the same as what will eventually be
uploaded to the server. This commit addresses the issue by allowing
users of this function to provide a destination file name which will
replace the provided local filename, if used.

Signed-off-by: Claudio Cambra <[email protected]>

* Make file chunks output directory customisable

Currently the chunking procedure produces file chunks within the
directory of the input file. However, this fails in cases where the
directory is read-only.

This can be fixed by allowing the chunked files output directory to be
changed

Signed-off-by: Claudio Cambra <[email protected]>

---------

Signed-off-by: Claudio Cambra <[email protected]>

---------

Signed-off-by: Marino Faggiana <[email protected]>
Signed-off-by: Marino Faggiana <[email protected]>
Signed-off-by: Claudio Cambra <[email protected]>
Signed-off-by: Milen Pivchev <[email protected]>
Signed-off-by: Iva Horn <[email protected]>
Co-authored-by: Marino Faggiana <[email protected]>
Co-authored-by: Claudio Cambra <[email protected]>
Co-authored-by: Milen Pivchev <[email protected]>
Co-authored-by: Andy Scherzinger <[email protected]>
Co-authored-by: Iva Horn <[email protected]>
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.

2 participants