aio-interface: allow to manage the community containers via the AIO interface (#6443)

Signed-off-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
This commit is contained in:
Simon L. 2025-05-30 09:32:51 +02:00 committed by GitHub
parent 17ec503bf3
commit 673b1db07e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 220 additions and 205 deletions

View file

@ -15,7 +15,7 @@ readonly class ConfigurationController {
) {
}
public function SetConfig(Request $request, Response $response, array $args) : Response {
public function SetConfig(Request $request, Response $response, array $args): Response {
try {
if (isset($request->getParsedBody()['domain'])) {
$domain = $request->getParsedBody()['domain'] ?? '';
@ -125,6 +125,10 @@ readonly class ConfigurationController {
}
}
if (isset($request->getParsedBody()['community-form'])) {
$this->configurationManager->SetEnabledCommunityContainers($request->getParsedBody()['enabled-community'] ?? []);
}
if (isset($request->getParsedBody()['delete_collabora_dictionaries'])) {
$this->configurationManager->DeleteCollaboraDictionaries();
}