db constraint with unique remoteId if set, handle sync with tests

This commit is contained in:
2022-06-10 00:26:16 +02:00
parent f149b24802
commit c92077926e
14 changed files with 957 additions and 332 deletions

View File

@@ -39,7 +39,7 @@ class RemoteCalendarCompilerPass implements CompilerPassInterface
if ($config['remote_calendars_sync']['microsoft_graph']['enabled']) {
$connector = MSGraphRemoteCalendarConnector::class;
$container->setAlias(HttpClientInterface::class.' $machineHttpClient', MachineHttpClient::class);
$container->setAlias(HttpClientInterface::class . ' $machineHttpClient', MachineHttpClient::class);
} else {
// remove services which cannot be loaded
$container->removeDefinition(MapAndSubscribeUserCalendarCommand::class);