-
Notifications
You must be signed in to change notification settings - Fork 443
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
feat(polls): allow editing of draft polls #13883
base: main
Are you sure you want to change the base?
Conversation
@nickvergessen wdyt of adding the validation to the setters in the Poll Entity instead of validating them beforehand? Would make sense, don't you think? |
8e473b0
to
9dcf018
Compare
@@ -166,6 +166,7 @@ | |||
* `config => call => start-without-media` (local) - Boolean, whether media should be disabled when starting or joining a conversation | |||
* `config => call => max-duration` - Integer, maximum call duration in seconds. Please note that this should only be used with system cron and with a reasonable high value, due to the expended duration until the background job ran. | |||
* `config => call => blur-virtual-background` (local) - Boolean, whether blur background is set by default when joining a conversation | |||
+ `edit-draft-poll` - Whether moderators can edit draft polls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move to 21? Or are we backport this? Not sure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can backport if you like? It's up to you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We never backport here (unless forced, and I see no one forcing here) 🙊
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should move to 21
2aeb3ef
to
0ca00dd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly minor things and reaching the end soon :)
f694f53
to
06e4b31
Compare
Signed-off-by: Anna Larch <[email protected]> # The commit message #2 will be skipped: # fixup! feat(polls): allow editing of draft polls
4787574
to
03c2260
Compare
* @see \OCA\Talk\Controller\PollController::createPoll() | ||
*/ | ||
public function updateDraftPoll(int $pollId, Room $room, Participant $participant, string $question, array $options, int $resultMode, int $maxVotes): DataResponse { | ||
$proxy = $this->proxy->post( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since this will not be part of 20.1 nor 19,
we need to check remote capabilities or add error handling here which does it the old way?
But since drafts are only moderator thing and we don't have federated moderators yet, it's actually never applicable?
☑️ Resolves
🛠️ API Checklist
🚧 Tasks
🏁 Checklist
docs/
has been updated or is not required