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

fix(stable4): add missing annotations #2354

Merged
merged 2 commits into from
Oct 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
- fix(i18n): Aligned grammar by @rakekniven in [\#2095](https://github.com/nextcloud/forms/pull/2095)
- fix: Parse momentFormat and storageFormat by @Chartman123 in [\#2093](https://github.com/nextcloud/forms/pull/2093)


## v4.2.3 - 2024-04-16

[Full Changelog](https://github.com/nextcloud/forms/compare/v4.2.2...v4.2.3)
Expand Down
6 changes: 6 additions & 0 deletions lib/Controller/ApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,7 @@ public function reorderQuestions(int $formId, array $newOrder): DataResponse {
// Options

/**
* @CORS
* @NoAdminRequired
*
* Add a new option to a question
Expand Down Expand Up @@ -914,6 +915,9 @@ public function deleteOption(int $formId, int $questionId, int $optionId): DataR
}

/**
* @CORS
* @NoAdminRequired
*
* Reorder options for a given question
* @param int $formId id of form
* @param int $questionId id of question
Expand Down Expand Up @@ -1644,6 +1648,7 @@ public function updateFormLegacy(int $id, array $keyValuePairs): DataResponse {
}

/**
* @CORS
* @NoAdminRequired
*
* Transfer ownership of a form to another user
Expand Down Expand Up @@ -2033,6 +2038,7 @@ public function cloneQuestionLegacy(int $id): DataResponse {
}

/**
* @CORS
* @NoAdminRequired
*
* Add a new option to a question
Expand Down