Repository navigation
Conversation
…NextcloudKit Signed-off-by: Milen Pivchev <milen.pivchev@gmail.com>
This was referenced Oct 15, 2026
mpivchev
marked this pull request as ready for review
October 20, 2026 14:03
mpivchev
requested review from
Ivansss,
SystemKeeper,
claucambra,
i2h3 and
marinofaggiana
October 20, 2026 14:52
Member
|
The overall approach looks good, and separating technical error descriptions from user-facing messages is a welcome improvement. However, I have a couple of concerns about the HTTP status classification:
I would also recommend checking existing Nextcloud iOS consumers of I think the architecture is sound, but these classifications should be refined before merging. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes technical server error strings with more appropriate (and generic) user readable strings. NKLog still prints the proper server errors.
Ex:
507: Storage quota is reachedbecomesThere is not enough storage space left on the server.etc.What changes
NKError.kind: Classifies between URL errors, HTTP statuses, OCS codes and the WebDAVInvalidPathexception.NKError.localizedGenericMessage: one translated message per kind. Only exception is unified sharing API, which prints user friendly messages from server.Related: nextcloud/ios#4397 (TLDR: also adds contexts to degeneralize
kinderrors, ex: Could not delete Report.pdf and is iOS Files specific)Blocked by: nextcloud/docker-ci#1011