Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

The new and imporved object services#112

Merged
rubenvdlinde merged 13 commits into
mainfrom
development
Dec 28, 2024
Merged

The new and imporved object services#112
rubenvdlinde merged 13 commits into
mainfrom
development

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

No description provided.

@rubenvdlinde rubenvdlinde merged commit f6c9bd0 into main Dec 28, 2024
rubenvdlinde added a commit that referenced this pull request Jul 30, 2025
The new and imporved object services
rubenvdlinde added a commit that referenced this pull request May 2, 2026
…tem 136)

publishSelectedFiles / depublishSelectedFiles / deleteSelectedFiles now
delegate to a new _runBatchAction(action, perFileFallback) helper which:

  - calls objectStore.batchFiles(type, objectId, action, fileIds) for one
    round-trip via /files/batch when the runtime store exposes the action
  - falls back to the legacy per-file loop (publishFile/unpublishFile/
    deleteFile) when an older @conduction/nextcloud-vue is installed

The batchFiles action lives in nextcloud-vue PR #112 (opened 2026-05-02).
The defensive `typeof batchFiles === 'function'` check means this commit
is a no-op until that PR lands and OR's dep is bumped — at which point
mass actions become single-round-trip without further frontend changes.

Brings file-actions to 104/110.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants