Repository navigation
MCP for Cloud 1.2.4
MCP for Cloud 1.2.4
Fix release on top of 1.2.3. No database change and no new permission; updating from 1.2.3 needs no step. Two changes affect existing setups: a group grant this version does not recognize no longer blocks the members of that group (see below), and confirming contacts_create_contact now requires the plan_state of its plan.
Fixed
- Notes folder with a translated name (#23): the Notes tools read the folder from a separate
notesPathuser value that the Notes app never writes, so the folder chosen in the app was ignored, and an account whose Notes folder has a translated name (for exampleNotizenin German) saw an empty list. The folder now comes from thenotesPathfield of the Notes app'ssettingsJSON; an emptynotesPathis the root of the user's files; without it, the app's default folder name is used and, when only the translated folder exists, its translation in the user's language. With no folder at all,notes_listandnotes_searchstill return[]and add a second text block saying the folder was not found. Nothing is written, moved or migrated, andnotes_createwrites into the folder that is found instead of creating a second one. - Image search no longer fails silently:
files_image_searchreturned an empty list when the tag did not exist or the search itself failed, which looked like "no image matches". An unknown or hidden tag now answers "Tag not found in Nextcloud." and a failed search "Failed to search images in Nextcloud." (logged without private text); a visible tag with no matching image still returns[]. A node that cannot be resolved is skipped and the others stay; policy and lock errors are passed on as before. - Bounded wait before the OAuth consent page: the download of a CIMD client's metadata document now has one total budget of 5 seconds for connection and reading together. When it runs out the existing error page says the client did not send its metadata document in time (translated), and that client is refused without a new download for 30 seconds. Allowlist, document validation, size limit and the one-hour cache of successful documents are unchanged. DNS resolution stays outside this budget.
- Fewer small admin and personal scripts (continuation of #21): the four remaining scripts below 5 KB were merged into scripts their pages already loaded:
admin-polls-grants.jsandadmin-mail-grants.jsintoadmin-levels.js,admin-backups.jsintoadmin-file-write-policy.jsandpersonal-scope.jsintoconnections.js. Behavior, grants and access levels are unchanged; the Administration page requests three scripts fewer and the personal page one fewer. Whether this removes the blank page on the host of #21 is not confirmed: we could not reproduce it. - Unknown group grants no longer block a whole group (#20): a stored group grant whose module or operation this version does not recognize made the permission check of the group's members fail, so their MCP requests were refused. Such a grant now grants nothing and the other permissions of the group keep applying; damaged or ambiguous grant data still blocks, as before. In Administration → MCP for Cloud, the group shows "Unknown grants: denied", and its editor lists each unknown key with its stored value (Allow) and its effect (denied). An administrator can clear one key at a time after a confirmation naming the group and the key; the cleanup is refused when the group's grants changed in the meantime, and it is recorded in the policy audit log with the administrator, the time and the removed keys. Nothing is cleared automatically: saving a group, clearing a policy and the cleanup after a group is deleted remove only grants this version knows, so a deleted group whose only stored grants are unknown stays listed until an administrator clears them.
- File deletion says "try the trash bin first" and reports what it saw (#20): what
files_deletedeletes and refuses is unchanged. The tool, the plan and the admin warning now say what Nextcloud does: it tries to move the item to the trash bin and may permanently delete it if that fails; recovery is not guaranteed. After removing a file or folder of the acting user, the receipt checks that user's own trash bin once: when the item is found there, it says it was confirmed in the trash bin at the time of the check (for a folder, only the folder itself) and that the trash bin keeps items only for a limited time. An item inside a share the user received goes to the owner's trash bin, which MCP never checks: the plan and the receipt say its destination is not confirmed. When the check cannot run or does not find the item, the receipt is the one of 1.2.3. - One
DTSTAMPper calendar event: events created through MCP carried twoDTSTAMPlines, one added by the calendar library and one by MCP. Creation now writes exactly one, in UTC; an update through MCP already replaced everyDTSTAMPwith one and still does, so an event created with two is left with one at its next MCP update. - The contact UID of the plan is the one saved:
contacts_create_contactshowed one UID in its plan and saved the contact under another. Confirmation now saves the UID of the plan, carried in the plan'splan_state, as Mail, Notes, Tables and Forms already do. A confirmation without thatplan_state, or with one from another plan, is refused and writes nothing; when the contact fields changed, a new plan with the same UID is returned instead of writing. talk_attach_fileno longer shows the storage path: the plan and the result showed the file's internal path, which starts with the user's account ID (/<account>/files/...). They now show the path inside the user's files (/Reports/Q3.pdf), as the Files tools do, and only the file name when that path cannot be determined.- "The plan changed" warnings say what changed: when a confirmed Polls creation, Tables row write or Forms creation or edit finds that its plan no longer matches, the new plan's warning now names the data behind the change: the installed Polls version, the upper limit of each numeric column of the table, the installed Forms version, or the current value of the form field that changed. The warning about upload folders in a Forms creation plan names the installed Forms version, and outside Forms 5.4.1 it says that setting the title does not rename or merge upload folders.
Validation and limits
Each fix is covered by unit tests; the full unit suite and the front-end tests were run locally in a PHP 8.3 container, with no failure other than the known ones of that environment, the same set as in 1.2.3. No remote CI run exists for this release. Not tested on a live Nextcloud: the trash bin receipt (the source of Nextcloud 32–35 was checked for the call it uses), the cleanup of unknown group grants in a browser, the Notes folder change on the host of #23, and the smaller admin pages on the host of #21.
Community feedback
- The Notes folder fix follows the report of @Beluluz in #23, who found that the Notes tools returned nothing when the Notes folder had a translated name.
- The "try the trash bin first" wording and the trash bin receipt follow the request of @leonbollerup in #20 for a deletion that only moves items to the trash bin. Nextcloud offers no way to guarantee that, so this release says what it does and reports what it saw instead.
- The smaller admin pages continue the diagnosis of @Wenerus in #21.
These are feedback credits, not code authorship.