refactor/introduce IContext - #9062
Draft
max-nextcloud wants to merge 15 commits into
Draft
Conversation
max-nextcloud
force-pushed
the
refactor/introduce-icontext
branch
9 times, most recently
from
August 17, 2026 10:44
3e17210 to
a2260eb
Compare
max-nextcloud
force-pushed
the
refactor/introduce-icontext
branch
4 times, most recently
from
August 17, 2026 13:20
ae7bbf6 to
92e1890
Compare
max-nextcloud
force-pushed
the
refactor/file-service
branch
4 times, most recently
from
August 18, 2026 18:29
c9d35f7 to
cd2d5b9
Compare
max-nextcloud
force-pushed
the
refactor/introduce-icontext
branch
from
August 18, 2026 18:50
b0a7b15 to
7cedf66
Compare
max-nextcloud
force-pushed
the
refactor/file-service
branch
from
August 19, 2026 04:32
cd2d5b9 to
c4cca9f
Compare
max-nextcloud
force-pushed
the
refactor/introduce-icontext
branch
from
August 19, 2026 04:34
7cedf66 to
1bb5586
Compare
max-nextcloud
force-pushed
the
refactor/file-service
branch
2 times, most recently
from
August 19, 2026 05:35
7232808 to
5907ff4
Compare
* `checkSharePermissions` has not been throwing `NotPermittedException` for a while. See #3765 . * `InvalidArgumentException` was not being handled. * throw `NotFoundException` if file cannot be found and there is no share token. Signed-off-by: Max <max@nextcloud.com>
Use it for creating the session for now. Signed-off-by: Max <max@nextcloud.com>
For some reason `$document->getId` is suspected to return void by vscode. `$document->id` is public. So use that instead. Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
Two api endpoints deserve two different functions in particular as they also expect different params. This also allows narrowing down the types a little more. Signed-off-by: Max <max@nextcloud.com>
Still missing the actual database migration on the backend and the props etc. on the frontend. Signed-off-by: Max <max@nextcloud.com>
max-nextcloud
force-pushed
the
refactor/introduce-icontext
branch
from
August 19, 2026 05:44
1bb5586 to
8db2f87
Compare
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
…ption This saves one file read and makes handling the exception easier Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
Non-file contexts will need to return null. Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
max-nextcloud
force-pushed
the
refactor/introduce-icontext
branch
from
August 19, 2026 05:56
8db2f87 to
3436fa3
Compare
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.
Todo
Backend
syncrequests with IContext.AttachmentServicebased on context.ApiService.pushrequests.Frontend